Home
last modified time | relevance | path

Searched refs:mBand6g (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Settings/tests/unit/src/com/android/settings/wifi/repository/
DWifiHotspotRepositoryTest.java124 mRepository.mBand6g.isUsableChannelsReady = true; in setUp()
125 mRepository.mBand6g.isUsableChannelsUnsupported = false; in setUp()
126 mRepository.mBand6g.hasUsableChannels = true; in setUp()
410 mRepository.mBand6g.hasUsableChannels = false; in updateSpeedType_singleBand6gPreferredBut6gUnavailable_get5gSpeedType()
424 mRepository.mBand6g.hasUsableChannels = false; in updateSpeedType_singleBand6gPreferredBut5gAnd6gUnavailable_get2gSpeedType()
612 mRepository.mBand6g.isUsableChannelsReady = false; in is6gAvailable_hasUsableChannels_returnTrue()
621 mRepository.mBand6g.isUsableChannelsReady = false; in is6gAvailable_noUsableChannels_returnFalse()
665 mRepository.isChannelAvailable(mRepository.mBand6g); in isChannelAvailable_throwIllegalArgumentException_hasUsableChannelsFalse()
667 assertThat(mRepository.mBand6g.hasUsableChannels).isFalse(); in isChannelAvailable_throwIllegalArgumentException_hasUsableChannelsFalse()
668 assertThat(mRepository.mBand6g.isUsableChannelsUnsupported).isTrue(); in isChannelAvailable_throwIllegalArgumentException_hasUsableChannelsFalse()
[all …]
/packages/apps/Settings/src/com/android/settings/wifi/repository/
DWifiHotspotRepository.java105 protected SapBand mBand6g = new SapBand(WifiScanner.WIFI_BAND_6_GHZ); field in WifiHotspotRepository
442 if (!mBand6g.isUsableChannelsReady && is6GHzBandSupported()) { in is6gAvailable()
443 isChannelAvailable(mBand6g); in is6gAvailable()
445 return mBand6g.isAvailable(); in is6gAvailable()
535 mBand6g.isUsableChannelsReady = false; in purgeRefreshData()
622 if (mBand6g.isUsableChannelsUnsupported) { in updateCapabilityChanged()
624 log("updateCapabilityChanged(), " + mBand6g); in updateCapabilityChanged()
626 if (mBand5g.isUsableChannelsUnsupported || mBand6g.isUsableChannelsUnsupported) { in updateCapabilityChanged()
656 mBand6g.hasCapability = softApCapability.getSupportedChannelList(BAND_6GHZ).length > 0; in onCapabilityChanged()