Home
last modified time | relevance | path

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

/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/
DConnectivityManagerTestBase.java249 return (mCm.getActiveNetworkInfo().getType() == ConnectivityManager.TYPE_MOBILE); in isConnectedToMobile()
254 return (mCm.getActiveNetworkInfo().getType() == ConnectivityManager.TYPE_WIFI); in isConnectedToWifi()
421 NetworkInfo ni = mCm.getActiveNetworkInfo(); in waitForActiveNetworkConnection()
437 NetworkInfo ni = mCm.getActiveNetworkInfo(); in waitUntilNoActiveNetworkConnection()
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/functional/
DConnectivityManagerMobileTest.java93 NetworkInfo ni = mCm.getActiveNetworkInfo(); in test3GToWifiNotification()
333 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/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/services/core/java/com/android/server/location/gnss/
DNtpNetworkTimeHelper.java152 NetworkInfo activeNetworkInfo = mConnMgr.getActiveNetworkInfo(); in isNetworkConnected()
DGnssNetworkConnectivityHandler.java331 NetworkInfo activeNetworkInfo = mConnMgr.getActiveNetworkInfo(); in isDataNetworkConnected()
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/
DConnectionUtil.java162 mNetworkInfo = connManager.getActiveNetworkInfo(); in onReceive()
462 mNetworkInfo = mCM.getActiveNetworkInfo(); in waitForNetworkState()
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/stress/
DWifiStressTest.java260 NetworkInfo ni = mCm.getActiveNetworkInfo(); in testWifiReconnectionAfterSleep()
/frameworks/layoutlib/bridge/src/android/net/
DConnectivityManager.java228 public NetworkInfo getActiveNetworkInfo() { in getActiveNetworkInfo() method in ConnectivityManager
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/
DDeviceIdleControllerTest.java462 doReturn(null).when(mConnectivityManager).getActiveNetworkInfo(); in testUpdateConnectivityState()
468 doReturn(ani).when(mConnectivityManager).getActiveNetworkInfo(); in testUpdateConnectivityState()
2791 doReturn(ani).when(mConnectivityManager).getActiveNetworkInfo(); in setNetworkConnected()
/frameworks/opt/net/voip/src/java/com/android/server/sip/
DSipService.java1197 info = cm.getActiveNetworkInfo(); in onConnectivityChanged()
/frameworks/base/services/core/java/com/android/server/content/
DSyncManager.java392 NetworkInfo networkInfo = getConnectivityManager().getActiveNetworkInfo(); in readDataConnectionState()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/
DDeviceIdleController.java3404 NetworkInfo ni = cm.getActiveNetworkInfo(); in updateConnectivityState()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhoneCallTracker.java5771 NetworkInfo ni = cm.getActiveNetworkInfo(); in isWifiConnected()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt16913 method public android.net.NetworkInfo getActiveNetworkInfo();