Searched refs:channelSet (Results 1 – 3 of 3) sorted by relevance
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/ |
D | BackgroundScanScheduler.java | 757 ArraySet<Integer> channelSet = new ArraySet<>(); in partitionChannelSet() local 761 channelSet.add(iterChannels.next()); in partitionChannelSet() 762 if (channelSet.size() == maxChannelsPerBucket) { in partitionChannelSet() 763 channelSetList.add(channelSet); in partitionChannelSet() 764 channelSet = new ArraySet<>(); in partitionChannelSet() 768 if (!channelSet.isEmpty()) { in partitionChannelSet() 769 channelSetList.add(channelSet); in partitionChannelSet() 786 for (Set<Integer> channelSet : channelSets) { in createSplitBuckets() 797 for (Integer channel : channelSet) { in createSplitBuckets() 819 Set<Integer> channelSet = channelCollection.getChannelSet(); in fixBuckets() local [all …]
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiConfigManager.java | 2525 Set<Integer> channelSet, ScanDetailCache scanDetailCache, in addToChannelSetForNetworkFromScanDetailCache() argument 2537 channelSet.add(result.frequency); in addToChannelSetForNetworkFromScanDetailCache() 2539 if (channelSet.size() >= maxChannelSetSize) { in addToChannelSetForNetworkFromScanDetailCache() 2585 Set<Integer> channelSet = new HashSet<>(); in fetchChannelSetForNetworkForPartialScan() local 2589 channelSet.add(homeChannelFreq); in fetchChannelSetForNetworkForPartialScan() 2590 if (channelSet.size() >= mMaxNumActiveChannelsForPartialScans) { in fetchChannelSetForNetworkForPartialScan() 2591 return channelSet; in fetchChannelSetForNetworkForPartialScan() 2599 channelSet, scanDetailCache, nowInMillis, ageInMillis, in fetchChannelSetForNetworkForPartialScan() 2601 return channelSet; in fetchChannelSetForNetworkForPartialScan() 2614 channelSet, linkedScanDetailCache, nowInMillis, ageInMillis, in fetchChannelSetForNetworkForPartialScan() [all …]
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/ |
D | BackgroundScanSchedulerTest.java | 727 Set<Integer> channelSet = getAllChannels(settings); in assertSettingsSatisfied() local 813 + channelSet + ", Channel ignore reasons:" + ignoreString.toString(), in assertSettingsSatisfied() 814 scheduleChannels.getAllChannels().containsAll(channelSet)); in assertSettingsSatisfied() 822 private void assertChannels(Set<Integer> channelSet, Set<Integer> expectedChannelSet) { in assertChannels() argument 823 assertTrue("expected that " + channelSet + " contained " in assertChannels() 824 + expectedChannelSet, channelSet.containsAll(expectedChannelSet)); in assertChannels()
|