Home
last modified time | relevance | path

Searched refs:TestNetworkAgent (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/
DUpstreamNetworkMonitorTest.java295 final TestNetworkAgent wifiAgent = new TestNetworkAgent(mCM, TRANSPORT_WIFI); in testSelectPreferredUpstreamType()
303 final TestNetworkAgent cellAgent = new TestNetworkAgent(mCM, TRANSPORT_CELLULAR); in testSelectPreferredUpstreamType()
344 final TestNetworkAgent dunAgent = new TestNetworkAgent(mCM, TRANSPORT_CELLULAR); in testSelectPreferredUpstreamType()
377 final TestNetworkAgent cellAgent = new TestNetworkAgent(mCM, TRANSPORT_CELLULAR); in testGetCurrentPreferredUpstream()
388 final TestNetworkAgent wifiAgent = new TestNetworkAgent(mCM, TRANSPORT_WIFI); in testGetCurrentPreferredUpstream()
408 final TestNetworkAgent dunAgent = new TestNetworkAgent(mCM, TRANSPORT_CELLULAR); in testGetCurrentPreferredUpstream()
431 final TestNetworkAgent wifiAgent = new TestNetworkAgent(mCM, TRANSPORT_WIFI); in testLocalPrefixes()
458 final TestNetworkAgent cellAgent = new TestNetworkAgent(mCM, TRANSPORT_CELLULAR); in testLocalPrefixes()
479 final TestNetworkAgent dunAgent = new TestNetworkAgent(mCM, TRANSPORT_CELLULAR); in testLocalPrefixes()
531 final TestNetworkAgent wifiAgent = new TestNetworkAgent(mCM, TRANSPORT_WIFI); in testSelectMobileWhenMobileIsNotDefault()
[all …]
/frameworks/base/services/core/java/com/android/server/
DTestNetworkService.java147 private final SparseArray<TestNetworkAgent> mTestNetworkTracker = new SparseArray<>();
149 public class TestNetworkAgent extends NetworkAgent implements IBinder.DeathRecipient {
163 private TestNetworkAgent(
227 private TestNetworkAgent registerTestNetworkAgent(
293 return new TestNetworkAgent(looper, context, ni, nc, lp, callingUid, binder);
330 TestNetworkAgent agent =
355 final TestNetworkAgent agent;
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiScoreReportTest.java91 private static class TestNetworkAgent extends NetworkAgent { class in WifiScoreReportTest
92 TestNetworkAgent(Context context) { in TestNetworkAgent() method in WifiScoreReportTest.TestNetworkAgent
145 mNetworkAgent = spy(new TestNetworkAgent(mContext)); in setUp()
/frameworks/base/tests/net/java/com/android/server/
DConnectivityServiceTest.java6816 class TestNetworkAgent extends NetworkAgent { in testLegacyExtraInfoSentToNetworkMonitor() class
6817 TestNetworkAgent(Context context, Looper looper, NetworkAgentConfig config) { in testLegacyExtraInfoSentToNetworkMonitor() method in ConnectivityServiceTest.TestNetworkAgent
6822 final NetworkAgent naNoExtraInfo = new TestNetworkAgent( in testLegacyExtraInfoSentToNetworkMonitor()
6831 final NetworkAgent naExtraInfo = new TestNetworkAgent( in testLegacyExtraInfoSentToNetworkMonitor()