/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/ |
D | ConnectivityManagerTestBase.java | 251 return (mCm.getActiveNetworkInfo().getType() == ConnectivityManager.TYPE_MOBILE); in isConnectedToMobile() 256 return (mCm.getActiveNetworkInfo().getType() == ConnectivityManager.TYPE_WIFI); in isConnectedToWifi() 423 NetworkInfo ni = mCm.getActiveNetworkInfo(); in waitForActiveNetworkConnection() 439 NetworkInfo ni = mCm.getActiveNetworkInfo(); in waitUntilNoActiveNetworkConnection()
|
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/functional/ |
D | ConnectivityManagerMobileTest.java | 92 NetworkInfo ni = mCm.getActiveNetworkInfo(); in test3GToWifiNotification() 332 NetworkInfo extraNetInfo = mCm.getActiveNetworkInfo(); in verifyCellularConnection()
|
/frameworks/base/samples/training/network-usage/src/com/example/android/networkusage/ |
D | NetworkActivity.java | 132 NetworkInfo activeInfo = connMgr.getActiveNetworkInfo(); in updateConnectedFlags() 292 NetworkInfo networkInfo = connMgr.getActiveNetworkInfo(); in onReceive()
|
/frameworks/support/compat/java/android/support/v4/net/ |
D | ConnectivityManagerCompat.java | 92 final NetworkInfo info = cm.getActiveNetworkInfo(); in isActiveNetworkMetered()
|
/frameworks/base/core/java/android/util/ |
D | NtpTrustedTime.java | 95 final NetworkInfo ni = mCM == null ? null : mCM.getActiveNetworkInfo(); in forceRefresh()
|
/frameworks/base/services/tests/servicestests/test-apps/ConnTestApp/src/com/android/servicestests/apps/conntestapp/ |
D | ConnTestActivity.java | 127 final NetworkInfo networkInfo = cm.getActiveNetworkInfo(); in checkNetworkStatus()
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/fragments/ |
D | PhotoViewFragment.java | 263 NetworkInfo activeNetInfo = connectivityManager.getActiveNetworkInfo(); in onResume() 589 NetworkInfo activeNetInfo = connectivityManager.getActiveNetworkInfo(); in onReceive()
|
/frameworks/base/core/java/android/net/ |
D | IConnectivityManager.aidl | 48 NetworkInfo getActiveNetworkInfo(); in getActiveNetworkInfo() method
|
D | ConnectivityManager.java | 771 public NetworkInfo getActiveNetworkInfo() { in getActiveNetworkInfo() method in ConnectivityManager 773 return mService.getActiveNetworkInfo(); in getActiveNetworkInfo()
|
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/ |
D | ConnectionUtil.java | 159 mNetworkInfo = connManager.getActiveNetworkInfo(); in onReceive() 459 mNetworkInfo = mCM.getActiveNetworkInfo(); in waitForNetworkState()
|
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/stress/ |
D | WifiStressTest.java | 259 NetworkInfo ni = mCm.getActiveNetworkInfo(); in testWifiReconnectionAfterSleep()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/net/ |
D | ConnOnActivityStartTest.java | 351 final NetworkInfo networkInfo = mConnectivityManager.getActiveNetworkInfo(); in isNetworkAvailable()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
D | SuggestionParser.java | 296 NetworkInfo netInfo = cm.getActiveNetworkInfo(); in satisfiesConnectivity()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/mocks/ |
D | ConnectivityServiceMock.java | 409 public NetworkInfo getActiveNetworkInfo() { in getActiveNetworkInfo() method in ConnectivityServiceMock
|
/frameworks/base/tests/net/java/com/android/server/ |
D | ConnectivityServiceTest.java | 824 assertNotNull(mCm.getActiveNetworkInfo()); in verifyActiveNetwork() 825 assertEquals(transportToLegacyType(transport), mCm.getActiveNetworkInfo().getType()); in verifyActiveNetwork() 849 assertNull(mCm.getActiveNetworkInfo()); in verifyNoNetwork() 888 assertNull(mCm.getActiveNetworkInfo()); in testLingering()
|
/frameworks/opt/net/voip/src/java/com/android/server/sip/ |
D | SipService.java | 1195 info = cm.getActiveNetworkInfo(); in onConnectivityChanged()
|
/frameworks/base/services/core/java/com/android/server/location/ |
D | GnssLocationProvider.java | 2361 NetworkInfo activeNetworkInfo = mConnMgr.getActiveNetworkInfo();
|
/frameworks/base/services/core/java/com/android/server/ |
D | ConnectivityService.java | 1061 public NetworkInfo getActiveNetworkInfo() { in getActiveNetworkInfo() method in ConnectivityService 1342 final NetworkInfo info = getActiveNetworkInfo(); in isActiveNetworkMetered()
|
D | DeviceIdleController.java | 1812 NetworkInfo ni = cm.getActiveNetworkInfo(); in updateConnectivityState()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ |
D | ImsPhoneCallTracker.java | 3206 NetworkInfo ni = cm.getActiveNetworkInfo(); in isWifiConnected()
|
/frameworks/base/services/core/java/com/android/server/content/ |
D | SyncManager.java | 393 NetworkInfo networkInfo = getConnectivityManager().getActiveNetworkInfo(); in readDataConnectionState()
|
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 16913 method public android.net.NetworkInfo getActiveNetworkInfo();
|
/frameworks/base/api/ |
D | current.txt | 25340 method public android.net.NetworkInfo getActiveNetworkInfo();
|
D | system-current.txt | 27522 method public android.net.NetworkInfo getActiveNetworkInfo();
|