- Feb 26, 2021
-
-
Remi NGUYEN VAN authored
The system API are moved to the connectivity module: add dependency on the stubs from framework-tethering. This only allows tethering to depend on system API defined by the connectivity classes, not on any private code, even if they are eventually bundled in the same APEX. Bug: 171540887 Test: m Merged-In: Iebfb3e01c5d2480e84edcfc76cf489520bd60237 Merged-In: Ic2491f04880ff66abc3b2d3aaee6168e18f6d68a (clean cherry-pick from internal branch) Change-Id: Iebfb3e01c5d2480e84edcfc76cf489520bd60237
-
- Feb 25, 2021
-
-
Chalard Jean authored
-
- Feb 24, 2021
-
-
Chalard Jean authored
This causes failures in subsequent tests that expect only one test network to be up. Bug: 181033598 Test: this Change-Id: I74444f4aff7750a5bbd2564e5e22714d73c72d8b
-
Daulet Zhanguzin authored
Since BouncyCastle APIs provided by platform vary, use unbundled BouncyCastle Fixes: 180870458 Test: atest CtsNetTestCases Change-Id: I78c053150bb9cf86173f869dd6e13e9a6917ffa7
-
Lorenzo Colitti authored
A caller can mostly already do this via forEach(), but having a specific method is faster (since the code does not need to read the value) and easier to use. The semantics of this method (e.g., ignore ENOENT while deleting a key, but throw on any other error) match those of the native BpfMap::clear method. Test: new unit tests Change-Id: I5cd32efd0f87c823cd2d0a2fa3a95a83093fb6f9
-
Lorenzo Colitti authored
In AOSP master and downstream branches, this likely works via a transitive dependency. In mainline-prod, this doesn't work. Add the dependency explicitly, since it makes things build everywhere and in general it's also good practice to "include what you use". Bug: 167645754 Test: m CtsNetTestCasesLatestSdk in mainline-prod has fewer errors Change-Id: Ie575372415a806deee9996aab7f920d2c15bff80
-
Lorenzo Colitti authored
Bug: 167645754 Test: m com.android.tethering Change-Id: Ia4fb1201e5f4e0c35baba7865b26b4cec0945a64
-
- Feb 22, 2021
-
-
Treehugger Robot authored
-
Treehugger Robot authored
-
Treehugger Robot authored
-
junyulai authored
By the new feature introduced in next Android release. Any PendingIntent needs to be specified about the mutability. While ConnectivityService would put extra info such as network or request id before broadcasting the inner intent. The MUTABLE flag needs to be added accordingly. Test: this Fix: 178121691 Change-Id: I87d0efaf51a91556ef9f8e18db38803e4861cfd7
-
junyulai authored
The test failed since the API is not available on R device. Add conditions to ignore it. Test: atest CtsNetTestCasesLatestSdk:android.net.cts.ConnectivityManagerTest Bug: None Change-Id: I3cbc623a84f7313e1155fe83a44ebef042a04076
-
junyulai authored
The asserted capabilities change callback event took 170ms in average to fire on cuttlefish, which causes 35% of flakiness since the event might delay up to 500ms in practice. Extend to 30s timeout value which is the standard value of waiting for network callback events in CTS. This change also ignore the test up to Android R since the API is not available for R devices or below. Test: atest CtsNetTestCases:android.net.cts.ConnectivityManagerTest#testRequestBackgroundNetwork \ --rerun-until-failure 500 Test: atest CtsNetTestCasesLatestSdk:android.net.cts.ConnectivityManagerTest on R device Bug: 179694867 Change-Id: Ic5e11d4a4f326150848bc48038fa01cde39f7661
-
- Feb 19, 2021
-
-
Bob Badour authored
-
Sudheer Shanka authored
-
- Feb 18, 2021
-
-
Tomasz Wasilczyk authored
-
Treehugger Robot authored
-
Remi NGUYEN VAN authored
-
Treehugger Robot authored
-
Sudheer Shanka authored
We already run these tests when platform code affecting these tests change. Now enabling these too to also run when these tests are being changed. Fixes: 154344933 Test: atest --test-mapping packages/modules/Connectivity/tests/cts/hostside Change-Id: Ie3ea67670ccd028815936d30189146c25ba87e28
-
Remi NGUYEN VAN authored
The test did not verify that mobile networks were validated before starting, which could cause them to validate during the test and pick up the test URLs. Verify that mobile data is validated before the test. Also shorten test URL expiration, so in case of hard-interrupt of the test (without calling tearDown) it does not affect other tests for a long time. Bug: 178630586 Test: atest CtsNetTestCases Change-Id: I03f346bcc231f869f50ca9c7e84bfac319bcc871
-
Treehugger Robot authored
-
Maciej Żenczykowski authored
because it is not appropriate for use in XDP programs Test: TreeHugger Signed-off-by:
Maciej Żenczykowski <maze@google.com> Change-Id: Ibd5dac9676bae7aa5f10fbcfd777291f72bec819
-
Maciej Żenczykowski authored
Test: TreeHugger Signed-off-by:
Maciej Żenczykowski <maze@google.com> Change-Id: I6229e33cb219e9acd14f5b880cfa2ea0a34442f4
-
Maciej Żenczykowski authored
-
Maciej Żenczykowski authored
and more importantly unconditionally. This requires less effort on the part of the in-kernel bpf verifier. Test: TreeHugger Signed-off-by:
Maciej Żenczykowski <maze@google.com> Change-Id: Ibaa94bf096fc81c4d984dfabf515131b1c81ef09
-
Remi NGUYEN VAN authored
-
- Feb 17, 2021
-
-
Tomasz Wasilczyk authored
Bug: 175430552 Test: disable WiFi feature on device with wlan0 Change-Id: Ie8b422ed6e0a0a98eb1c7e6072464859d9083ba5
-
- Feb 16, 2021
-
-
Mathew Inwood authored
Currently, this is the default so this is a no-op, But the default is changing to true. Bug: 180375550 Test: Treehugger Change-Id: Ib841e474ab2b2ff2b54c160bb06c3bbbeea92675
-
Bob Badour authored
Added SPDX-license-identifier-Apache-2.0 to: Tethering/Android.bp Tethering/apex/Android.bp Tethering/bpf_progs/Android.bp Tethering/common/TetheringLib/Android.bp Tethering/tests/Android.bp Tethering/tests/integration/Android.bp Tethering/tests/mts/Android.bp Tethering/tests/privileged/Android.bp Tethering/tests/unit/Android.bp tests/cts/hostside/Android.bp tests/cts/hostside/aidl/Android.bp tests/cts/hostside/app/Android.bp tests/cts/hostside/app2/Android.bp tests/cts/hostside/certs/Android.bp tests/cts/net/Android.bp tests/cts/net/api23Test/Android.bp tests/cts/net/appForApi23/Android.bp tests/cts/net/jni/Android.bp tests/cts/net/native/dns/Android.bp tests/cts/net/native/qtaguid/Android.bp tests/cts/net/util/Android.bp tests/cts/tethering/Android.bp Bug: 68860345 Bug: 151177513 Bug: 151953481 Test: m all Exempt-From-Owner-Approval: janitorial work Change-Id: I8534c580f0e2a17be146300b67b3604817b64507
-
Jeongik Cha authored
Bug: 150578172 Test: m Change-Id: Ib5f28db973eb80942faafe1c1c5ddcaab54bf980
-
Maciej Żenczykowski authored
We've backported the necessary support to all 4.14+ ACK kernels, but we can't actually enforce that these changes will be picked up by all devices. Thus we can only make the full featured implementations optional on [4.14..5.8) kernels, with a tcp-only version for those 4.14+ devices where the full featured version fails to load. Note: there's still a fair bit of implementation work left in the do_forward4() function itself. This is really just the skeleton. Test: atest, TreeHugger Signed-off-by:
Maciej Żenczykowski <maze@google.com> Change-Id: If78123e00d55a77f2ecd7da1547581797e23f9b2
-
- Feb 15, 2021
-
-
Maciej Żenczykowski authored
-
Maciej Żenczykowski authored
This will facilitate providing a tcp-only version of the programs which due to TCP's very long timeouts will not need to use the Linux 5.8+ bpf_ktime_get_boot_ns() helpers. Test: atest, TreeHugger Signed-off-by:
Maciej Żenczykowski <maze@google.com> Change-Id: I1e49b6758d3754782ac6f8820e0c15aa20e4c61d
-
Remi NGUYEN VAN authored
* changes: Revert "[VCN07.1] Add test for bypassing VCN for non-internet re..." Revert "Address comments on aosp/1550755"
-
Maciej Żenczykowski authored
As this is the actual version that is required, ie. the version that supports bpf_ktime_get_boot_ns() helper. Test: atest, TreeHugger Signed-off-by:
Maciej Żenczykowski <maze@google.com> Change-Id: I2ea4830597a0bed53950a5d0c483a47208959f35
-
- Feb 14, 2021
-
-
Hai Zhang authored
Bug: 177884752 Test: m tethering-module-sdk Change-Id: Idd4e6743001a6402f6a5dd6832601b08d7cc0236
-
- Feb 12, 2021
-
-
Remi NGUYEN VAN authored
Revert "[VCN07] Bypass VCN for non-internet app accessible cellu..." Revert submission 1579872-vcn07 Reason for revert: Possible culprit for b/179768816, broken ConnectivityControllerTest Reverted Changes: Id09b19c13:Address comments on aosp/1550755 I245bd69e0:[VCN07.1] Add test for bypassing VCN for non-inter... I9936894b9:[VCN07] Bypass VCN for non-internet app accessible... Change-Id: I7902a221c8597427e48d3e32fa5668b9c1a47420
-
Remi NGUYEN VAN authored
Revert "[VCN07] Bypass VCN for non-internet app accessible cellu..." Revert submission 1579872-vcn07 Reason for revert: Possible culprit for b/179768816, broken ConnectivityControllerTest Reverted Changes: Id09b19c13:Address comments on aosp/1550755 I245bd69e0:[VCN07.1] Add test for bypassing VCN for non-inter... I9936894b9:[VCN07] Bypass VCN for non-internet app accessible... Change-Id: I3fded28691e05a3dbf25bb7361c72acaa61b29c7
-
Lorenzo Colitti authored
-