Searched refs:channelSet (Results 1 – 4 of 4) sorted by relevance
/packages/modules/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 …]
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | WifiConnectivityManager.java | 1523 private boolean addChannelFromWifiScoreCard(@NonNull Set<Integer> channelSet, in addChannelFromWifiScoreCard() argument 1527 if (maxCount > 0 && channelSet.size() >= maxCount) { in addChannelFromWifiScoreCard() 1532 channelSet.add(channel); in addChannelFromWifiScoreCard() 1548 Set<Integer> channelSet = new HashSet<>(); in fetchChannelSetForNetworkForPartialScan() local 1552 channelSet.add(wifiInfo.getFrequency()); in fetchChannelSetForNetworkForPartialScan() 1555 addChannelFromWifiScoreCard(channelSet, config, maxNumActiveChannelsForPartialScans, in fetchChannelSetForNetworkForPartialScan() 1557 return channelSet; in fetchChannelSetForNetworkForPartialScan() 1573 Set<Integer> channelSet = new HashSet<>(); in fetchChannelSetForPartialScan() local 1576 if (!addChannelFromWifiScoreCard(channelSet, config, maxCount, ageInMillis)) { in fetchChannelSetForPartialScan() 1577 return channelSet; in fetchChannelSetForPartialScan() [all …]
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/scanner/ |
D | BackgroundScanSchedulerTest.java | 731 Set<Integer> channelSet = getAllChannels(settings); in assertSettingsSatisfied() local 817 + channelSet + ", Channel ignore reasons:" + ignoreString.toString(), in assertSettingsSatisfied() 818 scheduleChannels.getAllChannels().containsAll(channelSet)); in assertSettingsSatisfied() 826 private void assertChannels(Set<Integer> channelSet, Set<Integer> expectedChannelSet) { in assertChannels() argument 827 assertTrue("expected that " + channelSet + " contained " in assertChannels() 828 + expectedChannelSet, channelSet.containsAll(expectedChannelSet)); in assertChannels()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/coex/ |
D | CoexUtils.java | 520 Set<Integer> channelSet = new HashSet<>(); in getIntermodCoexUnsafeChannels() local 523 channelSet.add(channel); in getIntermodCoexUnsafeChannels() 526 channelSet.addAll(CHANNEL_SET_5_GHZ); in getIntermodCoexUnsafeChannels() 529 for (int channel : channelSet) { in getIntermodCoexUnsafeChannels()
|