Home
last modified time | relevance | path

Searched refs:channelCollection (Results 1 – 3 of 3) sorted by relevance

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/
DWificondScannerImpl.java352 private static int getBandScanned(ChannelCollection channelCollection) { in getBandScanned() argument
353 if (channelCollection.containsBand(WifiScanner.WIFI_BAND_BOTH_WITH_DFS)) { in getBandScanned()
355 } else if (channelCollection.containsBand(WifiScanner.WIFI_BAND_BOTH)) { in getBandScanned()
357 } else if (channelCollection.containsBand(WifiScanner.WIFI_BAND_5_GHZ_WITH_DFS)) { in getBandScanned()
359 } else if (channelCollection.containsBand(WifiScanner.WIFI_BAND_5_GHZ)) { in getBandScanned()
361 } else if (channelCollection.containsBand(WifiScanner.WIFI_BAND_5_GHZ_DFS_ONLY)) { in getBandScanned()
363 } else if (channelCollection.containsBand(WifiScanner.WIFI_BAND_24_GHZ)) { in getBandScanned()
DBackgroundScanScheduler.java818 ChannelCollection channelCollection = originalBucket.getChannelCollection(); in fixBuckets() local
819 Set<Integer> channelSet = channelCollection.getChannelSet(); in fixBuckets()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/
DWificondScannerTest.java73 ChannelCollection channelCollection = mock(ChannelCollection.class); in singleScanNotIssuedIfNoAvailableChannels() local
74 when(channelHelper.createChannelCollection()).thenReturn(channelCollection); in singleScanNotIssuedIfNoAvailableChannels()
75 when(channelCollection.isEmpty()).thenReturn(true); in singleScanNotIssuedIfNoAvailableChannels()