- Feb 11, 2022
-
-
Treehugger Robot authored
-
- Feb 10, 2022
-
-
James Mattis authored
-
Treehugger Robot authored
-
Bob Badour authored
Added SPDX-license-identifier-Apache-2.0 to: netd/Android.bp Bug: 68860345 Bug: 151177513 Bug: 151953481 Test: m all Change-Id: Ib1377fbb050fe52ee195eec58fea67ef769a487a
-
Treehugger Robot authored
-
Robert Horvath authored
-
Junyu Lai authored
-
Lorenzo Colitti authored
-
Remi NGUYEN VAN authored
Add owners to Nearby members for the nearby directory and framework-t API directory. Test: m Change-Id: I1095064de389ab5f035d8750c0106195d1c167ac
-
Aaron Huang authored
(cherry picked from commit 68ca3739) Bug: 204153604 Test: TH Change-Id: If4afabdc65ed2ac3e918af1d4a03c4c9173c4a3c Merged-In: If4afabdc65ed2ac3e918af1d4a03c4c9173c4a3c
-
Maciej Żenczykowski authored
Test: TreeHugger Signed-off-by:
Maciej Żenczykowski <maze@google.com> Change-Id: I6aedf507e09effd9076de85a0acc7aaf1b8e4a1e
-
Treehugger Robot authored
-
Chiachang Wang authored
-
- Feb 09, 2022
-
-
James Mattis authored
EthernetNetworkSpecifier is being moved from being @SystemApi to public. This is causing the linter to incorrectly throw errors when building on erro prone. Add @SupressLint to the method causing the errors prevents the incorrect warning from causing build failures. Tracking bug b/193460475 - TODO to remove once fixed. cherry pick of http://ag/16822701 Bug: 210485380 Test: build errorprone Change-Id: Id297e739a2288ccc232c6b989ec7fee41837a910 Merged-In: Id297e739a2288ccc232c6b989ec7fee41837a910
-
Patrick Rohr authored
* changes: Add bandwidth limiting to CS Add setting that controls network rate limit
-
Jean Chalard authored
-
Jean Chalard authored
-
Remi NGUYEN VAN authored
Allow core tests to use hidden connectivity APIs. Benchmark tests in particular cannot be run without these. Ignore-AOSP-First: Avoiding merge conflicts, cherry-pick will follow Bug: 197717846 Test: m (cherry-picked from ag/16772124) Change-Id: Ia01f24317d14b063f9a7e24c3ada11b140641c50 Merged-In: Ia01f24317d14b063f9a7e24c3ada11b140641c50
-
Nucca Chen authored
-
Patrick Rohr authored
Adds ingress rate limiting functionality to ConnectivityService. The tc rate limit is installed before we tell netd about the interface, and removed after the network is removed from netd. When the setting changes, the old rate limit needs to be removed before a new one can be added (unfortunately, we cannot use NLM_F_REPLACE when configuring the tc-police filter). Currently, this functionality is always enabled, but may or may not work based on kernel support. Bug: 157552970 Test: atest FrameworksNetTests:ConnectivityServiceTest Change-Id: I4e64b2c40490f061e42b40a1b1b3a6618c3d1a87
-
Patrick Rohr authored
The INGRESS_RATE_LIMIT_BYTES_PER_SECOND setting controls the rate limit for internet networks. If set to -1, no rate limit applies. There is one global rate limit that will be applied to all networks with NET_CAPABILITY_INTERNET. Test: atest ConnectivitySettingsManagerTest Bug: 157552970 Change-Id: Ia82aa867686d484ce46734f76d4a48bf864eff84
-
Treehugger Robot authored
* changes: Enable framework-connectivity-t-pre-jarjar for service-t Split out connectivity-t-pre-jarjar and tests
-
Junyu Lai authored
framework-connectivity need to see the aidl files when compiling IConnectivityManager.aidl, and it can only include the files by specifying aidl include_dirs. Thus, move the file into the module since the one outside of the module is going to be deleted soon. Ignore-AOSP-First: Avoiding conflicts; cherry-pick will follow Test: TH Bug: 197717846 Change-Id: Ide7431d0c98aebd389bee86d13ff44f5ef8b8283 Merged-In: Ide7431d0c98aebd389bee86d13ff44f5ef8b8283
-
Aaron Huang authored
-
Hungming Chen authored
EthernetTetheringTest needs to parse BPF map content for IPv4 forwarding rule tests. Move the struct class files to common libs. Compare Tether4{Key, Value}.java between frameworks/libs/net/common and packages/modules/Connectivity/Tethering. There is only the package name change as expected. $ diff packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/Tether4Key.java frameworks/libs/net/common/device/com/android/net/module/util/bpf/Tether4Key.java 17c17 < package com.android.networkstack.tethering; --- > package com.android.net.module.util.bpf; $ diff packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/Tether4Value.java frameworks/libs/net/common/device/com/android/net/module/util/bpf/Tether4Value.java 17c17 < package com.android.networkstack.tethering; --- > package com.android.net.module.util.bpf; Test: atest TetheringCoverageTests Change-Id: I73c180fa4129aefde1e64ecbafe928f388b061d6
-
junyulai authored
framework-connectivity-t-pre-jarjar build target is needed by service-t, thus, enabled this target on sc-mainline-prod but still keep framework-connectivity-t disabled. Bug: 204830222 Test: m Change-Id: I03cbdb57966b746f3c93e989394a4dc999fe863a
-
Remi NGUYEN VAN authored
The pre-jarjar variant is necessary so that service-t can depend on hidden symbols in framework-t that reference (for example as parameter) classes that are jarjared. Without this, when depending on framework-connectivity-tiramisu.impl, service-connectivity-t would see post-jarjar symbols that do not match the classnames it uses in its code. Also split FrameworksNetTestsLib so that the same jarjar rules can be applied between the tests and the module, avoiding different errors between FrameworksNetTests and ConnectivityCoverageTests. Ignore-AOSP-First: Avoiding conflicts; cherry-pick will follow Bug: 204830222 Test: m Change-Id: I3d0c081c4a7422e128beee11c0156f01b0377c96 Merged-In: I3d0c081c4a7422e128beee11c0156f01b0377c96
-
Ken Chen authored
-
Chiachang Wang authored
Address API review feedback to change naming of setExcludedLocalRoutesVpn and getter. Bug: 217742354 Test: atest FrameworksNetTests Change-Id: I57bbf55c7aba1c86ec8687d2431a50b37e63c6d0
-
Chalard Jean authored
When the network is a VPN, NetworkMonitor needs to know whether the VPN requests validation, and that information is stored in NetworkAgentConfig. Pass it. Test: FrameworksNetTests Change-Id: I3616f0796b69ce054d92213aafdef43ba7041596
-
Chalard Jean authored
Test: m together with its topic Change-Id: I897a2081fb48a614f28d9ec3965f99cca9f8ec62
-
Jean Chalard authored
-
Michael Groover authored
-
Ken Chen authored
Change gid BPF programs from AID_ROOT to AID_SYSTEM because system_server needs to access them. Bug: 202086915 Test: test in Ib0e935ee2b714ac61daceba6d13fa7a20f97f68f Change-Id: I8c0019f141414994aad2986cc5dfdb7dd027a36a
-
- Feb 08, 2022
-
-
Lorenzo Colitti authored
-
Lorenzo Colitti authored
This reverts commit 13b96bc6. Reason for revert: - The reverted CL fixes a bootloop on Fi devices and must be submitted again for droidfood stability purposes. - It's not clear whether the revert actually fixes the test that prompted it. Change-Id: I68200501d1c587d1c6b3ad81053175c74961a440
-
Aaron Huang authored
(cherry picked from commit 7174ac3d) Bug: 204153604 Ignore-AOSP-First: part of large topic that only builds internally Test: build, FrameworksVcnTests, FrameworksIkeTests Change-Id: I40740200fe4a7476a21bb5330429a11c97e38fb8 Merged-In: I40740200fe4a7476a21bb5330429a11c97e38fb8
-
Chiachang Wang authored
This adds a new API that lets VPN apps using VpnManager request that the platform run its basic validation check on the resulting network. Bug: 184750836 Test: atest FrameworksNetTests Change-Id: I00092eee857d3e33529b19461cfd5dd060a0fe20
-
Jordan Demeulenaere authored
-
Jordan Demeulenaere authored
This reverts commit a7d4766d. Reason for revert: DroidMonitor: Potential culprit for Bug 218308105 - verifying through ABTD before revert submission. This is part of the standard investigation process, and does not mean your CL will be reverted. Change-Id: Ia9953d023c1eb84846834f92d4f38a72fa14bd30
-