Home
last modified time | relevance | path

Searched refs:ScanData (Results 1 – 20 of 20) sorted by relevance

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/
DScanScheduleUtilFilterTest.java31 import android.net.wifi.WifiScanner.ScanData;
128 ScanData[] results = ScanScheduleUtil.filterResultsForSettings(mChannelHelper, in filterScanDataEmptyWithNoBucketInfo()
129 new ScanData[0], settings, -1); in filterScanDataEmptyWithNoBucketInfo()
140 ScanData[] results = ScanScheduleUtil.filterResultsForSettings(mChannelHelper, in filterScanDataSingleNotMatchingWithNoBucketInfo()
152 ScanData[] results = ScanScheduleUtil.filterResultsForSettings(mChannelHelper, in filterScanDataSingleNotMatchingWithDefinitlyScannedBucketIndex()
164 ScanData[] results = ScanScheduleUtil.filterResultsForSettings(mChannelHelper, in filterScanDataSingleNotMatchingWithBucketDefinitlyScanned()
176 ScanData[] results = ScanScheduleUtil.filterResultsForSettings(mChannelHelper, in filterScanDataSingleMatchingWithNoBucketInfo()
189 ScanData[] results = ScanScheduleUtil.filterResultsForSettings(mChannelHelper, in filterScanDataSingleMatchingWithBucketDefinitlyNotScanned()
202 ScanData[] results = ScanScheduleUtil.filterResultsForSettings(mChannelHelper, in filterScanDataSinglePartialMatchingWithNoBucketInfo()
215 ScanData[] results = ScanScheduleUtil.filterResultsForSettings(mChannelHelper, in filterScanDataMultipleNotMatchingWithNoBucketInfo()
[all …]
DSupplicantWifiScannerTest.java418 order.verify(eventHandler).onScanPaused(new WifiScanner.ScanData[0]); in pauseWhileWaitingToStartNextScanAndResumeScan()
470 order.verify(eventHandler).onScanPaused(new WifiScanner.ScanData[0]); in pauseWhileScanningAndResumeScan()
545 order.verify(eventHandler).onScanPaused(new WifiScanner.ScanData[0]); in pauseWhileWaitingToStartNextScanAndStartNewScan()
594 WifiScanner.ScanData[] scanDatas = null; in expectSuccessfulBackgroundScan()
603 new WifiScanner.ScanData[period.getResultsToBeDelivered().length]; in expectSuccessfulBackgroundScan()
623 WifiScanner.ScanData[] expectedScanResults, in expectSuccessfulBackgroundScan()
DWifiScanningServiceTest.java159 WifiScanner.ScanData... expected) { in verifyScanResultsRecieved()
165 private void assertScanResultsMessage(int listenerId, WifiScanner.ScanData[] expected, in assertScanResultsMessage()
789 new WifiScanner.ScanData[] {results2.getScanData()}, in sendMultipleSingleScanRequestWhilePreviousScanRunning()
793 new WifiScanner.ScanData[] {results3.getScanData()}, in sendMultipleSingleScanRequestWhilePreviousScanRunning()
798 new WifiScanner.ScanData[] {results3.getScanData()}, in sendMultipleSingleScanRequestWhilePreviousScanRunning()
802 new WifiScanner.ScanData[] {results2.getScanData()}, in sendMultipleSingleScanRequestWhilePreviousScanRunning()
993 WifiScanner.ScanData[] scanDatas = new WifiScanner.ScanData[1]; in expectSuccessfulBackgroundScan()
DBaseWifiScannerImplTest.java29 import android.net.wifi.WifiScanner.ScanData;
415 ScanData scanData = new ScanData(0, 0, in singleScanWhereSupplicantReturnsSomeOldResults()
DSupplicantPnoScannerTest.java371 WifiScanner.ScanData[] scanData = mScanner.getLatestBatchedScanResults(true); in expectSuccessfulSwPnoScan()
372 WifiScanner.ScanData lastScanData = scanData[scanData.length -1]; in expectSuccessfulSwPnoScan()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DScanResults.java20 import android.net.wifi.WifiScanner.ScanData;
39 private final ScanData mScanData;
40 private final ScanData mRawScanData;
43 private ScanResults(ArrayList<ScanDetail> scanDetails, ScanData scanData, in ScanResults()
65 return new ScanResults(scanDetails, new ScanData(id, 0, scanDataResults in merge()
176 mRawScanData = new ScanData(id, 0, sortedScanResults); in ScanResults()
182 mScanData = new ScanData(id, 0, reducedScanResults); in ScanResults()
190 public ScanData getScanData() { in getScanData()
198 public ScanData getRawScanData() { in getRawScanData()
DScanTestUtil.java25 import android.net.wifi.WifiScanner.ScanData;
215 private static ScanData createScanData(int[] freqs, int bucketsScanned) { in createScanData()
220 return new ScanData(0, 0, bucketsScanned, results); in createScanData()
223 public static ScanData[] createScanDatas(int[][] freqs, int[] bucketsScanned) { in createScanDatas()
225 ScanData[] data = new ScanData[freqs.length]; in createScanDatas()
232 public static ScanData[] createScanDatas(int[][] freqs) { in createScanDatas()
270 private static void assertScanDataEquals(String prefix, ScanData expected, ScanData actual) { in assertScanDataEquals()
278 public static void assertScanDataEquals(ScanData expected, ScanData actual) { in assertScanDataEquals()
282 … public static void assertScanDatasEquals(String prefix, ScanData[] expected, ScanData[] actual) { in assertScanDatasEquals()
291 public static void assertScanDatasEquals(ScanData[] expected, ScanData[] actual) { in assertScanDatasEquals()
DWifiConnectivityManagerTest.java134 final WifiScanner.ScanData[] scanDatas = new WifiScanner.ScanData[1]; in mockWifiScanner()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/
DScanScheduleUtil.java21 import android.net.wifi.WifiScanner.ScanData;
152 public static ScanData[] filterResultsForSettings(ChannelHelper channelHelper, in filterResultsForSettings()
153 ScanData[] scanDatas, ScanSettings settings, int scheduledBucket) { in filterResultsForSettings()
154 List<ScanData> filteredScanDatas = new ArrayList<>(scanDatas.length); in filterResultsForSettings()
156 for (ScanData scanData : scanDatas) { in filterResultsForSettings()
176 filteredScanDatas.add(new ScanData(scanData.getId(), in filterResultsForSettings()
186 return filteredScanDatas.toArray(new ScanData[filteredScanDatas.size()]); in filterResultsForSettings()
DSupplicantWifiScannerImpl.java88 private WifiScanner.ScanData mLatestSingleScanResult =
89 new WifiScanner.ScanData(0, 0, new ScanResult[0]);
212 public WifiScanner.ScanData getLatestSingleScanResults() { in getLatestSingleScanResults()
292 WifiScanner.ScanData[] results = getLatestBatchedScanResults(/* flush = */ true); in pauseBatchedScan()
582 mBackgroundScanBuffer.add(new WifiScanner.ScanData(mLastScanSettings.scanId, 0, in pollLatestScanData()
627 mLatestSingleScanResult = new WifiScanner.ScanData(mLastScanSettings.scanId, 0, in pollLatestScanData()
648 public WifiScanner.ScanData[] getLatestBatchedScanResults(boolean flush) { in getLatestBatchedScanResults()
650 WifiScanner.ScanData[] results = mBackgroundScanBuffer.get(); in getLatestBatchedScanResults()
830 private final ArrayDeque<WifiScanner.ScanData> mBuffer;
850 public void add(WifiScanner.ScanData scanData) { in add()
[all …]
DWifiScannerImpl.java98 public abstract WifiScanner.ScanData getLatestSingleScanResults(); in getLatestSingleScanResults()
128 public abstract WifiScanner.ScanData[] getLatestBatchedScanResults(boolean flush); in getLatestBatchedScanResults()
DHalWifiScannerImpl.java80 public WifiScanner.ScanData getLatestSingleScanResults() { in getLatestSingleScanResults()
111 public WifiScanner.ScanData[] getLatestBatchedScanResults(boolean flush) { in getLatestBatchedScanResults()
DWifiScanningServiceImpl.java34 import android.net.wifi.WifiScanner.ScanData;
473 public void onScanPaused(ScanData[] scanData) { in onScanPaused()
750 void reportScanResults(ScanData results) { in reportScanResults()
759 ScanData[] resultsArray = new ScanData[] {results}; in reportScanResults()
760 ScanData[] resultsToDeliver = ScanScheduleUtil.filterResultsForSettings( in reportScanResults()
838 public void onScanPaused(ScanData scanData[]) { in onScanPaused()
998 reportScanResults((ScanData[]) msg.obj); in processMessage()
1181 private void reportScanResults(ScanData[] results) { in reportScanResults()
1182 for (ScanData result : results) { in reportScanResults()
1195 ScanData[] resultsToDeliver = in reportScanResults()
[all …]
DBackgroundScanScheduler.java23 import android.net.wifi.WifiScanner.ScanData;
415 public @Nullable ScanData[] filterResultsForSettings(@NonNull ScanData[] scanDatas, in filterResultsForSettings()
/frameworks/base/wifi/java/android/net/wifi/
DWifiScanner.java275 public static class ScanData implements Parcelable { class in WifiScanner
292 ScanData() {} in ScanData() method in WifiScanner.ScanData
294 public ScanData(int id, int flags, ScanResult[] results) { in ScanData() method in WifiScanner.ScanData
301 public ScanData(int id, int flags, int bucketsScanned, ScanResult[] results) { in ScanData() method in WifiScanner.ScanData
308 public ScanData(ScanData s) { in ScanData() method in WifiScanner.ScanData
359 public static final Creator<ScanData> CREATOR =
360 new Creator<ScanData>() {
361 public ScanData createFromParcel(Parcel in) {
370 return new ScanData(id, flags, bucketsScanned, results);
373 public ScanData[] newArray(int size) {
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiConnectivityManager.java277 public void onResults(WifiScanner.ScanData[] results) { in onResults()
344 public void onResults(WifiScanner.ScanData[] results) { in onResults()
436 public void onResults(WifiScanner.ScanData[] results) { in onResults()
DWifiNative.java1664 private static native WifiScanner.ScanData[] getScanResultsNative(int iface, boolean flush); in getScanResultsNative()
1748 void onScanPaused(WifiScanner.ScanData[] data); in onScanPaused()
1947 WifiScanner.ScanData scanData[] = getScanResultsNative(sWlan0Index, true); in pauseScan()
1975 public WifiScanner.ScanData[] getScanResults(boolean flush) { in getScanResults()
1977 WifiScanner.ScanData[] sd = null; in getScanResults()
1985 return new WifiScanner.ScanData[0]; in getScanResults()
DWifiStateMachine.java1703 public void onResults(WifiScanner.ScanData[] results) { in startScanNative()
/frameworks/base/
Dcompiled-classes-phone2872 android.net.wifi.WifiScanner$ScanData
2873 android.net.wifi.WifiScanner$ScanData$1
/frameworks/base/api/
Dsystem-current.txt26965 ctor public WifiScanner.ParcelableScanData(android.net.wifi.WifiScanner.ScanData[]);
26967 method public android.net.wifi.WifiScanner.ScanData[] getResults();
26969 field public android.net.wifi.WifiScanner.ScanData[] mResults;
26980 public static class WifiScanner.ScanData implements android.os.Parcelable {
26981 ctor public WifiScanner.ScanData(int, int, android.net.wifi.ScanResult[]);
26982 ctor public WifiScanner.ScanData(android.net.wifi.WifiScanner.ScanData);
26993 method public abstract void onResults(android.net.wifi.WifiScanner.ScanData[]);