/frameworks/base/policy/src/com/android/internal/policy/impl/ |
GlobalActions.java | 37 import android.net.ConnectivityManager; 128 ConnectivityManager cm = (ConnectivityManager) 130 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_IMMEDIATE; 22 import static android.net.ConnectivityManager.TYPE_WIFI; 57 import android.net.ConnectivityManager; 259 ConnectivityManager.ACTION_BACKGROUND_DATA_SETTING_CHANGED); [all...] |
NetworkStatsServiceTest.java | 21 import static android.net.ConnectivityManager.CONNECTIVITY_ACTION_IMMEDIATE; 22 import static android.net.ConnectivityManager.TYPE_MOBILE; 23 import static android.net.ConnectivityManager.TYPE_WIFI; 24 import static android.net.ConnectivityManager.TYPE_WIMAX; [all...] |
/frameworks/base/wifi/java/android/net/wifi/ |
WifiWatchdogStateMachine.java | 25 import android.net.ConnectivityManager; 343 ConnectivityManager cm = (ConnectivityManager) context.getSystemService( 345 sWifiOnly = (cm.isNetworkSupported(ConnectivityManager.TYPE_MOBILE) == false); [all...] |
WifiStateMachine.java | 45 import android.net.ConnectivityManager; 110 private ConnectivityManager mCm; 546 mNetworkInfo = new NetworkInfo(ConnectivityManager.TYPE_WIFI, 0, NETWORKTYPE, ""); 595 ConnectivityManager.EXTRA_AVAILABLE_TETHER); 597 ConnectivityManager.EXTRA_ACTIVE_TETHER); 600 },new IntentFilter(ConnectivityManager.ACTION_TETHER_STATE_CHANGED)); [all...] |
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/ |
Account.java | 27 import android.net.ConnectivityManager; 700 ConnectivityManager cm = 701 (ConnectivityManager)context.getSystemService(Context.CONNECTIVITY_SERVICE); 704 if (info == null || (info.getType() != ConnectivityManager.TYPE_MOBILE)) return false; [all...] |
/frameworks/base/services/java/com/android/server/wifi/ |
WifiController.java | 26 import android.net.ConnectivityManager; 85 NetworkInfo mNetworkInfo = new NetworkInfo(ConnectivityManager.TYPE_WIFI, 0, "WIFI", "");
|
/packages/apps/Settings/src/com/android/settings/vpn2/ |
VpnSettings.java | 25 import android.net.ConnectivityManager; 539 ConnectivityManager.from(getActivity()).updateLockdownVpn();
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
PhoneStatusBarPolicy.java | 27 import android.net.ConnectivityManager;
|
/packages/apps/Settings/src/com/android/settings/ |
RadioInfo.java | 25 import android.net.ConnectivityManager; [all...] |
/packages/apps/Settings/src/com/android/settings/widget/ |
SettingsAppWidgetProvider.java | 29 import android.net.ConnectivityManager; 593 final ConnectivityManager connManager = 594 (ConnectivityManager) context.getSystemService(Context.CONNECTIVITY_SERVICE); [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/ |
UpdateHandler.java | 32 import android.net.ConnectivityManager; [all...] |
/frameworks/base/services/java/com/android/server/content/ |
SyncManager.java | 52 import android.net.ConnectivityManager; 188 private ConnectivityManager mConnManagerDoNotUseDirectly; 304 // ConnectivityManager directly. 353 private ConnectivityManager getConnectivityManager() { 356 mConnManagerDoNotUseDirectly = (ConnectivityManager)mContext.getSystemService( 404 IntentFilter intentFilter = new IntentFilter(ConnectivityManager.CONNECTIVITY_ACTION); 412 intentFilter = new IntentFilter(ConnectivityManager.ACTION_BACKGROUND_DATA_SETTING_CHANGED); [all...] |
/frameworks/base/services/java/com/android/server/net/ |
NetworkStatsService.java | 28 import static android.net.ConnectivityManager.ACTION_TETHER_STATE_CHANGED; 29 import static android.net.ConnectivityManager.CONNECTIVITY_ACTION_IMMEDIATE; 30 import static android.net.ConnectivityManager.isNetworkTypeMobile; [all...] |
/external/robolectric/src/main/java/com/xtremelabs/robolectric/ |
Robolectric.java | 35 import android.net.ConnectivityManager; 533 public static ShadowConnectivityManager shadowOf(ConnectivityManager instance) { [all...] |
/packages/apps/Email/src/com/android/email/service/ |
AttachmentDownloadService.java | 28 import android.net.ConnectivityManager; 344 if (ecm.getActiveNetworkType() != ConnectivityManager.TYPE_WIFI) { [all...] |
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
DownloadThread.java | 41 import android.net.ConnectivityManager; 78 // checking races once we have ConnectivityManager API 128 public int mNetworkType = ConnectivityManager.TYPE_NONE; [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
DcTrackerBase.java | 28 import android.net.ConnectivityManager; 491 ConnectivityManager mCm; 505 mCm = (ConnectivityManager) mPhone.getContext().getSystemService( [all...] |
/frameworks/base/wifi/java/android/net/wifi/p2p/ |
WifiP2pManager.java | 22 import android.net.ConnectivityManager; [all...] |
WifiP2pService.java | 33 import android.net.ConnectivityManager; 307 mNetworkInfo = new NetworkInfo(ConnectivityManager.TYPE_WIFI_P2P, 0, NETWORKTYPE, ""); [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
LatinIME.java | 37 import android.net.ConnectivityManager; 457 filter.addAction(ConnectivityManager.CONNECTIVITY_ACTION); [all...] |
/frameworks/base/core/java/android/app/ |
DownloadManager.java | 25 import android.net.ConnectivityManager; 337 * {@link ConnectivityManager#TYPE_MOBILE}. 343 * {@link ConnectivityManager#TYPE_WIFI}. 349 * {@link ConnectivityManager#TYPE_BLUETOOTH}. 675 * @see ConnectivityManager#isActiveNetworkMetered() [all...] |
ContextImpl.java | 62 import android.net.ConnectivityManager; 334 return new ConnectivityManager(IConnectivityManager.Stub.asInterface(b)); [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
RIL.java | 32 import android.net.ConnectivityManager; 645 ConnectivityManager cm = (ConnectivityManager)context.getSystemService( 647 if (cm.isNetworkSupported(ConnectivityManager.TYPE_MOBILE) == false) { [all...] |
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
DatabaseHelper.java | 33 import android.net.ConnectivityManager; 256 ConnectivityManager.DEFAULT_NETWORK_PREFERENCE + "')"); [all...] |