Home
last modified time | relevance | path

Searched refs:SPEED_5GHZ (Results 1 – 8 of 8) sorted by relevance

/packages/apps/Settings/tests/unit/src/com/android/settings/wifi/tether/
DWifiHotspotSpeedViewModelTest.java21 import static com.android.settings.wifi.repository.WifiHotspotRepository.SPEED_5GHZ;
160 WifiHotspotSpeedViewModel.SpeedInfo speedInfo = mViewModel.mSpeedInfoMap.get(SPEED_5GHZ); in on5gAvailableChanged_itsAvailable_setLiveData5gEnabled()
173 WifiHotspotSpeedViewModel.SpeedInfo speedInfo = mViewModel.mSpeedInfoMap.get(SPEED_5GHZ); in on5gAvailableChanged_notAvailable_setLiveData5gDisabled()
187 assertThat(mViewModel.mSpeedInfoMap.get(SPEED_5GHZ).mIsVisible).isTrue(); in on5gAvailableChanged_inSingleBand_setLiveDataToShowSingleBand()
200 assertThat(mViewModel.mSpeedInfoMap.get(SPEED_5GHZ).mIsVisible).isTrue(); in on5gAvailableChanged_inDualBandAnd5gUnavailable_setLiveDataToShowSingleBand()
213 assertThat(mViewModel.mSpeedInfoMap.get(SPEED_5GHZ).mIsVisible).isFalse(); in on5gAvailableChanged_inDualBandAnd5gAvailable_setLiveDataToShowDualBand()
226 assertThat(mViewModel.mSpeedInfoMap.get(SPEED_5GHZ).mIsChecked).isFalse(); in onSpeedTypeChanged_toSpeed2g_setLiveData2gChecked()
236 mViewModel.onSpeedTypeChanged(SPEED_5GHZ); in onSpeedTypeChanged_toSpeed5g_setLiveData5gChecked()
240 assertThat(mViewModel.mSpeedInfoMap.get(SPEED_5GHZ).mIsChecked).isTrue(); in onSpeedTypeChanged_toSpeed5g_setLiveData5gChecked()
254 assertThat(mViewModel.mSpeedInfoMap.get(SPEED_5GHZ).mIsChecked).isFalse(); in onSpeedTypeChanged_toSpeed2g5g_setLiveData5gChecked()
[all …]
DWifiHotspotSecurityViewModelTest.java26 import static com.android.settings.wifi.repository.WifiHotspotRepository.SPEED_5GHZ;
143 mViewModel.onSpeedTypeChanged(SPEED_5GHZ); in onSpeedTypeChanged_speed5g_setEnabledCorrectly()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/tether/
DWifiHotspotSpeedSettingsTest.java21 import static com.android.settings.wifi.repository.WifiHotspotRepository.SPEED_5GHZ;
121 mSettings.mSpeedPreferenceMap.put(SPEED_5GHZ, mRadioButton); in onSpeedInfoMapDataChanged_checkedSpeed5g_checkedToRadioButton5g()
133 mSettings.mSpeedPreferenceMap.put(SPEED_5GHZ, mRadioButton); in onSpeedInfoMapDataChanged_uncheckedSpeed5g_uncheckedToRadioButton5g()
279 verify(mViewModel).setSpeedType(SPEED_5GHZ); in onRadioButtonClicked_toSpeed5g_setSpeedType5g()
302 mSpeedInfoMap.put(SPEED_5GHZ, mSpeedInfo5g); in updateSpeedInfoMap()
/packages/apps/Settings/src/com/android/settings/wifi/tether/
DWifiHotspotSpeedViewModel.java21 import static com.android.settings.wifi.repository.WifiHotspotRepository.SPEED_5GHZ;
111 mSpeedInfo5g.mIsChecked = speedType.equals(SPEED_5GHZ); in onSpeedTypeChanged()
138 mSpeedInfoMap.put(SPEED_5GHZ, mSpeedInfo5g); in updateSpeedInfoMapData()
DWifiHotspotSpeedSettings.java21 import static com.android.settings.wifi.repository.WifiHotspotRepository.SPEED_5GHZ;
53 sSpeedKeyMap.put(KEY_SPEED_5GHZ, SPEED_5GHZ); in sSpeedKeyMap.put() argument
DWifiTetherViewModel.java26 import static com.android.settings.wifi.repository.WifiHotspotRepository.SPEED_5GHZ;
75 sSpeedSummaryResMap.put(SPEED_5GHZ, R.string.wifi_hotspot_speed_summary_5g); in sSpeedSummaryResMap.put() argument
/packages/apps/Settings/tests/unit/src/com/android/settings/wifi/repository/
DWifiHotspotRepositoryTest.java33 import static com.android.settings.wifi.repository.WifiHotspotRepository.SPEED_5GHZ;
379 verify(mSpeedType).setValue(SPEED_5GHZ); in updateSpeedType_singleBand5gPreferred_get5gSpeedType()
417 verify(mSpeedType).setValue(SPEED_5GHZ); in updateSpeedType_singleBand6gPreferredBut6gUnavailable_get5gSpeedType()
508 mRepository.setSpeedType(SPEED_5GHZ); in setSpeedType_2ghzTo5ghz_setConfigBandTo5ghzPreferred()
516 mockConfigSpeedType(SPEED_5GHZ); in setSpeedType_5ghzTo6ghz_setConfigBandTo6ghzPreferred()
807 } else if (speedType == SPEED_5GHZ) { in mockConfig()
/packages/apps/Settings/src/com/android/settings/wifi/repository/
DWifiHotspotRepository.java74 public static final int SPEED_5GHZ = 2; field in WifiHotspotRepository
85 sSpeedMap.put(BAND_5GHZ, SPEED_5GHZ); in sSpeedMap.put() argument
348 if (speedType == SPEED_5GHZ) { in setSpeedType()