Searched refs:GOOD_RSSI (Results 1 – 2 of 2) sorted by relevance
/frameworks/opt/net/wifi/libs/WifiTrackerLib/tests/src/com/android/wifitrackerlib/ |
D | StandardWifiEntryTest.java | 86 public static final int GOOD_RSSI = -50; field in StandardWifiEntryTest 130 when(mMockWifiManager.calculateSignalLevel(GOOD_RSSI)) in setUp() 154 buildScanResult("ssid0", "bssid0", 0, GOOD_RSSI), in testConstructor_mismatchedSsids_throwsException() 155 buildScanResult("ssid1", "bssid1", 0, GOOD_RSSI)), in testConstructor_mismatchedSsids_throwsException() 171 buildScanResult("ssid", "bssid0", 0, GOOD_RSSI), in testConstructor_scanResults_setsBestLevel() 185 final ScanResult unsecureScan = buildScanResult("ssid", "bssid", 0, GOOD_RSSI); in testConstructor_targetingNewSecurity_scanResultsSetSecurity() 186 final ScanResult secureScan = buildScanResult("ssid", "bssid", 0, GOOD_RSSI); in testConstructor_targetingNewSecurity_scanResultsSetSecurity() 211 null, Arrays.asList(buildScanResult("ssid0", "bssid0", 0, GOOD_RSSI)), in testUpdateScanResultInfo_mismatchedSsids_throwsException() 216 buildScanResult("ssid1", "bssid1", 0, GOOD_RSSI))); in testUpdateScanResultInfo_mismatchedSsids_throwsException() 252 entry.updateScanResultInfo(Arrays.asList(buildScanResult("ssid", "bssid", 0, GOOD_RSSI))); in testUpdateScanResultInfo_updatesLevel() [all …]
|
D | PasspointWifiEntryTest.java | 59 public static final int GOOD_RSSI = -50; field in PasspointWifiEntryTest 312 when(mMockScoredNetwork.calculateBadge(GOOD_RSSI)).thenReturn(SPEED_FAST); in testGetSpeed_cacheUpdated_speedValueChanges() 319 Collections.singletonList(buildScanResult("ssid", "bssid0", 0, GOOD_RSSI)), in testGetSpeed_cacheUpdated_speedValueChanges() 322 when(mMockScoredNetwork.calculateBadge(GOOD_RSSI)).thenReturn(SPEED_SLOW); in testGetSpeed_cacheUpdated_speedValueChanges() 331 when(mMockScoredNetwork.calculateBadge(GOOD_RSSI)).thenReturn(SPEED_FAST); in testGetSpeed_connected_useWifiInfoRssiForSpeed() 343 Collections.singletonList(buildScanResult("ssid", "bssid0", 0, GOOD_RSSI)), in testGetSpeed_connected_useWifiInfoRssiForSpeed() 354 when(mMockScoredNetwork.calculateBadge(GOOD_RSSI)).thenReturn(SPEED_FAST); in testGetSpeed_newScanResults_speedValueChanges() 361 Collections.singletonList(buildScanResult("ssid", "bssid0", 0, GOOD_RSSI)), in testGetSpeed_newScanResults_speedValueChanges()
|