/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/functional/ |
D | ConnectivityManagerMobileTest.java | 73 if (!cmActivity.waitForNetworkState(ConnectivityManager.TYPE_MOBILE, State.CONNECTED, in setUp() 102 assertEquals("network type is not MOBILE", ConnectivityManager.TYPE_MOBILE, in verifyCellularConnection() 123 assertTrue(cmActivity.waitForNetworkState(ConnectivityManager.TYPE_MOBILE, in test3GToWifiNotification() 133 NetworkInfo networkInfo = cmActivity.mCM.getNetworkInfo(ConnectivityManager.TYPE_MOBILE); in test3GToWifiNotification() 134 cmActivity.setStateTransitionCriteria(ConnectivityManager.TYPE_MOBILE, in test3GToWifiNotification() 154 if (!cmActivity.validateNetworkStates(ConnectivityManager.TYPE_MOBILE)) { in test3GToWifiNotification() 157 cmActivity.getTransitionFailureReason(ConnectivityManager.TYPE_MOBILE)); in test3GToWifiNotification() 171 networkInfo = cmActivity.mCM.getNetworkInfo(ConnectivityManager.TYPE_MOBILE); in testConnectToWifi() 172 cmActivity.setStateTransitionCriteria(ConnectivityManager.TYPE_MOBILE, in testConnectToWifi() 189 assertTrue(cmActivity.waitForNetworkState(ConnectivityManager.TYPE_MOBILE, in testConnectToWifi() [all …]
|
/frameworks/base/core/java/android/net/ |
D | ConnectivityManager.java | 196 public static final int TYPE_MOBILE = 0; field in ConnectivityManager 298 case TYPE_MOBILE: in getNetworkTypeName() 334 case TYPE_MOBILE: in isNetworkTypeMobile()
|
D | MobileDataStateTracker.java | 554 case ConnectivityManager.TYPE_MOBILE: in networkTypeToApnType()
|
/frameworks/base/cmds/svc/src/com/android/commands/svc/ |
D | DataCommand.java | 58 connMgr.setNetworkPreference(ConnectivityManager.TYPE_MOBILE); in run()
|
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/stress/ |
D | WifiStressTest.java | 271 mAct.waitForNetworkState(ConnectivityManager.TYPE_MOBILE, State.CONNECTED, in testWifiReconnectionAfterSleep() 281 mAct.mCM.getNetworkInfo(ConnectivityManager.TYPE_MOBILE).getState()); in testWifiReconnectionAfterSleep()
|
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/ |
D | VCardJapanizationTests.java | 370 .put(Phone.TYPE, Phone.TYPE_MOBILE); in testJapanesePhoneNumberCommon() 392 .put(Phone.TYPE, Phone.TYPE_MOBILE); in testJapanesePhoneNumberDoCoMo()
|
D | VCardImporterTests.java | 534 .put(Email.TYPE, Email.TYPE_MOBILE) in testV21PrefToIsPrimary() 632 .put(Phone.TYPE, Phone.TYPE_MOBILE) in testV21ComplicatedCase() 667 .put(Email.TYPE, Email.TYPE_MOBILE) in testV21ComplicatedCase()
|
D | VCardExporterTests.java | 462 .put(Phone.TYPE, Phone.TYPE_MOBILE); in testPhoneVariousTypeSupport() 707 .put(Email.TYPE, Email.TYPE_MOBILE); in testEmailVariousTypeSupportCommon()
|
/frameworks/base/services/java/com/android/server/connectivity/ |
D | Tethering.java | 84 private static final Integer MOBILE_TYPE = new Integer(ConnectivityManager.TYPE_MOBILE); 1143 case ConnectivityManager.TYPE_MOBILE: in enableString() 1159 result = cm.startUsingNetworkFeature(ConnectivityManager.TYPE_MOBILE, in turnOnUpstreamMobileConnection() 1184 cm.stopUsingNetworkFeature(ConnectivityManager.TYPE_MOBILE, in turnOffUpstreamMobileConnection()
|
/frameworks/base/services/java/com/android/server/ |
D | ConnectivityService.java | 474 case ConnectivityManager.TYPE_MOBILE: in ConnectivityService() 1317 if (mNetTrackers[ConnectivityManager.TYPE_MOBILE] != null) { in handleSetMobileData() 1319 log(mNetTrackers[ConnectivityManager.TYPE_MOBILE].toString() + enabled); in handleSetMobileData() 1321 mNetTrackers[ConnectivityManager.TYPE_MOBILE].setUserDataEnable(enabled); in handleSetMobileData() 2705 if(networkType == ConnectivityManager.TYPE_MOBILE) { in convertFeatureToNetworkType()
|
/frameworks/base/core/java/android/provider/ |
D | ContactsContract.java | 5373 public static final int TYPE_MOBILE = 2; field in ContactsContract.CommonDataKinds.Phone 5434 case TYPE_MOBILE: return com.android.internal.R.string.phoneTypeMobile; in getTypeLabelResource() 5586 public static final int TYPE_MOBILE = 4; field in ContactsContract.CommonDataKinds.Email 5603 case TYPE_MOBILE: return com.android.internal.R.string.emailTypeMobile; in getTypeLabelResource()
|
D | Contacts.java | 882 public static final int TYPE_MOBILE = 2; field
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
D | NetworkStatsServiceTest.java | 22 import static android.net.ConnectivityManager.TYPE_MOBILE; 877 TYPE_MOBILE, TelephonyManager.NETWORK_TYPE_UMTS, null, null); in buildMobile3gState()
|
/frameworks/base/services/java/com/android/server/net/ |
D | NetworkPolicyManagerService.java | 31 import static android.net.ConnectivityManager.TYPE_MOBILE; 749 setPolicyDataEnable(TYPE_MOBILE, enabled); 879 TYPE_MOBILE, TelephonyManager.NETWORK_TYPE_UNKNOWN, subscriberId, false); in ensureActiveMobilePolicyLocked()
|
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/ |
D | ConnectionUtil.java | 498 return (mNetworkInfo.getType() == ConnectivityManager.TYPE_MOBILE); in isConnectedToMobile()
|
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/ |
D | ConnectivityManagerTestActivity.java | 481 return (mNetworkInfo.getType() == ConnectivityManager.TYPE_MOBILE); in isConnectedToMobile()
|
/frameworks/base/services/java/com/android/server/location/ |
D | GpsLocationProvider.java | 1263 ConnectivityManager.TYPE_MOBILE, Phone.FEATURE_ENABLE_SUPL); in reportAGpsStatus() 1297 ConnectivityManager.TYPE_MOBILE, Phone.FEATURE_ENABLE_SUPL); in reportAGpsStatus()
|
/frameworks/opt/vcard/java/com/android/vcard/ |
D | VCardUtils.java | 144 sKnownPhoneTypeMap_StoI.put(VCardConstants.PARAM_TYPE_CELL, Phone.TYPE_MOBILE); in sKnownPhoneTypeMap_StoI.put() argument
|
D | VCardBuilder.java | 1584 case Email.TYPE_MOBILE: { in appendEmailLine() 1641 case Phone.TYPE_MOBILE: { in appendTelLine()
|
D | VCardEntry.java | 2236 type = Email.TYPE_MOBILE; in addProperty()
|
/frameworks/base/wifi/java/android/net/wifi/ |
D | WifiWatchdogStateMachine.java | 236 sWifiOnly = (cm.isNetworkSupported(ConnectivityManager.TYPE_MOBILE) == false); in makeWifiWatchdogStateMachine()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | NetworkController.java | 157 mHasMobileDataFeature = cm.isNetworkSupported(ConnectivityManager.TYPE_MOBILE); in NetworkController()
|
/frameworks/base/docs/html/guide/topics/providers/ |
D | content-providers.jd | 130 <td>{@code TYPE_MOBILE}</td> 549 values.put(People.Phones.TYPE, People.Phones.TYPE_MOBILE);
|
/frameworks/base/docs/html/resources/articles/ |
D | contacts.jd | 89 values.put(Phone.TYPE, Phone.TYPE_MOBILE);
|
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/ |
D | GsmDataConnectionTracker.java | 261 case ConnectivityManager.TYPE_MOBILE: in initApnContextsAndDataConnection()
|