Home
last modified time | relevance | path

Searched refs:is5GHzBandSupported (Results 1 – 16 of 16) sorted by relevance

/packages/apps/Settings/src/com/android/settings/wifi/repository/
DWifiHotspotRepository.java386 public boolean is5GHzBandSupported() { in is5GHzBandSupported() method in WifiHotspotRepository
388 mIs5gBandSupported = mWifiManager.is5GHzBandSupported(); in is5GHzBandSupported()
400 if (!mBand5g.isUsableChannelsReady && is5GHzBandSupported()) { in is5gAvailable()
522 if (!is5GHzBandSupported()) { in isSpeedFeatureAvailable()
/packages/apps/Settings/tests/unit/src/com/android/settings/wifi/repository/
DWifiHotspotRepositoryTest.java110 doReturn(true).when(mWifiManager).is5GHzBandSupported(); in setUp()
553 when(mWifiManager.is5GHzBandSupported()).thenReturn(true); in is5GHzBandSupported_resultSameAsWifiManager()
555 assertThat(mRepository.is5GHzBandSupported()).isTrue(); in is5GHzBandSupported_resultSameAsWifiManager()
559 when(mWifiManager.is5GHzBandSupported()).thenReturn(false); in is5GHzBandSupported_resultSameAsWifiManager()
561 assertThat(mRepository.is5GHzBandSupported()).isFalse(); in is5GHzBandSupported_resultSameAsWifiManager()
/packages/apps/Settings/tests/unit/src/com/android/settings/wifi/tether/
DWifiTetherMaximizeCompatibilityPreferenceControllerTest.java94 doReturn(false).when(mWifiManager).is5GHzBandSupported(); in updateDisplay_notSupport5GHzBand_setPreferenceDisabled()
132 doReturn(true).when(mWifiManager).is5GHzBandSupported(); in updateDisplay_supported5GHzBandAndCountryCodeIsNotNull_setPreferenceEnabled()
DWifiHotspotSpeedViewModelTest.java81 when(mWifiHotspotRepository.is5GHzBandSupported()).thenReturn(true); in setUp()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DCarProjectionServiceTest.java540 when(mWifiManager.is5GHzBandSupported()).thenReturn(true); in startProjectionTetheredAccessPoint_ensure2GhzAnd5GhzAdded()
576 when(mWifiManager.is5GHzBandSupported()).thenReturn(true); in startProjectionTetheredAccessPoint_ensureNotCalled2Ghz5Ghz()
602 when(mWifiManager.is5GHzBandSupported()).thenReturn(true); in startProjectionTetheredAccessPoint_ensureNotCalled5Ghz()
629 when(mWifiManager.is5GHzBandSupported()).thenReturn(true); in startProjectionTetheredAccessPoint_ensure5GhzOnlyNoConcurrency()
/packages/apps/Settings/src/com/android/settings/wifi/tether/
DWifiTetherMaximizeCompatibilityPreferenceController.java94 if (!mWifiManager.is5GHzBandSupported() || mWifiManager.getCountryCode() == null) { in is5GhzBandSupported()
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/
DCarWifiManager.java201 return mWifiManager.is5GHzBandSupported(); in is5GhzBandSupported()
/packages/modules/Wifi/framework/java/android/net/wifi/
DIWifiManager.aidl199 boolean is5GHzBandSupported(); in is5GHzBandSupported() method
DBaseWifiService.java360 public boolean is5GHzBandSupported() { in is5GHzBandSupported() method in BaseWifiService
DWifiManager.java4248 public boolean is5GHzBandSupported() { in is5GHzBandSupported() method in WifiManager
4250 return mService.is5GHzBandSupported(); in is5GHzBandSupported()
/packages/services/Car/service/src/com/android/car/
DCarProjectionService.java1067 if (!mWifiManager.is5GHzBandSupported()) return; // Not an error, but nothing to do. in ensureApConfiguration()
/packages/modules/Wifi/framework/tests/src/android/net/wifi/
DWifiManagerTest.java2938 when(mWifiService.is5GHzBandSupported()).thenReturn(true); in testIs5GHzBandSupported()
2939 assertTrue(mWifiManager.is5GHzBandSupported()); in testIs5GHzBandSupported()
2940 verify(mWifiService).is5GHzBandSupported(); in testIs5GHzBandSupported()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiShellCommand.java748 && !mWifiService.is5GHzBandSupported()) in onCommand()
DWifiServiceImpl.java5033 public boolean is5GHzBandSupported() {
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiServiceImplTest.java2470 assertTrue(mWifiServiceImpl.is5GHzBandSupported()); in testIsWifiBandSupported5gWithOverride()
2502 assertFalse(mWifiServiceImpl.is5GHzBandSupported()); in testIsWifiBandSupported5gNoOverrideNoChannels()
2524 assertTrue(mWifiServiceImpl.is5GHzBandSupported()); in testIsWifiBandSupported5gNoOverrideWithChannels()
/packages/modules/Wifi/framework/api/
Dcurrent.txt476 method public boolean is5GHzBandSupported();