Home
last modified time | relevance | path

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

/frameworks/base/tests/net/java/com/android/server/
DConnectivityServiceTest.java1354 assertNotNull(mCm.getActiveNetwork()); in verifyActiveNetwork()
1355 assertEquals(mCm.getActiveNetwork(), mCm.getActiveNetworkForUid(Process.myUid())); in verifyActiveNetwork()
1361 assertEquals(mCm.getActiveNetwork(), mWiFiNetworkAgent.getNetwork()); in verifyActiveNetwork()
1364 assertEquals(mCm.getActiveNetwork(), mCellNetworkAgent.getNetwork()); in verifyActiveNetwork()
1370 assertNotNull(mCm.getNetworkInfo(mCm.getActiveNetwork())); in verifyActiveNetwork()
1372 mCm.getNetworkInfo(mCm.getActiveNetwork()).getType()); in verifyActiveNetwork()
1374 assertNotNull(mCm.getNetworkCapabilities(mCm.getActiveNetwork())); in verifyActiveNetwork()
1375 assertTrue(mCm.getNetworkCapabilities(mCm.getActiveNetwork()).hasTransport(transport)); in verifyActiveNetwork()
1383 assertNull(mCm.getActiveNetwork()); in verifyNoNetwork()
1478 assertNull(mCm.getActiveNetwork()); in testLingering()
[all …]
/frameworks/base/tests/BandwidthTests/src/com/android/tests/bandwidthenforcement/
DBandwidthEnforcementTestService.java147 final Network network = mCM.getActiveNetwork(); in testSntp()
/frameworks/base/core/java/android/util/
DNtpTrustedTime.java156 final Network network = connectivityManager.getActiveNetwork(); in forceRefresh()
/frameworks/base/core/java/android/net/
DIConnectivityManager.aidl52 Network getActiveNetwork(); in getActiveNetwork() method
DConnectivityManager.java1016 public Network getActiveNetwork() { in getActiveNetwork() method in ConnectivityManager
1018 return mService.getActiveNetwork(); in getActiveNetwork()
/frameworks/base/packages/CarrierDefaultApp/src/com/android/carrierdefaultapp/
DCaptivePortalLoginActivity.java141 if (mNetwork.equals(mCm.getActiveNetwork())) break; in onDestroy()
/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java1419 public Network getActiveNetwork() { in getActiveNetwork() method in ConnectivityService
1794 final NetworkCapabilities caps = getNetworkCapabilitiesInternal(getActiveNetwork()); in isActiveNetworkMetered()
/frameworks/base/config/
Dboot-image-profile.txt9933 HSPLandroid/net/ConnectivityManager;->getActiveNetwork()Landroid/net/Network;
9994 HSPLandroid/net/IConnectivityManager$Stub$Proxy;->getActiveNetwork()Landroid/net/Network;
Dhiddenapi-greylist-max-o.txt42833 Landroid/net/IConnectivityManager$Stub$Proxy;->getActiveNetwork()Landroid/net/Network;
42980 Landroid/net/IConnectivityManager;->getActiveNetwork()Landroid/net/Network;
/frameworks/base/services/
Dart-profile792 HSPLcom/android/server/ConnectivityService;->getActiveNetwork()Landroid/net/Network;
/frameworks/base/non-updatable-api/
Dcurrent.txt28632 …on(android.Manifest.permission.ACCESS_NETWORK_STATE) public android.net.Network getActiveNetwork();
/frameworks/base/api/
Dcurrent.txt28762 …on(android.Manifest.permission.ACCESS_NETWORK_STATE) public android.net.Network getActiveNetwork();