/packages/apps/StorageManager/src/com/android/storagemanager/automatic/ |
D | JobPreconditions.java | 18 ConnectivityManager connectivityManager = (ConnectivityManager) context.getSystemService( in isNetworkMetered() local 20 if (connectivityManager != null) { in isNetworkMetered() 21 return connectivityManager.isActiveNetworkMetered(); in isNetworkMetered() 27 ConnectivityManager connectivityManager = (ConnectivityManager) context.getSystemService( in isWifiConnected() local 29 if (connectivityManager != null) { in isWifiConnected() 30 for (Network network : connectivityManager.getAllNetworks()) { in isWifiConnected() 31 NetworkInfo networkInfo = connectivityManager.getNetworkInfo(network); in isWifiConnected()
|
/packages/apps/Settings/src/com/android/settings/datausage/ |
D | DataUsageUtils.java | 43 ConnectivityManager connectivityManager = ConnectivityManager.from(context); in hasMobileData() local 44 return connectivityManager != null && connectivityManager in hasMobileData() 56 ConnectivityManager connectivityManager = ConnectivityManager.from(context); in hasWifiRadio() local 57 return connectivityManager != null && connectivityManager.isNetworkSupported(TYPE_WIFI); in hasWifiRadio()
|
/packages/services/Mms/src/com/android/mms/service/ |
D | MmsNetworkManager.java | 211 final ConnectivityManager connectivityManager = getConnectivityManager(); in startNewNetworkRequestLocked() local 213 connectivityManager.requestNetwork( in startNewNetworkRequestLocked() 224 final ConnectivityManager connectivityManager = getConnectivityManager(); in releaseRequestLocked() local 226 connectivityManager.unregisterNetworkCallback(callback); in releaseRequestLocked() 290 final ConnectivityManager connectivityManager = getConnectivityManager(); in getApnName() local 291 final NetworkInfo mmsNetworkInfo = connectivityManager.getNetworkInfo(network); in getApnName()
|
D | MmsHttpClient.java | 91 ConnectivityManager connectivityManager) { in MmsHttpClient() argument 94 mConnectivityManager = connectivityManager; in MmsHttpClient()
|
/packages/apps/Dialer/java/com/android/dialer/common/ |
D | NetworkUtil.java | 44 ConnectivityManager connectivityManager = in getCurrentNetworkType() local 46 return getNetworkType(connectivityManager.getActiveNetworkInfo()); in getCurrentNetworkType() 56 ConnectivityManager connectivityManager = in getCurrentNetworkInfo() local 58 return connectivityManager.getActiveNetworkInfo(); in getCurrentNetworkInfo() 70 ConnectivityManager connectivityManager = in getCurrentNetworkTypeName() local 72 NetworkInfo netInfo = connectivityManager.getActiveNetworkInfo(); in getCurrentNetworkTypeName()
|
/packages/apps/Settings/src/com/android/settings/ |
D | SettingsDumpService.java | 89 ConnectivityManager connectivityManager = getSystemService(ConnectivityManager.class); in dumpDataUsage() local 92 if (connectivityManager.isNetworkSupported(ConnectivityManager.TYPE_MOBILE)) { in dumpDataUsage() 103 if (connectivityManager.isNetworkSupported(ConnectivityManager.TYPE_WIFI)) { in dumpDataUsage() 106 if (connectivityManager.isNetworkSupported(ConnectivityManager.TYPE_ETHERNET)) { in dumpDataUsage()
|
D | ResetNetworkConfirm.java | 74 ConnectivityManager connectivityManager = (ConnectivityManager) 76 if (connectivityManager != null) { 77 connectivityManager.factoryReset();
|
/packages/apps/Dialer/java/com/android/incallui/calllocation/impl/ |
D | LocationHelper.java | 170 private final ConnectivityManager connectivityManager; field in LocationHelper.LocationHelperInternal 186 connectivityManager = in LocationHelperInternal() 243 if (connectivityManager == null) { in isConnected() 246 NetworkInfo networkInfo = connectivityManager.getActiveNetworkInfo(); in isConnected()
|
/packages/apps/TV/src/com/android/tv/util/ |
D | NetworkUtils.java | 38 public static boolean isNetworkAvailable(@Nullable ConnectivityManager connectivityManager) { in isNetworkAvailable() argument 39 if (connectivityManager == null) { in isNetworkAvailable() 42 NetworkInfo info = connectivityManager.getActiveNetworkInfo(); in isNetworkAvailable()
|
/packages/apps/Test/connectivity/UID/src/com/android/tests/connectivity/uid/ |
D | ConnectivityTestActivity.java | 34 ConnectivityManager connectivityManager; field in ConnectivityTestActivity 57 connectivityManager = (ConnectivityManager) in checkNow() 59 netInfo = connectivityManager.getActiveNetworkInfo(); in checkNow()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/ |
D | UtilsTest.java | 56 private ConnectivityManager connectivityManager; field in UtilsTest 69 .thenReturn(connectivityManager); in setUp() 78 when(connectivityManager.getLinkProperties(network)).thenReturn(lp); in testGetWifiIpAddresses_succeeds() 87 when(connectivityManager.getLinkProperties(network)).thenReturn(null); in testGetWifiIpAddresses_nullLinkProperties()
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
D | ConnectivityManagerWrapper.java | 26 public ConnectivityManagerWrapper(ConnectivityManager connectivityManager) { in ConnectivityManagerWrapper() argument 27 mConnectivityManager = connectivityManager; in ConnectivityManagerWrapper()
|
/packages/apps/Email/provider_src/com/android/email/provider/ |
D | RefreshStatusMonitor.java | 86 final ConnectivityManager connectivityManager = in isConnected() local 88 final NetworkInfo networkInfo = connectivityManager.getActiveNetworkInfo(); in isConnected()
|
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
D | AttachmentUtils.java | 283 ConnectivityManager connectivityManager = (ConnectivityManager) context.getSystemService( in canDownloadAttachment() local 285 NetworkInfo info = connectivityManager.getActiveNetworkInfo(); in canDownloadAttachment()
|
D | Utils.java | 1126 final ConnectivityManager connectivityManager = in isConnected() local 1128 final NetworkInfo networkInfo = connectivityManager.getActiveNetworkInfo(); in isConnected()
|
/packages/apps/Messaging/src/android/support/v7/mms/ |
D | MmsRequest.java | 290 private static void requestRoute(final ConnectivityManager connectivityManager, in requestRoute() argument 301 final boolean requested = requestRouteToHostAddress(connectivityManager, addr); in requestRoute()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/ |
D | WifiSetupActivity.java | 555 ConnectivityManager connectivityManager = (ConnectivityManager) getSystemService( in addSummaryPage() local 557 NetworkInfo currentConnection = connectivityManager.getActiveNetworkInfo(); in addSummaryPage()
|
/packages/apps/Dialer/java/com/android/voicemail/impl/imap/ |
D | ImapHelper.java | 143 ConnectivityManager connectivityManager = in isRoaming() local 145 NetworkInfo info = connectivityManager.getNetworkInfo(mNetwork); in isRoaming()
|
/packages/apps/Settings/src/com/android/settings/widget/ |
D | SettingsAppWidgetProvider.java | 398 final ConnectivityManager connectivityManager = in requestStateChange() local 401 connectivityManager.stopTethering(ConnectivityManager.TETHERING_WIFI); in requestStateChange()
|