Home
last modified time | relevance | path

Searched refs:getRssi (Results 1 – 25 of 32) sorted by relevance

12

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DNeighboringCellInfoTest.java36 assertEquals(rssi, nc.getRssi()); in testConstructor()
43 assertEquals(rssi, nc.getRssi()); in testConstructor()
50 assertEquals(rssi, nc.getRssi()); in testConstructor()
62 assertEquals(rssi, nc.getRssi()); in testParcel()
74 assertEquals(rssi, nw.getRssi()); in testParcel()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiNetworkSelectorTest.java185 when(mWifiInfo.getRssi()).thenReturn(-70); in setupWifiInfo()
415 when(mWifiInfo.getRssi()).thenReturn(levels[0]); in lowRssi5GNetworkIsNotSufficient()
462 when(mWifiInfo.getRssi()).thenReturn(levels[0]); in noInternetAccessNetworkIsNotSufficient()
542 when(mWifiInfo.getRssi()).thenReturn(levels[0]); in noSelectionWhenCurrentNetworkNotInScanResults()
671 when(mWifiInfo.getRssi()).thenReturn(mThresholdQualifiedRssi2G + 1); in test2GhzQualifiedNo5GhzAvailable()
698 when(mWifiInfo.getRssi()).thenReturn(mThresholdQualifiedRssi2G + 1); in test2GhzHighQuality5GhzAvailable()
728 when(mWifiInfo.getRssi()).thenReturn(mThresholdQualifiedRssi5G - 1); in test5GhzNotQualifiedLowRssi()
753 when(mWifiInfo.getRssi()).thenReturn(mThresholdQualifiedRssi5G + 1); in test5GhzQualified()
777 when(mWifiInfo.getRssi()).thenReturn(mThresholdQualifiedRssi2G + 1); in band2GNetworkIsNotSufficientWhenNoOngoingTrafficAnd5GhzAvailable()
805 when(mWifiInfo.getRssi()).thenReturn(mThresholdQualifiedRssi2G - 1); in band2GNetworkIsNotSufficientWithBadRssi()
[all …]
DWifiStateMachineTest.java2144 assertEquals(RSSI_THRESHOLD_BREACH_MIN, wifiInfo.getRssi()); in verifyRssiMonitoringCallbackIsRegistered()
2149 assertEquals(RSSI_THRESHOLD_BREACH_MAX, wifiInfo.getRssi()); in verifyRssiMonitoringCallbackIsRegistered()
2176 assertEquals(signalPollResult.currentRssi, wifiInfo.getRssi()); in verifyConnectedModeRssiPolling()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiScoreReport.java92 if (wifiInfo.getRssi() == WifiInfo.INVALID_RSSI) { in calculateAndReportScore()
128 || wifiInfo.getRssi() >= entry) { in calculateAndReportScore()
231 double rssi = wifiInfo.getRssi(); in logLinkMetrics()
DConnectedScore.java94 updateUsingRssi(wifiInfo.getRssi(), millis); in updateUsingWifiInfo()
DAggressiveConnectedScore.java44 mRssi = wifiInfo.getRssi(); in updateUsingWifiInfo()
DVelocityBasedConnectedScore.java110 updateUsingRssi(wifiInfo.getRssi(), millis, mDefaultRssiStandardDeviation); in updateUsingWifiInfo()
DWifiStateMachine.java2095 sb.append(" rssi=").append(mWifiInfo.getRssi()); in getLogRecString()
2110 sb.append(" rssi=").append(mWifiInfo.getRssi()); in getLogRecString()
4493 if (mWifiInfo != null && mWifiInfo.getRssi() != WifiInfo.INVALID_RSSI) { in updateCapabilities()
4494 result.setSignalStrength(mWifiInfo.getRssi()); in updateCapabilities()
4617 mWifiInfo.getRssi()); in setSignalStrengthThresholds()
4633 mWifiInfo.getRssi()); in setSignalStrengthThresholds()
4640 mWifiInfo.getRssi()); in setSignalStrengthThresholds()
4872 if (mVerboseLoggingEnabled) sendRssiChangeBroadcast(mWifiInfo.getRssi()); in processMessage()
4891 info.rssi = mWifiInfo.getRssi(); in processMessage()
5362 + " RSSI=" + mWifiInfo.getRssi() in processMessage()
DWifiNetworkSelector.java148 int currentRssi = wifiInfo.getRssi(); in isCurrentNetworkSufficient()
/frameworks/base/core/java/android/net/
DWifiLinkQualityInfo.java109 public int getRssi() { in getRssi() method in WifiLinkQualityInfo
DMobileLinkQualityInfo.java111 public int getRssi() { in getRssi() method in MobileLinkQualityInfo
/frameworks/base/core/java/android/bluetooth/le/
DPeriodicAdvertisingReport.java118 public int getRssi() { in getRssi() method in PeriodicAdvertisingReport
DScanResult.java216 public int getRssi() { in getRssi() method in ScanResult
/frameworks/base/telephony/java/android/telephony/
DNeighboringCellInfo.java177 public int getRssi() { in getRssi() method in NeighboringCellInfo
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/rtt/
DRttTestUtils.java154 rttResult.rssi = rangingResult.getRssi() * -2; in getMatchingRttResult()
/frameworks/base/lowpan/java/android/net/lowpan/
DLowpanBeaconInfo.java120 public int getRssi() { in getRssi() method in LowpanBeaconInfo
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DWifiStatusTracker.java118 updateRssi(mWifiInfo.getRssi()); in handleBroadcast()
DAccessPoint.java656 public int getRssi() { in getRssi() method in AccessPoint
1100 if (mRssi != info.getRssi() && info.getRssi() != WifiInfo.INVALID_RSSI) { in update()
1101 mRssi = info.getRssi(); in update()
DWifiUtils.java95 visibility.append(" rssi=").append(info.getRssi()); in getVisibilityStatus()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyboard/
DKeyboardUI.java555 if (isDeviceDiscoverable(result) && result.getRssi() > bestRssi) { in onBatchScanResults()
557 bestRssi = result.getRssi(); in onBatchScanResults()
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/
DAccessPointTest.java227 int originalRssi = ap.getRssi();
234 int originalRssi = ap.getRssi();
237 assertThat(ap.getRssi()).isEqualTo(newRssi);
258 assertThat(ap.getRssi()).isEqualTo(expectedRssi);
DWifiTrackerTest.java672 assertThat(tracker.getAccessPoints().get(0).getRssi()).isEqualTo(newRssi); in rssiChangeBroadcastShouldUpdateConnectedAp()
/frameworks/base/wifi/java/android/net/wifi/rtt/
DRangingResult.java194 public int getRssi() { in getRssi() method in RangingResult
/frameworks/base/wifi/java/android/net/wifi/
DWifiInfo.java278 public int getRssi() { in getRssi() method in WifiInfo
DRttManager.java996 legacyResults[i].rssi = result.getRssi() * -2; in startRanging()

12