- Jan 17, 2022
-
-
Aaron Huang authored
-
- Jan 14, 2022
-
-
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
-
- 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
-
Taras Antoshchuk authored
-
Junyu Lai authored
Test: atest NetworkStatsManagerTest Bug: 204830222 Change-Id: I0b712141b7c644205bba3a98ebf39803f0d05306
-
Remi NGUYEN VAN authored
* changes: Use recording callbacks in NsdManagerTest Refactor NsdManagerTest
-
markchien authored
Also add BLUETOOTH_CONNECT permission which is needed for access PanService if target sdk 31+. The permission would be granted to privilege application without prompt. Also remove the min_sdk_version 29 from AndroidManifest because it is useless that the Android.bp already define min_sdk_version 30. $aapt dump xmltree TetheringNext.apk AndroidManifest.xml N: android=http://schemas.android.com/apk/res/android E: manifest (line=19) A: android:sharedUserId(0x0101000b)="android.uid.networkstack" (Raw: "android.uid.networkstack") A: android:versionCode(0x0101021b)=(type 0x10)0x1f A: android:versionName(0x0101021c)="Tiramisu" (Raw: "Tiramisu") A: android:compileSdkVersion(0x01010572)=(type 0x10)0x1f A: android:compileSdkVersionCodename(0x01010573)="Tiramisu" (Raw: "Tiramisu") A: package="com.android.networkstack.tethering" (Raw: "com.android.networkstack.tethering") A: platformBuildVersionCode=(type 0x10)0x1f A: platformBuildVersionName="Tiramisu" (Raw: "Tiramisu") E: uses-sdk (line=23) A: android:minSdkVersion(0x0101020c)=(type 0x10)0x1e A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1f .... E: uses-permission (line=35) A: android:name(0x01010003)="android.permission.BLUETOOTH_CONNECT" (Raw: "android.permission.BLUETOOTH_CONNECT") Bug: 204265450 Test: manual testing bluetooth tethering and TH Change-Id: I6f821020679b9379cada29f6f0816187545a24fb
-
Remi NGUYEN VAN authored
Refactor the test to use recording callbacks based on ArrayTrackRecord, which allow removing the test's own logic to poll for events. Bug: 190249673 Test: atest NsdManagerTest --rerun-until-failure 20 Change-Id: Iad0b0d52271b13954c0193b3b9d4307349a39443
-
Sooraj Sasindran authored
Add a method to apply a set of network preferences to a user profile Bug: 194332512 CTS-Coverage-Bug: 211133973 Test: CTS Change-Id: I97730ea14e7c96922236fd77a591e5acadd875ba
-
- Jan 11, 2022
-
-
Maciej Żenczykowski authored
-
Patrick Rohr authored
Test: TreeHugger Change-Id: I93ca246578f81351335a580e0555180265c7610b
-
Aaron Huang authored
Bug: 210073043 Bug: 204830222 Test: FrameworksNetTests Change-Id: I1ade9113e9367a85b7c200c8f52d8ff3ffc14770
-
Hungming Chen authored
Ship clatd binary with apex. This makes that the clatd binary becomes updatable. Bug: 212345928 Test: manual test 1. Connect to ipv6-only wifi. 2. Make IPv4 traffic. $ ping 8.8.8.8 Change-Id: I4f6f0944e94e165983a19a5d3c3a117274f6bbac
-
Chiachang Wang authored
-
Remi NGUYEN VAN authored
Refactor the test to use Kotlin, and move some repeated code to submethods. Bug: 190249673 Test: atest NsdManagerTest Change-Id: Iee7273080d5d29f1d364ac0a77e017edf9b36051
-