/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
NetworkController.java | 24 import android.net.ConnectivityManager; 129 private int mConnectedNetworkType = ConnectivityManager.TYPE_NONE; 196 ConnectivityManager cm = (ConnectivityManager)mContext.getSystemService( 198 mHasMobileDataFeature = cm.isNetworkSupported(ConnectivityManager.TYPE_MOBILE); 240 filter.addAction(ConnectivityManager.CONNECTIVITY_ACTION); 241 filter.addAction(ConnectivityManager.INET_CONDITION_ACTION); 406 } else if (action.equals(ConnectivityManager.CONNECTIVITY_ACTION) || 407 action.equals(ConnectivityManager.INET_CONDITION_ACTION)) { [all...] |
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/functional/ |
WifiAssociationTest.java | 32 import android.net.ConnectivityManager; 114 mAct.waitForNetworkState(ConnectivityManager.TYPE_WIFI,
|
/frameworks/base/services/java/com/android/server/ |
CommonTimeManagementService.java | 28 import android.net.ConnectivityManager; 177 filter.addAction(ConnectivityManager.CONNECTIVITY_ACTION);
|
/packages/apps/Email/src/com/android/email/ |
AttachmentInfo.java | 29 import android.net.ConnectivityManager; 163 if (networkType != ConnectivityManager.TYPE_WIFI) {
|
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/ |
DownloadProviderFunctionalTest.java | 24 import android.net.ConnectivityManager; 86 mSystemFacade.mActiveNetworkType = ConnectivityManager.TYPE_MOBILE;
|
PublicApiFunctionalTest.java | 43 import android.net.ConnectivityManager; 397 mSystemFacade.mActiveNetworkType = ConnectivityManager.TYPE_MOBILE; 401 mSystemFacade.mActiveNetworkType = ConnectivityManager.TYPE_WIFI; 566 mSystemFacade.mActiveNetworkType = ConnectivityManager.TYPE_WIFI; 574 mSystemFacade.mActiveNetworkType = ConnectivityManager.TYPE_MOBILE; 585 mSystemFacade.mActiveNetworkType = ConnectivityManager.TYPE_WIFI; [all...] |
/frameworks/base/services/java/com/android/server/location/ |
GpsLocationProvider.java | 40 import android.net.ConnectivityManager; 304 private final ConnectivityManager mConnMgr; 397 } else if (action.equals(ConnectivityManager.CONNECTIVITY_ACTION)) { 399 if (intent.getBooleanExtra(ConnectivityManager.EXTRA_NO_CONNECTIVITY, false)) { 407 intent.getParcelableExtra(ConnectivityManager.EXTRA_NETWORK_INFO); 408 ConnectivityManager connManager = (ConnectivityManager) 452 mConnMgr = (ConnectivityManager)context.getSystemService(Context.CONNECTIVITY_SERVICE); 526 intentFilter.addAction(ConnectivityManager.CONNECTIVITY_ACTION); 569 if (info != null && info.getType() == ConnectivityManager.TYPE_MOBILE_SUP [all...] |
/packages/apps/Phone/src/com/android/phone/ |
MobileNetworkSettings.java | 29 import android.net.ConnectivityManager; 169 ConnectivityManager cm = 170 (ConnectivityManager)getSystemService(Context.CONNECTIVITY_SERVICE); 281 ConnectivityManager cm = 282 (ConnectivityManager)getSystemService(Context.CONNECTIVITY_SERVICE);
|
PhoneInterfaceManager.java | 24 import android.net.ConnectivityManager; 565 ConnectivityManager cm = 566 (ConnectivityManager)mApp.getSystemService(Context.CONNECTIVITY_SERVICE); 583 ConnectivityManager cm = 584 (ConnectivityManager)mApp.getSystemService(Context.CONNECTIVITY_SERVICE);
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
DownloadInfo.java | 26 import android.net.ConnectivityManager; 392 * @param networkType a constant from ConnectivityManager.TYPE_*. 407 * Translate a ConnectivityManager.TYPE_* constant to the corresponding 412 case ConnectivityManager.TYPE_MOBILE: 415 case ConnectivityManager.TYPE_WIFI: 418 case ConnectivityManager.TYPE_BLUETOOTH: 434 if (networkType == ConnectivityManager.TYPE_WIFI) {
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
DcTracker.java | 30 import android.net.ConnectivityManager; 154 ConnectivityManager cm = (ConnectivityManager)p.getContext().getSystemService( 156 cm.supplyMessenger(ConnectivityManager.TYPE_MOBILE, new Messenger(this)); 157 cm.supplyMessenger(ConnectivityManager.TYPE_MOBILE_MMS, new Messenger(this)); 158 cm.supplyMessenger(ConnectivityManager.TYPE_MOBILE_SUPL, new Messenger(this)); 159 cm.supplyMessenger(ConnectivityManager.TYPE_MOBILE_DUN, new Messenger(this)); 160 cm.supplyMessenger(ConnectivityManager.TYPE_MOBILE_HIPRI, new Messenger(this)); 161 cm.supplyMessenger(ConnectivityManager.TYPE_MOBILE_FOTA, new Messenger(this)); 162 cm.supplyMessenger(ConnectivityManager.TYPE_MOBILE_IMS, new Messenger(this)) [all...] |
/frameworks/opt/net/voip/src/java/com/android/server/sip/ |
SipService.java | 24 import android.net.ConnectivityManager; [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/util/ |
ReverseGeocoder.java | 24 import android.net.ConnectivityManager; 75 private ConnectivityManager mConnectivityManager; 84 mConnectivityManager = (ConnectivityManager)
|
/frameworks/base/services/java/com/android/server/connectivity/ |
Nat464Xlat.java | 19 import static android.net.ConnectivityManager.TYPE_MOBILE; 78 * android.net.ConnectivityManager.TYPE_* constants)
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/ |
Status.java | 25 import android.net.ConnectivityManager; 477 ConnectivityManager cm = (ConnectivityManager) getSystemService(CONNECTIVITY_SERVICE); 478 NetworkInfo ni = cm.getNetworkInfo(ConnectivityManager.TYPE_WIMAX);
|
/frameworks/base/core/java/android/bluetooth/ |
BluetoothTetheringDataTracker.java | 23 import android.net.ConnectivityManager; 86 mNetworkInfo = new NetworkInfo(ConnectivityManager.TYPE_BLUETOOTH, 0, NETWORKTYPE, "");
|
/frameworks/base/core/java/android/net/ |
Proxy.java | 80 private static ConnectivityManager sConnectivityManager = null; 119 sConnectivityManager = (ConnectivityManager)ctx.getSystemService(
|
EthernetDataTracker.java | 110 mNetworkInfo = new NetworkInfo(ConnectivityManager.TYPE_ETHERNET, 0, NETWORKTYPE, "");
|
NetworkInfo.java | 28 * <p>Use {@link ConnectivityManager#getActiveNetworkInfo()} to get an instance that represents 142 if (!ConnectivityManager.isNetworkTypeValid(type)) { 177 * @return one of {@link ConnectivityManager#TYPE_MOBILE}, {@link 178 * ConnectivityManager#TYPE_WIFI}, {@link ConnectivityManager#TYPE_WIMAX}, {@link 179 * ConnectivityManager#TYPE_ETHERNET}, {@link ConnectivityManager#TYPE_BLUETOOTH}, or other 180 * types defined by {@link ConnectivityManager} 286 * resulted from the ConnectivityManager trying to fail over to this
|
/packages/apps/Settings/src/com/android/settings/ |
DataUsageSummary.java | 19 import static android.net.ConnectivityManager.TYPE_ETHERNET; 20 import static android.net.ConnectivityManager.TYPE_MOBILE; 21 import static android.net.ConnectivityManager.TYPE_WIFI; 22 import static android.net.ConnectivityManager.TYPE_WIMAX; 70 import android.net.ConnectivityManager; 190 private ConnectivityManager mConnService; 272 mConnService = ConnectivityManager.from(context); [all...] |
/packages/apps/Exchange/exchange2/src/com/android/exchange/ |
ExchangeService.java | 32 import android.net.ConnectivityManager; 241 // The most current NetworkInfo (from ConnectivityManager) [all...] |
/packages/apps/Settings/src/com/android/settings/accounts/ |
AccountSyncSettings.java | 35 import android.net.ConnectivityManager; 425 ConnectivityManager connManager = 426 (ConnectivityManager) getSystemService(Context.CONNECTIVITY_SERVICE);
|
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/ |
PicasaSource.java | 21 import android.net.ConnectivityManager; 73 private final ConnectivityManager mConnectivityManager; 90 (ConnectivityManager) context.getSystemService(Context.CONNECTIVITY_SERVICE);
|
/frameworks/base/services/java/com/android/server/net/ |
NetworkPolicyManagerService.java | 30 import static android.net.ConnectivityManager.CONNECTIVITY_ACTION_IMMEDIATE; 31 import static android.net.ConnectivityManager.TYPE_ETHERNET; 32 import static android.net.ConnectivityManager.TYPE_MOBILE; 33 import static android.net.ConnectivityManager.TYPE_WIFI; 34 import static android.net.ConnectivityManager.TYPE_WIMAX; 35 import static android.net.ConnectivityManager.isNetworkTypeMobile; 91 import android.net.ConnectivityManager; 166 * and delivers to listeners, such as {@link ConnectivityManager}, for [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
QuickSettingsModel.java | 31 import android.net.ConnectivityManager; 282 ConnectivityManager cm = (ConnectivityManager) 284 mHasMobileData = cm.isNetworkSupported(ConnectivityManager.TYPE_MOBILE);
|