Searched refs:MIN_RSSI_LEVEL (Results 1 – 2 of 2) sorted by relevance
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | OpenNetworkNotifierTest.java | 81 private static final int MIN_RSSI_LEVEL = -127; field in OpenNetworkNotifierTest 123 mTestNetwork.level = MIN_RSSI_LEVEL; in setUp() 330 mTestNetwork.level = MIN_RSSI_LEVEL + 1; in screenOff_notificationShowing_handleScanResults_recommendationCanBeUpdated() 816 scanResults.get(0).getScanResult().level = MIN_RSSI_LEVEL; in onlyNetworkIsRecommended() 827 scanResults.get(0).getScanResult().level = MIN_RSSI_LEVEL; in networkWithHighestRssiIsRecommended() 828 scanResults.get(1).getScanResult().level = MIN_RSSI_LEVEL + 1; in networkWithHighestRssiIsRecommended() 845 scanResults.get(0).getScanResult().level = MIN_RSSI_LEVEL + 1; in blacklistBestNetworkSsid_shouldNeverRecommendNetwork() 846 scanResults.get(1).getScanResult().level = MIN_RSSI_LEVEL; in blacklistBestNetworkSsid_shouldNeverRecommendNetwork()
|
D | WifiMetricsTest.java | 469 private static final int MIN_RSSI_LEVEL = -127; field in WifiMetricsTest 880 mWifiMetrics.incrementRssiPollRssiCount(RSSI_POLL_FREQUENCY, MIN_RSSI_LEVEL + i); in setAndIncrementMetrics() 884 mWifiMetrics.incrementRssiPollRssiCount(RSSI_POLL_FREQUENCY, MIN_RSSI_LEVEL - i); in setAndIncrementMetrics() 1404 assertEquals(MIN_RSSI_LEVEL + i, mDecodedProto.rssiPollRssiCount[i].rssi); in assertDeserializedMetricsCorrect() 1410 <= (MAX_RSSI_LEVEL - MIN_RSSI_LEVEL + 1))); in assertDeserializedMetricsCorrect() 2581 generateRssiDelta(MIN_RSSI_LEVEL, REPEATED_DELTA, in testRssiDeltasSuccessfulLogging() 2585 generateRssiDelta(MIN_RSSI_LEVEL, SINGLE_GOOD_DELTA, in testRssiDeltasSuccessfulLogging() 2604 generateRssiDelta(MIN_RSSI_LEVEL, REPEATED_DELTA, in testRssiDeltasTimeout() 2606 generateRssiDelta(MIN_RSSI_LEVEL, SINGLE_TIMEOUT_DELTA, in testRssiDeltasTimeout() 2617 generateRssiDelta(MIN_RSSI_LEVEL, MAX_DELTA_LEVEL, in testRssiDeltaSuccessfulLoggingExactBounds() [all …]
|