/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/functional/ |
D | ConnectivityManagerMobileTest.java | 58 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/ |
D | NetworkStatsDataMigrationUtils.java | 20 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/ |
D | WifiStressTest.java | 254 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/ |
D | DataNetworkControllerTest.java | 1155 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/ |
D | VCardJapanizationTests.java | 373 .put(Phone.TYPE, Phone.TYPE_MOBILE); in testJapanesePhoneNumberCommon() 395 .put(Phone.TYPE, Phone.TYPE_MOBILE); in testJapanesePhoneNumberDoCoMo()
|
D | VCardImporterTests.java | 534 .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()
|
D | VCardExporterTests.java | 463 .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/ |
D | NetworkActivity.java | 135 mobileConnected = activeInfo.getType() == ConnectivityManager.TYPE_MOBILE; in updateConnectedFlags()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | AppStateHelper.java | 234 || hasActiveNetwork(packageNames, ConnectivityManager.TYPE_MOBILE); in hasActiveNetwork()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/net/ |
D | NetworkCycleDataLoaderTest.java | 119 final int networkType = ConnectivityManager.TYPE_MOBILE; in loadPolicyData_shouldRecordUsageFromPolicyCycle()
|
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/ |
D | BandwidthTest.java | 299 assertTrue(mConnectionUtil.waitForNetworkState(ConnectivityManager.TYPE_MOBILE, in hasMobileData()
|
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/ |
D | ConnectivityManagerTestBase.java | 249 return (mCm.getActiveNetworkInfo().getType() == ConnectivityManager.TYPE_MOBILE); in isConnectedToMobile()
|
/frameworks/base/core/java/android/provider/ |
D | ContactsContract.java | 6333 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()
|
D | Contacts.java | 875 public static final int TYPE_MOBILE = 2; field
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | MultipathPolicyTracker.java | 283 return new NetworkIdentity.Builder().setType(ConnectivityManager.TYPE_MOBILE) in getTemplateMatchingNetworkIdentity()
|
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/ |
D | ConnectionUtil.java | 521 NetworkInfo networkInfo = mCM.getNetworkInfo(ConnectivityManager.TYPE_MOBILE); in isConnectedToMobile()
|
/frameworks/layoutlib/bridge/src/android/net/ |
D | ConnectivityManager.java | 121 public static final int TYPE_MOBILE = 0; field in ConnectivityManager
|
/frameworks/opt/vcard/java/com/android/vcard/ |
D | VCardUtils.java | 141 sKnownPhoneTypeMap_StoI.put(VCardConstants.PARAM_TYPE_CELL, Phone.TYPE_MOBILE); in sKnownPhoneTypeMap_StoI.put() argument
|
D | VCardBuilder.java | 1553 case Email.TYPE_MOBILE: { in appendEmailLine() 1610 case Phone.TYPE_MOBILE: { in appendTelLine()
|
D | VCardEntry.java | 2257 type = Email.TYPE_MOBILE; in addProperty()
|
/frameworks/base/tests/vcn/java/com/android/server/vcn/ |
D | VcnGatewayConnectionConnectedStateTest.java | 438 argThat(nac -> nac.getLegacyType() == ConnectivityManager.TYPE_MOBILE in testChildOpenedRegistersNetwork()
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkPolicyManagerService.java | 73 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/ |
D | NetworkPolicyManagerServiceTest.java | 42 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/ |
D | VcnGatewayConnection.java | 1815 .setLegacyType(ConnectivityManager.TYPE_MOBILE) in buildNetworkAgent()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/data/ |
D | DataNetwork.java | 1129 configBuilder.setLegacyType(ConnectivityManager.TYPE_MOBILE); in createNetworkAgent()
|