Home
last modified time | relevance | path

Searched refs:MIN_RSSI_LEVEL (Results 1 – 3 of 3) sorted by relevance

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DCarrierNetworkNotifierTest.java74 private static final int MIN_RSSI_LEVEL = -127; field in CarrierNetworkNotifierTest
114 mDummyNetwork.level = MIN_RSSI_LEVEL; in setUp()
313 mDummyNetwork.level = MIN_RSSI_LEVEL + 1; in screenOff_notificationShowing_handleScanResults_recommendationCanBeUpdated()
750 scanResults.get(0).getScanResult().level = MIN_RSSI_LEVEL; in onlyNetworkIsRecommended()
761 scanResults.get(0).getScanResult().level = MIN_RSSI_LEVEL; in networkWithHighestRssiIsRecommended()
762 scanResults.get(1).getScanResult().level = MIN_RSSI_LEVEL + 1; in networkWithHighestRssiIsRecommended()
778 scanResults.get(0).getScanResult().level = MIN_RSSI_LEVEL + 1; in blacklistBestNetworkSsid_shouldNeverRecommendNetwork()
779 scanResults.get(1).getScanResult().level = MIN_RSSI_LEVEL; in blacklistBestNetworkSsid_shouldNeverRecommendNetwork()
DOpenNetworkNotifierTest.java74 private static final int MIN_RSSI_LEVEL = -127; field in OpenNetworkNotifierTest
113 mDummyNetwork.level = MIN_RSSI_LEVEL; in setUp()
312 mDummyNetwork.level = MIN_RSSI_LEVEL + 1; in screenOff_notificationShowing_handleScanResults_recommendationCanBeUpdated()
744 scanResults.get(0).getScanResult().level = MIN_RSSI_LEVEL; in onlyNetworkIsRecommended()
755 scanResults.get(0).getScanResult().level = MIN_RSSI_LEVEL; in networkWithHighestRssiIsRecommended()
756 scanResults.get(1).getScanResult().level = MIN_RSSI_LEVEL + 1; in networkWithHighestRssiIsRecommended()
773 scanResults.get(0).getScanResult().level = MIN_RSSI_LEVEL + 1; in blacklistBestNetworkSsid_shouldNeverRecommendNetwork()
774 scanResults.get(1).getScanResult().level = MIN_RSSI_LEVEL; in blacklistBestNetworkSsid_shouldNeverRecommendNetwork()
DWifiMetricsTest.java341 private static final int MIN_RSSI_LEVEL = -127; field in WifiMetricsTest
662 mWifiMetrics.incrementRssiPollRssiCount(RSSI_POLL_FREQUENCY, MIN_RSSI_LEVEL + i); in setAndIncrementMetrics()
666 mWifiMetrics.incrementRssiPollRssiCount(RSSI_POLL_FREQUENCY, MIN_RSSI_LEVEL - i); in setAndIncrementMetrics()
1028 assertEquals(MIN_RSSI_LEVEL + i, mDecodedProto.rssiPollRssiCount[i].rssi); in assertDeserializedMetricsCorrect()
1034 <= (MAX_RSSI_LEVEL - MIN_RSSI_LEVEL + 1))); in assertDeserializedMetricsCorrect()
1659 generateRssiDelta(MIN_RSSI_LEVEL, REPEATED_DELTA, in testRssiDeltasSuccessfulLogging()
1663 generateRssiDelta(MIN_RSSI_LEVEL, SINGLE_GOOD_DELTA, in testRssiDeltasSuccessfulLogging()
1682 generateRssiDelta(MIN_RSSI_LEVEL, REPEATED_DELTA, in testRssiDeltasTimeout()
1684 generateRssiDelta(MIN_RSSI_LEVEL, SINGLE_TIMEOUT_DELTA, in testRssiDeltasTimeout()
1695 generateRssiDelta(MIN_RSSI_LEVEL, MAX_DELTA_LEVEL, in testRssiDeltaSuccessfulLoggingExactBounds()
[all …]