Home
last modified time | relevance | path

Searched refs:getActiveNetworkInfo (Results 1 – 24 of 24) sorted by relevance

/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/
DConnectivityManagerTestBase.java245 return (mCm.getActiveNetworkInfo().getType() == ConnectivityManager.TYPE_MOBILE); in isConnectedToMobile()
250 return (mCm.getActiveNetworkInfo().getType() == ConnectivityManager.TYPE_WIFI); in isConnectedToWifi()
417 NetworkInfo ni = mCm.getActiveNetworkInfo(); in waitForActiveNetworkConnection()
433 NetworkInfo ni = mCm.getActiveNetworkInfo(); in waitUntilNoActiveNetworkConnection()
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/functional/
DConnectivityManagerMobileTest.java92 NetworkInfo ni = mCm.getActiveNetworkInfo(); in test3GToWifiNotification()
332 NetworkInfo extraNetInfo = mCm.getActiveNetworkInfo(); in verifyCellularConnection()
/frameworks/base/samples/training/network-usage/src/com/example/android/networkusage/
DNetworkActivity.java132 NetworkInfo activeInfo = connMgr.getActiveNetworkInfo(); in updateConnectedFlags()
292 NetworkInfo networkInfo = connMgr.getActiveNetworkInfo(); in onReceive()
/frameworks/base/services/core/java/com/android/server/location/gnss/
DNtpTimeHelper.java123 NetworkInfo activeNetworkInfo = mConnMgr.getActiveNetworkInfo(); in isNetworkConnected()
DGnssNetworkConnectivityHandler.java304 NetworkInfo activeNetworkInfo = mConnMgr.getActiveNetworkInfo(); in isDataNetworkConnected()
/frameworks/opt/photoviewer/src/com/android/ex/photo/fragments/
DPhotoViewFragment.java263 NetworkInfo activeNetInfo = connectivityManager.getActiveNetworkInfo(); in onResume()
589 NetworkInfo activeNetInfo = connectivityManager.getActiveNetworkInfo(); in onReceive()
/frameworks/base/startop/apps/test/src/
DSystemServerBenchmarks.java196 cm.getActiveNetworkInfo(); in initializeBenchmarks()
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/
DConnectionUtil.java159 mNetworkInfo = connManager.getActiveNetworkInfo(); in onReceive()
459 mNetworkInfo = mCM.getActiveNetworkInfo(); in waitForNetworkState()
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/stress/
DWifiStressTest.java259 NetworkInfo ni = mCm.getActiveNetworkInfo(); in testWifiReconnectionAfterSleep()
/frameworks/base/core/java/android/net/
DIConnectivityManager.aidl55 NetworkInfo getActiveNetworkInfo(); in getActiveNetworkInfo() method
DConnectivityManager.java996 public NetworkInfo getActiveNetworkInfo() { in getActiveNetworkInfo() method in ConnectivityManager
998 return mService.getActiveNetworkInfo(); in getActiveNetworkInfo()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/
DDeviceIdleControllerTest.java407 doReturn(null).when(mConnectivityManager).getActiveNetworkInfo(); in testUpdateConnectivityState()
413 doReturn(ani).when(mConnectivityManager).getActiveNetworkInfo(); in testUpdateConnectivityState()
2078 doReturn(ani).when(mConnectivityManager).getActiveNetworkInfo(); in setNetworkConnected()
/frameworks/base/tests/net/java/com/android/server/
DConnectivityServiceTest.java1351 assertNotNull(mCm.getActiveNetworkInfo()); in verifyActiveNetwork()
1352 assertEquals(transportToLegacyType(transport), mCm.getActiveNetworkInfo().getType()); in verifyActiveNetwork()
1381 assertNull(mCm.getActiveNetworkInfo()); in verifyNoNetwork()
1477 assertNull(mCm.getActiveNetworkInfo()); in testLingering()
3252 assertEquals(NetworkInfo.State.SUSPENDED, mCm.getActiveNetworkInfo().getState()); in testAdditionalStateCallbacks()
3268 assertEquals(NetworkInfo.State.CONNECTED, mCm.getActiveNetworkInfo().getState()); in testAdditionalStateCallbacks()
4664 assertNull(mCm.getActiveNetworkInfo()); in testNetworkInfoOfTypeNone()
4681 assertNull(mCm.getActiveNetworkInfo()); in testNetworkInfoOfTypeNone()
/frameworks/opt/net/voip/src/java/com/android/server/sip/
DSipService.java1197 info = cm.getActiveNetworkInfo(); in onConnectivityChanged()
/frameworks/base/config/
Dhiddenapi-greylist.txt194 Landroid/net/IConnectivityManager$Stub$Proxy;->getActiveNetworkInfo()Landroid/net/NetworkInfo;
Dboot-image-profile.txt13739 HSPLandroid/net/ConnectivityManager;->getActiveNetworkInfo()Landroid/net/NetworkInfo;
13795 HSPLandroid/net/IConnectivityManager$Stub$Proxy;->getActiveNetworkInfo()Landroid/net/NetworkInfo;
/frameworks/base/apex/jobscheduler/service/java/com/android/server/
DDeviceIdleController.java2685 NetworkInfo ni = cm.getActiveNetworkInfo(); in updateConnectivityState()
/frameworks/base/services/core/java/com/android/server/content/
DSyncManager.java406 NetworkInfo networkInfo = getConnectivityManager().getActiveNetworkInfo(); in readDataConnectionState()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhoneCallTracker.java4674 NetworkInfo ni = cm.getActiveNetworkInfo(); in isWifiConnected()
/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java1409 public NetworkInfo getActiveNetworkInfo() { in getActiveNetworkInfo() method in ConnectivityService
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt16913 method public android.net.NetworkInfo getActiveNetworkInfo();
/frameworks/base/services/
Dart-profile1934 HSPLcom/android/server/ConnectivityService;->getActiveNetworkInfo()Landroid/net/NetworkInfo;
/frameworks/base/api/
Dcurrent.txt29864 …id.Manifest.permission.ACCESS_NETWORK_STATE) public android.net.NetworkInfo getActiveNetworkInfo();