Home
last modified time | relevance | path

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

12

/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/functional/
DConnectivityManagerMobileTest.java58 if (!waitForNetworkState(ConnectivityManager.TYPE_MOBILE, in setUp()
90 ConnectivityManager.TYPE_MOBILE, State.CONNECTED, LONG_TIMEOUT)); in test3GToWifiNotification()
94 assertEquals("active network is not mobile", ConnectivityManager.TYPE_MOBILE, ni.getType()); in test3GToWifiNotification()
161 ConnectivityManager.TYPE_MOBILE, State.CONNECTED, LONG_TIMEOUT)); in testConnectToWifWithKnownAP()
207 assertTrue("mobile not enabled", waitForNetworkState(ConnectivityManager.TYPE_MOBILE, in testDisconnectWifi()
227 ConnectivityManager.TYPE_MOBILE, State.CONNECTED, LONG_TIMEOUT)); in testDataConnectionWith3GToAmTo3G()
243 ConnectivityManager.TYPE_MOBILE, State.CONNECTED, LONG_TIMEOUT)); in testDataConnectionWith3GToAmTo3G()
334 assertEquals("network type is not MOBILE", ConnectivityManager.TYPE_MOBILE, in verifyCellularConnection()
/frameworks/base/core/java/android/net/netstats/
DNetworkStatsDataMigrationUtils.java20 import static android.net.ConnectivityManager.TYPE_MOBILE;
450 metered = (type == TYPE_MOBILE); in readPlatformNetworkIdentitySet()
485 if (type == TYPE_MOBILE && ratType != NetworkTemplate.NETWORK_TYPE_ALL) { in readPlatformNetworkIdentitySet()
496 case TYPE_MOBILE: in getCollapsedLegacyType()
506 return TYPE_MOBILE; in getCollapsedLegacyType()
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/stress/
DWifiStressTest.java254 waitForNetworkState(ConnectivityManager.TYPE_MOBILE, State.CONNECTED, in testWifiReconnectionAfterSleep()
267 mCm.getNetworkInfo(ConnectivityManager.TYPE_MOBILE).getState()); in testWifiReconnectionAfterSleep()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/data/
DDataNetworkControllerTest.java1155 ConnectivityManager.TYPE_MOBILE, ++mNetworkRequestId, NetworkRequest.Type.REQUEST); in createNetworkRequest()
1417 new NetworkRequest(netCaps, ConnectivityManager.TYPE_MOBILE, ++mNetworkRequestId, in testSetupEnterpriseDataNetwork()
1735 new NetworkRequest(netCaps, ConnectivityManager.TYPE_MOBILE, ++mNetworkRequestId, in testIsNetworkRequestSatisfiedByTransportCellularTransportRequest()
1774 new NetworkRequest(netCaps, ConnectivityManager.TYPE_MOBILE, ++mNetworkRequestId, in testMobileDataDisabledIsValidRestrictedRequestWithSatelliteInternetRequest()
1810 new NetworkRequest(netCaps, ConnectivityManager.TYPE_MOBILE, ++mNetworkRequestId, in testMobileDataDisabledIsValidRestrictedRequestWithTransportSatelliteMMSRequest()
1845 new NetworkRequest(netCaps, ConnectivityManager.TYPE_MOBILE, ++mNetworkRequestId, in testOnMmsAlwaysALlowedIsValidRestrictedRequestWithTransportSatelliteMMSRequest()
1863 new NetworkRequest(netCaps, ConnectivityManager.TYPE_MOBILE, ++mNetworkRequestId, in testIsNetworkRequestSatisfiedByTransportSatelliteTransportRequest_Terrestrial()
1887 new NetworkRequest(netCaps, ConnectivityManager.TYPE_MOBILE, ++mNetworkRequestId, in testIsNetworkRequestSatisfiedByTransportSatelliteTransportRequest()
1910 new NetworkRequest(netCaps, ConnectivityManager.TYPE_MOBILE, ++mNetworkRequestId, in testIsNetworkRequestSatisfiedByTransportNoTransportRequest()
1936 new NetworkRequest(netCaps, ConnectivityManager.TYPE_MOBILE, ++mNetworkRequestId, in testIsNetworkCapabilitySatelliteAndCellularCapableImsCellularTransportRequest()
[all …]
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/
DVCardJapanizationTests.java373 .put(Phone.TYPE, Phone.TYPE_MOBILE); in testJapanesePhoneNumberCommon()
395 .put(Phone.TYPE, Phone.TYPE_MOBILE); in testJapanesePhoneNumberDoCoMo()
DVCardImporterTests.java534 .put(Email.TYPE, Email.TYPE_MOBILE) in testV21PrefToIsPrimary()
680 .put(Phone.TYPE, Phone.TYPE_MOBILE) in testComplicatedCase()
715 .put(Email.TYPE, Email.TYPE_MOBILE) in testComplicatedCase()
DVCardExporterTests.java463 .put(Phone.TYPE, Phone.TYPE_MOBILE); in testPhoneVariousTypeSupport()
708 .put(Email.TYPE, Email.TYPE_MOBILE); in testEmailVariousTypeSupportCommon()
/frameworks/base/samples/training/network-usage/src/com/example/android/networkusage/
DNetworkActivity.java135 mobileConnected = activeInfo.getType() == ConnectivityManager.TYPE_MOBILE; in updateConnectedFlags()
/frameworks/base/services/core/java/com/android/server/pm/
DAppStateHelper.java234 || hasActiveNetwork(packageNames, ConnectivityManager.TYPE_MOBILE); in hasActiveNetwork()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/net/
DNetworkCycleDataLoaderTest.java119 final int networkType = ConnectivityManager.TYPE_MOBILE; in loadPolicyData_shouldRecordUsageFromPolicyCycle()
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/
DBandwidthTest.java299 assertTrue(mConnectionUtil.waitForNetworkState(ConnectivityManager.TYPE_MOBILE, in hasMobileData()
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/
DConnectivityManagerTestBase.java249 return (mCm.getActiveNetworkInfo().getType() == ConnectivityManager.TYPE_MOBILE); in isConnectedToMobile()
/frameworks/base/core/java/android/provider/
DContactsContract.java6333 public static final int TYPE_MOBILE = 2; field in ContactsContract.CommonDataKinds.Phone
6396 case TYPE_MOBILE: return com.android.internal.R.string.phoneTypeMobile; in getTypeLabelResource()
6609 public static final int TYPE_MOBILE = 4; field in ContactsContract.CommonDataKinds.Email
6626 case TYPE_MOBILE: return com.android.internal.R.string.emailTypeMobile; in getTypeLabelResource()
DContacts.java875 public static final int TYPE_MOBILE = 2; field
/frameworks/base/services/core/java/com/android/server/connectivity/
DMultipathPolicyTracker.java283 return new NetworkIdentity.Builder().setType(ConnectivityManager.TYPE_MOBILE) in getTemplateMatchingNetworkIdentity()
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/
DConnectionUtil.java521 NetworkInfo networkInfo = mCM.getNetworkInfo(ConnectivityManager.TYPE_MOBILE); in isConnectedToMobile()
/frameworks/layoutlib/bridge/src/android/net/
DConnectivityManager.java121 public static final int TYPE_MOBILE = 0; field in ConnectivityManager
/frameworks/opt/vcard/java/com/android/vcard/
DVCardUtils.java141 sKnownPhoneTypeMap_StoI.put(VCardConstants.PARAM_TYPE_CELL, Phone.TYPE_MOBILE); in sKnownPhoneTypeMap_StoI.put() argument
DVCardBuilder.java1553 case Email.TYPE_MOBILE: { in appendEmailLine()
1610 case Phone.TYPE_MOBILE: { in appendTelLine()
DVCardEntry.java2257 type = Email.TYPE_MOBILE; in addProperty()
/frameworks/base/tests/vcn/java/com/android/server/vcn/
DVcnGatewayConnectionConnectedStateTest.java438 argThat(nac -> nac.getLegacyType() == ConnectivityManager.TYPE_MOBILE in testChildOpenedRegistersNetwork()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerService.java73 import static android.net.ConnectivityManager.TYPE_MOBILE;
1825 .setType(TYPE_MOBILE) in findRelevantSubIdNL()
2042 .setType(TYPE_MOBILE) in maybeUpdateCarrierPolicyCycleAL()
2275 .setType(TYPE_MOBILE)
2584 .setType(TYPE_MOBILE)
/frameworks/base/services/tests/servicestests/src/com/android/server/net/
DNetworkPolicyManagerServiceTest.java42 import static android.net.ConnectivityManager.TYPE_MOBILE;
2807 buildLinkProperties(TEST_IFACE), TEST_IMSI, TYPE_MOBILE)); in expectNetworkStateSnapshot()
/frameworks/base/services/core/java/com/android/server/vcn/
DVcnGatewayConnection.java1815 .setLegacyType(ConnectivityManager.TYPE_MOBILE) in buildNetworkAgent()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/data/
DDataNetwork.java1129 configBuilder.setLegacyType(ConnectivityManager.TYPE_MOBILE); in createNetworkAgent()

12