/frameworks/base/wifi/tests/src/android/net/wifi/ |
D | ScanResultTest.java | 66 ScanResult writeScanResult = createScanResult(); in verifyScanResultParcelWithoutRadioChainInfo() 76 ScanResult writeScanResult = createScanResult(); in verifyScanResultParcelWithZeroRadioChainInfo() 87 ScanResult writeScanResult = createScanResult(); in verifyScanResultParcelWithRadioChainInfo() 104 ScanResult scanResult = createScanResult(); in verifyScanResultCopyWithoutRadioChainInfo() 114 ScanResult scanResult = createScanResult(); in verifyScanResultCopyWithRadioChainInfo() 131 ScanResult scanResult = createScanResult(); in verifyScanResultToStringWithoutRadioChainInfo() 145 ScanResult scanResult = createScanResult(); in verifyScanResultToStringWithRadioChainInfo() 172 private static ScanResult createScanResult() { in createScanResult() method in ScanResultTest
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/ |
D | ScanScheduleUtilFilterTest.java | 22 import static com.android.server.wifi.ScanTestUtil.createScanResult; 64 createScanResult(2400), 0, settings, -1)); in reportFullResultTrueForBandsWithNoBucketInfo() 75 createScanResult(5150), 0, settings, 0)); in reportFullResultFalseForBandsWithNoBucketInfo() 86 createScanResult(2400), 0, settings, 0)); in reportFullResultTrueForChannelsWithNoBucketInfo() 97 createScanResult(5175), 0, settings, 0)); in reportFullResultFalseForChannelsWithNoBucketInfo() 108 createScanResult(2400), 5, settings, 2)); in reportFullResultTrueForChannelsWithBucketDefinitlyScanned() 119 createScanResult(2400), 1, settings, 1)); in reportFullResultFalseForChannelsWithBucketDefinitlyNotScanned()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
D | NetworkScoreServiceTest.java | 177 mScanResults.add(createScanResult(SSID, SCORED_NETWORK.networkKey.wifiKey.bssid)); in populateScanResults() 178 mScanResults.add(createScanResult(SSID_2, SCORED_NETWORK_2.networkKey.wifiKey.bssid)); in populateScanResults() 179 mScanResults.add(createScanResult(SSID_3, "10:10:00:00:10:10")); in populateScanResults() 182 private ScanResult createScanResult(String ssid, String bssid) { in createScanResult() method in NetworkScoreServiceTest 796 createScanResult("", SCORED_NETWORK.networkKey.wifiKey.bssid), in testScanResultsScoreCacheFilter_invalidScanResults() 797 createScanResult(WifiManager.UNKNOWN_SSID, SCORED_NETWORK.networkKey.wifiKey.bssid), in testScanResultsScoreCacheFilter_invalidScanResults() 798 createScanResult(SSID, null), in testScanResultsScoreCacheFilter_invalidScanResults() 799 createScanResult(SSID, INVALID_BSSID) in testScanResultsScoreCacheFilter_invalidScanResults()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/wifi/ |
D | WifiUtilsTest.java | 154 ScanResult scanResult = createScanResult(TEST_SSID, "bssid-" + i, i); in buildScanResultCache() 160 private static ScanResult createScanResult(String ssid, String bssid, int rssi) { in createScanResult() method in WifiUtilsTest
|
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/ |
D | AccessPointTest.java | 111 private ScanResult createScanResult(String ssid, String bssid, int rssi) { in createScanResult() method in AccessPointTest 632 ScanResult scanResult = createScanResult(ssid, "bssid-" + i, i); 1076 createScanResult(TEST_SSID, "11:11:11:11:11:11", DEFAULT_RSSI); in testSpeedLabelFallbackScoreIgnoresNullCurves() 1080 createScanResult(TEST_SSID, bssid, DEFAULT_RSSI); in testSpeedLabelFallbackScoreIgnoresNullCurves() 1302 ScanResult scanResult = createScanResult(TEST_SSID, TEST_BSSID, DEFAULT_RSSI); in testGetKey_supportSaeTransitionMode_shouldGetSaeKey() 1321 ScanResult scanResult = createScanResult(TEST_SSID, TEST_BSSID, DEFAULT_RSSI); in testGetKey_notSupportSaeTransitionMode_shouldGetPskKey() 1394 ScanResult badScanResult = createScanResult(badSsid, TEST_BSSID, -100); in testPasspointAccessPoint_setsBestSsid() 1395 ScanResult goodScanResult = createScanResult(goodSsid, TEST_BSSID, -10); in testPasspointAccessPoint_setsBestSsid() 1396 ScanResult bestScanResult = createScanResult(bestSsid, TEST_BSSID, -1); in testPasspointAccessPoint_setsBestSsid() 1644 ScanResult saeScanResult = createScanResult(AccessPoint.removeDoubleQuotes(TEST_SSID), in testMatches3_transitionModeApMatchesNotTransitionModeAp_shouldMatchCorrectly() [all …]
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | ScanTestUtil.java | 253 public static ScanResult createScanResult(int freq) { in createScanResult() method in ScanTestUtil 261 results[i] = createScanResult(freqs[i]); in createScanData()
|