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 | WifiConnectivityManager.java | 1006 private boolean addChannelFromWifiScoreCard(@NonNull Set<Integer> channelSet, in addChannelFromWifiScoreCard() argument 1010 if (maxCount > 0 && channelSet.size() >= maxCount) { in addChannelFromWifiScoreCard() 1015 channelSet.add(channel); in addChannelFromWifiScoreCard() 1031 Set<Integer> channelSet = new HashSet<>(); in fetchChannelSetForNetworkForPartialScan() local 1034 channelSet.add(mWifiInfo.getFrequency()); in fetchChannelSetForNetworkForPartialScan() 1037 addChannelFromWifiScoreCard(channelSet, config, maxNumActiveChannelsForPartialScans, in fetchChannelSetForNetworkForPartialScan() 1039 return channelSet; in fetchChannelSetForNetworkForPartialScan() 1055 Set<Integer> channelSet = new HashSet<>(); in fetchChannelSetForPartialScan() local 1058 if (!addChannelFromWifiScoreCard(channelSet, config, maxCount, ageInMillis)) { in fetchChannelSetForPartialScan() 1059 return channelSet; in fetchChannelSetForPartialScan() [all …]
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/ |
D | BackgroundScanSchedulerTest.java | 729 Set<Integer> channelSet = getAllChannels(settings); in assertSettingsSatisfied() local 815 + channelSet + ", Channel ignore reasons:" + ignoreString.toString(), in assertSettingsSatisfied() 816 scheduleChannels.getAllChannels().containsAll(channelSet)); in assertSettingsSatisfied() 824 private void assertChannels(Set<Integer> channelSet, Set<Integer> expectedChannelSet) { in assertChannels() argument 825 assertTrue("expected that " + channelSet + " contained " in assertChannels() 826 + expectedChannelSet, channelSet.containsAll(expectedChannelSet)); in assertChannels()
|