/frameworks/base/core/java/android/app/ |
SystemServiceRegistry.java | 71 import android.net.ConnectivityManager; 233 registerService(Context.CONNECTIVITY_SERVICE, ConnectivityManager.class, 234 new StaticApplicationContextServiceFetcher<ConnectivityManager>() { 236 public ConnectivityManager createService(Context context) { 239 return new ConnectivityManager(context, service); [all...] |
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
ContextFixture.java | 47 import android.net.ConnectivityManager; 457 private final ConnectivityManager mConnectivityManager = mock(ConnectivityManager.class);
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
PhoneUtils.java | 26 import android.net.ConnectivityManager; 260 private final ConnectivityManager mConnectivityManager; 265 (ConnectivityManager) mContext.getSystemService(Context.CONNECTIVITY_SERVICE); [all...] |
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/ |
PicasaSource.java | 21 import android.net.ConnectivityManager; 72 private final ConnectivityManager mConnectivityManager; 88 (ConnectivityManager) context.getSystemService(Context.CONNECTIVITY_SERVICE);
|
/packages/services/Mms/src/com/android/mms/service/ |
MmsHttpClient.java | 20 import android.net.ConnectivityManager; 79 private final ConnectivityManager mConnectivityManager; 85 * @param connectivityManager 88 ConnectivityManager connectivityManager) { 91 mConnectivityManager = connectivityManager;
|
/packages/services/Telephony/src/com/android/phone/vvm/omtp/imap/ |
ImapHelper.java | 20 import android.net.ConnectivityManager; 136 ConnectivityManager connectivityManager = (ConnectivityManager) mContext.getSystemService( 138 NetworkInfo info = connectivityManager.getNetworkInfo(mNetwork);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
DcTracker.java | 34 import android.net.ConnectivityManager; 547 private final ConnectivityManager mCm; 703 mCm = (ConnectivityManager) mPhone.getContext().getSystemService( [all...] |
/development/apps/Development/src/com/android/development/ |
Connectivity.java | 30 import android.net.ConnectivityManager; 31 import android.net.ConnectivityManager.NetworkCallback; 137 private ConnectivityManager mCm; 410 mCm = (ConnectivityManager) getSystemService(Context.CONNECTIVITY_SERVICE);
|
/frameworks/base/core/java/android/net/ |
NetworkInfo.java | 28 * <p>Use {@link ConnectivityManager#getActiveNetworkInfo()} to get an instance that represents 130 if (!ConnectivityManager.isNetworkTypeValid(type)) { 164 * @return one of {@link ConnectivityManager#TYPE_MOBILE}, {@link 165 * ConnectivityManager#TYPE_WIFI}, {@link ConnectivityManager#TYPE_WIMAX}, {@link 166 * ConnectivityManager#TYPE_ETHERNET}, {@link ConnectivityManager#TYPE_BLUETOOTH}, or other 167 * types defined by {@link ConnectivityManager} 285 * resulted from the ConnectivityManager trying to fail over to this
|
Proxy.java | 45 * proxy should be queried using {@link ConnectivityManager#getDefaultProxy()}. 56 * {@link ConnectivityManager#getDefaultProxy()} or 57 * {@link ConnectivityManager#getLinkProperties(Network)}.{@link LinkProperties#getHttpProxy()} 75 private static ConnectivityManager sConnectivityManager = null;
|
/frameworks/base/core/java/com/android/internal/os/ |
BatteryStatsHelper.java | 23 import android.net.ConnectivityManager; 133 ConnectivityManager cm = (ConnectivityManager)context.getSystemService( 135 return !cm.isNetworkSupported(ConnectivityManager.TYPE_MOBILE);
|
/frameworks/base/services/core/java/com/android/server/policy/ |
GlobalActions.java | 41 import android.net.ConnectivityManager; 145 ConnectivityManager cm = (ConnectivityManager) 147 mHasTelephony = cm.isNetworkSupported(ConnectivityManager.TYPE_MOBILE); [all...] |
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
NetworkPolicyManagerServiceTest.java | 21 import static android.net.ConnectivityManager.CONNECTIVITY_ACTION; 22 import static android.net.ConnectivityManager.TYPE_WIFI; 57 import android.net.ConnectivityManager; 259 ConnectivityManager.ACTION_BACKGROUND_DATA_SETTING_CHANGED); [all...] |
/packages/apps/Settings/src/com/android/settings/wifi/ |
WifiSettings.java | 31 import android.net.ConnectivityManager; 263 final ConnectivityManager connectivity = (ConnectivityManager) 267 ConnectivityManager.TYPE_WIFI); [all...] |
/frameworks/base/services/tests/servicestests/src/com/android/server/net/ |
NetworkStatsObserversTest.java | 19 import static android.net.ConnectivityManager.TYPE_MOBILE; 20 import static android.net.ConnectivityManager.TYPE_WIFI;
|
NetworkStatsCollectionTest.java | 19 import static android.net.ConnectivityManager.TYPE_MOBILE;
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
WifiController.java | 30 import android.net.ConnectivityManager; 86 NetworkInfo mNetworkInfo = new NetworkInfo(ConnectivityManager.TYPE_WIFI, 0, "WIFI", ""); [all...] |
/packages/services/Telephony/src/com/android/phone/ |
PhoneGlobals.java | 29 import android.net.ConnectivityManager; 646 ConnectivityManager.from(this).setAirplaneMode(false); [all...] |
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/ |
AccessPoint.java | 24 import android.net.ConnectivityManager; 776 final ConnectivityManager cm = (ConnectivityManager) [all...] |
/packages/apps/Settings/src/com/android/settings/widget/ |
SettingsAppWidgetProvider.java | 29 import android.net.ConnectivityManager; 622 final ConnectivityManager connManager = 623 (ConnectivityManager) context.getSystemService(Context.CONNECTIVITY_SERVICE); [all...] |
/packages/apps/TV/src/com/android/tv/ui/ |
TunableTvView.java | 35 import android.net.ConnectivityManager; 180 private final ConnectivityManager mConnectivityManager; 367 mConnectivityManager = (ConnectivityManager) context [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
Utils.java | 31 import android.net.ConnectivityManager; [all...] |
/frameworks/base/services/core/java/com/android/server/net/ |
NetworkPolicyManagerService.java | 31 import static android.net.ConnectivityManager.CONNECTIVITY_ACTION; 32 import static android.net.ConnectivityManager.RESTRICT_BACKGROUND_STATUS_DISABLED; 33 import static android.net.ConnectivityManager.RESTRICT_BACKGROUND_STATUS_ENABLED; 34 import static android.net.ConnectivityManager.RESTRICT_BACKGROUND_STATUS_WHITELISTED; 35 import static android.net.ConnectivityManager.TYPE_MOBILE; 36 import static android.net.ConnectivityManager.TYPE_WIMAX; 37 import static android.net.ConnectivityManager.isNetworkTypeMobile; 112 import android.net.ConnectivityManager; 200 * and delivers to listeners, such as {@link ConnectivityManager}, for [all...] |
/frameworks/base/services/core/java/com/android/server/ |
DeviceIdleController.java | 42 import android.net.ConnectivityManager; 326 case ConnectivityManager.CONNECTIVITY_ACTION: { [all...] |
/packages/apps/Email/provider_src/com/android/email/service/ |
AttachmentService.java | 28 import android.net.ConnectivityManager; [all...] |