/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/ |
ScanScheduleUtilFilterTest.java | 31 import android.net.wifi.WifiScanner.ScanData; 128 ScanData[] results = ScanScheduleUtil.filterResultsForSettings(mChannelHelper, 129 new ScanData[0], settings, -1); 140 ScanData[] results = ScanScheduleUtil.filterResultsForSettings(mChannelHelper, 152 ScanData[] results = ScanScheduleUtil.filterResultsForSettings(mChannelHelper, 164 ScanData[] results = ScanScheduleUtil.filterResultsForSettings(mChannelHelper, 176 ScanData[] results = ScanScheduleUtil.filterResultsForSettings(mChannelHelper, 189 ScanData[] results = ScanScheduleUtil.filterResultsForSettings(mChannelHelper, 202 ScanData[] results = ScanScheduleUtil.filterResultsForSettings(mChannelHelper, 215 ScanData[] results = ScanScheduleUtil.filterResultsForSettings(mChannelHelper [all...] |
WificondScannerTest.java | 417 order.verify(eventHandler).onScanPaused(new WifiScanner.ScanData[0]); 469 order.verify(eventHandler).onScanPaused(new WifiScanner.ScanData[0]); 544 order.verify(eventHandler).onScanPaused(new WifiScanner.ScanData[0]); 593 WifiScanner.ScanData[] scanDatas = null; 602 new WifiScanner.ScanData[period.getResultsToBeDelivered().length]; 622 WifiScanner.ScanData[] expectedScanResults,
|
BaseWifiScannerImplTest.java | 30 import android.net.wifi.WifiScanner.ScanData; 430 ScanData scanData = new ScanData(0, 0, 0, 461 assertScanDataEquals(scanData, mScanner.getLatestSingleScanResults());
|
WifiScanningServiceTest.java | 177 WifiScanner.ScanData... expected) { 183 private static void assertScanResultsMessage(int listenerId, WifiScanner.ScanData[] expected, 266 new WifiScanner.ScanData[] {results2.getScanData()}, 270 new WifiScanner.ScanData[] {results1.getScanData()}, 275 new WifiScanner.ScanData[] {listenerResults.getScanData()}, 280 new WifiScanner.ScanData[] {results1.getScanData()}, 284 new WifiScanner.ScanData[] {results2.getScanData()}, 289 new WifiScanner.ScanData[] {listenerResults.getScanData()}, [all...] |
WificondPnoScannerTest.java | 488 WifiScanner.ScanData[] scanData = mScanner.getLatestBatchedScanResults(true); 489 WifiScanner.ScanData lastScanData = scanData[scanData.length - 1];
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/ |
ScanScheduleUtil.java | 21 import android.net.wifi.WifiScanner.ScanData; 144 * If a ScanData indicates that the bucket the settings were placed in was scanned then it 148 * ScanData will be included if the scan was empty or there was at least one scan result that 152 public static ScanData[] filterResultsForSettings(ChannelHelper channelHelper, 153 ScanData[] scanDatas, ScanSettings settings, int scheduledBucket) { 154 List<ScanData> filteredScanDatas = new ArrayList<>(scanDatas.length); 156 for (ScanData scanData : scanDatas) { 157 // only report ScanData if the settings bucket could have been scanned 158 if (isBucketMaybeScanned(scheduledBucket, scanData.getBucketsScanned())) [all...] |
WifiScannerImpl.java | 102 public abstract WifiScanner.ScanData getLatestSingleScanResults(); 132 public abstract WifiScanner.ScanData[] getLatestBatchedScanResults(boolean flush);
|
HalWifiScannerImpl.java | 83 public WifiScanner.ScanData getLatestSingleScanResults() { 114 public WifiScanner.ScanData[] getLatestBatchedScanResults(boolean flush) {
|
WificondScannerImpl.java | 84 private WifiScanner.ScanData mLatestSingleScanResult = 85 new WifiScanner.ScanData(0, 0, new ScanResult[0]); 203 public WifiScanner.ScanData getLatestSingleScanResults() { 283 WifiScanner.ScanData[] results = getLatestBatchedScanResults(/* flush = */ true); 645 mBackgroundScanBuffer.add(new WifiScanner.ScanData(mLastScanSettings.scanId, 0, 678 mLatestSingleScanResult = new WifiScanner.ScanData(mLastScanSettings.scanId, 0, 0, 691 public WifiScanner.ScanData[] getLatestBatchedScanResults(boolean flush) { 693 WifiScanner.ScanData[] results = mBackgroundScanBuffer.get(); [all...] |
WifiScanningServiceImpl.java | 32 import android.net.wifi.WifiScanner.ScanData; 510 public void onScanPaused(ScanData[] scanData) { [all...] |
BackgroundScanScheduler.java | 23 import android.net.wifi.WifiScanner.ScanData; 414 public @Nullable ScanData[] filterResultsForSettings(@NonNull ScanData[] scanDatas, [all...] |
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
ScanResults.java | 20 import android.net.wifi.WifiScanner.ScanData; 39 private final ScanData mScanData; 40 private final ScanData mRawScanData; 43 private ScanResults(ArrayList<ScanDetail> scanDetails, ScanData scanData, 46 mScanData = scanData; 47 mRawScanData = scanData; 65 return new ScanResults(scanDetails, new ScanData(id, 0, scanDataResults 185 mRawScanData = new ScanData(id, 0, 0, allChannelsScanned, sortedScanResults); 191 mScanData = new ScanData(id, 0, 0, allChannelsScanned, reducedScanResults) [all...] |
ScanTestUtil.java | 25 import android.net.wifi.WifiScanner.ScanData; 219 private static ScanData createScanData(int[] freqs, int bucketsScanned) { 224 return new ScanData(0, 0, bucketsScanned, false, results); 227 public static ScanData[] createScanDatas(int[][] freqs, int[] bucketsScanned) { 229 ScanData[] data = new ScanData[freqs.length]; 236 public static ScanData[] createScanDatas(int[][] freqs) { 278 private static void assertScanDataEquals(String prefix, ScanData expected, ScanData actual) { 279 assertNotNull(prefix + "expected ScanData was null", expected) [all...] |
WifiConnectivityManagerTest.java | 39 import android.net.wifi.WifiScanner.ScanData; 113 private ScanData mScanData; 161 ScanData mockScanData() { 162 ScanData scanData = mock(ScanData.class); 164 when(scanData.isAllChannelsScanned()).thenReturn(true); 166 return scanData; 176 ScanData[] scanDatas = new ScanData[1] [all...] |
WifiVendorHalTest.java | [all...] |
/frameworks/base/wifi/java/android/net/wifi/ |
WifiScanner.java | 303 public static class ScanData implements Parcelable { 326 ScanData() {} 328 public ScanData(int id, int flags, ScanResult[] results) { 335 public ScanData(int id, int flags, int bucketsScanned, boolean allChannelsScanned, 344 public ScanData(ScanData s) { 402 public static final Creator<ScanData> CREATOR = 403 new Creator<ScanData>() { 404 public ScanData createFromParcel(Parcel in) { 414 return new ScanData(id, flags, bucketsScanned, allChannelsScanned, results) [all...] |
/packages/apps/Test/connectivity/PMC/src/com/android/pmc/ |
WifiGScanReceiver.java | 11 import android.net.wifi.WifiScanner.ScanData; 169 public void onResults(ScanData[] results) {
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/wifi/ |
WifiScannerFacade.java | 45 import android.net.wifi.WifiScanner.ScanData; 69 private static ConcurrentHashMap<Integer, ScanData[]> wifiScannerDataList; 81 wifiScannerDataList = new ConcurrentHashMap<Integer, ScanData[]>(); 212 public void onResults(ScanData[] results) {
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
WifiConnectivityManager.java | 303 public void onResults(WifiScanner.ScanData[] results) { 394 public void onResults(WifiScanner.ScanData[] results) { 453 public void onResults(WifiScanner.ScanData[] results) { [all...] |
WifiVendorHal.java | 477 public WifiScanner.ScanData[] latestScanResults = null; 675 public WifiScanner.ScanData[] getBgScanResults() { [all...] |
WifiNative.java | [all...] |
WifiStateMachine.java | [all...] |
/external/sl4a/Common/src/com/googlecode/android_scripting/jsonrpc/ |
JsonBuilder.java | 69 import android.net.wifi.WifiScanner.ScanData; 179 if (data instanceof ScanData) { 180 return buildJsonScanData((ScanData) data); 620 private static JSONObject buildJsonScanData(ScanData scanData) 623 result.put("Id", scanData.getId()); 624 result.put("Flags", scanData.getFlags()); 626 for (ScanResult sr : scanData.getResults()) { [all...] |
/frameworks/base/ |
compiled-classes-phone | [all...] |