Home
last modified time | relevance | path

Searched refs:rssi (Results 1 – 7 of 7) 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.java799 int rssi = cellSignalStrengthLte.getRssi(); in verifyCellSignalStrengthLte() local
801 + rssi, rssi == CellInfo.UNAVAILABLE in verifyCellSignalStrengthLte()
802 || (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/tests/tests/bluetooth/src/android/bluetooth/cts/
DScanResultTest.java104 int rssi = 0xABAB; in constructor() local
108 advertisingSid, txPower, rssi, periodicAdvertisingInterval, null, timestampNanos); in constructor()
111 assertEquals(result.getRssi(), rssi); in constructor() local
122 advertisingSid, txPower, rssi, periodicAdvertisingInterval, null, timestampNanos); in constructor()
/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.java928 private void notifyReadRemoteRssi(int rssi) { in notifyReadRemoteRssi() argument
929 showMessage("Remote rssi read: " + rssi); in notifyReadRemoteRssi()
931 intent.putExtra(EXTRA_RSSI_VALUE, rssi); in notifyReadRemoteRssi()
1479 public void onReadRemoteRssi(BluetoothGatt gatt, int rssi, int status) {
1480 super.onReadRemoteRssi(gatt, rssi, status);
1485 notifyReadRemoteRssi(rssi);
/cts/tests/tests/wifi/src/android/net/wifi/cts/
DWifiManagerTest.java850 for (int rssi = -150; rssi <= 50; rssi++) { in testCalculateSignalLevel()
851 int signalLevel = sWifiManager.calculateSignalLevel(rssi); in testCalculateSignalLevel()
854 assertWithMessage("For RSSI=%s", rssi).that(signalLevel).isAtLeast(0); in testCalculateSignalLevel()
855 assertWithMessage("For RSSI=%s", rssi).that(signalLevel).isAtMost(maxSignalLevel); in testCalculateSignalLevel()
858 assertWithMessage("For RSSI=%s", rssi).that(signalLevel).isAtLeast(prevSignalLevel); in testCalculateSignalLevel()