Home
last modified time | relevance | path

Searched refs:getNetworkType (Results 1 – 11 of 11) sorted by relevance

/cts/tests/tests/telephony/current/src/android/telephony/cts/
DNeighboringCellInfoTest.java43 assertEquals(NETWORK_TYPE_EDGE, nc.getNetworkType()); in testNeighboringCellInfo()
50 assertEquals(NETWORK_TYPE_UMTS, nc.getNetworkType()); in testNeighboringCellInfo()
57 assertEquals(NETWORK_TYPE_UNKNOWN, nc.getNetworkType()); in testNeighboringCellInfo()
65 assertEquals(NETWORK_TYPE_GPRS, nc.getNetworkType()); in testNeighboringCellInfo()
77 assertEquals(NETWORK_TYPE_GPRS, nw.getNetworkType()); in testNeighboringCellInfo()
DTelephonyDisplayInfoTest.java36 assertEquals(1, tdi.getNetworkType()); in testParcel()
DCellLocationTest.java74 if (mTelephonyManager.getNetworkType() != TelephonyManager.NETWORK_TYPE_LTE) { in testCellLocation()
DPhysicalChannelConfigTest.java105 assertEquals(NETWORK_TYPE_LTE, mPhysicalChannelConfig.getNetworkType()); in testGetNetworkType()
DPhoneStateListenerTest.java679 mPreciseDataConnectionState.getNetworkType(); in testOnPreciseDataConnectionStateChanged()
DTelephonyCallbackTest.java631 mPreciseDataConnectionState.getNetworkType(); in getPreciseDataConnectionState()
DTelephonyManagerTest.java638 assertTrue(mTelephonyManager.getNetworkType() >= TelephonyManager.NETWORK_TYPE_UNKNOWN); in testTelephonyManager()
2277 assertEquals(TelephonyManager.NETWORK_TYPE_UNKNOWN, ca.getNetworkType()); in testCallAttributes()
/cts/tests/tests/app.usage/src/android/app/usage/cts/
DNetworkUsageStatsTest.java89 abstract int getNetworkType(); in getNetworkType() method in NetworkUsageStatsTest.NetworkInterfaceToTest
116 public int getNetworkType() {
137 public int getNetworkType() {
357 int networkType = mNetworkInterfacesToTest[networkIndex].getNetworkType(); in getSubscriberId()
377 mNetworkInterfacesToTest[i].getNetworkType(), getSubscriberId(i), in testDeviceSummary()
391 mNetworkInterfacesToTest[i].getNetworkType(), getSubscriberId(i), in testDeviceSummary()
412 mNetworkInterfacesToTest[i].getNetworkType(), getSubscriberId(i), in testUserSummary()
426 mNetworkInterfacesToTest[i].getNetworkType(), getSubscriberId(i), in testUserSummary()
452 mNetworkInterfacesToTest[i].getNetworkType(), getSubscriberId(i), in testAppSummary()
481 mNetworkInterfacesToTest[i].getNetworkType(), hasCorrectMetering); in testAppSummary()
[all …]
/cts/tests/JobScheduler/src/android/jobscheduler/cts/
DJobInfoTest.java350 assertEquals(JobInfo.NETWORK_TYPE_NONE, ji.getNetworkType()); in testRequiredNetworkType()
357 assertEquals(JobInfo.NETWORK_TYPE_ANY, ji.getNetworkType()); in testRequiredNetworkType()
364 assertEquals(JobInfo.NETWORK_TYPE_UNMETERED, ji.getNetworkType()); in testRequiredNetworkType()
371 assertEquals(JobInfo.NETWORK_TYPE_NOT_ROAMING, ji.getNetworkType()); in testRequiredNetworkType()
378 assertEquals(JobInfo.NETWORK_TYPE_CELLULAR, ji.getNetworkType()); in testRequiredNetworkType()
385 assertEquals(JobInfo.NETWORK_TYPE_NONE, ji.getNetworkType()); in testRequiredNetworkType()
/cts/tests/tests/telephony/current/permissions/src/android/telephony/cts/telephonypermission/
DTelephonyManagerReadPhoneStatePermissionTest.java128 mTelephonyManager, (tm) -> tm.getNetworkType()); in testTelephonyManagersAPIsRequiringReadPhoneStatePermissions()
/cts/tests/tests/permission/telephony/src/android/permission/cts/telephony/
DTelephonyManagerPermissionTest.java308 mTelephonyManager.getNetworkType(); in testGetNetworkType()