Home
last modified time | relevance | path

Searched refs:isSpeedFeatureAvailable (Results 1 – 9 of 9) sorted by relevance

/packages/apps/Settings/src/com/android/settings/wifi/tether/
DWifiTetherSettings.java153 setupSpeedFeature(mWifiTetherViewModel.isSpeedFeatureAvailable()); in onCreate()
160 void setupSpeedFeature(boolean isSpeedFeatureAvailable) { in setupSpeedFeature() argument
166 mWifiHotspotSecurity.setVisible(isSpeedFeatureAvailable); in setupSpeedFeature()
167 mWifiHotspotSpeed.setVisible(isSpeedFeatureAvailable); in setupSpeedFeature()
168 if (isSpeedFeatureAvailable) { in setupSpeedFeature()
320 mWifiTetherViewModel.isSpeedFeatureAvailable() in buildNewConfig()
328 if (!mWifiTetherViewModel.isSpeedFeatureAvailable()) { in buildNewConfig()
DWifiTetherViewModel.java125 public boolean isSpeedFeatureAvailable() { in isSpeedFeatureAvailable() method in WifiTetherViewModel
126 return mWifiHotspotRepository.isSpeedFeatureAvailable(); in isSpeedFeatureAvailable()
DWifiTetherAutoOffPreferenceController.java43 if (wifiHotspotRepository.isSpeedFeatureAvailable() && wifiHotspotRepository.isDualBand()) { in WifiTetherAutoOffPreferenceController()
DWifiTetherMaximizeCompatibilityPreferenceController.java48 .getWifiFeatureProvider().getWifiHotspotRepository().isSpeedFeatureAvailable(); in WifiTetherMaximizeCompatibilityPreferenceController()
DWifiTetherSecurityPreferenceController.java56 .getWifiFeatureProvider().getWifiHotspotRepository().isSpeedFeatureAvailable(); in WifiTetherSecurityPreferenceController()
/packages/apps/Settings/tests/unit/src/com/android/settings/wifi/tether/
DWifiTetherViewModelTest.java159 mViewModel.isSpeedFeatureAvailable(); in isSpeedFeatureAvailable_verifyRepositoryIsCalled()
161 verify(mWifiHotspotRepository).isSpeedFeatureAvailable(); in isSpeedFeatureAvailable_verifyRepositoryIsCalled()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/tether/
DWifiTetherSettingsTest.java160 when(mWifiTetherViewModel.isSpeedFeatureAvailable()).thenReturn(false); in setUp()
456 when(mWifiTetherViewModel.isSpeedFeatureAvailable()).thenReturn(true); in buildNewConfig_speedFeatureIsAvailableAndPasswordChanged_bandShouldNotBeLost()
471 when(mWifiTetherViewModel.isSpeedFeatureAvailable()).thenReturn(false); in buildNewConfig_securityTypeChangeToOpen_setSecurityTypeCorrectly()
/packages/apps/Settings/tests/unit/src/com/android/settings/wifi/repository/
DWifiHotspotRepositoryTest.java641 assertThat(mRepository.isSpeedFeatureAvailable()).isFalse(); in isSpeedFeatureAvailable_configNotShow_returnFalse()
649 assertThat(mRepository.isSpeedFeatureAvailable()).isFalse(); in isSpeedFeatureAvailable_5gBandNotSupported_returnFalse()
657 assertThat(mRepository.isSpeedFeatureAvailable()).isTrue(); in isSpeedFeatureAvailable_conditionsAreReady_returnTrue()
/packages/apps/Settings/src/com/android/settings/wifi/repository/
DWifiHotspotRepository.java509 public boolean isSpeedFeatureAvailable() { in isSpeedFeatureAvailable() method in WifiHotspotRepository