/packages/modules/Wifi/framework/tests/src/android/net/wifi/ |
D | ScanResultTest.java | 68 2412, WifiScanner.WIFI_BAND_24_GHZ, 1, 69 2417, WifiScanner.WIFI_BAND_24_GHZ, 2, 70 2422, WifiScanner.WIFI_BAND_24_GHZ, 3, 71 2427, WifiScanner.WIFI_BAND_24_GHZ, 4, 72 2432, WifiScanner.WIFI_BAND_24_GHZ, 5, 73 2437, WifiScanner.WIFI_BAND_24_GHZ, 6, 74 2442, WifiScanner.WIFI_BAND_24_GHZ, 7, 75 2447, WifiScanner.WIFI_BAND_24_GHZ, 8, 76 2452, WifiScanner.WIFI_BAND_24_GHZ, 9, 77 2457, WifiScanner.WIFI_BAND_24_GHZ, 10, [all …]
|
D | WifiScannerTest.java | 40 import android.net.wifi.WifiScanner.PnoSettings; 41 import android.net.wifi.WifiScanner.PnoSettings.PnoNetwork; 42 import android.net.wifi.WifiScanner.ScanData; 43 import android.net.wifi.WifiScanner.ScanListener; 44 import android.net.wifi.WifiScanner.ScanSettings; 81 private WifiScanner.ParcelableScanData mParcelableScanData; 96 private WifiScanner mWifiScanner; 108 mWifiScanner = new WifiScanner(mContext, mService, mLooper.getLooper()); in setUp() 130 writeSettings.type = WifiScanner.SCAN_TYPE_LOW_POWER; in verifyScanSettingsParcelWithBand() 131 writeSettings.band = WifiScanner.WIFI_BAND_BOTH_WITH_DFS; in verifyScanSettingsParcelWithBand() [all …]
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/scanner/ |
D | BackgroundScanSchedulerTest.java | 29 import android.net.wifi.WifiScanner; 30 import android.net.wifi.WifiScanner.ScanSettings; 98 WifiScanner.WIFI_BAND_BOTH, 30000, 0, 20, in singleRequest() 99 WifiScanner.REPORT_EVENT_FULL_SCAN_RESULT in singleRequest() 115 WifiScanner.WIFI_BAND_BOTH, 7500, 0, 20, in singleRequestWithoutPredefinedBucket() 116 WifiScanner.REPORT_EVENT_FULL_SCAN_RESULT in singleRequestWithoutPredefinedBucket() 132 requests.add(createRequest(WifiScanner.WIFI_BAND_BOTH, 30000, 0, 20, in fewRequests() 133 WifiScanner.REPORT_EVENT_FULL_SCAN_RESULT)); in fewRequests() 134 requests.add(createRequest(WifiScanner.WIFI_BAND_5_GHZ_DFS_ONLY, 14000, 0, 20, in fewRequests() 135 WifiScanner.REPORT_EVENT_FULL_SCAN_RESULT)); in fewRequests() [all …]
|
D | ChannelHelperTest.java | 29 import android.net.wifi.WifiScanner; 58 WifiScanner.ScanSettings scanSettings = createRequest(WifiScanner.WIFI_BAND_BOTH, in scanSettings_band() 59 10000, 0, 20, WifiScanner.REPORT_EVENT_AFTER_EACH_SCAN); in scanSettings_band() 68 WifiScanner.ScanSettings scanSettings = createRequest(channelsToSpec(5150, 2400), in scanSettings_channels() 69 10000, 0, 20, WifiScanner.REPORT_EVENT_AFTER_EACH_SCAN); in scanSettings_channels() 78 WifiScanner.ScanSettings scanSettings = createRequest(WifiScanner.WIFI_BAND_5_GHZ, in bucketSettings_band() 79 10000, 0, 20, WifiScanner.REPORT_EVENT_AFTER_EACH_SCAN); in bucketSettings_band() 89 WifiScanner.ScanSettings scanSettings = createRequest(channelsToSpec(2400, 5100), in bucketSettings_channels() 90 10000, 0, 20, WifiScanner.REPORT_EVENT_AFTER_EACH_SCAN); in bucketSettings_channels() 101 WifiScanner.WIFI_BAND_UNSPECIFIED)); in bandToString_ShouldReturnApproapriateString() [all …]
|
D | WifiScanningServiceTest.java | 21 import static android.net.wifi.WifiScanner.GET_AVAILABLE_CHANNELS_EXTRA; 78 import android.net.wifi.WifiScanner; 143 private static final WifiScanner.ScanData PLACEHOLDER_SCAN_DATA = 144 new WifiScanner.ScanData(0, 0, new ScanResult[0]); 265 private WifiScanner.ScanSettings generateValidScanSettings() { in generateValidScanSettings() 266 return createRequest(WifiScanner.WIFI_BAND_BOTH, 30000, 0, 20, in generateValidScanSettings() 267 WifiScanner.REPORT_EVENT_AFTER_EACH_SCAN); in generateValidScanSettings() 313 private void sendBackgroundScanRequest(WifiScanner.ScanSettings settings, in sendBackgroundScanRequest() 321 private void sendSingleScanRequest(WifiScanner.ScanSettings settings, WorkSource workSource) in sendSingleScanRequest() 329 private void verifyScanResultsReceived(WifiScanner.ScanData... expected) throws Exception { in verifyScanResultsReceived() [all …]
|
D | BaseWifiScannerImplTest.java | 29 import android.net.wifi.WifiScanner; 30 import android.net.wifi.WifiScanner.ScanData; 120 .addBucketWithBand(10000 /* ms */, WifiScanner.REPORT_EVENT_AFTER_EACH_SCAN, in singleScanSuccess() 121 WifiScanner.WIFI_BAND_24_GHZ) in singleScanSuccess() 126 expectedBandScanFreqs(WifiScanner.WIFI_BAND_24_GHZ), in singleScanSuccess() 128 ScanResults.create(0, WifiScanner.WIFI_BAND_24_GHZ, in singleScanSuccess() 138 .addBucketWithChannels(20000, WifiScanner.REPORT_EVENT_AFTER_EACH_SCAN, 5650) in singleScanSuccessWithChannels() 144 ScanResults.create(0, WifiScanner.WIFI_BAND_UNSPECIFIED, in singleScanSuccessWithChannels() 151 .withType(WifiScanner.SCAN_TYPE_HIGH_ACCURACY) in singleScanSuccessWithChannelsAndHighAccuracyType() 154 .addBucketWithChannels(20000, WifiScanner.REPORT_EVENT_AFTER_EACH_SCAN, 5650) in singleScanSuccessWithChannelsAndHighAccuracyType() [all …]
|
D | ScanScheduleUtilFilterTest.java | 30 import android.net.wifi.WifiScanner; 31 import android.net.wifi.WifiScanner.ScanData; 32 import android.net.wifi.WifiScanner.ScanSettings; 63 WifiScanner.WIFI_BAND_24_GHZ, 30000, 0, 20, in reportFullResultTrueForBandsWithNoBucketInfo() 64 WifiScanner.REPORT_EVENT_FULL_SCAN_RESULT in reportFullResultTrueForBandsWithNoBucketInfo() 74 WifiScanner.WIFI_BAND_24_GHZ, 30000, 0, 20, in reportFullResultFalseForBandsWithNoBucketInfo() 75 WifiScanner.REPORT_EVENT_FULL_SCAN_RESULT in reportFullResultFalseForBandsWithNoBucketInfo() 86 WifiScanner.REPORT_EVENT_FULL_SCAN_RESULT in reportFullResultTrueForChannelsWithNoBucketInfo() 97 WifiScanner.REPORT_EVENT_FULL_SCAN_RESULT in reportFullResultFalseForChannelsWithNoBucketInfo() 108 WifiScanner.REPORT_EVENT_FULL_SCAN_RESULT in reportFullResultTrueForChannelsWithBucketDefinitlyScanned() [all …]
|
D | WificondScannerTest.java | 29 import android.net.wifi.WifiScanner; 99 .addBucketWithBand(10000 /* ms */, WifiScanner.REPORT_EVENT_AFTER_EACH_SCAN, in singleScanNotIssuedIfNoAvailableChannels() 100 WifiScanner.WIFI_BAND_5_GHZ) in singleScanNotIssuedIfNoAvailableChannels() 111 verify(eventHandler).onScanRequestFailed(eq(WifiScanner.REASON_UNSPECIFIED)); in singleScanNotIssuedIfNoAvailableChannels() 117 any())).thenReturn(WifiScanner.REASON_SUCCEEDED); in cleanupReportsFailureIfScanInProgress() 123 .addBucketWithBand(10000 /* ms */, WifiScanner.REPORT_EVENT_AFTER_EACH_SCAN, in cleanupReportsFailureIfScanInProgress() 124 WifiScanner.WIFI_BAND_5_GHZ) in cleanupReportsFailureIfScanInProgress() 131 verify(eventHandler, never()).onScanRequestFailed(eq(WifiScanner.REASON_UNSPECIFIED)); in cleanupReportsFailureIfScanInProgress() 137 verify(eventHandler).onScanRequestFailed(eq(WifiScanner.REASON_UNSPECIFIED)); in cleanupReportsFailureIfScanInProgress() 157 .addBucketWithBand(10000 /* ms */, WifiScanner.REPORT_EVENT_AFTER_EACH_SCAN, in externalScanResultsAfterOurScanDoNotCauseSpuriousTimerCancellationOrCrash() [all …]
|
D | KnownBandsChannelHelperTest.java | 30 import android.net.wifi.WifiScanner; 86 WifiScanner.ScanSettings testSettings = createRequest(channelsToSpec(2412, 2450, 5200), in fewChannels() 87 10000, 0, 20, WifiScanner.REPORT_EVENT_AFTER_EACH_SCAN); in fewChannels() 98 WifiScanner.ScanSettings testSettings = createRequest(WifiScanner.WIFI_BAND_24_GHZ, in band() 99 10000, 0, 20, WifiScanner.REPORT_EVENT_AFTER_EACH_SCAN); in band() 129 WifiScanner.ChannelSpec[][] channels = in testBand() 150 testBand(CHANNELS_24_GHZ, WifiScanner.WIFI_BAND_24_GHZ); in channels24Ghz() 158 testBand(CHANNELS_5_GHZ, WifiScanner.WIFI_BAND_5_GHZ); in channels5Ghz() 166 testBand(CHANNELS_DFS, WifiScanner.WIFI_BAND_5_GHZ_DFS_ONLY); in channelsDfs() 178 testBand(expectedChannels, WifiScanner.WIFI_BAND_BOTH); in channels24GhzAnd5Ghz() [all …]
|
/packages/modules/Wifi/service/java/com/android/server/wifi/scanner/ |
D | ChannelHelper.java | 19 import android.net.wifi.WifiScanner; 44 protected static final WifiScanner.ChannelSpec[] NO_CHANNELS = new WifiScanner.ChannelSpec[0]; 54 public abstract boolean settingsContainChannel(WifiScanner.ScanSettings settings, int channel); in settingsContainChannel() 67 public abstract WifiScanner.ChannelSpec[][] getAvailableScanChannels(int band); in getAvailableScanChannels() 81 public abstract int estimateScanDuration(WifiScanner.ScanSettings settings); in estimateScanDuration() 153 public void addChannels(WifiScanner.ScanSettings scanSettings) { in addChannels() 154 if (scanSettings.band == WifiScanner.WIFI_BAND_UNSPECIFIED) { in addChannels() 163 int band = scanSettings.band & (~WifiScanner.WIFI_BAND_6_GHZ); in addChannels() 176 if (bucketSettings.band == WifiScanner.WIFI_BAND_UNSPECIFIED) { in addChannels() 188 public boolean containsSettings(WifiScanner.ScanSettings scanSettings) { in containsSettings() [all …]
|
D | KnownBandsChannelHelper.java | 19 import static android.net.wifi.WifiScanner.WIFI_BAND_24_GHZ; 20 import static android.net.wifi.WifiScanner.WIFI_BAND_5_GHZ; 21 import static android.net.wifi.WifiScanner.WIFI_BAND_5_GHZ_DFS_ONLY; 22 import static android.net.wifi.WifiScanner.WIFI_BAND_60_GHZ; 23 import static android.net.wifi.WifiScanner.WIFI_BAND_6_GHZ; 24 import static android.net.wifi.WifiScanner.WIFI_BAND_ALL; 25 import static android.net.wifi.WifiScanner.WIFI_BAND_COUNT; 26 import static android.net.wifi.WifiScanner.WIFI_BAND_INDEX_24_GHZ; 27 import static android.net.wifi.WifiScanner.WIFI_BAND_INDEX_5_GHZ; 28 import static android.net.wifi.WifiScanner.WIFI_BAND_INDEX_5_GHZ_DFS_ONLY; [all …]
|
D | WifiScanningServiceImpl.java | 37 import android.net.wifi.WifiScanner; 38 import android.net.wifi.WifiScanner.ChannelSpec; 39 import android.net.wifi.WifiScanner.PnoSettings; 40 import android.net.wifi.WifiScanner.ScanData; 41 import android.net.wifi.WifiScanner.ScanSettings; 42 import android.net.wifi.WifiScanner.WifiBand; 173 b.putIntegerArrayList(WifiScanner.GET_AVAILABLE_CHANNELS_EXTRA, list); in getAvailableChannels() 196 int msgWhat = enable ? WifiScanner.CMD_ENABLE : WifiScanner.CMD_DISABLE; in setScanningEnabled() 232 isPrivilegedMessage(WifiScanner.CMD_REGISTER_SCAN_LISTENER), in registerScanListener() 237 notifyFailure(listener, WifiScanner.REASON_NOT_AUTHORIZED, "Not authorized"); in registerScanListener() [all …]
|
D | WifiScannerInternal.java | 23 import android.net.wifi.WifiScanner; 46 private final WifiScanner.ScanListener mScanListener; 54 public ScanListener(WifiScanner.ScanListener scanListener, WifiThreadRunner runner) { in ScanListener() 64 public WifiScanner.ScanListener getWifiScannerListener() { in getWifiScannerListener() 82 public void onResults(WifiScanner.ScanData[] scanDatas) { in onResults() 102 if (!(mScanListener instanceof WifiScanner.PnoScanListener)) { in onPnoNetworkFound() 106 WifiScanner.PnoScanListener pnoScanListener = in onPnoNetworkFound() 107 (WifiScanner.PnoScanListener) mScanListener; in onPnoNetworkFound() 134 public void startScan(WifiScanner.ScanSettings settings, ScanListener listener) { in startScan() 144 public void startScan(WifiScanner.ScanSettings settings, ScanListener listener, in startScan() [all …]
|
D | WificondChannelHelper.java | 19 import android.net.wifi.WifiScanner; 43 mWifiNative.getChannelsForBand(WifiScanner.WIFI_BAND_24_GHZ); in updateChannels() 45 int[] channels5G = mWifiNative.getChannelsForBand(WifiScanner.WIFI_BAND_5_GHZ); in updateChannels() 48 mWifiNative.getChannelsForBand(WifiScanner.WIFI_BAND_5_GHZ_DFS_ONLY); in updateChannels() 51 mWifiNative.getChannelsForBand(WifiScanner.WIFI_BAND_6_GHZ); in updateChannels() 54 mWifiNative.getChannelsForBand(WifiScanner.WIFI_BAND_60_GHZ); in updateChannels()
|
D | WificondScannerImpl.java | 22 import android.net.wifi.WifiScanner; 23 import android.net.wifi.WifiScanner.WifiBandIndex; 77 private WifiScanner.ScanData mLatestSingleScanResult = 78 new WifiScanner.ScanData(0, 0, new ScanResult[0]); 123 reportScanFailure(WifiScanner.REASON_UNSPECIFIED); in cleanup() 173 & WifiScanner.REPORT_EVENT_FULL_SCAN_RESULT) != 0) { in startSingleScan() 218 int scanStatus = WifiScanner.REASON_UNSPECIFIED; in startSingleScan() 225 if (scanStatus != WifiScanner.REASON_SUCCEEDED) { in startSingleScan() 234 if (scanStatus == WifiScanner.REASON_SUCCEEDED) { in startSingleScan() 260 public WifiScanner.ScanData getLatestSingleScanResults() { in getLatestSingleScanResults() [all …]
|
D | BackgroundScanScheduler.java | 22 import android.net.wifi.WifiScanner; 23 import android.net.wifi.WifiScanner.ScanData; 24 import android.net.wifi.WifiScanner.ScanSettings; 198 int reportEvents = WifiScanner.REPORT_EVENT_NO_BATCH; in createBucketSettings() 204 WifiScanner.ScanSettings setting = mScanSettingsList.get(i); in createBucketSettings() 206 if ((requestedReportEvents & WifiScanner.REPORT_EVENT_NO_BATCH) == 0) { in createBucketSettings() 207 reportEvents &= ~WifiScanner.REPORT_EVENT_NO_BATCH; in createBucketSettings() 209 if ((requestedReportEvents & WifiScanner.REPORT_EVENT_AFTER_EACH_SCAN) != 0) { in createBucketSettings() 210 reportEvents |= WifiScanner.REPORT_EVENT_AFTER_EACH_SCAN; in createBucketSettings() 212 if ((requestedReportEvents & WifiScanner.REPORT_EVENT_FULL_SCAN_RESULT) != 0) { in createBucketSettings() [all …]
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | ScanTestUtil.java | 26 import android.net.wifi.WifiScanner; 27 import android.net.wifi.WifiScanner.ScanData; 52 when(wifiNative.getChannelsForBand(WifiScanner.WIFI_BAND_24_GHZ)) in setupMockChannels() 54 when(wifiNative.getChannelsForBand(WifiScanner.WIFI_BAND_5_GHZ)) in setupMockChannels() 56 when(wifiNative.getChannelsForBand(WifiScanner.WIFI_BAND_5_GHZ_DFS_ONLY)) in setupMockChannels() 58 when(wifiNative.getChannelsForBand(WifiScanner.WIFI_BAND_6_GHZ)) in setupMockChannels() 60 when(wifiNative.getChannelsForBand(WifiScanner.WIFI_BAND_60_GHZ)) in setupMockChannels() 64 public static WifiScanner.ScanSettings createRequest(WifiScanner.ChannelSpec[] channels, in createRequest() 66 WifiScanner.ScanSettings request = new WifiScanner.ScanSettings(); in createRequest() 67 request.band = WifiScanner.WIFI_BAND_UNSPECIFIED; in createRequest() [all …]
|
D | WakeupControllerTest.java | 39 import android.net.wifi.WifiScanner; 91 @Mock private WifiScanner mWifiScanner; 111 private WifiScanner.ScanData[] mTestScanDatas; 133 when(mWifiNative.getChannelsForBand(WifiScanner.WIFI_BAND_5_GHZ_DFS_ONLY)) in setUp() 161 mTestScanDatas = new WifiScanner.ScanData[1]; in setUp() 162 int scanBand = WifiScanner.WIFI_BAND_ALL & ~WifiScanner.WIFI_BAND_5_GHZ_DFS_ONLY; in setUp() 163 mTestScanDatas[0] = new WifiScanner.ScanData(0 /* id */, 0 /* flags */, in setUp() 639 ArgumentCaptor<WifiScanner.ScanListener> scanListenerArgumentCaptor = in onResultsUpdatesWakeupLockForSavedNetworks() 640 ArgumentCaptor.forClass(WifiScanner.ScanListener.class); in onResultsUpdatesWakeupLockForSavedNetworks() 643 WifiScanner.ScanListener scanListener = scanListenerArgumentCaptor.getValue(); in onResultsUpdatesWakeupLockForSavedNetworks() [all …]
|
/packages/modules/Wifi/framework/api/ |
D | module-lib-lint-baseline.txt | 26 DeprecationMismatch: android.net.wifi.WifiScanner#configureWifiChange(android.net.wifi.WifiScanner.… 27 …Method android.net.wifi.WifiScanner.configureWifiChange(android.net.wifi.WifiScanner.WifiChangeSet… 28 …ecationMismatch: android.net.wifi.WifiScanner#configureWifiChange(int, int, int, int, int, android… 29 …Method android.net.wifi.WifiScanner.configureWifiChange(int, int, int, int, int, android.net.wifi.… 30 …atch: android.net.wifi.WifiScanner#startTrackingBssids(android.net.wifi.WifiScanner.BssidInfo[], i… 31 …ethod android.net.wifi.WifiScanner.startTrackingBssids(android.net.wifi.WifiScanner.BssidInfo[], i… 32 DeprecationMismatch: android.net.wifi.WifiScanner#startTrackingWifiChange(android.net.wifi.WifiScan… 33 …Method android.net.wifi.WifiScanner.startTrackingWifiChange(android.net.wifi.WifiScanner.WifiChang… 34 DeprecationMismatch: android.net.wifi.WifiScanner#stopTrackingBssids(android.net.wifi.WifiScanner.B… 35 …Method android.net.wifi.WifiScanner.stopTrackingBssids(android.net.wifi.WifiScanner.BssidListener)… [all …]
|
D | system-lint-baseline.txt | 26 DeprecationMismatch: android.net.wifi.WifiScanner#configureWifiChange(android.net.wifi.WifiScanner.… 27 …Method android.net.wifi.WifiScanner.configureWifiChange(android.net.wifi.WifiScanner.WifiChangeSet… 28 …ecationMismatch: android.net.wifi.WifiScanner#configureWifiChange(int, int, int, int, int, android… 29 …Method android.net.wifi.WifiScanner.configureWifiChange(int, int, int, int, int, android.net.wifi.… 30 …atch: android.net.wifi.WifiScanner#startTrackingBssids(android.net.wifi.WifiScanner.BssidInfo[], i… 31 …ethod android.net.wifi.WifiScanner.startTrackingBssids(android.net.wifi.WifiScanner.BssidInfo[], i… 32 DeprecationMismatch: android.net.wifi.WifiScanner#startTrackingWifiChange(android.net.wifi.WifiScan… 33 …Method android.net.wifi.WifiScanner.startTrackingWifiChange(android.net.wifi.WifiScanner.WifiChang… 34 DeprecationMismatch: android.net.wifi.WifiScanner#stopTrackingBssids(android.net.wifi.WifiScanner.B… 35 …Method android.net.wifi.WifiScanner.stopTrackingBssids(android.net.wifi.WifiScanner.BssidListener)… [all …]
|
/packages/modules/Wifi/framework/java/android/net/wifi/ |
D | WifiAnnotations.java | 38 WifiScanner.SCAN_TYPE_LOW_LATENCY, 39 WifiScanner.SCAN_TYPE_LOW_POWER, 40 WifiScanner.SCAN_TYPE_HIGH_ACCURACY}) 45 WifiScanner.WIFI_BAND_UNSPECIFIED, 46 WifiScanner.WIFI_BAND_24_GHZ, 47 WifiScanner.WIFI_BAND_5_GHZ, 48 WifiScanner.WIFI_BAND_5_GHZ_DFS_ONLY, 49 WifiScanner.WIFI_BAND_6_GHZ})
|
D | WifiScanner.aidl | 18 parcelable WifiScanner.ChannelSpec; 20 parcelable WifiScanner.ScanSettings; 22 parcelable WifiScanner.ScanData; 24 parcelable WifiScanner.PnoSettings;
|
D | IWifiScanner.aidl | 22 import android.net.wifi.WifiScanner; 45 in WifiScanner.ScanSettings settings, in WorkSource workSource, in startBackgroundScan() 53 in WifiScanner.ScanSettings settings, in WorkSource workSource, in startScan() 63 in WifiScanner.ScanSettings scanSettings, in startPnoScan() 64 in WifiScanner.PnoSettings pnoSettings, in startPnoScan()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/util/ |
D | ApConfigUtilTest.java | 55 import android.net.wifi.WifiScanner; 424 when(mWifiNative.getChannelsForBand(WifiScanner.WIFI_BAND_24_GHZ)) in chooseApChannel2GBandWithNoAllowedChannel() 442 when(mWifiNative.getChannelsForBand(WifiScanner.WIFI_BAND_24_GHZ)) in chooseApChannel2GBandWithAllowedChannels() 483 when(mWifiNative.getChannelsForBand(WifiScanner.WIFI_BAND_5_GHZ)) in chooseApChannel5GBandWithNoAllowedChannels() 497 when(mWifiNative.getChannelsForBand(WifiScanner.WIFI_BAND_24_GHZ)) in chooseApChannelWillHighBandPrefer() 501 when(mWifiNative.getChannelsForBand(WifiScanner.WIFI_BAND_5_GHZ)) in chooseApChannelWillHighBandPrefer() 520 when(mWifiNative.getChannelsForBand(WifiScanner.WIFI_BAND_24_GHZ)) in chooseApChannelWithUnsafeChannelsPreferSafe() 524 when(mWifiNative.getChannelsForBand(WifiScanner.WIFI_BAND_5_GHZ)) in chooseApChannelWithUnsafeChannelsPreferSafe() 527 new CoexUnsafeChannel(WifiScanner.WIFI_BAND_5_GHZ, 149), in chooseApChannelWithUnsafeChannelsPreferSafe() 528 new CoexUnsafeChannel(WifiScanner.WIFI_BAND_5_GHZ, 153) in chooseApChannelWithUnsafeChannelsPreferSafe() [all …]
|
/packages/apps/Test/connectivity/PMC/src/com/android/pmc/ |
D | WifiGScanReceiver.java | 10 import android.net.wifi.WifiScanner; 11 import android.net.wifi.WifiScanner.ScanData; 12 import android.net.wifi.WifiScanner.ScanSettings; 28 private WifiScanner mScan; 60 mScan = (WifiScanner) context.getSystemService(Context.WIFI_SCANNING_SERVICE); in onReceive() 143 private class WifiScanListener implements WifiScanner.ScanListener {
|