Home
last modified time | relevance | path

Searched refs:getActiveNetwork (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/tests/net/java/com/android/server/
DConnectivityServiceTest.java1383 assertNotNull(mCm.getActiveNetwork()); in verifyActiveNetwork()
1384 assertEquals(mCm.getActiveNetwork(), mCm.getActiveNetworkForUid(Process.myUid())); in verifyActiveNetwork()
1390 assertEquals(mCm.getActiveNetwork(), mWiFiNetworkAgent.getNetwork()); in verifyActiveNetwork()
1393 assertEquals(mCm.getActiveNetwork(), mCellNetworkAgent.getNetwork()); in verifyActiveNetwork()
1399 assertNotNull(mCm.getNetworkInfo(mCm.getActiveNetwork())); in verifyActiveNetwork()
1401 mCm.getNetworkInfo(mCm.getActiveNetwork()).getType()); in verifyActiveNetwork()
1403 assertNotNull(mCm.getNetworkCapabilities(mCm.getActiveNetwork())); in verifyActiveNetwork()
1404 assertTrue(mCm.getNetworkCapabilities(mCm.getActiveNetwork()).hasTransport(transport)); in verifyActiveNetwork()
1412 assertNull(mCm.getActiveNetwork()); in verifyNoNetwork()
1458 assertNull(mCm.getActiveNetwork()); in testLingering()
[all …]
/frameworks/base/core/java/android/util/
DNtpTrustedTime.java94 final Network network = mCM == null ? null : mCM.getActiveNetwork(); in forceRefresh()
/frameworks/base/tests/BandwidthTests/src/com/android/tests/bandwidthenforcement/
DBandwidthEnforcementTestService.java147 final Network network = mCM.getActiveNetwork(); in testSntp()
/frameworks/base/core/java/android/net/
DIConnectivityManager.aidl50 Network getActiveNetwork(); in getActiveNetwork() method
DConnectivityManager.java976 public Network getActiveNetwork() { in getActiveNetwork() method in ConnectivityManager
978 return mService.getActiveNetwork(); in getActiveNetwork()
/frameworks/base/packages/CarrierDefaultApp/src/com/android/carrierdefaultapp/
DCaptivePortalLoginActivity.java142 if (mNetwork.equals(mCm.getActiveNetwork())) break; in onDestroy()
/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java1330 public Network getActiveNetwork() { in getActiveNetwork() method in ConnectivityService
1627 final NetworkCapabilities caps = getNetworkCapabilities(getActiveNetwork()); in isActiveNetworkMetered()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...
/frameworks/base/services/
Dart-profile792 HSPLcom/android/server/ConnectivityService;->getActiveNetwork()Landroid/net/Network;