Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/wifi/repository/
DWifiHotspotRepository.java479 sapBand.isUsableChannelsUnsupported = false; in isChannelAvailable()
483 sapBand.isUsableChannelsUnsupported = true; in isChannelAvailable()
488 sapBand.isUsableChannelsUnsupported = true; in isChannelAvailable()
618 if (mBand5g.isUsableChannelsUnsupported) { in updateCapabilityChanged()
622 if (mBand6g.isUsableChannelsUnsupported) { in updateCapabilityChanged()
626 if (mBand5g.isUsableChannelsUnsupported || mBand6g.isUsableChannelsUnsupported) { in updateCapabilityChanged()
681 public boolean isUsableChannelsUnsupported; field in WifiHotspotRepository.SapBand
692 return isUsableChannelsUnsupported ? hasCapability : hasUsableChannels; in isAvailable()
702 + ",isUsableChannelsUnsupported:" + isUsableChannelsUnsupported in toString()
/packages/apps/Settings/tests/unit/src/com/android/settings/wifi/repository/
DWifiHotspotRepositoryTest.java122 mRepository.mBand5g.isUsableChannelsUnsupported = false; in setUp()
125 mRepository.mBand6g.isUsableChannelsUnsupported = false; in setUp()
668 assertThat(mRepository.mBand6g.isUsableChannelsUnsupported).isTrue(); in isChannelAvailable_throwIllegalArgumentException_hasUsableChannelsFalse()
679 assertThat(mRepository.mBand6g.isUsableChannelsUnsupported).isTrue(); in isChannelAvailable_throwUnsupportedOperationException_hasUsableChannelsFalse()
687 assertThat(mRepository.mBand6g.isUsableChannelsUnsupported).isFalse(); in isChannelAvailable_noExceptionAndHasUsableChannels_hasUsableChannelsTrue()
749 mRepository.mBand5g.isUsableChannelsUnsupported = true; in updateCapabilityChanged_band5gUsableChannelsUnsupported_update5gAvailable()
760 mRepository.mBand6g.isUsableChannelsUnsupported = true; in updateCapabilityChanged_band6gUsableChannelsUnsupported_update5gAvailable()
770 mRepository.mBand6g.isUsableChannelsUnsupported = false; in isAvailable_isUsableChannelsUnsupportedFalse_returnHasUsableChannels()
779 mRepository.mBand6g.isUsableChannelsUnsupported = true; in isAvailable_isUsableChannelsUnsupportedTrue_returnHasCapability()