Home
last modified time | relevance | path

Searched refs:ScanResults (Results 1 – 8 of 8) sorted by relevance

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DScanResults.java38 public class ScanResults { class
44 private ScanResults(ArrayList<ScanDetail> scanDetails, ScanData scanData, in ScanResults() method in ScanResults
55 public static ScanResults merge(int bandScanned, ScanResults... others) { in merge()
59 for (ScanResults other : others) { in merge()
66 return new ScanResults(scanDetails, new ScanData(id, 0, 0, bandScanned, scanDataResults in merge()
156 public static ScanResults create(int id, int bandScanned, int... freqs) { in create()
160 public static ScanResults create(int id, int bandScanned, in create()
162 return new ScanResults(id, bandScanned, -1, nativeResults); in create()
170 public static ScanResults createOverflowing(int id, int bandScanned, int maxResults, in createOverflowing()
172 return new ScanResults(id, bandScanned, maxResults, nativeResults); in createOverflowing()
[all …]
DWifiNetworkSelectorTestUtil.java246 ScanResults.generateIERawDatafromScanResultIE(ies)); in buildScanDetailsWithNetworkDetails()
DClientModeImplTest.java316 ie[0] = ScanResults.generateSsidIe(sSSID); in getGoogleGuestScanDetail()
321 ie, new ArrayList<String>(), ScanResults.generateIERawDatafromScanResultIE(ie)); in getGoogleGuestScanDetail()
327 ScanResults sr = ScanResults.create(0, 2412, 2437, 2462, 5180, 5220, 5745, 5825); in getMockScanResults()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/
DWifiScanningServiceTest.java85 import com.android.server.wifi.ScanResults;
346 int requestId1, ScanResults results1, int requestId2, ScanResults results2, in verifyMultipleSingleScanResults()
347 int listenerRequestId, ScanResults listenerResults) { in verifyMultipleSingleScanResults()
386 int requestId1, ScanResults results1, int requestId2, ScanResults results2) { in verifyMultipleSingleScanResults()
635 WifiNative.ScanSettings nativeSettings, @NonNull ScanResults resultsForImpl0) in doSuccessfulSingleScan()
641 WifiNative.ScanSettings nativeSettings, @NonNull ScanResults resultsForImpl0, in doSuccessfulSingleScanOnImpls()
642 @Nullable ScanResults resultsForImpl1) throws RemoteException { in doSuccessfulSingleScanOnImpls()
681 ScanResults expectedResults = resultsForImpl0; in doSuccessfulSingleScanOnImpls()
683 expectedResults = ScanResults.merge( in doSuccessfulSingleScanOnImpls()
704 ScanResults.create(0, WifiScanner.WIFI_BAND_BOTH_WITH_DFS, 2412, 5160, 5175)); in sendSingleScanBandRequest()
[all …]
DBaseWifiScannerImplTest.java41 import com.android.server.wifi.ScanResults;
124 ScanResults.create(0, WifiScanner.WIFI_BAND_24_GHZ, in singleScanSuccess()
138 ScanResults.create(0, WifiScanner.WIFI_BAND_UNSPECIFIED, in singleScanSuccessWithChannels()
153 ScanResults.create(0, WifiScanner.WIFI_BAND_UNSPECIFIED, in singleScanSuccessWithChannelsAndHighAccuracyType()
170 ScanResults.create(0, WifiScanner.WIFI_BAND_24_GHZ, in singleScanSuccessWithFullResults()
194 ScanResults.create(0, WifiScanner.WIFI_BAND_UNSPECIFIED, in singleScanSuccessWithHiddenNetworkIds()
223 ScanResults.create(0, WifiScanner.WIFI_BAND_UNSPECIFIED, in singleScanSuccessWithTruncatedHiddenNetworkIds()
390 ScanResults.create(0, WifiScanner.WIFI_BAND_24_GHZ, in multipleSingleScanSuccess()
399 ScanResults.create(0, WifiScanner.WIFI_BAND_BOTH_WITH_DFS, in multipleSingleScanSuccess()
442 Collections.sort(scanDataResults, ScanResults.SCAN_RESULT_RSSI_COMPARATOR); in singleScanWhereSupplicantReturnsSomeOldResults()
[all …]
DWificondPnoScannerTest.java36 import com.android.server.wifi.ScanResults;
100 ScanResults scanResults = createDummyScanResults(); in startHwDisconnectedPnoScan()
157 ScanResults scanResults = createDummyScanResults(); in ignoreHwDisconnectedPnoScanStopFailure()
196 private ScanResults createDummyScanResults() { in createDummyScanResults()
197 return ScanResults.create(0, WifiScanner.WIFI_BAND_UNSPECIFIED, 2400, 2450, 2450, 2400, in createDummyScanResults()
235 ScanResults scanResults) { in expectSuccessfulHwDisconnectedPnoScan()
DWificondScannerTest.java32 import com.android.server.wifi.ScanResults;
131 ScanResults.create(0, WifiScanner.WIFI_BAND_24_GHZ, in externalScanResultsAfterOurScanDoNotCauseSpuriousTimerCancellationOrCrash()
219 ScanResults.generateNativeResults(0, 5150, 5171))); in testDumpWithCorrectFormatWithScanResult()
/frameworks/opt/net/wifi/service/proto/src/
Dmetrics.proto281 // Histogram counting instances of scans with N many ScanResults with unique ssids
284 // Histogram counting instances of scans with N many ScanResults/bssids
305 …// Histogram counting instances of scans with N many ScanResults matching unique saved passpoint p…
308 …// Histogram counting instances of scans with N many ScanResults BSSIDs matching a saved passpoint…