Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/unit/src/com/android/settings/wifi/tether/
DWifiHotspotSpeedViewModelTest.java20 import static com.android.settings.wifi.repository.WifiHotspotRepository.SPEED_2GHZ_5GHZ;
188 assertThat(mViewModel.mSpeedInfoMap.get(SPEED_2GHZ_5GHZ).mIsVisible).isFalse(); in on5gAvailableChanged_inSingleBand_setLiveDataToShowSingleBand()
201 assertThat(mViewModel.mSpeedInfoMap.get(SPEED_2GHZ_5GHZ).mIsVisible).isFalse(); in on5gAvailableChanged_inDualBandAnd5gUnavailable_setLiveDataToShowSingleBand()
214 assertThat(mViewModel.mSpeedInfoMap.get(SPEED_2GHZ_5GHZ).mIsVisible).isTrue(); in on5gAvailableChanged_inDualBandAnd5gAvailable_setLiveDataToShowDualBand()
227 assertThat(mViewModel.mSpeedInfoMap.get(SPEED_2GHZ_5GHZ).mIsChecked).isFalse(); in onSpeedTypeChanged_toSpeed2g_setLiveData2gChecked()
241 assertThat(mViewModel.mSpeedInfoMap.get(SPEED_2GHZ_5GHZ).mIsChecked).isFalse(); in onSpeedTypeChanged_toSpeed5g_setLiveData5gChecked()
250 mViewModel.onSpeedTypeChanged(SPEED_2GHZ_5GHZ); in onSpeedTypeChanged_toSpeed2g5g_setLiveData5gChecked()
255 assertThat(mViewModel.mSpeedInfoMap.get(SPEED_2GHZ_5GHZ).mIsChecked).isTrue(); in onSpeedTypeChanged_toSpeed2g5g_setLiveData5gChecked()
269 assertThat(mViewModel.mSpeedInfoMap.get(SPEED_2GHZ_5GHZ).mIsChecked).isFalse(); in onSpeedTypeChanged_toSpeed6g_setLiveData5gChecked()
284 mViewModel.setSpeedType(SPEED_2GHZ_5GHZ); in setSpeedType_passedToRepository()
[all …]
DWifiHotspotSecurityViewModelTest.java25 import static com.android.settings.wifi.repository.WifiHotspotRepository.SPEED_2GHZ_5GHZ;
136 mViewModel.onSpeedTypeChanged(SPEED_2GHZ_5GHZ); in onSpeedTypeChanged_speed2g5g_setEnabledCorrectly()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/tether/
DWifiHotspotSpeedSettingsTest.java20 import static com.android.settings.wifi.repository.WifiHotspotRepository.SPEED_2GHZ_5GHZ;
145 mSettings.mSpeedPreferenceMap.put(SPEED_2GHZ_5GHZ, mRadioButton); in onSpeedInfoMapDataChanged_checkedSpeed2g5g_checkedToRadioButton2g5g()
157 mSettings.mSpeedPreferenceMap.put(SPEED_2GHZ_5GHZ, mRadioButton); in onSpeedInfoMapDataChanged_uncheckedSpeed2g5g_uncheckedToRadioButton2g5g()
288 verify(mViewModel).setSpeedType(SPEED_2GHZ_5GHZ); in onRadioButtonClicked_toSpeed2g5g_setSpeedType2g5g()
303 mSpeedInfoMap.put(SPEED_2GHZ_5GHZ, mSpeedInfo2g5g); in updateSpeedInfoMap()
/packages/apps/Settings/src/com/android/settings/wifi/tether/
DWifiHotspotSpeedViewModel.java20 import static com.android.settings.wifi.repository.WifiHotspotRepository.SPEED_2GHZ_5GHZ;
112 mSpeedInfo2g5g.mIsChecked = speedType.equals(SPEED_2GHZ_5GHZ); in onSpeedTypeChanged()
139 mSpeedInfoMap.put(SPEED_2GHZ_5GHZ, mSpeedInfo2g5g); in updateSpeedInfoMapData()
DWifiHotspotSpeedSettings.java20 import static com.android.settings.wifi.repository.WifiHotspotRepository.SPEED_2GHZ_5GHZ;
54 sSpeedKeyMap.put(KEY_SPEED_2GHZ_5GHZ, SPEED_2GHZ_5GHZ); in sSpeedKeyMap.put() argument
DWifiTetherViewModel.java25 import static com.android.settings.wifi.repository.WifiHotspotRepository.SPEED_2GHZ_5GHZ;
77 sSpeedSummaryResMap.put(SPEED_2GHZ_5GHZ, R.string.wifi_hotspot_speed_summary_2g_and_5g); in sSpeedSummaryResMap.put() argument
/packages/apps/Settings/tests/unit/src/com/android/settings/wifi/repository/
DWifiHotspotRepositoryTest.java32 import static com.android.settings.wifi.repository.WifiHotspotRepository.SPEED_2GHZ_5GHZ;
443 verify(mSpeedType).setValue(SPEED_2GHZ_5GHZ); in updateSpeedType_dualBand2gAnd5g_get2gAnd5gSpeedType()
470 mockConfigSpeedType(SPEED_2GHZ_5GHZ); in setSpeedType_2g5ghzTo6ghz_setConfigBandTo6ghzPreferred()
480 mockConfig(SPEED_2GHZ_5GHZ, SECURITY_TYPE_WPA3_SAE_TRANSITION); in setSpeedType_2g5ghzTo6ghz_setConfigSecurityToWpa3()
494 mRepository.setSpeedType(SPEED_2GHZ_5GHZ); in setSpeedType_6ghzTo2g5ghz_setConfigBandsTo2g5ghz()
810 } else if (speedType == SPEED_2GHZ_5GHZ) { in mockConfig()
/packages/apps/Settings/src/com/android/settings/wifi/repository/
DWifiHotspotRepository.java76 public static final int SPEED_2GHZ_5GHZ = 3; field in WifiHotspotRepository
87 sSpeedMap.put(BAND_2GHZ_5GHZ, SPEED_2GHZ_5GHZ); in sSpeedMap.put() argument