Home
last modified time | relevance | path

Searched refs:getNetworkType (Results 1 – 8 of 8) 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()
DCellLocationTest.java74 if (mTelephonyManager.getNetworkType() != TelephonyManager.NETWORK_TYPE_LTE) { in testCellLocation()
DSignalStrengthTest.java101 getSignalStrengthTypeForNetworkType(mTm.getNetworkType()); in testSignalStrength()
DPhoneStateListenerTest.java676 mPreciseDataConnectionState.getNetworkType(); in testOnPreciseDataConnectionStateChanged()
686 mPreciseDataConnectionState.getNetworkType()); in testOnPreciseDataConnectionStateChanged()
DTelephonyManagerTest.java459 assertTrue(mTelephonyManager.getNetworkType() >= TelephonyManager.NETWORK_TYPE_UNKNOWN); in testTelephonyManager()
1790 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/tests/telephony/current/permissions/src/android/telephony/cts/telephonypermission/
DTelephonyManagerReadPhoneStatePermissionTest.java79 mTelephonyManager.getNetworkType(); in testTelephonyManagersAPIsRequiringReadPhoneStatePermissions()
/cts/tests/tests/permission/telephony/src/android/permission/cts/telephony/
DTelephonyManagerPermissionTest.java295 mTelephonyManager.getNetworkType(); in testGetNetworkType()