Home
last modified time | relevance | path

Searched refs:getActiveNetwork (Results 1 – 11 of 11) 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.java140 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/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...
/frameworks/base/config/
Dboot-image-profile.txt13736 HSPLandroid/net/ConnectivityManager;->getActiveNetwork()Landroid/net/Network;
13794 HSPLandroid/net/IConnectivityManager$Stub$Proxy;->getActiveNetwork()Landroid/net/Network;
/frameworks/base/services/
Dart-profile1931 HPLcom/android/server/ConnectivityService;->getActiveNetwork()Landroid/net/Network;
/frameworks/base/api/
Dcurrent.txt29863 …on(android.Manifest.permission.ACCESS_NETWORK_STATE) public android.net.Network getActiveNetwork();