- Sep 19, 2023
-
-
KH Shi authored
Currently, Ipv6UpstreamRule is added follows the adding of Ipv6DownstreamRule when it is the first rule from a downstream interface to the upstream interface. This CL changed it to: 1. Upstream interface change updates both IPv6 upstream and downstream forwarding rules. 2. Neighbor events updates only IPv6 downstream forwarding rules. Data limit setting on the upstream interface is now depend on the upstream rules instead of the downstream rules. This CL also updates corresponding test cases in IpServerTest and BpfCoordinatorTest. Test: atest TetheringTests Bug: 261923493 Change-Id: I5b4df64a3d276afb7a24bbef3a0432f53377e8b2
-
- Sep 01, 2023
-
-
KH Shi authored
In current code, IpServer will ensure bpf offload is supported before calling BpfCoordinator's APIs. But those APIs already have the same checks inside the function. This CL removed duplicated checks in IpServer. After this change, the BPF offload support status is only determined inside BpfCoordinator and it won't change during the life cycle of Tethering. Tethering initializes mBpfCoordinator just once in the constructor. After that point, the value of isUsingBpf can never change, because mIsBpfEnabled is final and mBpfCoordinatorShim.isInitialized() is either always true (api30) or can either never change (api31). Also fixed a bug in IpServerTest upon this change. Test: atest TetheringTests Bug: 261923493 Change-Id: I50f231a83bf678b90eae4fd9bfa6035e86978bb3
-
- Aug 30, 2023
-
-
KH Shi authored
The original code requires updating mLastIPv6LinkProperties before calling updateIpv6ForwardingRules because mLastIPv6LinkProperties will be used inside an internal function later. Remove this unnecessary dependency by passing the interface name into the function. Bug: 294025403 Test: atest TetheringTests Change-Id: I5699fba3d7caf3314d102b643b02da2b2797dd66
-
- Aug 27, 2023
-
-
Kangping Dong authored
VS Code is useful for lite and/or remote edit. Test: none Change-Id: I4584f4dc176d8816e1abea4a73ce12d556ee5aa6
-
- Aug 25, 2023
-
-
Paul Hu authored
* changes: Report sent query count Report service info callback metrics data
-
Treehugger Robot authored
-
KH Shi authored
-
- Aug 24, 2023
-
-
Maciej Żenczykowski authored
-
Igor Zaslavsky authored
-
Igor Zaslavsky authored
Add RemoteAuthService APIs and Stubs (hide) for Settings of D2DA This CL introduces new SystemApi allow user to discover remote devices compatible to be registered as remote authenticators via RemoteAuthManager Design doc: go/remote-auth-manager-fishfood-design Test: built successfully. Bug: 290092977 API-Coverage-Bug: 294934095 Change-Id: Iaaae1126065fdc3db469eeb8d85ac654b8199a12
-
KH Shi authored
Replaced startUpstreamIpv6Forwarding and stopUpstreamIpv6Forwarding with add/remove Ipv6UpstreamRule. This is a preparation for following CLs which will pass the upstream's prefixes to the bpf map. We might have more than one upstream rules. Also renamed Ipv6ForwardingRule to Ipv6DownstreamRule since we have defined the Ipv6UpstreamRule. No logic changes are being made in this CL. Test: atest TetheringTests Bug: 261923493 Change-Id: I022f97c2daf468bbd4a4279a069ccf498013e7e7
-
Treehugger Robot authored
-
Yuyang Huang authored
-
Chalard Jean authored
Test: TH Bug: 293965195 Change-Id: I178a9904d2ee090ed1fb487c061226909cbde1d6
-
Treehugger Robot authored
-
Motomu Utsumi authored
Followup CL for aosp/2700076 Bug: 296972712 Test: build with aosp/2688146 Change-Id: I617b330c42a99e4c839adac2ea614756b5955ce9
-
- Aug 23, 2023
-
-
Patrick Rohr authored
Keeping the function names inline with the naming of the IpClient callbacks makes the code more searchable / readable. Also marking them as private. Test: TH Change-Id: I1c0a9307dee7c90460633a79e3560a5b5f791c32
-
Patrick Rohr authored
* changes: ethernet: clean up EthernetManagerTest ethernet: test adding listener after removing server mode iface
-
Yuyang Huang authored
Bug: 281639507 Test: TH Change-Id: I754c3581438d716d2156b80e4ce29b3f2adf76d4
-
Stefano Duo authored
-
Kangping Dong authored
-
Kangping Dong authored
Bug: 296211911 Change-Id: Ifd4f7cd06f1aeaba739d27d2328e89031ca73235
-
- Aug 22, 2023
-
-
Patrick Rohr authored
createChangeEvent is not expected to be called from a test, so make it private. Also delete pollOrThrow as polling inline creates a better log output. Test: atest EthernetManagerTest Change-Id: I2399960fee2c51fdf340186189ae83a20c4ac6f3
-
Patrick Rohr authored
Tests that registering a EthernetStateListener functions as expected after requesting a tethering interface and subsequently removing that interface. Test: atest testCallbacks_afterRemovingServerModeInterface Bug: 290971780 Change-Id: I7b6e1a3b3ac23f4fbdd2d20f63f83d59c4d4999d
-
Patrick Rohr authored
Test: N/A Change-Id: I50101f9e5dc4dede5732a31da4ecd53d027adedc
-
Manidhar authored
Test cases are accessing wifi when WiFi feature not enabled. This change skips the test from executing based on WiFi feature availabiliy. Bug: 262228635 Test: Executed all CtsNetTestCases tests on system with and without WiFi feature Change-Id: I97872cf7b73eed12dba064697150f09c81f494b6
-
Paul Hu authored
Report the sent query count when the discovery is stopped. Bug: 287546772 Test: atest FrameworksNetTestCases NsdManagerTest Change-Id: I47b91c0c530eee2f00920ee5ea99e8d7b6e2e9ee
-
Treehugger Robot authored
-
Paul Hu authored
Bug: 287546772 Test: atest FrameworksNetTestCases Change-Id: I630c0e4921f7acf42bf29812d9790ee5a894d60b
-
Yuyang Huang authored
The platform doesn't allow overwriting compat flags that have target SDK lower than the platform SDK in release build. Ignoring the test cases that need compat flag overwrite up to S_V2 makes the MTS pass on S device. Bug: 296248982 Test: TH Change-Id: Iab102725004c39b4dc3c0200c9bc673dd6be1302
-
Colin Cross authored
-
- Aug 21, 2023
-
-
Salil Rajadhyaksha authored
Bug: 290265761 Bug: 291146480 Bug: 290275468 Test: None Change-Id: Iaba64415cf81454b6e999f10bad54810884fc3da
-
Maciej Żenczykowski authored
-
Treehugger Robot authored
-
Treehugger Robot authored
-
Stefano Duo authored
Bug: 284972285 Test: m & atest NetHttpTests Change-Id: Id24fa826f617187722b329821dae9d9548bf218b
-
Remi NGUYEN VAN authored
-
Motomu Utsumi authored
-
- Aug 20, 2023
-
-
Maciej Żenczykowski authored
The goal is to be able to remove getMap() from BpfMap.h, as it effectively leaks (what should be an) internal fd. In practice the dump() operation isn't useful, as initMaps() and thus native_init() already guarantee all these maps have valid file descriptors. Test: TreeHugger Signed-off-by:
Maciej Żenczykowski <maze@google.com> Change-Id: If89c28923d3ae030dfac0b3b0ab8b15117db3f30
-
Maciej Żenczykowski authored
Test: TreeHugger Signed-off-by:
Maciej Żenczykowski <maze@google.com> Change-Id: Id3a128cd72f467fa60213f57c6dd942a0629ba1d
-