- Jan 13, 2023
-
-
Dan Stahr authored
This does not affect existing classes in framework-tethering.jar as everything inside android.net is excluded from being jarjar'ed. It is a preparatory step to adding cronet to framework-tethering.jar which will use jarjar. Test: m Change-Id: I8cc7babaa37f7aef52306a833593dba097fd26db
-
Treehugger Robot authored
-
Treehugger Robot authored
* changes: Tethering: deprecate CONNECTIVITY_ACTION on U+ device Test: add tests to testChooseDunUpstreamByAutomaticMode_* TetheringTest: separate setup func from chooseDunUpstreamTestCommon
-
Treehugger Robot authored
-
Patrick Rohr authored
-
KH Shi authored
-
Remi NGUYEN VAN authored
-
Paul Hu authored
-
Remi NGUYEN VAN authored
-
Remi NGUYEN VAN authored
-
- Jan 12, 2023
-
-
Motomu Utsumi authored
* changes: gn2bp: Update desc.json and Android.bp with is_build_cronet=true gn2bp: Update desc json and Android.bp.swp gn2bp: update Android.bp.swp Drop AndroidX dependency
-
Remi NGUYEN VAN authored
Add tests for MdnsRecordRepository and MdnsInterfaceAdvertiser implementations of probing. Bug: 241738458 Test: atest Change-Id: If41a387f14e805e81b6d0d8217d081ca053e340f
-
Remi NGUYEN VAN authored
Add MdnsRecordRepository to hold ServiceRegistration records. When a service is added, the repository generates its records, and can generate the ProbingInfo to use to send initial probes. Implement MdnsInterfaceAdvertiser addService/removeService based on that logic. Bug: 241738458 Test: atest Change-Id: Idcc3ee8b9781a20eda57cd656252acab5e822f83
-
Hungming Chen authored
TestTetheringEventCallback may use assertEquals(actual, expected) but assertEquals(expected, actual). It is confused while test is failed. For example: Code: callback.expectUpstreamChanged(new Network[] {null} /* expected */); Before: java.lang.AssertionError: expected:<100> but was:<null> After: java.lang.AssertionError: expected:<null> but was:<100> Bug: 243516306 Test: atest TetheringTest Change-Id: I6a987e4dd1cccc5e79da7dda55f194291e0c4a60
-
Motomu Utsumi authored
is_build_cronet=true is required by aosp/2384115 This CL also updates gen_desc_json.sh to set is_build_cronet=true Test: gen_desc_json.sh, update_results.sh Change-Id: I057a7b9d4bb2038f430c1dbc59de72ba18bdf93c
-
Patrick Rohr authored
For some reason this has been moved into it's own private function. Since it's only used in one place, it can just be inlined which improves readability of this code. Test: TH Change-Id: I0503d0ade05fa0984f1ac42d0230875b33264398
-
KH Shi authored
This test relies on forceGc to free and finalize the TetheringManager before perform validation checks. In some test suites, if there were already too many unused objects accumulated in the system before running the test, it might take more than 5 seconds to free them. Increase the maximum retry time to 30 seconds to fix the flakiness. Bug: 263335396 Test: atest TetheringServiceTest#testTetheringManagerLeak run the flaky test suite on ABTD with CL Change-Id: I38bee3d43fbeb278993d113ccbe0645aedc5d75d
-
Jean Chalard authored
-
Motomu Utsumi authored
Generated desc json with aosp/2385877 Test: ./update_results.sh Test: TH with aosp/2385878 Change-Id: I0210f2e93c144457c6404073c6011b3b4ffcba09
-
Motomu Utsumi authored
Test: ./update_results.sh Change-Id: I872d015156184a8e6dd91e494ffc446678f6cc26
-
Stefano Duo authored
Cronet in AOSP doesn't require AndroidX. The only remaning use of AndroidX upstream is BuildCompat#isAtLeastT, but here that makes use of SdkLevel#isAtLeastT. Test: ./update_result.sh && m Change-Id: I46634e62f875072347b21235a695ebca6b03e3b5
-
Motomu Utsumi authored
-
Motomu Utsumi authored
-
- Jan 11, 2023
-
-
Yan Yan authored
-
Paul Hu authored
Add MdnsMultinetworkSocketClient which is using for managing multinetwork for discovery and resolution. If the requests are specified the network to do the discovery or resolution, it should send the queries and receive the responses on the active networks only. This can save the resource by reducing unnecessary queries and align the behavior with mdnsresponder. Bug: 254166302 Test: atest FramworksNetTests Change-Id: I9f49ac11e70cb945f9a90efc5eb684be87801286
-
Treehugger Robot authored
-
Stefano Duo authored
Test: ./update_result.sh && m Change-Id: I0e28f27c56627c3576859971ae8ce35030da6b91
-
Patrick Rohr authored
-
Patrick Rohr authored
RateLimitTest is still flaky on some (presumably, lower-end) devices. Increase tolerance to 30% and increase test duration. Test: TH Bug: 255692027 Change-Id: I7368d082069d2b4b657b13d136b9f3f8880d4e70
-
Remi NGUYEN VAN authored
PacketRepeater can just try to send to both v4 and v6 multicast addresses, and rely on MdnsReplySender to check whether the sockets have (automatically) joined the v4 or v6 groups, so there is no need to use this unusual lambda setup anymore. Bug: 264947218 Test: atest MdnsProberTest MdnsAnnouncerTest Change-Id: I09e0fa4bf14e1f31f2d2508f17e23adf1415feb7
-
Motomu Utsumi authored
This CL addresses review comment on aosp/2183779 Test: atest SkDestroyListenerTest Bug: 247031492 Change-Id: Icd03730b9ee6f6d22b05d72b2dc1652d8d9dd65e
-
Patrick Rohr authored
-
Junyu Lai authored
-
Patrick Rohr authored
Change-Id: I5f797c439bea58eb9f438341ade4aa6f371a285d Test: none
-
Remi NGUYEN VAN authored
-
Junyu Lai authored
Test: atest ConnectivityServiceTest#testProfileNetworkPreferenceBlocking_networkChanges \ ConnectivityServiceTest#testProfileNetworkPreferenceBlocking_changePreference \ --rerun-until-failure 100 Bug: 263219497 Change-Id: Idbda582542bcabf0156e2bab9f8bea42fc908cae
-
- Jan 10, 2023
-
-
Yan Yan authored
This commit exposes APIs to migrate a tunnel mode transform to new source/destination addresses, as required by MOBIKE. By calling the exposed API, the caller only caches the new address in the transform. To complete the migration, caller MUST apply the tranform to the appropriate tunnel. This API design is mainly based on the kernel interface and use cases. The Linux kernel requires Android to provide both the IpSecTransform and the IpSecTunnelInterface to perform the migration. And in most cases those two instances are managed by different entities: IpSecTranform is managed by the key exchange protocol (e.g. IKE) and IpSecTunnelInterface is managed by the security tunnel provider (e.g. VPN, VCN, and IWLAN). Thus the migration process has been designed to have two steps where the key exchange protocol negotiates and caches the new address, passes out the updated transform, and the security tunnel provider applies the transform to a tunnel. Another benefit of this API is it can also apply to the case where the network peer does not support MOBIKE and thus cannot update the existing transforms. In this case, the key exchange protocol can create a new transform and give it to the security tunnel provider, and the tunnel provider can still call "apply" to perform migration without needing to know the details of the transform update process. Bug: 169171001 Test: atest FrameworksNetTests, IpSecManagerTunnelTest Change-Id: I0658cdb09fb31f7e0fb9d0b07f37c2b72b6e705f
-
Mohannad Farrag authored
* Add the prefix to make sure that cronet's implementation still connects correctly through the JNI layer after jarjaring. Test: atest CtsCronetTestCases Change-Id: I38cf1aa30b9211d65efc359eb1eae9244dcd7d10
-
Patrick Rohr authored
-
Patrick Rohr authored
Remove temporary workaround to b/203203405. Test: ./update_results.sh Change-Id: I0457b3e50e5d914eb2c88864710392959619787a
-