/frameworks/base/core/java/android/net/ |
MobileDataStateTracker.java | 83 * @param netType the ConnectivityManager network type 657 case ConnectivityManager.TYPE_MOBILE: 659 case ConnectivityManager.TYPE_MOBILE_MMS: 661 case ConnectivityManager.TYPE_MOBILE_SUPL: 663 case ConnectivityManager.TYPE_MOBILE_DUN: 665 case ConnectivityManager.TYPE_MOBILE_HIPRI: 667 case ConnectivityManager.TYPE_MOBILE_FOTA: 669 case ConnectivityManager.TYPE_MOBILE_IMS: 671 case ConnectivityManager.TYPE_MOBILE_CBS:
|
ConnectivityManager.java | 49 public class ConnectivityManager { 50 private static final String TAG = "ConnectivityManager"; 200 * uses {@code ConnectivityManager.EXTRA_INET_CONDITION} and 201 * {@code ConnectivityManager.EXTRA_NETWORK_INFO} to specify 211 * Uses {@code ConnectivityManager.EXTRA_AVAILABLE_TETHER}, 212 * {@code ConnectivityManager.EXTRA_ACTIVE_TETHER} and 213 * {@code ConnectivityManager.EXTRA_ERRORED_TETHER} to indicate [all...] |
DnsPinger.java | 66 private ConnectivityManager mConnectivityManager = null; 126 if (!ConnectivityManager.isNetworkTypeValid(connectionType)) { 290 mConnectivityManager = (ConnectivityManager) mContext.getSystemService(
|
BaseNetworkStateTracker.java | 29 * network-specific details from {@link ConnectivityManager}. Surfaces events 30 * through the registered {@link Handler} to enable {@link ConnectivityManager} 55 networkType, -1, ConnectivityManager.getNetworkTypeName(networkType), null);
|
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/functional/ |
WifiConnectionTest.java | 33 import android.net.ConnectivityManager; 120 assertTrue(mAct.waitForNetworkState(ConnectivityManager.TYPE_WIFI,
|
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/unit/ |
WifiSoftAPTest.java | 25 import android.net.ConnectivityManager;
|
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/ |
TrackerService.java | 31 import android.net.ConnectivityManager; 155 mIntentFilter.addAction(ConnectivityManager.CONNECTIVITY_ACTION); 396 } else if (action.equals(ConnectivityManager.CONNECTIVITY_ACTION)) { 400 ConnectivityManager.EXTRA_NO_CONNECTIVITY, false);
|
/packages/apps/Mms/src/com/android/mms/transaction/ |
RetryScheduler.java | 29 import android.net.ConnectivityManager; 65 ConnectivityManager mConnMgr = (ConnectivityManager) 67 NetworkInfo ni = mConnMgr.getNetworkInfo(ConnectivityManager.TYPE_MOBILE_MMS);
|
TransactionService.java | 30 import android.net.ConnectivityManager; 141 private ConnectivityManager mConnMgr; 181 intentFilter.addAction(ConnectivityManager.CONNECTIVITY_ACTION); 197 mConnMgr = (ConnectivityManager) getSystemService(Context.CONNECTIVITY_SERVICE); 339 NetworkInfo ni = mConnMgr.getNetworkInfo(ConnectivityManager.TYPE_MOBILE_MMS); 525 ConnectivityManager.TYPE_MOBILE, Phone.FEATURE_ENABLE_MMS); 551 ConnectivityManager.TYPE_MOBILE, [all...] |
/cts/tests/tests/telephony/src/android/telephony/cts/ |
TelephonyManagerTest.java | 21 import android.net.ConnectivityManager; 43 private static ConnectivityManager mCm; 50 mCm = (ConnectivityManager) getContext().getSystemService(Context.CONNECTIVITY_SERVICE);
|
/development/samples/training/bitmapfun/src/com/example/android/bitmapfun/util/ |
ImageFetcher.java | 21 import android.net.ConnectivityManager; 172 final ConnectivityManager cm = 173 (ConnectivityManager) context.getSystemService(Context.CONNECTIVITY_SERVICE);
|
/packages/apps/Browser/src/com/android/browser/search/ |
OpenSearchSearchEngine.java | 33 import android.net.ConnectivityManager; 204 ConnectivityManager connectivity = 205 (ConnectivityManager) context.getSystemService(Context.CONNECTIVITY_SERVICE);
|
/packages/apps/Exchange/exchange2/src/com/android/exchange/ |
AbstractSyncService.java | 26 import android.net.ConnectivityManager; 258 ConnectivityManager cm = 259 (ConnectivityManager)mContext.getSystemService(Context.CONNECTIVITY_SERVICE);
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/google/ |
GoogleSuggestClient.java | 37 import android.net.ConnectivityManager; 154 ConnectivityManager connectivity = 155 (ConnectivityManager) getContext().getSystemService(Context.CONNECTIVITY_SERVICE);
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/fragments/ |
PhotoViewFragment.java | 27 import android.net.ConnectivityManager; 261 ConnectivityManager connectivityManager = (ConnectivityManager) 263 NetworkInfo activeNetInfo = connectivityManager.getActiveNetworkInfo(); 553 ConnectivityManager connectivityManager = (ConnectivityManager) 555 NetworkInfo activeNetInfo = connectivityManager.getActiveNetworkInfo();
|
/packages/apps/Bluetooth/src/com/android/bluetooth/pan/ |
PanService.java | 30 import android.net.ConnectivityManager; 107 ConnectivityManager cm = (ConnectivityManager) getSystemService( 109 cm.supplyMessenger(ConnectivityManager.TYPE_BLUETOOTH, new Messenger(mHandler)); 491 ConnectivityManager cm = 492 (ConnectivityManager) getSystemService(Context.CONNECTIVITY_SERVICE); 533 if (cm.tether(iface) != ConnectivityManager.TETHER_ERROR_NO_ERROR) {
|
/development/apps/Development/src/com/android/development/ |
Connectivity.java | 30 import android.net.ConnectivityManager; 122 private ConnectivityManager mCm; 254 mCm = (ConnectivityManager) getSystemService(Context.CONNECTIVITY_SERVICE); 342 mCm.startUsingNetworkFeature(ConnectivityManager.TYPE_MOBILE, 346 mCm.stopUsingNetworkFeature(ConnectivityManager.TYPE_MOBILE, 377 mCm.startUsingNetworkFeature(ConnectivityManager.TYPE_MOBILE, 381 mCm.stopUsingNetworkFeature(ConnectivityManager.TYPE_MOBILE, 447 ConnectivityManager foo = null; 448 foo.startUsingNetworkFeature(ConnectivityManager.TYPE_MOBILE, 528 mCm.requestRouteToHostAddress(ConnectivityManager.TYPE_MOBILE_HIPRI, inetAddress) [all...] |
/frameworks/base/core/tests/coretests/src/android/app/ |
DownloadManagerBaseTest.java | 26 import android.net.ConnectivityManager; 213 if (intent.getAction().equalsIgnoreCase(ConnectivityManager.CONNECTIVITY_ACTION)) { 214 Log.i(LOG_TAG, "ConnectivityManager state change: " + intent.getAction()); 227 ConnectivityManager connManager = (ConnectivityManager)mContext.getSystemService( 229 NetworkInfo info = connManager.getNetworkInfo(ConnectivityManager.TYPE_WIFI); 520 ConnectivityManager.CONNECTIVITY_ACTION)); [all...] |
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/ |
BandwidthTest.java | 20 import android.net.ConnectivityManager; 281 assertTrue(mConnectionUtil.waitForNetworkState(ConnectivityManager.TYPE_WIFI, 292 assertTrue(mConnectionUtil.waitForNetworkState(ConnectivityManager.TYPE_MOBILE,
|
/frameworks/base/core/java/android/net/http/ |
RequestQueue.java | 28 import android.net.ConnectivityManager; 59 private final ConnectivityManager mConnectivityManager; 220 mConnectivityManager = (ConnectivityManager) 264 if (info != null && info.getType() == ConnectivityManager.TYPE_WIFI) {
|
/packages/apps/Mms/tests/SmsAutoReply/src/com/android/smsautoreply/ |
AutoReplyActivity.java | 24 import android.net.ConnectivityManager;
|
/packages/apps/Phone/src/com/android/phone/ |
SipCallOptionHandler.java | 32 import android.net.ConnectivityManager; 403 ConnectivityManager cm = (ConnectivityManager) getSystemService( 409 return ((ni.getType() == ConnectivityManager.TYPE_WIFI)
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/ |
DictionarySettingsFragment.java | 26 import android.net.ConnectivityManager; 64 private ConnectivityManager mConnectivityManager; 99 (ConnectivityManager)activity.getSystemService(Context.CONNECTIVITY_SERVICE); 127 filter.addAction(ConnectivityManager.CONNECTIVITY_ACTION);
|
/frameworks/base/services/java/com/android/server/connectivity/ |
Vpn.java | 37 import android.net.ConnectivityManager; 105 super(ConnectivityManager.TYPE_DUMMY); 654 new AtomicInteger(ConnectivityManager.TYPE_NONE); 666 if (intent.getAction().equals(ConnectivityManager.CONNECTIVITY_ACTION)) { 667 if (intent.getIntExtra(ConnectivityManager.EXTRA_NETWORK_TYPE, 668 ConnectivityManager.TYPE_NONE) == mOuterConnection.get()) { 670 ConnectivityManager.EXTRA_NETWORK_INFO); 701 mOuterConnection.set(ConnectivityManager.TYPE_NONE); 705 filter.addAction(ConnectivityManager.CONNECTIVITY_ACTION); [all...] |
/packages/apps/Settings/src/com/android/settings/wifi/ |
WifiSettings.java | 34 import android.net.ConnectivityManager; 262 final ConnectivityManager connectivity = (ConnectivityManager) 360 final ConnectivityManager connectivity = (ConnectivityManager) 363 && connectivity.getNetworkInfo(ConnectivityManager.TYPE_WIFI).isConnected()) { 376 final ConnectivityManager connectivity = (ConnectivityManager) 380 ConnectivityManager.TYPE_WIFI); [all...] |