Home
last modified time | relevance | path

Searched refs:rssi (Results 1 – 6 of 6) sorted by relevance

/cts/tests/tests/telephony/current/src/android/telephony/cts/
DNeighboringCellInfoTest.java37 int rssi = 31; in testNeighboringCellInfo() local
42 nc = new NeighboringCellInfo(rssi, "FFFFFFF", NETWORK_TYPE_EDGE); in testNeighboringCellInfo()
44 assertEquals(rssi, nc.getRssi()); in testNeighboringCellInfo()
49 nc = new NeighboringCellInfo(rssi, "1FF", NETWORK_TYPE_UMTS); in testNeighboringCellInfo()
51 assertEquals(rssi, nc.getRssi()); in testNeighboringCellInfo()
56 nc = new NeighboringCellInfo(rssi, "1FF", NETWORK_TYPE_UNKNOWN); in testNeighboringCellInfo()
58 assertEquals(rssi, nc.getRssi()); in testNeighboringCellInfo()
64 nc = new NeighboringCellInfo(rssi, "12345678", NETWORK_TYPE_GPRS); in testNeighboringCellInfo()
66 assertEquals(rssi, nc.getRssi()); in testNeighboringCellInfo()
78 assertEquals(rssi, nw.getRssi()); in testNeighboringCellInfo()
DCellInfoTest.java779 int rssi = cellSignalStrengthLte.getRssi(); in verifyCellSignalStrengthLte() local
781 + rssi, rssi == CellInfo.UNAVAILABLE in verifyCellSignalStrengthLte()
782 || (rssi >= MIN_LTE_RSSI && rssi <= MAX_LTE_RSSI)); in verifyCellSignalStrengthLte()
/cts/tests/tests/telecom/src/android/telecom/cts/
DBluetoothCallQualityReportTest.java27 int rssi = 1; in testBluetoothCallQualityReport() local
36 .setRssiDbm(rssi) in testBluetoothCallQualityReport()
45 assertEquals(rssi, report.getRssiDbm()); in testBluetoothCallQualityReport()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/wifiaware/testcase/
DDiscoveryWithRangingTestCase.java261 int rssi = result.getRssi(); in executeRanging() local
263 if (distanceMm > LARGE_ENOUGH_DISTANCE || rssi < MIN_RSSI) { in executeRanging()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
DBleClientService.java831 private void notifyReadRemoteRssi(int rssi) { in notifyReadRemoteRssi() argument
832 showMessage("Remote rssi read: " + rssi); in notifyReadRemoteRssi()
834 intent.putExtra(EXTRA_RSSI_VALUE, rssi); in notifyReadRemoteRssi()
1266 public void onReadRemoteRssi(BluetoothGatt gatt, int rssi, int status) {
1271 notifyReadRemoteRssi(rssi);
/cts/tests/tests/wifi/src/android/net/wifi/cts/
DWifiManagerTest.java723 for (int rssi = -150; rssi <= 50; rssi++) { in testCalculateSignalLevel()
724 int signalLevel = mWifiManager.calculateSignalLevel(rssi); in testCalculateSignalLevel()
727 assertWithMessage("For RSSI=%s", rssi).that(signalLevel).isAtLeast(0); in testCalculateSignalLevel()
728 assertWithMessage("For RSSI=%s", rssi).that(signalLevel).isAtMost(maxSignalLevel); in testCalculateSignalLevel()
731 assertWithMessage("For RSSI=%s", rssi).that(signalLevel).isAtLeast(prevSignalLevel); in testCalculateSignalLevel()