Home
last modified time | relevance | path

Searched refs:isBandValid (Results 1 – 5 of 5) sorted by relevance

/packages/modules/Wifi/service/java/com/android/server/wifi/util/
DApConfigUtil.java268 public static boolean isBandValid(@BandType int band) { in isBandValid() method in ApConfigUtil
302 if (!isBandValid(apBand)) { in isBandSupported()
470 if (!isBandValid(band) || isMultiband(band)) { in getAvailableChannelFreqsForBand()
531 if (!isBandValid(apBand)) { in chooseApChannel()
676 if (isBandValid(availableBand)) { in removeUnavailableBandsFromConfig()
/packages/modules/Wifi/framework/java/android/net/wifi/
DSoftApConfiguration.java142 private static boolean isBandValid(@BandType int band) { in isBandValid() method in SoftApConfiguration
1668 if (!isBandValid(band)) { in setBand()
1710 if (!isBandValid(val)) { in setBands()
1819 if (!isBandValid(band)) { in setChannels()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/util/
DApConfigUtilTest.java353 assertTrue(ApConfigUtil.isBandValid(SoftApConfiguration.BAND_2GHZ)); in isBandValidSuccess()
354 assertTrue(ApConfigUtil.isBandValid(SoftApConfiguration.BAND_2GHZ in isBandValidSuccess()
356 assertTrue(ApConfigUtil.isBandValid(SoftApConfiguration.BAND_2GHZ in isBandValidSuccess()
365 assertFalse(ApConfigUtil.isBandValid(0)); in isBandValidFailure()
366 assertFalse(ApConfigUtil.isBandValid(SoftApConfiguration.BAND_2GHZ in isBandValidFailure()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DHostapdHalHidlImp.java961 if (!ApConfigUtil.isBandValid(apBand)) { in getHalBandMask()
982 if (!ApConfigUtil.isBandValid(apBand)) { in getHalBand()
1065 if (!ApConfigUtil.isBandValid(band) || ApConfigUtil.isMultiband(band)) { in toAcsFreqRanges()
DHostapdHalAidlImp.java637 if (!ApConfigUtil.isBandValid(apBand)) { in getHalBandMask()
683 if (!ApConfigUtil.isBandValid(band) || ApConfigUtil.isMultiband(band)) { in toAcsFreqRanges()