/frameworks/base/tests/vcn/java/com/android/server/vcn/routeselection/ |
D | UnderlyingNetworkControllerTest.java | 110 @Mock private Network mNetwork; field in UnderlyingNetworkControllerTest 328 mNetwork, in testUnderlyingNetworkRecordEquals() 334 mNetwork, in testUnderlyingNetworkRecordEquals() 340 mNetwork, in testUnderlyingNetworkRecordEquals() 378 cb.onAvailable(mNetwork); in verifyRegistrationOnAvailableAndGetCallback() 382 cb.onCapabilitiesChanged(mNetwork, responseNetworkCaps); in verifyRegistrationOnAvailableAndGetCallback() 383 cb.onLinkPropertiesChanged(mNetwork, INITIAL_LINK_PROPERTIES); in verifyRegistrationOnAvailableAndGetCallback() 384 cb.onBlockedStatusChanged(mNetwork, false /* isFalse */); in verifyRegistrationOnAvailableAndGetCallback() 388 mNetwork, in verifyRegistrationOnAvailableAndGetCallback() 402 cb.onCapabilitiesChanged(mNetwork, responseNetworkCaps); in testRecordTrackerCallbackNotifiedForNetworkCapabilitiesChange() [all …]
|
D | NetworkPriorityClassifierTest.java | 114 @Mock private Network mNetwork; field in NetworkPriorityClassifierTest 140 mNetwork, in setUp() 147 mNetwork, in setUp() 522 new UnderlyingNetworkRecord(mNetwork, nc, LINK_PROPERTIES, false /* isBlocked */); in testCalculatePriorityClassFailToMatchAny()
|
/frameworks/base/core/tests/coretests/src/android/net/ |
D | SntpClientTest.java | 138 private Network mNetwork; field in SntpClientTest 149 mNetwork = mock(Network.class, CALLS_REAL_METHODS); in setUp() 165 assertTrue(mClient.requestTime(mServer.getAddress(), mServer.getPort(), 500, mNetwork)); in testRequestTime_era0ClientEra0RServer() local 178 assertTrue(mClient.requestTime(mServer.getAddress(), mServer.getPort(), 500, mNetwork)); in testRequestTime_era0ClientEra1Server() local 192 assertTrue(mClient.requestTime(mServer.getAddress(), mServer.getPort(), 500, mNetwork)); in testRequestTime_era1ClientEra0Server() local 205 assertTrue(mClient.requestTime(mServer.getAddress(), mServer.getPort(), 500, mNetwork)); in testRequestTime_era1ClientEra1Server() local 299 SntpClient.STANDARD_NTP_PORT, 5000, mNetwork)); in testDnsResolutionFailure() 307 assertFalse(mClient.requestTime(mServer.getAddress(), mServer.getPort(), 500, mNetwork)); in testTimeoutFailure() local 319 assertFalse(mClient.requestTime(mServer.getAddress(), mServer.getPort(), 500, mNetwork)); in testIgnoreLeapNoSync() local 335 mNetwork); in testAcceptOnlyServerAndBroadcastModes() [all …]
|
/frameworks/base/services/core/java/com/android/server/vcn/routeselection/ |
D | UnderlyingNetworkRecord.java | 194 @NonNull private final Network mNetwork; field in Builder 204 mNetwork = network; in Builder() 209 return mNetwork; in getNetwork() 246 mNetwork, mNetworkCapabilities, mLinkProperties, mIsBlocked); in build()
|
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/ |
D | TrackerService.java | 72 private NetworkStateBroadcastReceiver mNetwork; field in TrackerService 150 mNetwork = new NetworkStateBroadcastReceiver(); in initLocationListeners() 157 registerReceiver(mNetwork, mIntentFilter); in initLocationListeners() 256 if (mNetwork != null) { in stopListeners() 257 unregisterReceiver(mNetwork); in stopListeners() 259 mNetwork = null; in stopListeners()
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | LockdownVpnTracker.java | 75 private Network mNetwork = null; field in LockdownVpnTracker.NetworkCallback 81 if (!network.equals(mNetwork)) { in onLinkPropertiesChanged() 83 mNetwork = network; in onLinkPropertiesChanged() 99 mNetwork = null; in onLost() 107 return mNetwork; in getNetwork()
|
/frameworks/base/packages/CarrierDefaultApp/src/com/android/carrierdefaultapp/ |
D | CaptivePortalLoginActivity.java | 77 private Network mNetwork; field in CaptivePortalLoginActivity 141 if (mNetwork.equals(mCm.getActiveNetwork())) break; in onDestroy() 165 mNetwork = network; in setNetwork() 243 urlConnection = (HttpURLConnection) mNetwork.openConnection( in testForCaptivePortal() 327 mNetwork = null; in releaseNetworkRequest() 364 if (mNetwork != null) { in onPageStarted() 383 if (mNetwork != null) { in onPageFinished()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/data/ |
D | QosCallbackTrackerTest.java | 94 private Network mNetwork; field in QosCallbackTrackerTest 104 mNetwork = mock(Network.class); in setUp() 106 doReturn(mNetwork).when(mNetworkAgent).getNetwork(); in setUp() 107 doReturn(100).when(mNetwork).getNetId(); in setUp()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/dreams/ |
D | DreamOverlayStatusBarViewControllerTest.java | 85 Network mNetwork; field in DreamOverlayStatusBarViewControllerTest 352 callbackCapture.getValue().onAvailable(mNetwork); in testWifiIconHiddenWhenWifiBecomesAvailable() 370 callbackCapture.getValue().onLost(mNetwork); in testWifiIconShownWhenWifiBecomesUnavailable() 389 callbackCapture.getValue().onCapabilitiesChanged(mNetwork, mNetworkCapabilities); in testWifiIconHiddenWhenCapabilitiesChange()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | ContextFixture.java | 732 private final Network mNetwork = mock(Network.class); field in ContextFixture 774 doAnswer(invocation -> mNetworkId++).when(mNetwork).getNetId(); in ContextFixture() 775 doReturn(mNetwork).when(mConnectivityManager).registerNetworkAgent( in ContextFixture()
|