/frameworks/base/tests/vcn/java/com/android/server/vcn/routeselection/ |
D | UnderlyingNetworkControllerTest.java | 160 @Mock private Network mNetwork; field in UnderlyingNetworkControllerTest 205 mNetwork, in setUp() 528 mNetwork, in testUnderlyingNetworkRecordEquals() 534 mNetwork, in testUnderlyingNetworkRecordEquals() 540 mNetwork, in testUnderlyingNetworkRecordEquals() 573 mNetwork, in testUpdateIpSecTransform() 634 cb.onAvailable(mNetwork); in verifyRegistrationOnAvailableAndGetCallback() 638 cb.onCapabilitiesChanged(mNetwork, responseNetworkCaps); in verifyRegistrationOnAvailableAndGetCallback() 639 cb.onLinkPropertiesChanged(mNetwork, INITIAL_LINK_PROPERTIES); in verifyRegistrationOnAvailableAndGetCallback() 640 cb.onBlockedStatusChanged(mNetwork, false /* isFalse */); in verifyRegistrationOnAvailableAndGetCallback() [all …]
|
D | UnderlyingNetworkEvaluatorTest.java | 84 mNetwork, in newUnderlyingNetworkEvaluator() 123 assertEquals(mNetwork, evaluator.getNetwork()); in testInitializedEvaluator() 157 mNetwork, in testValidEvaluator() 163 assertEquals(mNetwork, evaluator.getNetwork()); in testValidEvaluator()
|
D | NetworkEvaluationTestBase.java | 108 @Mock protected Network mNetwork; field in NetworkEvaluationTestBase 128 when(mNetwork.getNetId()).thenReturn(-1); in setUp()
|
D | IpSecPacketLossDetectorTest.java | 108 mNetwork, in setUp() 368 verify(mConnectivityManager).reportNetworkConnectivity(mNetwork, false); in testHandleLossRate_validationFail() 598 mNetwork, in newDetectorAndSetTransform()
|
D | NetworkPriorityClassifierTest.java | 68 return new UnderlyingNetworkRecord(mNetwork, nc, LINK_PROPERTIES, false /* isBlocked */); in getTestNetworkRecord()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/ |
D | DefaultNetworkMonitor.java | 41 @Nullable private Network mNetwork; field in DefaultNetworkMonitor 47 mNetwork = network; in onAvailable() 53 if (network == mNetwork) { in onCapabilitiesChanged() 60 mNetwork = null; in onLost()
|
/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/apex/jobscheduler/framework/java/android/app/job/ |
D | JobParameters.java | 304 private Network mNetwork; field in JobParameters 327 this.mNetwork = network; in JobParameters() 498 return mNetwork; in getNetwork() 593 mNetwork = Network.CREATOR.createFromParcel(in); in JobParameters() 595 mNetwork = null; in JobParameters() 604 mNetwork = network; in setNetwork() 639 if (mNetwork != null) { in writeToParcel() 641 mNetwork.writeToParcel(dest, flags); in writeToParcel()
|
/frameworks/base/services/core/java/com/android/server/vcn/routeselection/ |
D | UnderlyingNetworkRecord.java | 95 @NonNull private final Network mNetwork; field in UnderlyingNetworkRecord.Builder 103 mNetwork = network; in Builder() 108 return mNetwork; in getNetwork() 140 mNetwork, mNetworkCapabilities, mLinkProperties, mIsBlocked); in build()
|
D | NetworkMetricMonitor.java | 52 @NonNull private final Network mNetwork; field in NetworkMetricMonitor 72 mNetwork = Objects.requireNonNull(network, "Missing network"); in NetworkMetricMonitor() 213 return mNetwork; in getNetwork() 243 return " [Network " + mNetwork + "] "; in getLogPrefix()
|
/frameworks/base/services/tests/VpnTests/java/com/android/server/net/ |
D | LockdownVpnTrackerTest.java | 97 @Mock private Network mNetwork; field in LockdownVpnTrackerTest 221 callCallbacksForNetworkConnect(defaultCallback, mNetwork); in testDefaultNetworkConnected() 234 defaultCallback, mNetwork, TEST_CELL_NC, startingLp, true /* blocked */); in doTestDefaultLpChanged() 239 defaultCallback.onLinkPropertiesChanged(mNetwork, newLp); in doTestDefaultLpChanged() 289 callCallbacksForNetworkConnect(defaultCallback, mNetwork); in testDefaultNetworkChanged() 326 callCallbacksForNetworkConnect(defaultCallback, mNetwork); in testSystemDefaultLost() 329 defaultCallback.onLost(mNetwork); in testSystemDefaultLost()
|
/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/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/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/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/ |
D | WifiEntry.java | 245 protected Network mNetwork; field in WifiEntry 371 if (mNetwork != null && mNetwork.equals(mDefaultNetwork)) { in isDefaultNetwork() 388 return underlyingNetworks != null && underlyingNetworks.contains(mNetwork); in isDefaultNetwork() 1001 if (network.equals(mNetwork)) { in onNetworkCapabilitiesChanged() 1018 mNetwork = network; in onNetworkCapabilitiesChanged() 1063 if (!network.equals(mNetwork)) { in onNetworkLost() 1122 if (!network.equals(mNetwork)) { in updateLinkProperties() 1168 if (connectivityReport.getNetwork().equals(mNetwork)) { in updateConnectivityReport()
|
D | PasspointWifiEntry.java | 623 return mNetwork != null in canSignIn() 633 mContext.getSystemService(ConnectivityManager.class), mNetwork); in signIn() local
|
D | StandardWifiEntry.java | 428 return mNetwork != null in canSignIn() 438 mContext.getSystemService(ConnectivityManager.class), mNetwork); in signIn() local
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/data/ |
D | QosCallbackTrackerTest.java | 101 private Network mNetwork; field in QosCallbackTrackerTest 114 mNetwork = mock(Network.class); in setUp() 116 doReturn(mNetwork).when(mNetworkAgent).getNetwork(); in setUp() 117 doReturn(100).when(mNetwork).getNetId(); in setUp()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/dialog/ |
D | InternetDialogDelegateControllerTest.java | 123 private Network mNetwork; field in InternetDialogDelegateControllerTest 262 when(mConnectivityManager.getActiveNetwork()).thenReturn(mNetwork); in connectCarrierNetwork_mergedCarrierEntryCanConnect_connectAndCreateSysUiToast() 263 when(mConnectivityManager.getNetworkCapabilities(mNetwork)) in connectCarrierNetwork_mergedCarrierEntryCanConnect_connectAndCreateSysUiToast() 310 when(mConnectivityManager.getActiveNetwork()).thenReturn(mNetwork); in connectCarrierNetwork_mergedCarrierEntryCanConnect_doNothingWhenMobileIsPrimary() 311 when(mConnectivityManager.getNetworkCapabilities(mNetwork)) in connectCarrierNetwork_mergedCarrierEntryCanConnect_doNothingWhenMobileIsPrimary()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | ContextFixture.java | 754 private final Network mNetwork = mock(Network.class); field in ContextFixture 794 doAnswer(invocation -> mNetworkId++).when(mNetwork).getNetId(); in ContextFixture() 795 doReturn(mNetwork).when(mConnectivityManager).registerNetworkAgent( in ContextFixture()
|