Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/wifi/repository/
DWifiHotspotRepository.java102 protected SapBand mBand5g = new SapBand(WifiScanner.WIFI_BAND_5_GHZ_WITH_DFS); field in WifiHotspotRepository
400 if (!mBand5g.isUsableChannelsReady && is5GHzBandSupported()) { in is5gAvailable()
401 isChannelAvailable(mBand5g); in is5gAvailable()
403 return mBand5g.isAvailable(); in is5gAvailable()
534 mBand5g.isUsableChannelsReady = false; in purgeRefreshData()
618 if (mBand5g.isUsableChannelsUnsupported) { in updateCapabilityChanged()
620 log("updateCapabilityChanged(), " + mBand5g); in updateCapabilityChanged()
626 if (mBand5g.isUsableChannelsUnsupported || mBand6g.isUsableChannelsUnsupported) { in updateCapabilityChanged()
655 mBand5g.hasCapability = softApCapability.getSupportedChannelList(BAND_5GHZ).length > 0; in onCapabilityChanged()
/packages/apps/Settings/tests/unit/src/com/android/settings/wifi/repository/
DWifiHotspotRepositoryTest.java121 mRepository.mBand5g.isUsableChannelsReady = true; in setUp()
122 mRepository.mBand5g.isUsableChannelsUnsupported = false; in setUp()
123 mRepository.mBand5g.hasUsableChannels = true; in setUp()
385 mRepository.mBand5g.hasUsableChannels = false; in updateSpeedType_singleBand5gPreferredBut5gUnavailable_get2gSpeedType()
423 mRepository.mBand5g.hasUsableChannels = false; in updateSpeedType_singleBand6gPreferredBut5gAnd6gUnavailable_get2gSpeedType()
449 mRepository.mBand5g.hasUsableChannels = false; in updateSpeedType_dualBand2gAnd5gBut5gUnavailable_get2gSpeedType()
568 mRepository.mBand5g.isUsableChannelsReady = false; in is5gAvailable_hasUsableChannels_returnTrue()
577 mRepository.mBand5g.isUsableChannelsReady = false; in is5gAvailable_noUsableChannels_returnFalse()
588 mRepository.mBand5g.isUsableChannelsReady = false; in get5gAvailable_shouldNotReturnNull()
749 mRepository.mBand5g.isUsableChannelsUnsupported = true; in updateCapabilityChanged_band5gUsableChannelsUnsupported_update5gAvailable()