Home
last modified time | relevance | path

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

12

/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/functional/
DConnectivityManagerMobileTest.java57 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/
DStatusBarIconHolder.java35 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()
DStatusBarIconController.java18 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/
DSimStatusImeiInfoPreferenceControllerTest.java61 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/
DStatusBarIconControllerTest.java18 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/
DNetworkIdentitySet.java28 import static android.net.ConnectivityManager.TYPE_MOBILE;
78 metered = (type == TYPE_MOBILE); in NetworkIdentitySet()
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/stress/
DWifiStressTest.java253 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/
DDataUsageController.java253 return ConnectivityManager.TYPE_MOBILE; in getNetworkType()
260 return ConnectivityManager.TYPE_MOBILE; in getNetworkType()
/frameworks/base/services/core/java/com/android/server/connectivity/
DMultipathPolicyTracker.java21 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/
DNetworkTemplate.java21 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/
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()
652 .put(Phone.TYPE, Phone.TYPE_MOBILE) in testComplicatedCase()
687 .put(Email.TYPE, Email.TYPE_MOBILE) in testComplicatedCase()
DVCardExporterTests.java462 .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/
DNetworkCycleDataLoaderTest.java118 final int networkType = ConnectivityManager.TYPE_MOBILE; in loadPolicyData_shouldRecordUsageFromPolicyCycle()
/frameworks/base/samples/training/network-usage/src/com/example/android/networkusage/
DNetworkActivity.java135 mobileConnected = activeInfo.getType() == ConnectivityManager.TYPE_MOBILE; in updateConnectedFlags()
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/
DConnectivityManagerTestBase.java248 return (mCm.getActiveNetworkInfo().getType() == ConnectivityManager.TYPE_MOBILE); in isConnectedToMobile()
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/
DBandwidthTest.java298 assertTrue(mConnectionUtil.waitForNetworkState(ConnectivityManager.TYPE_MOBILE, in hasMobileData()
/frameworks/base/core/java/android/app/usage/
DNetworkStatsManager.java666 case ConnectivityManager.TYPE_MOBILE: in createTemplate()
/frameworks/base/core/java/android/provider/
DContactsContract.java6210 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()
DContacts.java875 public static final int TYPE_MOBILE = 2; field
/frameworks/opt/net/ethernet/java/com/android/server/ethernet/
DEthernetNetworkFactory.java309 new TransportInfo(ConnectivityManager.TYPE_MOBILE, 50)); in sTransports.put() argument
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/
DConnectionUtil.java520 NetworkInfo networkInfo = mCM.getNetworkInfo(ConnectivityManager.TYPE_MOBILE); in isConnectedToMobile()
/frameworks/base/tests/vcn/java/com/android/server/vcn/
DVcnGatewayConnectionConnectedStateTest.java295 argThat(nac -> nac.getLegacyType() == ConnectivityManager.TYPE_MOBILE), in testChildOpenedRegistersNetwork()
/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

12