/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...] |
SupplicantWifiScannerTest.java | 418 order.verify(eventHandler).onScanPaused(new WifiScanner.ScanData[0]); 470 order.verify(eventHandler).onScanPaused(new WifiScanner.ScanData[0]); 545 order.verify(eventHandler).onScanPaused(new WifiScanner.ScanData[0]); 594 WifiScanner.ScanData[] scanDatas = null; 603 new WifiScanner.ScanData[period.getResultsToBeDelivered().length]; 623 WifiScanner.ScanData[] expectedScanResults,
|
BaseWifiScannerImplTest.java | 29 import android.net.wifi.WifiScanner.ScanData; 415 ScanData scanData = new ScanData(0, 0, 445 assertScanDataEquals(scanData, mScanner.getLatestSingleScanResults());
|
SupplicantPnoScannerTest.java | 371 WifiScanner.ScanData[] scanData = mScanner.getLatestBatchedScanResults(true); 372 WifiScanner.ScanData lastScanData = scanData[scanData.length -1];
|
WifiScanningServiceTest.java | 160 WifiScanner.ScanData... expected) { 166 private static void assertScanResultsMessage(int listenerId, WifiScanner.ScanData[] expected, 249 new WifiScanner.ScanData[] {results2.getScanData()}, 253 new WifiScanner.ScanData[] {results1.getScanData()}, 258 new WifiScanner.ScanData[] {listenerResults.getScanData()}, 263 new WifiScanner.ScanData[] {results1.getScanData()}, 267 new WifiScanner.ScanData[] {results2.getScanData()}, 272 new WifiScanner.ScanData[] {listenerResults.getScanData()}, [all...] |
/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 | 98 public abstract WifiScanner.ScanData getLatestSingleScanResults(); 128 public abstract WifiScanner.ScanData[] getLatestBatchedScanResults(boolean flush);
|
HalWifiScannerImpl.java | 80 public WifiScanner.ScanData getLatestSingleScanResults() { 111 public WifiScanner.ScanData[] getLatestBatchedScanResults(boolean flush) {
|
SupplicantWifiScannerImpl.java | 88 private WifiScanner.ScanData mLatestSingleScanResult = 89 new WifiScanner.ScanData(0, 0, new ScanResult[0]); 212 public WifiScanner.ScanData getLatestSingleScanResults() { 292 WifiScanner.ScanData[] results = getLatestBatchedScanResults(/* flush = */ true); 582 mBackgroundScanBuffer.add(new WifiScanner.ScanData(mLastScanSettings.scanId, 0, 627 mLatestSingleScanResult = new WifiScanner.ScanData(mLastScanSettings.scanId, 0, 648 public WifiScanner.ScanData[] getLatestBatchedScanResults(boolean flush) { 650 WifiScanner.ScanData[] results = mBackgroundScanBuffer.get(); [all...] |
WifiScanningServiceImpl.java | 34 import android.net.wifi.WifiScanner.ScanData; 484 public void onScanPaused(ScanData[] scanData) { [all...] |
BackgroundScanScheduler.java | 23 import android.net.wifi.WifiScanner.ScanData; 415 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 176 mRawScanData = new ScanData(id, 0, sortedScanResults); 182 mScanData = new ScanData(id, 0, reducedScanResults) [all...] |
ScanTestUtil.java | 25 import android.net.wifi.WifiScanner.ScanData; 215 private static ScanData createScanData(int[] freqs, int bucketsScanned) { 220 return new ScanData(0, 0, bucketsScanned, results); 223 public static ScanData[] createScanDatas(int[][] freqs, int[] bucketsScanned) { 225 ScanData[] data = new ScanData[freqs.length]; 232 public static ScanData[] createScanDatas(int[][] freqs) { 270 private static void assertScanDataEquals(String prefix, ScanData expected, ScanData actual) { 271 assertNotNull(prefix + "expected ScanData was null", expected) [all...] |
WifiConnectivityManagerTest.java | 140 final WifiScanner.ScanData[] scanDatas = new WifiScanner.ScanData[1]; [all...] |
/frameworks/base/wifi/java/android/net/wifi/ |
WifiScanner.java | 275 public static class ScanData implements Parcelable { 292 ScanData() {} 294 public ScanData(int id, int flags, ScanResult[] results) { 301 public ScanData(int id, int flags, int bucketsScanned, ScanResult[] results) { 308 public ScanData(ScanData s) { 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) [all...] |
/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 | 275 public void onResults(WifiScanner.ScanData[] results) { 324 public void onResults(WifiScanner.ScanData[] results) { 406 public void onResults(WifiScanner.ScanData[] results) { 470 public void onResults(WifiScanner.ScanData[] results) { [all...] |
WifiNative.java | [all...] |
WifiStateMachine.java | [all...] |
/external/sl4a/Common/src/com/googlecode/android_scripting/jsonrpc/ |
JsonBuilder.java | 60 import android.net.wifi.WifiScanner.ScanData; 178 if (data instanceof ScanData) { 179 return buildJsonScanData((ScanData) data); 618 private static JSONObject buildJsonScanData(ScanData scanData) 621 result.put("Id", scanData.getId()); 622 result.put("Flags", scanData.getFlags()); 624 for (ScanResult sr : scanData.getResults()) { [all...] |
/frameworks/base/ |
compiled-classes-phone | [all...] |
/prebuilts/sdk/system_current/ |
android.jar | |