- Jan 20, 2022
-
-
Remi NGUYEN VAN authored
- Add a default to framework-connectivity-tiramisu for disabling T-only build rules. - Separate the tiramisu hidden apis from hiddenapi txt files, so that the framework-connectivity-tiramisu file can avoid being referenced by the APEX when the JAR is not part of it. Bug: 206893064 Test: m Merged-In: I37c7385b456e4d71789aafe33cc8375adf40a681 Change-Id: I37c7385b456e4d71789aafe33cc8375adf40a681
-
Paul Hu authored
-
- Jan 19, 2022
-
-
Treehugger Robot authored
-
Remi NGUYEN VAN authored
-
Remi NGUYEN VAN authored
-
- Jan 18, 2022
-
-
Chiachang Wang authored
DevSdkIgnoreRule.IgnoreUpTo() will not work as expected without the rule defined. Bug: 184750836 Test: atest android.net.Ikev2VpnProfileTest#\ testBuildExcludeLocalRoutesSet works as expected with ignore rule Change-Id: I03a5b28963cd6feebe4358d57c070d941cd114e5
-
Remi NGUYEN VAN authored
Add @ConnectivityModuleTest to tests for classes that are mainly used to back the connectivity (tethering) module, in particular data classes. This causes the test not to be run in NetworkStack/CaptivePortalLogin MTS tests when the connectivity (tethering) module is not installed. Skipping such tests is necessary in that configuration as they may test behavior that is new in the latest update, and data classes backing the connectivity module would not be affected by NetworkStack/CaptivePortalLogin updates anyway. Bug: 211075897 Test: atest CtsNetTestCasesLatestSdk Change-Id: I6163cd998fc78765b903fdb7acd21e652bc711c9
-
Remi NGUYEN VAN authored
Tests in tests/common and tests/cts are run as part of CtsNetTestCases. Many used assertFieldCountEquals in parceling/unparceling tests to ensure that unexpected fields were not added, or that they were not missed when testing parceling/unparceling. However with many of the classes updatable through module updates, the field count may change in the future, breaking CTS tests. Stop checking for the field count, as it would break on module releases, and its value is lower than the maintenance cost. Bug: 205901761 Test: atest CtsNetTestCases Change-Id: I79854741f7e834574d4825bb737ef507785310fe
-
Lorenzo Colitti authored
This uses a similar scheme to our existing OWNERS files, which all come from a common location in the master branch. Test: repo upload Change-Id: I672070302789ac38a738ab6626f47ec9cbc75dd9
-
- Jan 17, 2022
-
-
Treehugger Robot authored
-
Aaron Huang authored
-
- Jan 14, 2022
-
-
Hungming Chen authored
Set clatd privs to clat:clat:-r-sr-sr-x and set its parent directory privs to root:system:dr-xr-x---. Makes sure that only root and system group members can execute the binary. Test: flash and check the file permission $ adb shell ls -lZ /apex/com.android.tethering/bin dr-xr-x--- 2 root system u:object_r:system_file:s0 4096 1970-01-01 08:00 for-system $ adb shell ls -lZ /apex/com.android.tethering/bin/for-system -r-sr-sr-x 1 clat clat u:object_r:clatd_exec:s0 24352 1970-01-01 08:00 clatd Bug: 212345928 Test: test clat 1. Connect to ipv6-only wifi. 2. Make IPv4 traffic. $ ping 8.8.8.8 Change-Id: I9537d47b135e6e0324fb40ece2b9f7befb159244
-
Mark Chien authored
-
Mark Chien authored
-
Mark Chien authored
-
Mark Chien authored
-
Maciej Żenczykowski authored
-
Maciej Żenczykowski authored
-
markchien authored
This CL should be reverted before T sdk finalized. This API is temporary added for the NetworkStatsFactory which is platform code but will be moved into connectivity (tethering) mainline module. Bug: 209935649 Test: atest CtsHostsideNetworkTests Change-Id: I5894450f3089b2ea105722a18ddf8f1eed1c28a0
-
markchien authored
To deprecated firewallReplaceUidChain netd binder and move the functionality to tethering (connectivity) mainline module, expose replaceFirewallChain to support the caller outside the module. Currently the API are still call to netd. Will replace with the implementation inside tethering (connectivity) module. Bug: 209935649 Test: atest CtsHostsideNetworkTests Change-Id: If7a87548b0a3acda00a1455da4e4ff24a630ddc7
-
markchien authored
To deprecated firewallEnableChildChain netd binder and move the functionality to tethering (connectivity) mainline module, expose setFirewallChainEnabled to support the caller outside the module. Currently the API are still call to netd. Will replace with the implementation inside tethering (connectivity) module. Bug: 209935649 Test: atest CtsHostsideNetworkTests Change-Id: I9b64c9d12260521489a87fbeae5afbee2a8ea8f6
-
markchien authored
To deprecated firewallSetUidRule netd binder and move the functionality to tethering (connectivity) mainline module, expose updateFirewallRule to support the caller outside the module. Currently the API are still call to netd. Will replace with the implementation inside tethering (connectivity) module. Bug: 209935649 Test: atest CtsHostsideNetworkTests Change-Id: I0b53c999e06c2378afec0eb491815ec398c91b0b
-
Lorenzo Colitti authored
Non-const refs are not allowed by style guide. This was just an oversight. Test: m bpf_existence_test Change-Id: I8947118618dd5beef7f5643475d348f709799922
-
- Jan 13, 2022
-
-
Maciej Żenczykowski authored
* changes: Test for the existence of maps as well as programs. Minor simplifications in bpf_existence_test.
-
Sooraj Sasindran authored
-
Junyu Lai authored
-
Taras Antoshchuk authored
-
Patrick Rohr authored
Bug: 202086915 Bug: 157552970 Test: atest TetheringTests Change-Id: Ibf9d8d568b9f890a22869e70384848e33a380d4f
-
Mark Chien authored
-
Lorenzo Colitti authored
-
Lorenzo Colitti authored
Test: passes on barbet running aosp/master Change-Id: I41dcf8aa99a38a00227d608f421672c398cd2065
-
Lorenzo Colitti authored
1. Use set instead of vector. This simplifies the code a bit. 2. Use proper NDK constants and functions to check the device OS version. Test: test-only change Test: passes on flame running qt-dev build (no-op) Test: passes on flame running RQ3A build Test: passes on raven running SP2A build Test: passes on barbet running aosp/master Change-Id: Ie13e1df674e50fcfb70811bc0dccae515cbb6e1c
-
Lorenzo Colitti authored
While this does not capture all nuances of optional programs, go devices, etc. it should be a useful starting point to tell us if something is really unexpected. Test: test-only change Test: passes on flame running qt-dev build (no-op) Test: passes on flame running RQ3A build Test: passes on raven running SP2A build Test: passes on barbet running aosp/master Change-Id: I43ff8c61c861c008cce459d2dcb487bb536c8da8
-
Sooraj Sasindran authored
Bug: 194332512 Test: unit test Change-Id: Id4d85da8f64e7559326c4657b8833dac3ce5ce3d
-
Frank Li authored
-
Treehugger Robot authored
-
Treehugger Robot authored
-
Chiachang Wang authored
-
- Jan 12, 2022
-
-
Taras Antoshchuk authored
Test: atest HostsideVpnTests Change-Id: I399bb4d113e37869be50bfe73cb3d9b4fa2253ef
-
Filip Zakrzewski authored
Bug: 209505060 Change-Id: Icd74c2fbd9f3c5fc7e59679bb5b99950d8cdb820
-