Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/unit/src/com/android/settings/wifi/repository/
DWifiHotspotRepositoryTest.java123 mRepository.mBand5g.hasUsableChannels = true; in setUp()
126 mRepository.mBand6g.hasUsableChannels = true; in setUp()
385 mRepository.mBand5g.hasUsableChannels = false; in updateSpeedType_singleBand5gPreferredBut5gUnavailable_get2gSpeedType()
410 mRepository.mBand6g.hasUsableChannels = false; in updateSpeedType_singleBand6gPreferredBut6gUnavailable_get5gSpeedType()
423 mRepository.mBand5g.hasUsableChannels = false; in updateSpeedType_singleBand6gPreferredBut5gAnd6gUnavailable_get2gSpeedType()
424 mRepository.mBand6g.hasUsableChannels = false; in updateSpeedType_singleBand6gPreferredBut5gAnd6gUnavailable_get2gSpeedType()
449 mRepository.mBand5g.hasUsableChannels = false; in updateSpeedType_dualBand2gAnd5gBut5gUnavailable_get2gSpeedType()
667 assertThat(mRepository.mBand6g.hasUsableChannels).isFalse(); in isChannelAvailable_throwIllegalArgumentException_hasUsableChannelsFalse()
678 assertThat(mRepository.mBand6g.hasUsableChannels).isFalse(); in isChannelAvailable_throwUnsupportedOperationException_hasUsableChannelsFalse()
686 assertThat(mRepository.mBand6g.hasUsableChannels).isTrue(); in isChannelAvailable_noExceptionAndHasUsableChannels_hasUsableChannelsTrue()
[all …]
/packages/apps/Settings/src/com/android/settings/wifi/repository/
DWifiHotspotRepository.java478 sapBand.hasUsableChannels = (channels != null && channels.size() > 0); in isChannelAvailable()
482 sapBand.hasUsableChannels = false; in isChannelAvailable()
487 sapBand.hasUsableChannels = false; in isChannelAvailable()
680 public boolean hasUsableChannels; field in WifiHotspotRepository.SapBand
692 return isUsableChannelsUnsupported ? hasCapability : hasUsableChannels; in isAvailable()
701 + ",hasUsableChannels:" + hasUsableChannels in toString()