/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/analytics/ |
D | NetworkTypeLoggerTest.java | 67 when(mUtils.getActiveNetworkInfo(mContext)).thenReturn(null); in test_NullNetworkInfo() 78 when(mUtils.getActiveNetworkInfo(mContext)).thenReturn(WIFI_NETWORK_INFO); in test_NetworkNotConnected() 91 when(mUtils.getActiveNetworkInfo(mContext)).thenReturn(WIFI_NETWORK_INFO); in test_NetworkTypeWifi()
|
/packages/apps/Email/provider_src/com/android/email/ |
D | EmailConnectivityManager.java | 144 NetworkInfo info = mConnectivityManager.getActiveNetworkInfo(); in hasConnectivity() 163 NetworkInfo info = cm.getActiveNetworkInfo(); in getActiveNetworkType() 179 NetworkInfo info = mConnectivityManager.getActiveNetworkInfo(); in waitForConnectivity()
|
/packages/apps/Dialer/java/com/android/dialer/common/ |
D | NetworkUtil.java | 46 return getNetworkType(connectivityManager.getActiveNetworkInfo()); in getCurrentNetworkType() 58 return connectivityManager.getActiveNetworkInfo(); in getCurrentNetworkInfo() 72 NetworkInfo netInfo = connectivityManager.getActiveNetworkInfo(); in getCurrentNetworkTypeName()
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/google/ |
D | GoogleSuggestClient.java | 148 NetworkInfo networkInfo = getActiveNetworkInfo(); in isNetworkConnected() 152 private NetworkInfo getActiveNetworkInfo() { in getActiveNetworkInfo() method in GoogleSuggestClient 158 return connectivity.getActiveNetworkInfo(); in getActiveNetworkInfo()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/ |
D | Utils.java | 505 NetworkInfo info = getActiveNetworkInfo(context); in isConnectedToNetwork() 513 NetworkInfo info = getActiveNetworkInfo(context); in isConnectedToWifi() 522 public NetworkInfo getActiveNetworkInfo(Context context) { in getActiveNetworkInfo() method in Utils 525 return cm.getActiveNetworkInfo(); in getActiveNetworkInfo()
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/common/ |
D | UtilsTest.java | 196 when(mockConnectivityManager.getActiveNetworkInfo()).thenReturn(networkInfo); in testGetActiveNetworkInfo() 198 assertEquals(mUtils.getActiveNetworkInfo(mockContext), networkInfo); in testGetActiveNetworkInfo() 415 when(mockConnectivityManager.getActiveNetworkInfo()).thenReturn(networkInfo); in setCurrentNetworkMock()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/ |
D | ConnectivityManagerCompatUtils.java | 33 manager.getActiveNetworkInfo().getType() == ConnectivityManager.TYPE_MOBILE, in isActiveNetworkMetered()
|
/packages/apps/TV/src/com/android/tv/util/ |
D | NetworkUtils.java | 42 NetworkInfo info = connectivityManager.getActiveNetworkInfo(); in isNetworkAvailable()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/analytics/ |
D | NetworkTypeLogger.java | 57 final NetworkInfo networkInfo = mUtils.getActiveNetworkInfo(mContext); in log()
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
D | SyncUtil.java | 118 NetworkInfo activeNetwork = cm.getActiveNetworkInfo(); in isNetworkConnected()
|
/packages/services/Telephony/src/com/android/phone/ |
D | ImsUtil.java | 111 NetworkInfo ni = cm.getActiveNetworkInfo(); in shouldPromoteWfc()
|
/packages/apps/Email/provider_src/com/android/email/provider/ |
D | RefreshStatusMonitor.java | 88 final NetworkInfo networkInfo = connectivityManager.getActiveNetworkInfo(); in isConnected()
|
/packages/apps/Settings/src/com/android/settings/dashboard/ |
D | SupportFragment.java | 166 final NetworkInfo activeNetwork = mConnectivityManager.getActiveNetworkInfo(); in hasInternet()
|
/packages/apps/Dialer/java/com/android/incallui/calllocation/impl/ |
D | LocationHelper.java | 239 NetworkInfo networkInfo = connectivityManager.getActiveNetworkInfo(); in isConnected()
|
/packages/apps/Settings/src/com/android/settings/network/ |
D | MobilePlanPreferenceController.java | 128 NetworkInfo ni = mCm.getActiveNetworkInfo(); in onManageMobilePlanClick()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/ |
D | ConnectToWifiFragment.java | 257 NetworkInfo netInfo = connMan.getActiveNetworkInfo(); in isNetworkConnected()
|
D | ConnectivityListener.java | 269 NetworkInfo networkInfo = mConnectivityManager.getActiveNetworkInfo(); in updateConnectivityStatus()
|
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
D | AttachmentUtils.java | 285 NetworkInfo info = connectivityManager.getActiveNetworkInfo(); in canDownloadAttachment()
|
D | Utils.java | 1128 final NetworkInfo networkInfo = connectivityManager.getActiveNetworkInfo(); in isConnected()
|
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/ |
D | SipConnectionService.java | 273 NetworkInfo ni = cm.getActiveNetworkInfo(); in isNetworkConnected()
|
/packages/apps/RetailDemo/src/com/android/retaildemo/ |
D | DownloadVideoTask.java | 277 NetworkInfo info = cm.getActiveNetworkInfo(); in isConnectedToNetwork()
|
/packages/apps/RetailDemo/tests/src/com/android/retaildemo/ |
D | DownloadVideoTaskTest.java | 271 when(mConnectivityManager.getActiveNetworkInfo()).thenReturn(networkInfo); in setNetworkConnected()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/ |
D | DictionarySettingsFragment.java | 227 NetworkInfo info = mConnectivityManager.getActiveNetworkInfo(); in refreshNetworkState()
|
/packages/apps/Gallery2/src/com/android/gallery3d/util/ |
D | ReverseGeocoder.java | 315 NetworkInfo networkInfo = mConnectivityManager.getActiveNetworkInfo(); in lookupAddress()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/ |
D | WifiSetupActivity.java | 557 NetworkInfo currentConnection = connectivityManager.getActiveNetworkInfo(); in addSummaryPage()
|