Home
last modified time | relevance | path

Searched refs:getNetworkType (Results 1 – 6 of 6) 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.java95 getSignalStrengthTypeForNetworkType(mTm.getNetworkType()); in testSignalStrength()
DTelephonyManagerTest.java272 assertTrue(mTelephonyManager.getNetworkType() >= TelephonyManager.NETWORK_TYPE_UNKNOWN); in testTelephonyManager()
/cts/tests/tests/app.usage/src/android/app/usage/cts/
DNetworkUsageStatsTest.java86 abstract int getNetworkType(); in getNetworkType() method in NetworkUsageStatsTest.NetworkInterfaceToTest
113 public int getNetworkType() {
134 public int getNetworkType() {
338 int networkType = mNetworkInterfacesToTest[networkIndex].getNetworkType(); in getSubscriberId()
358 mNetworkInterfacesToTest[i].getNetworkType(), getSubscriberId(i), in testDeviceSummary()
372 mNetworkInterfacesToTest[i].getNetworkType(), getSubscriberId(i), in testDeviceSummary()
393 mNetworkInterfacesToTest[i].getNetworkType(), getSubscriberId(i), in testUserSummary()
407 mNetworkInterfacesToTest[i].getNetworkType(), getSubscriberId(i), in testUserSummary()
428 mNetworkInterfacesToTest[i].getNetworkType(), getSubscriberId(i), in testAppSummary()
457 mNetworkInterfacesToTest[i].getNetworkType(), hasCorrectMetering); in testAppSummary()
[all …]
/cts/tests/tests/permission/telephony/src/android/permission/cts/telephony/
DTelephonyManagerPermissionTest.java290 if (mTelephonyManager.getNetworkType() != TelephonyManager.NETWORK_TYPE_UNKNOWN) { in testGetNetworkType()