/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/functional/ |
D | ConnectivityManagerMobileTest.java | 57 if (!waitForNetworkState(ConnectivityManager.TYPE_MOBILE, in setUp() 89 ConnectivityManager.TYPE_MOBILE, State.CONNECTED, LONG_TIMEOUT)); in test3GToWifiNotification() 93 assertEquals("active network is not mobile", ConnectivityManager.TYPE_MOBILE, ni.getType()); in test3GToWifiNotification() 160 ConnectivityManager.TYPE_MOBILE, State.CONNECTED, LONG_TIMEOUT)); in testConnectToWifWithKnownAP() 206 assertTrue("mobile not enabled", waitForNetworkState(ConnectivityManager.TYPE_MOBILE, in testDisconnectWifi() 226 ConnectivityManager.TYPE_MOBILE, State.CONNECTED, LONG_TIMEOUT)); in testDataConnectionWith3GToAmTo3G() 242 ConnectivityManager.TYPE_MOBILE, State.CONNECTED, LONG_TIMEOUT)); in testDataConnectionWith3GToAmTo3G() 333 assertEquals("network type is not MOBILE", ConnectivityManager.TYPE_MOBILE, in verifyCellularConnection()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | StatusBarIconHolder.java | 35 public static final int TYPE_MOBILE = 2; field in StatusBarIconHolder 77 holder.mType = TYPE_MOBILE; in fromMobileIconState() 135 case TYPE_MOBILE: in isVisible() 156 case TYPE_MOBILE: in setVisible()
|
D | StatusBarIconController.java | 18 import static com.android.systemui.statusbar.phone.StatusBarIconHolder.TYPE_MOBILE; 288 case TYPE_MOBILE: in addHolder() 397 case TYPE_MOBILE: in onSetIconHolder()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/deviceinfo/ |
D | SimStatusImeiInfoPreferenceControllerTest.java | 61 connectivityManager.setNetworkSupported(ConnectivityManager.TYPE_MOBILE, true); in testIsAvailable_isAdminAndHasMobile_shouldReturnTrue() 73 connectivityManager.setNetworkSupported(ConnectivityManager.TYPE_MOBILE, false); in testIsAvailable_isAdminButNoMobile_shouldReturnFalse()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
D | StatusBarIconControllerTest.java | 18 import static com.android.systemui.statusbar.phone.StatusBarIconHolder.TYPE_MOBILE; 85 holder = holderForType(TYPE_MOBILE); in testCallOnAdd_forManager() 92 case TYPE_MOBILE: in holderForType()
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkIdentitySet.java | 28 import static android.net.ConnectivityManager.TYPE_MOBILE; 78 metered = (type == TYPE_MOBILE); in NetworkIdentitySet()
|
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/stress/ |
D | WifiStressTest.java | 253 waitForNetworkState(ConnectivityManager.TYPE_MOBILE, State.CONNECTED, in testWifiReconnectionAfterSleep() 266 mCm.getNetworkInfo(ConnectivityManager.TYPE_MOBILE).getState()); in testWifiReconnectionAfterSleep()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/net/ |
D | DataUsageController.java | 253 return ConnectivityManager.TYPE_MOBILE; in getNetworkType() 260 return ConnectivityManager.TYPE_MOBILE; in getNetworkType()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | MultipathPolicyTracker.java | 21 import static android.net.ConnectivityManager.TYPE_MOBILE; 274 ConnectivityManager.TYPE_MOBILE, in getTemplateMatchingNetworkIdentity() 403 mStatsManager.registerUsageCallback(mNetworkTemplate, TYPE_MOBILE, budget, in registerUsageCallback()
|
/frameworks/base/core/java/android/net/ |
D | NetworkTemplate.java | 21 import static android.net.ConnectivityManager.TYPE_MOBILE; 614 return (sForceAllNetworkTypes || (ident.mType == TYPE_MOBILE && ident.mMetered)) in matchesMobile() 729 return (sForceAllNetworkTypes || (ident.mType == TYPE_MOBILE && ident.mMetered)) in matchesMobileWildcard()
|
/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() 652 .put(Phone.TYPE, Phone.TYPE_MOBILE) in testComplicatedCase() 687 .put(Email.TYPE, Email.TYPE_MOBILE) in testComplicatedCase()
|
D | VCardExporterTests.java | 462 .put(Phone.TYPE, Phone.TYPE_MOBILE); in testPhoneVariousTypeSupport() 707 .put(Email.TYPE, Email.TYPE_MOBILE); in testEmailVariousTypeSupportCommon()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/net/ |
D | NetworkCycleDataLoaderTest.java | 118 final int networkType = ConnectivityManager.TYPE_MOBILE; in loadPolicyData_shouldRecordUsageFromPolicyCycle()
|
/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/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/ |
D | ConnectivityManagerTestBase.java | 248 return (mCm.getActiveNetworkInfo().getType() == ConnectivityManager.TYPE_MOBILE); in isConnectedToMobile()
|
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/ |
D | BandwidthTest.java | 298 assertTrue(mConnectionUtil.waitForNetworkState(ConnectivityManager.TYPE_MOBILE, in hasMobileData()
|
/frameworks/base/core/java/android/app/usage/ |
D | NetworkStatsManager.java | 666 case ConnectivityManager.TYPE_MOBILE: in createTemplate()
|
/frameworks/base/core/java/android/provider/ |
D | ContactsContract.java | 6210 public static final int TYPE_MOBILE = 2; field in ContactsContract.CommonDataKinds.Phone 6273 case TYPE_MOBILE: return com.android.internal.R.string.phoneTypeMobile; in getTypeLabelResource() 6497 public static final int TYPE_MOBILE = 4; field in ContactsContract.CommonDataKinds.Email 6514 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/opt/net/ethernet/java/com/android/server/ethernet/ |
D | EthernetNetworkFactory.java | 309 new TransportInfo(ConnectivityManager.TYPE_MOBILE, 50)); in sTransports.put() argument
|
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/ |
D | ConnectionUtil.java | 520 NetworkInfo networkInfo = mCM.getNetworkInfo(ConnectivityManager.TYPE_MOBILE); in isConnectedToMobile()
|
/frameworks/base/tests/vcn/java/com/android/server/vcn/ |
D | VcnGatewayConnectionConnectedStateTest.java | 295 argThat(nac -> nac.getLegacyType() == ConnectivityManager.TYPE_MOBILE), in testChildOpenedRegistersNetwork()
|
/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
|