Home
last modified time | relevance | path

Searched refs:containsBand (Results 1 – 7 of 7) sorted by relevance

/packages/modules/Wifi/service/java/com/android/server/wifi/util/
DApConfigUtil.java207 public static boolean containsBand(@BandType int band, @BandType int testBand) { in containsBand() method in ApConfigUtil
233 if (containsBand(apBand, SoftApConfiguration.BAND_2GHZ) in isBandSupported()
239 if (containsBand(apBand, SoftApConfiguration.BAND_5GHZ) in isBandSupported()
245 if (containsBand(apBand, SoftApConfiguration.BAND_6GHZ) in isBandSupported()
251 if (containsBand(apBand, SoftApConfiguration.BAND_60GHZ) in isBandSupported()
459 if (containsBand(apBand, DEFAULT_AP_BAND)) { in chooseApChannel()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/util/
DApConfigUtilTest.java199 assertTrue(ApConfigUtil.containsBand(SoftApConfiguration.BAND_2GHZ, in containsBandSuccess()
201 assertTrue(ApConfigUtil.containsBand(SoftApConfiguration.BAND_2GHZ in containsBandSuccess()
203 assertTrue(ApConfigUtil.containsBand(SoftApConfiguration.BAND_2GHZ in containsBandSuccess()
213 assertFalse(ApConfigUtil.containsBand(SoftApConfiguration.BAND_2GHZ in containsBandFailure()
215 assertFalse(ApConfigUtil.containsBand(SoftApConfiguration.BAND_5GHZ, in containsBandFailure()
/packages/modules/Wifi/service/java/com/android/server/wifi/scanner/
DChannelHelper.java111 public abstract boolean containsBand(int band); in containsBand() method in ChannelHelper.ChannelCollection
193 return containsBand(scanSettings.band); in containsSettings()
DKnownBandsChannelHelper.java324 public boolean containsBand(int band) { in containsBand() method in KnownBandsChannelHelper.KnownBandsChannelCollection
357 return containsBand(WIFI_BAND_ALL); in isAllChannels()
DWificondScannerImpl.java351 if (channelCollection.containsBand(1 << i)) { in getScannedBandsInternal()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DHostapdHal.java913 if (ApConfigUtil.containsBand(apBand, SoftApConfiguration.BAND_2GHZ)) { in getHalBandMask()
916 if (ApConfigUtil.containsBand(apBand, SoftApConfiguration.BAND_5GHZ)) { in getHalBandMask()
919 if (ApConfigUtil.containsBand(apBand, SoftApConfiguration.BAND_6GHZ)) { in getHalBandMask()
922 if (ApConfigUtil.containsBand(apBand, SoftApConfiguration.BAND_60GHZ)) { in getHalBandMask()
DSoftApManager.java1346 && !ApConfigUtil.containsBand(band, in updateUserBandPreferenceViolationMetricsIfNeeded()
1349 && !ApConfigUtil.containsBand(band, in updateUserBandPreferenceViolationMetricsIfNeeded()
1352 && !ApConfigUtil.containsBand(band, in updateUserBandPreferenceViolationMetricsIfNeeded()