Home
last modified time | relevance | path

Searched refs:mConnectivityManager (Results 1 – 16 of 16) sorted by relevance

/packages/apps/Messaging/src/android/support/v7/mms/
DMmsNetworkManager.java74 private final ConnectivityManager mConnectivityManager; field in MmsNetworkManager
104 mConnectivityManager = (ConnectivityManager) mContext.getSystemService( in MmsNetworkManager()
114 return mConnectivityManager; in getConnectivityManager()
197 final NetworkInfo mmsNetworkInfo = mConnectivityManager.getNetworkInfo( in getApnName()
217 mConnectivityManager.getNetworkInfo(ConnectivityManager.TYPE_MOBILE_MMS); in onMmsConnectivityChange()
299 final Method method = mConnectivityManager.getClass().getMethod( in startMmsConnectivity()
303 mConnectivityManager, ConnectivityManager.TYPE_MOBILE, FEATURE_ENABLE_MMS); in startMmsConnectivity()
314 final Method method = mConnectivityManager.getClass().getMethod( in endMmsConnectivity()
318 mConnectivityManager, ConnectivityManager.TYPE_MOBILE, FEATURE_ENABLE_MMS); in endMmsConnectivity()
372 final Class cmClass = mConnectivityManager.getClass(); in isMobileDataEnabled()
[all …]
/packages/services/Mms/src/com/android/mms/service/
DMmsNetworkManager.java54 private volatile ConnectivityManager mConnectivityManager; field in MmsNetworkManager
102 mConnectivityManager = null; in MmsNetworkManager()
215 if (mConnectivityManager == null) { in getConnectivityManager()
216 mConnectivityManager = (ConnectivityManager) mContext.getSystemService( in getConnectivityManager()
219 return mConnectivityManager; in getConnectivityManager()
232 mMmsHttpClient = new MmsHttpClient(mContext, mNetwork, mConnectivityManager); in getOrCreateHttpClient()
DMmsHttpClient.java79 private final ConnectivityManager mConnectivityManager; field in MmsHttpClient
91 mConnectivityManager = connectivityManager; in MmsHttpClient()
236 final LinkProperties lp = mConnectivityManager.getLinkProperties(mNetwork); in maybeWaitForIpv4()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/
DConnectivityListener.java63 private final ConnectivityManager mConnectivityManager; field in ConnectivityListener
108 mConnectivityManager = (ConnectivityManager) mContext.getSystemService( in ConnectivityListener()
180 return mConnectivityManager.isNetworkSupported(ConnectivityManager.TYPE_ETHERNET) in isEthernetAvailable()
185 final Network[] networks = mConnectivityManager.getAllNetworks(); in getFirstEthernet()
187 NetworkInfo networkInfo = mConnectivityManager.getNetworkInfo(network); in getFirstEthernet()
197 return network != null ? mConnectivityManager.getNetworkInfo(network).getExtraInfo() : null; in getEthernetMacAddress()
207 final LinkProperties linkProperties = mConnectivityManager.getLinkProperties(network); in getEthernetIpAddress()
303 NetworkInfo networkInfo = mConnectivityManager.getActiveNetworkInfo(); in updateConnectivityStatus()
/packages/apps/Email/provider_src/com/android/email/
DEmailConnectivityManager.java61 private final android.net.ConnectivityManager mConnectivityManager; field in EmailConnectivityManager
73 mConnectivityManager = in EmailConnectivityManager()
144 NetworkInfo info = mConnectivityManager.getActiveNetworkInfo(); in hasConnectivity()
153 return getActiveNetworkType(mConnectivityManager); in getActiveNetworkType()
179 NetworkInfo info = mConnectivityManager.getActiveNetworkInfo(); in waitForConnectivity()
/packages/services/Telephony/src/com/android/phone/vvm/omtp/sync/
DVvmNetworkRequestCallback.java52 private ConnectivityManager mConnectivityManager; field in VvmNetworkRequestCallback
139 if (mConnectivityManager == null) { in getConnectivityManager()
140 mConnectivityManager = (ConnectivityManager) mContext.getSystemService( in getConnectivityManager()
143 return mConnectivityManager; in getConnectivityManager()
/packages/apps/Email/provider_src/com/android/email/service/
DAttachmentService.java124 EmailConnectivityManager mConnectivityManager; field in AttachmentService
647 if (mConnectivityManager != null) { in onDestroy()
648 mConnectivityManager.unregister(); in onDestroy()
649 mConnectivityManager.stopWait(); in onDestroy()
650 mConnectivityManager = null; in onDestroy()
660 mConnectivityManager = new EmailConnectivityManager(this, LOG_TAG); in run()
691 final EmailConnectivityManager ecm = mConnectivityManager; in run()
727 final EmailConnectivityManager ecm = mConnectivityManager; in run()
892 final EmailConnectivityManager ecm = mConnectivityManager; in processQueue()
1283 if (mConnectivityManager != null) { in isConnected()
[all …]
/packages/apps/Settings/src/com/android/settings/vpn2/
DAppManagementFragment.java62 private ConnectivityManager mConnectivityManager; field in AppManagementFragment
109 mConnectivityManager = getContext().getSystemService(ConnectivityManager.class); in onCreate()
190 final boolean success = mConnectivityManager.setAlwaysOnVpnPackageForUser(mUserId, in setAlwaysOnVpnByUI()
234 return mConnectivityManager.getAlwaysOnVpnPackageForUser(mUserId); in getAlwaysOnVpnPackage()
DVpnSettings.java90 private ConnectivityManager mConnectivityManager; field in VpnSettings
117 mConnectivityManager = (ConnectivityManager) getSystemService(Context.CONNECTIVITY_SERVICE); in onActivityCreated()
179 mConnectivityManager.registerNetworkCallback(VPN_REQUEST, mNetworkCallback); in onResume()
196 mConnectivityManager.unregisterNetworkCallback(mNetworkCallback); in onPause()
417 final String packageName = mConnectivityManager.getAlwaysOnVpnPackageForUser(profileId); in getAlwaysOnAppVpnInfos()
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
DPicasaSource.java72 private final ConnectivityManager mConnectivityManager; field in PicasaSource
87 mConnectivityManager = in PicasaSource()
166 if (mConnectivityManager.isActiveNetworkMetered()) { in findImages()
441 if (mConnectivityManager.isActiveNetworkMetered() || in getStream()
/packages/apps/Settings/tests/unit/src/com/android/settings/
DTetherServiceTest.java85 @Mock private ConnectivityManager mConnectivityManager; field in TetherServiceTest
206 verify(mConnectivityManager).setUsbTethering(eq(false)); in testFailureStopsTethering_Usb()
315 return mConnectivityManager; in getSystemService()
/packages/apps/Messaging/src/com/android/messaging/util/
DPhoneUtils.java260 private final ConnectivityManager mConnectivityManager; field in PhoneUtils.PhoneUtilsPreLMR1
264 mConnectivityManager = in PhoneUtilsPreLMR1()
388 final Class cmClass = mConnectivityManager.getClass(); in isMobileDataEnabled()
392 mobileDataEnabled = (Boolean) method.invoke(mConnectivityManager); in isMobileDataEnabled()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
DDictionarySettingsFragment.java67 private ConnectivityManager mConnectivityManager; field in DictionarySettingsFragment
101 mConnectivityManager = in onActivityCreated()
227 NetworkInfo info = mConnectivityManager.getActiveNetworkInfo(); in refreshNetworkState()
/packages/apps/Gallery2/src/com/android/gallery3d/util/
DReverseGeocoder.java75 private ConnectivityManager mConnectivityManager; field in ReverseGeocoder
84 mConnectivityManager = (ConnectivityManager) in ReverseGeocoder()
315 NetworkInfo networkInfo = mConnectivityManager.getActiveNetworkInfo(); in lookupAddress()
/packages/services/Telephony/src/com/android/phone/vvm/omtp/fetch/
DFetchVoicemailReceiver.java67 private ConnectivityManager mConnectivityManager; field in FetchVoicemailReceiver
/packages/apps/TV/src/com/android/tv/ui/
DTunableTvView.java180 private final ConnectivityManager mConnectivityManager; field in TunableTvView
367 mConnectivityManager = (ConnectivityManager) context in TunableTvView()
1352 return NetworkUtils.isNetworkAvailable(mConnectivityManager); in doInBackground()