Home
last modified time | relevance | path

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

/cts/tests/tests/telephony/src/android/telephony/cts/
DPhoneStateListenerTest.java69 if (mCm.getNetworkInfo(ConnectivityManager.TYPE_MOBILE) == null) { in testPhoneStateListener()
84 if (mCm.getNetworkInfo(ConnectivityManager.TYPE_MOBILE) == null) { in testOnServiceStateChanged()
121 if (mCm.getNetworkInfo(ConnectivityManager.TYPE_MOBILE) == null) { in testOnSignalStrengthChanged()
158 if (mCm.getNetworkInfo(ConnectivityManager.TYPE_MOBILE) == null) { in testOnSignalStrengthsChanged()
206 if (mCm.getNetworkInfo(ConnectivityManager.TYPE_MOBILE) == null) { in testOnMessageWaitingIndicatorChanged()
244 if (mCm.getNetworkInfo(ConnectivityManager.TYPE_MOBILE) == null) { in testOnCallForwardingIndicatorChanged()
283 if (mCm.getNetworkInfo(ConnectivityManager.TYPE_MOBILE) == null) { in testOnCellLocationChanged()
320 if (mCm.getNetworkInfo(ConnectivityManager.TYPE_MOBILE) == null) { in testOnCallStateChanged()
357 if (mCm.getNetworkInfo(ConnectivityManager.TYPE_MOBILE) == null) { in testOnDataConnectionStateChanged()
395 if (mCm.getNetworkInfo(ConnectivityManager.TYPE_MOBILE) == null) { in testOnDataActivity()
DSubscriptionManagerTest.java56 if (mCm.getNetworkInfo(ConnectivityManager.TYPE_MOBILE) == null) { in testGetActiveSubscriptionInfoCount()
65 if (mCm.getNetworkInfo(ConnectivityManager.TYPE_MOBILE) == null) { in testActiveSubscriptions()
DCarrierConfigManagerTest.java49 return mgr.isNetworkSupported(ConnectivityManager.TYPE_MOBILE); in hasTelephony()
DCellLocationTest.java58 if (mCm.getNetworkInfo(ConnectivityManager.TYPE_MOBILE) == null) { in testCellLocation()
DCellInfoTest.java64 if (mCm.getNetworkInfo(ConnectivityManager.TYPE_MOBILE) == null) { in testCellInfo()
DTelephonyManagerTest.java68 if (mCm.getNetworkInfo(ConnectivityManager.TYPE_MOBILE) == null) { in testListen()
/cts/tests/netlegacy22.api/src/android/net/cts/legacy/api22/
DConnectivityManagerLegacyTest.java41 import static android.net.ConnectivityManager.TYPE_MOBILE;
159 int ret = mCm.startUsingNetworkFeature(TYPE_MOBILE, FEATURE_ENABLE_HIPRI); in testStartUsingNetworkFeature_enableHipri()
167 checkSourceAddress(HOST_ADDRESS1, TYPE_MOBILE); in testStartUsingNetworkFeature_enableHipri()
174 int ret = mCm.stopUsingNetworkFeature(TYPE_MOBILE, FEATURE_ENABLE_HIPRI); in testStartUsingNetworkFeature_enableHipri()
195 NetworkInfo ni = mCm.getNetworkInfo(TYPE_MOBILE); in testStartUsingNetworkFeature()
198 mCm.startUsingNetworkFeature(TYPE_MOBILE, invalidFeature)); in testStartUsingNetworkFeature()
199 assertEquals(failureCode, mCm.stopUsingNetworkFeature(TYPE_MOBILE, invalidFeature)); in testStartUsingNetworkFeature()
201 assertEquals(wifiOnlyStartFailureCode, mCm.startUsingNetworkFeature(TYPE_MOBILE, in testStartUsingNetworkFeature()
203 assertEquals(wifiOnlyStopFailureCode, mCm.stopUsingNetworkFeature(TYPE_MOBILE, in testStartUsingNetworkFeature()
/cts/tests/tests/net/src/android/net/cts/
DNetworkInfoTest.java29 public static final int TYPE_MOBILE = ConnectivityManager.TYPE_MOBILE; field in NetworkInfoTest
42 case TYPE_MOBILE: in testAccessNetworkInfoProperties()
DConnectivityManagerTest.java63 public static final int TYPE_MOBILE = ConnectivityManager.TYPE_MOBILE; field in ConnectivityManagerTest
119 assertTrue(ConnectivityManager.isNetworkTypeValid(ConnectivityManager.TYPE_MOBILE)); in testIsNetworkTypeValid()
238 assertStartUsingNetworkFeatureUnsupported(TYPE_MOBILE, invalidateFeature); in testStartUsingNetworkFeature()
239 assertStopUsingNetworkFeatureUnsupported(TYPE_MOBILE, invalidateFeature); in testStartUsingNetworkFeature()
/cts/tests/tests/provider/src/android/provider/cts/
DContacts_PhonesTest.java37 Phones.TYPE_MOBILE, label).toString(); in testGetDisplayLabel()
38 assertEquals(labels[Phones.TYPE_MOBILE - 1], display); in testGetDisplayLabel()
81 Phones.TYPE_MOBILE, label, labelArray).toString(); in testGetDisplayLabelCharSequenceArray()
82 assertEquals(labelArray[Phones.TYPE_MOBILE - 1], display); in testGetDisplayLabelCharSequenceArray()
DContactsContract_CommonDataKinds_EmailTest.java35 assertGetTypeLabel(Email.TYPE_MOBILE); in testGetTypeLabel()
DContactsContract_CommonDataKinds_PhoneTest.java44 assertGetTypeLabel(Phone.TYPE_MOBILE); in testGetTypeLabel()
DContactsContract_DataTest.java448 .with(Phone.TYPE, Phone.TYPE_MOBILE) in testContactablesUri()
453 cv.put(Phone.TYPE, Phone.TYPE_MOBILE); in testContactablesUri()
/cts/tests/tests/permission/src/android/permission/cts/
DConnectivityManagerPermissionTest.java50 mConnectivityManager.getNetworkInfo(ConnectivityManager.TYPE_MOBILE); in testGetNetworkInfo()
DNoNetworkStatePermissionTest.java30 private static final int TEST_NETWORK_TYPE = ConnectivityManager.TYPE_MOBILE;
/cts/tests/netlegacy22.permission/src/android/net/cts/legacy/api22/permission/
DConnectivityManagerPermissionTest.java48 mConnectivityManager.requestRouteToHost(ConnectivityManager.TYPE_MOBILE, 1); in testRequestRouteToHost()
DNoNetworkStatePermissionTest.java30 private static final int TEST_NETWORK_TYPE = ConnectivityManager.TYPE_MOBILE;
/cts/tests/JobScheduler/src/android/jobscheduler/cts/
DConnectivityConstraintTest.java200 if (mCm.getNetworkInfo(ConnectivityManager.TYPE_MOBILE) == null) { in checkDeviceSupportsMobileData()
239 new ConnectivityActionReceiver(ConnectivityManager.TYPE_MOBILE, in disconnectWifiToConnectToMobile()
/cts/tests/tests/carrierapi/src/android/carrierapi/cts/
DCarrierApiTest.java66 return mgr.isNetworkSupported(ConnectivityManager.TYPE_MOBILE); in hasCellular()
/cts/tests/tests/app.usage/src/android/app/usage/cts/
DNetworkUsageStatsTest.java89 return ConnectivityManager.TYPE_MOBILE;
289 if (ConnectivityManager.TYPE_MOBILE == networkType) { in getSubscriberId()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/
DAttentionManagementVerifierActivity.java896 builder.withValue(Phone.TYPE, Phone.TYPE_MOBILE); in insertSingleContact()
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DContactsTest.java1054 Phone.TYPE_MOBILE) in insertContact()
/cts/tools/dex-tools/dex/
Dclasses.out.dex42865 public static final int TYPE_MOBILE
63545 public static final int TYPE_MOBILE