- Jan 13, 2022
-
-
Treehugger Robot authored
-
Chiachang Wang authored
-
- Jan 12, 2022
-
-
Filip Zakrzewski authored
Bug: 209505060 Change-Id: Icd74c2fbd9f3c5fc7e59679bb5b99950d8cdb820
-
Taras Antoshchuk authored
-
Remi NGUYEN VAN authored
* changes: Use recording callbacks in NsdManagerTest Refactor NsdManagerTest
-
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
-
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
-
Chiachang Wang authored
Add extra field in NativeNetworkConfig to allow CS to notify netd whether the local traffic should be excluded from the VPN network. Bug: 184750836 Test: atest FrameworksNetworkTests Change-Id: If230fe7057722c80a09433673ac3cec857f7a7a5
-
Treehugger Robot authored
-
- Jan 10, 2022
-
-
Bill Yi authored
Auto-generated-cl: translation import Change-Id: If066bbd12a50e3af9310195ffbaff306e3e29f11
-
Junyu Lai authored
-
Taras Antoshchuk authored
Revert "Revert "Revert "Revert "Add APIs that allow to exclude r..." Revert "Revert "Revert "Revert "Add VpnServiceBuilderShim for Vp..." Revert submission 1941195-revert-1931760-reland-vpn-impl-part-2-WGARECSJEM Reason for revert: fixed merge conflict with aosp/1938197 Reverted Changes: Ic25e5e4ea:Revert^2 "Revert "Add CTS tests for exclude VPN ro... Ic72cafcf5:Revert "Revert "Revert "Add APIs that allow to exc... I53802190a:Revert "Revert "Revert "Add VpnServiceBuilderShim ... Change-Id: I5a6ceaae21c563de8bb71338c29973f58178b456
-
- Jan 07, 2022
-
-
Matt Buckley authored
-
Matt Buckley authored
1a6d19e4 Change-Id: Ic25e5e4eaf57e033a9304244387e6fba15213d2b
-
Taras Antoshchuk authored
-
Treehugger Robot authored
-
Junyu Lai authored
* changes: [MS17.3] Remove NetworkStatsManagerInternal dependency [MS17.2] Fix remaining daily budget assertion
-
Junyu Lai authored
Test: atest NetworkStatsSubscriptionsMonitorTest Fix: 213021103 Change-Id: Ib6b472a095a6ae92a2574c1ea2d382e1c2699d57
-
Junyu Lai authored
OnSubscriptionsChangedListenerHandler(Looper looper) is hidden, there is no way to pass a looper to it in the test. This change partially revert aosp/1340040 to fix hidden API dependency. And will use a different approach to address this problem in later stages. Test: atest NetworkStatsSubscriptionMonitorTest Bug: 204830222 Bug: 213280079 Change-Id: Ie17f04cd9f174f2895bde4607bbd7a9a92181a96
-
Junyu Lai authored
Test: atest MultipathPolicyTrackerTest Bug: 204830222 Change-Id: I219e963124b8fa0967ea08f2f047f7c654ab4a04
-
Junyu Lai authored
Currently, the test didn't mock data usage of the month. Thus, when asserting remaining budget, the calculation always assumes there is no used data, hence wrong budget value is expected. See #getRemainingDailyBudget. This change makes data usage of this month includes the bytes used today. And adjust the policy limit accordingly. Test: atest MultipathPolicyTrackerTest Bug: 204830222 Change-Id: I3ca6505f8d502047485ba3676f16fbc474117cc1
-
Chiachang Wang authored
Bug: 184750836 Test: atest FrameworksNetTests Change-Id: I4e79467ce7afcf07f4b8d7f964a605703a6d2c5e
-
- Jan 06, 2022
-
-
Siim Sammul authored
Connectivity as otherwise method names are not visible in the collected binder latency data. Test: N/A Bug: 208515821 Change-Id: I0e6c6dcd4663f0abe473d39f7de4c718ac3fb66f
-
Junyu Lai authored
-
Junyu Lai authored
-
- Jan 05, 2022
-
-
James Mattis authored
Update to ConnectivityService to use permission utils to validate the existence of a system feature. Bug: 210485380 Test: atest FrameworksNetTests: com.android.server.ConnectivityServiceTest Change-Id: Ia537cc5b37ef8d80f49f1a83ba572b3b8a9f6874
-
Taras Antoshchuk authored
This reverts commit f4882153. Reason for revert: failing build target configuration is fixed Change-Id: Ic8ed8fce72a1c816ee6766f296efaddeafcd2f70
-
Treehugger Robot authored
-
Junyu Lai authored
Replace intent receiver with callback listener. Test: atest com.android.server.net.NetworkStatsServiceTest Bug: 204830222 Change-Id: I07ef87b08b5d177719a82f79a2866d72b003fb5a
-
Junyu Lai authored
Test: atest com.android.server.net.NetworkStatsSubscriptionsMonitorTest Bug: 204830222 Change-Id: I53cdf9a83a38ea6921bff02be48bc14a4012ba36
-
Junyu Lai authored
This change pass INetd to NetworkStatsFactory to replace NetdService#getNetdInstance. Test: atest FrameworksNetTests Bug: 204830222 Change-Id: I0756188adb394fa5343c8d2ae354567df63acf21
-
- Jan 04, 2022
-
-
lucaslin authored
Add a test to check if onCapabilitiesChanged will be called when the underlying networks are changed. Bug: 191918368 Test: atest CtsHostsideNetworkTests:HostsideVpnTests Change-Id: I8dfb16e01199d41b1b65f69e129ec40e37f9ab0f
-
- Jan 03, 2022
-
-
Treehugger Robot authored
-
Treehugger Robot authored
-
Les Lee authored
-
Hungming Chen authored
This is a preparation for testing IPv4 BPF offload. - Add an ARP responder. - Add a basic UDP forwarding test. Test: atest EthernetTetheringTest Change-Id: I720a5a2c4b97493eb6a5570cecd73dfc1eabf5cd
-