HomeSort by relevance Sort by last modified time
    Searched refs:ConnectivityManager (Results 51 - 75 of 97) sorted by null

1 23 4

  /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) {
  /frameworks/base/core/java/android/server/
BluetoothPanProfileHandler.java 29 import android.net.ConnectivityManager;
350 ConnectivityManager cm =
351 (ConnectivityManager)mContext.getSystemService(Context.CONNECTIVITY_SERVICE);
391 if (cm.tether(iface) != ConnectivityManager.TETHER_ERROR_NO_ERROR) {
  /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)
PhoneInterfaceManager.java 22 import android.net.ConnectivityManager;
547 ConnectivityManager cm =
548 (ConnectivityManager)mApp.getSystemService(Context.CONNECTIVITY_SERVICE);
565 ConnectivityManager cm =
566 (ConnectivityManager)mApp.getSystemService(Context.CONNECTIVITY_SERVICE);
Settings.java 28 import android.net.ConnectivityManager;
175 ConnectivityManager cm =
176 (ConnectivityManager)getSystemService(Context.CONNECTIVITY_SERVICE);
295 ConnectivityManager cm =
296 (ConnectivityManager)getSystemService(Context.CONNECTIVITY_SERVICE);
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
SubtypeSwitcher.java 26 import android.net.ConnectivityManager;
63 private /* final */ ConnectivityManager mConnectivityManager;
103 mConnectivityManager = (ConnectivityManager) service.getSystemService(
421 ConnectivityManager.EXTRA_NO_CONNECTIVITY, false);
  /frameworks/base/core/java/android/net/
ConnectivityManager.java 46 public class ConnectivityManager {
47 private static final String TAG = "ConnectivityManager";
152 * uses {@code ConnectivityManager.EXTRA_INET_CONDITION} and
153 * {@code ConnectivityManager.EXTRA_NETWORK_INFO} to specify
593 public ConnectivityManager(IConnectivityManager service) {
Proxy.java 80 private static ConnectivityManager sConnectivityManager = null;
119 sConnectivityManager = (ConnectivityManager)ctx.getSystemService(
EthernetDataTracker.java 104 mNetworkInfo = new NetworkInfo(ConnectivityManager.TYPE_ETHERNET, 0, NETWORKTYPE, "");
NetworkInfo.java 131 if (!ConnectivityManager.isNetworkTypeValid(type)) {
269 * resulted from the ConnectivityManager trying to fail over to this
  /packages/apps/Email/src/com/android/email/
AttachmentInfo.java 29 import android.net.ConnectivityManager;
163 if (networkType != ConnectivityManager.TYPE_WIFI) {
  /frameworks/base/voip/java/com/android/server/sip/
SipService.java 25 import android.net.ConnectivityManager;
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/util/
ReverseGeocoder.java 26 import android.net.ConnectivityManager;
74 private ConnectivityManager mConnectivityManager;
83 mConnectivityManager = (ConnectivityManager)
  /packages/providers/DownloadProvider/src/com/android/providers/downloads/
DownloadInfo.java 26 import android.net.ConnectivityManager;
395 * @param networkType a constant from ConnectivityManager.TYPE_*.
409 * Translate a ConnectivityManager.TYPE_* constant to the corresponding
414 case ConnectivityManager.TYPE_MOBILE:
417 case ConnectivityManager.TYPE_WIFI:
433 if (networkType == ConnectivityManager.TYPE_WIFI) {
  /frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/
BandwidthTest.java 20 import android.net.ConnectivityManager;
222 return mConnectionUtil.waitForNetworkState(ConnectivityManager.TYPE_WIFI, State.CONNECTED,
  /frameworks/base/services/java/com/android/server/location/
GpsLocationProvider.java 34 import android.net.ConnectivityManager;
263 private final ConnectivityManager mConnMgr;
411 mConnMgr = (ConnectivityManager)context.getSystemService(Context.CONNECTIVITY_SERVICE);
508 if (info != null && info.getType() == ConnectivityManager.TYPE_MOBILE_SUPL
522 route_result = mConnMgr.requestRouteToHost(ConnectivityManager.TYPE_MOBILE_SUPL,
    [all...]
  /packages/apps/Exchange/src/com/android/exchange/
ExchangeService.java 32 import android.net.ConnectivityManager;
236 // The most current NetworkInfo (from ConnectivityManager)
    [all...]
  /frameworks/base/wifi/java/android/net/wifi/
WifiWatchdogStateMachine.java 29 import android.net.ConnectivityManager;
208 ConnectivityManager.TYPE_WIFI);
234 ConnectivityManager cm = (ConnectivityManager) context.getSystemService(
236 sWifiOnly = (cm.isNetworkSupported(ConnectivityManager.TYPE_MOBILE) == false);
    [all...]
  /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_WIMAX;
65 import android.net.ConnectivityManager;
179 private ConnectivityManager mConnService;
258 mConnService = (ConnectivityManager) getActivity().getSystemService(
784 * {@link ConnectivityManager#setMobileDataEnabled(boolean)} is async.
    [all...]
  /packages/apps/Settings/src/com/android/settings/accounts/
AccountSyncSettings.java 36 import android.net.ConnectivityManager;
410 ConnectivityManager connManager =
411 (ConnectivityManager) getSystemService(Context.CONNECTIVITY_SERVICE);
  /packages/apps/Settings/src/com/android/settings/widget/
SettingsAppWidgetProvider.java 31 import android.net.ConnectivityManager;
554 final ConnectivityManager connManager =
555 (ConnectivityManager) context.getSystemService(Context.CONNECTIVITY_SERVICE);
    [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;
54 import android.net.ConnectivityManager;
246 ConnectivityManager.ACTION_BACKGROUND_DATA_SETTING_CHANGED);
    [all...]
  /frameworks/base/wifi/java/android/net/wifi/p2p/
WifiP2pManager.java 22 import android.net.ConnectivityManager;
  /packages/apps/Settings/src/com/android/settings/wifi/
WifiSettings.java 30 import android.net.ConnectivityManager;
190 final ConnectivityManager connectivity = (ConnectivityManager)
194 ConnectivityManager.TYPE_WIFI);
    [all...]
  /frameworks/base/services/java/com/android/server/net/
NetworkPolicyManagerService.java 29 import static android.net.ConnectivityManager.CONNECTIVITY_ACTION_IMMEDIATE;
30 import static android.net.ConnectivityManager.TYPE_ETHERNET;
31 import static android.net.ConnectivityManager.TYPE_MOBILE;
32 import static android.net.ConnectivityManager.TYPE_WIFI;
33 import static android.net.ConnectivityManager.TYPE_WIMAX;
78 import android.net.ConnectivityManager;
145 * and delivers to listeners, such as {@link ConnectivityManager}, for
    [all...]

Completed in 1181 milliseconds

1 23 4