/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
Utils.java | 14 import android.net.ConnectivityManager; 32 public static int getTetheringLabel(ConnectivityManager cm) {
|
/frameworks/base/services/core/java/com/android/server/ |
CommonTimeManagementService.java | 27 import android.net.ConnectivityManager; 171 filter.addAction(ConnectivityManager.CONNECTIVITY_ACTION);
|
/packages/apps/Email/provider_src/com/android/email/ |
AttachmentInfo.java | 30 import android.net.ConnectivityManager; 170 if (networkType != ConnectivityManager.TYPE_WIFI) {
|
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/ |
DownloadProviderFunctionalTest.java | 26 import android.net.ConnectivityManager; 87 mSystemFacade.mActiveNetworkType = ConnectivityManager.TYPE_MOBILE;
|
PublicApiFunctionalTest.java | 44 import android.net.ConnectivityManager; 397 mSystemFacade.mActiveNetworkType = ConnectivityManager.TYPE_MOBILE; 402 mSystemFacade.mActiveNetworkType = ConnectivityManager.TYPE_WIFI; 585 mSystemFacade.mActiveNetworkType = ConnectivityManager.TYPE_WIFI; 593 mSystemFacade.mActiveNetworkType = ConnectivityManager.TYPE_MOBILE; 605 mSystemFacade.mActiveNetworkType = ConnectivityManager.TYPE_WIFI; [all...] |
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/ |
WifiTracker.java | 22 import android.net.ConnectivityManager; 69 private final ConnectivityManager mConnectivityManager; 115 context.getSystemService(ConnectivityManager.class), Looper.myLooper()); 121 WifiManager wifiManager, ConnectivityManager connectivityManager, 139 mConnectivityManager = connectivityManager; 544 private final class WifiTrackerNetworkCallback extends ConnectivityManager.NetworkCallback { 548 // fetch one from ConnectivityManager, it might be older than the most recent
|
/packages/apps/Bluetooth/src/com/android/bluetooth/pan/ |
PanService.java | 29 import android.net.ConnectivityManager; 299 ConnectivityManager.enforceTetherChangePermission(getBaseContext()); 474 ConnectivityManager cm = 475 (ConnectivityManager) getSystemService(Context.CONNECTIVITY_SERVICE); 516 if (cm.tether(iface) != ConnectivityManager.TETHER_ERROR_NO_ERROR) {
|
/frameworks/base/core/java/android/net/ |
ConnectivityManager.java | 81 public class ConnectivityManager { 82 private static final String TAG = "ConnectivityManager"; 277 * uses {@code ConnectivityManager.EXTRA_INET_CONDITION} and 278 * {@code ConnectivityManager.EXTRA_NETWORK_INFO} to specify 288 * Uses {@code ConnectivityManager.EXTRA_AVAILABLE_TETHER}, 289 * {@code ConnectivityManager.EXTRA_ACTIVE_TETHER} and 290 * {@code ConnectivityManager.EXTRA_ERRORED_TETHER} to indicate 582 private static ConnectivityManager sInstance; [all...] |
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/wifi/ |
WifiManagerFacade.java | 10 import android.net.ConnectivityManager; 95 } else if (ConnectivityManager.ACTION_TETHER_STATE_CHANGED.equals(action)) { 98 ConnectivityManager.EXTRA_AVAILABLE_TETHER); 100 ConnectivityManager.EXTRA_ACTIVE_TETHER); 102 ConnectivityManager.EXTRA_ERRORED_TETHER); 128 mTetherFilter.addAction(ConnectivityManager.ACTION_TETHER_STATE_CHANGED); 204 if (nInfo.getType() == ConnectivityManager.TYPE_WIFI) { [all...] |
WifiNanManagerFacade.java | 21 import android.net.ConnectivityManager; 56 private ConnectivityManager mConnMgr; 220 mConnMgr = (ConnectivityManager) mService.getSystemService(Context.CONNECTIVITY_SERVICE);
|
/frameworks/opt/net/voip/src/java/com/android/server/sip/ |
SipService.java | 25 import android.net.ConnectivityManager; [all...] |
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
NetworkControllerSignalTest.java | 21 import android.net.ConnectivityManager; 46 Mockito.when(mMockCm.isNetworkSupported(ConnectivityManager.TYPE_MOBILE)).thenReturn(false); 95 Mockito.when(mMockCm.isNetworkSupported(ConnectivityManager.TYPE_MOBILE)).thenReturn(false);
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
KeepaliveTracker.java | 23 import android.net.ConnectivityManager; 24 import android.net.ConnectivityManager.PacketKeepalive; 48 import static android.net.ConnectivityManager.PacketKeepalive.*;
|
Vpn.java | 20 import static android.net.ConnectivityManager.NETID_UNSET; 42 import android.net.ConnectivityManager; 225 mNetworkInfo = new NetworkInfo(ConnectivityManager.TYPE_VPN, 0, NETWORKTYPE, ""); [all...] |
NetworkMonitor.java | 31 import android.net.ConnectivityManager; 412 ConnectivityManager.ACTION_CAPTIVE_PORTAL_SIGN_IN); 413 intent.putExtra(ConnectivityManager.EXTRA_NETWORK, mNetworkAgentInfo.network); 414 intent.putExtra(ConnectivityManager.EXTRA_CAPTIVE_PORTAL, [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/util/ |
ReverseGeocoder.java | 24 import android.net.ConnectivityManager; 75 private ConnectivityManager mConnectivityManager; 84 mConnectivityManager = (ConnectivityManager)
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/ |
ProcessPendingMessagesAction.java | 23 import android.net.ConnectivityManager; 110 if (networkType != ConnectivityManager.TYPE_MOBILE) { 114 ConnectivityManager.EXTRA_NO_CONNECTIVITY, false);
|
/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/ |
VpnTest.java | 23 import android.net.ConnectivityManager; 24 import android.net.ConnectivityManager.NetworkCallback; 98 private ConnectivityManager mCM; 123 mCM = (ConnectivityManager) mActivity.getSystemService(mActivity.CONNECTIVITY_SERVICE);
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/ |
Utils.java | 46 import android.net.ConnectivityManager; 679 && info.getType() == ConnectivityManager.TYPE_WIFI; 683 ConnectivityManager cm = 684 (ConnectivityManager) context.getSystemService(Context.CONNECTIVITY_SERVICE);
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/ |
AddWifiNetworkTask.java | 21 import android.net.ConnectivityManager;
|
/packages/apps/Settings/src/com/android/settings/vpn2/ |
VpnSettings.java | 26 import android.net.ConnectivityManager.NetworkCallback; 27 import android.net.ConnectivityManager; 90 private ConnectivityManager mConnectivityManager; 117 mConnectivityManager = (ConnectivityManager) getSystemService(Context.CONNECTIVITY_SERVICE);
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/ |
WifiSetupActivity.java | 26 import android.net.ConnectivityManager; 515 ConnectivityManager connectivityManager = (ConnectivityManager) getSystemService( 517 NetworkInfo currentConnection = connectivityManager.getActiveNetworkInfo(); 520 if (currentConnection.getType() == ConnectivityManager.TYPE_WIFI) {
|
/frameworks/base/services/core/java/com/android/server/net/ |
LockdownVpnTracker.java | 32 import android.net.ConnectivityManager; 135 null : ConnectivityManager.getNetworkTypeName(egressInfo.getType());
|
/packages/apps/Settings/src/com/android/settings/ |
Utils.java | 47 import android.net.ConnectivityManager; 226 ConnectivityManager cm = (ConnectivityManager)context.getSystemService( 228 return (cm.isNetworkSupported(ConnectivityManager.TYPE_MOBILE) == false); 237 ConnectivityManager cm = (ConnectivityManager) 239 LinkProperties prop = cm.getLinkProperties(ConnectivityManager.TYPE_WIFI); 249 public static String getDefaultIpAddresses(ConnectivityManager cm) { [all...] |
/frameworks/base/services/core/java/com/android/server/location/ |
GnssLocationProvider.java | 51 import android.net.ConnectivityManager; 382 private final ConnectivityManager mConnMgr; 442 private final ConnectivityManager.NetworkCallback mNetworkConnectivityCallback = 443 new ConnectivityManager.NetworkCallback() { 456 private final ConnectivityManager.NetworkCallback mSuplConnectivityCallback = 457 new ConnectivityManager.NetworkCallback() { 678 mConnMgr = (ConnectivityManager)context.getSystemService(Context.CONNECTIVITY_SERVICE); [all...] |