Home
last modified time | relevance | path

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

/packages/modules/Wifi/framework/java/android/net/wifi/
DWifiNetworkSpecifier.java474 @NonNull public Builder setPreferredChannelsFrequenciesMhz(@NonNull int[] channelFreqs) { in setPreferredChannelsFrequenciesMhz() argument
475 Objects.requireNonNull(channelFreqs); in setPreferredChannelsFrequenciesMhz()
476 if (!validateChannelFrequencyInMhz(channelFreqs)) { in setPreferredChannelsFrequenciesMhz()
479 mChannels = channelFreqs.clone(); in setPreferredChannelsFrequenciesMhz()
732 @NonNull int[] channelFreqs) { in WifiNetworkSpecifier() argument
741 this.mChannelFreqs = channelFreqs; in WifiNetworkSpecifier()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DScanTestUtil.java187 int[] channelFreqs = new int[channels.length]; in addBucketWithChannels() local
189 channelFreqs[i] = channels[i].frequency; in addBucketWithChannels()
191 return addBucketWithChannels(period, reportEvents, channelFreqs); in addBucketWithChannels()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiNetworkFactory.java1586 int[] channelFreqs = wns.getPreferredChannelFrequenciesMhz(); in startPeriodicScans() local
1587 if (channelFreqs.length > 0) { in startPeriodicScans()
1589 mScanSettings.channels = new WifiScanner.ChannelSpec[channelFreqs.length]; in startPeriodicScans()
1590 for (int freq : channelFreqs) { in startPeriodicScans()