Home
last modified time | relevance | path

Searched refs:TYPE_MOBILE (Results 1 – 25 of 28) sorted by relevance

12

/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/functional/
DConnectivityManagerMobileTest.java73 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/
DConnectivityManager.java196 public static final int TYPE_MOBILE = 0; field in ConnectivityManager
298 case TYPE_MOBILE: in getNetworkTypeName()
334 case TYPE_MOBILE: in isNetworkTypeMobile()
DMobileDataStateTracker.java554 case ConnectivityManager.TYPE_MOBILE: in networkTypeToApnType()
/frameworks/base/cmds/svc/src/com/android/commands/svc/
DDataCommand.java58 connMgr.setNetworkPreference(ConnectivityManager.TYPE_MOBILE); in run()
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/stress/
DWifiStressTest.java271 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/
DVCardJapanizationTests.java370 .put(Phone.TYPE, Phone.TYPE_MOBILE); in testJapanesePhoneNumberCommon()
392 .put(Phone.TYPE, Phone.TYPE_MOBILE); in testJapanesePhoneNumberDoCoMo()
DVCardImporterTests.java534 .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()
DVCardExporterTests.java462 .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/
DTethering.java84 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/
DConnectivityService.java474 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/
DContactsContract.java5373 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()
DContacts.java882 public static final int TYPE_MOBILE = 2; field
/frameworks/base/services/tests/servicestests/src/com/android/server/
DNetworkStatsServiceTest.java22 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/
DNetworkPolicyManagerService.java31 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/
DConnectionUtil.java498 return (mNetworkInfo.getType() == ConnectivityManager.TYPE_MOBILE); in isConnectedToMobile()
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/
DConnectivityManagerTestActivity.java481 return (mNetworkInfo.getType() == ConnectivityManager.TYPE_MOBILE); in isConnectedToMobile()
/frameworks/base/services/java/com/android/server/location/
DGpsLocationProvider.java1263 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/
DVCardUtils.java144 sKnownPhoneTypeMap_StoI.put(VCardConstants.PARAM_TYPE_CELL, Phone.TYPE_MOBILE); in sKnownPhoneTypeMap_StoI.put() argument
DVCardBuilder.java1584 case Email.TYPE_MOBILE: { in appendEmailLine()
1641 case Phone.TYPE_MOBILE: { in appendTelLine()
DVCardEntry.java2236 type = Email.TYPE_MOBILE; in addProperty()
/frameworks/base/wifi/java/android/net/wifi/
DWifiWatchdogStateMachine.java236 sWifiOnly = (cm.isNetworkSupported(ConnectivityManager.TYPE_MOBILE) == false); in makeWifiWatchdogStateMachine()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DNetworkController.java157 mHasMobileDataFeature = cm.isNetworkSupported(ConnectivityManager.TYPE_MOBILE); in NetworkController()
/frameworks/base/docs/html/guide/topics/providers/
Dcontent-providers.jd130 <td>{@code TYPE_MOBILE}</td>
549 values.put(People.Phones.TYPE, People.Phones.TYPE_MOBILE);
/frameworks/base/docs/html/resources/articles/
Dcontacts.jd89 values.put(Phone.TYPE, Phone.TYPE_MOBILE);
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/
DGsmDataConnectionTracker.java261 case ConnectivityManager.TYPE_MOBILE: in initApnContextsAndDataConnection()

12