Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/tether/
DWifiHotspotSpeedSettingsTest.java22 import static com.android.settings.wifi.repository.WifiHotspotRepository.SPEED_6GHZ;
169 mSettings.mSpeedPreferenceMap.put(SPEED_6GHZ, mRadioButton); in onSpeedInfoMapDataChanged_checkedSpeed6g_checkedToRadioButton6g()
181 mSettings.mSpeedPreferenceMap.put(SPEED_6GHZ, mRadioButton); in onSpeedInfoMapDataChanged_uncheckedSpeed6g_uncheckedToRadioButton6g()
192 mSpeedInfoMap.put(SPEED_6GHZ, mSpeedInfo6g); in onSpeedInfoMapDataChanged_setVisibleFalse_setVisibleOnly()
194 mSettings.mSpeedPreferenceMap.put(SPEED_6GHZ, mRadioButton); in onSpeedInfoMapDataChanged_setVisibleFalse_setVisibleOnly()
208 mSpeedInfoMap.put(SPEED_6GHZ, mSpeedInfo6g); in onSpeedInfoMapDataChanged_setVisibleTrue_setAllProperties()
210 mSettings.mSpeedPreferenceMap.put(SPEED_6GHZ, mRadioButton); in onSpeedInfoMapDataChanged_setVisibleTrue_setAllProperties()
224 mSpeedInfoMap.put(SPEED_6GHZ, mSpeedInfo6g); in onSpeedInfoMapDataChanged_summaryIsNull_doNotSetSummary()
226 mSettings.mSpeedPreferenceMap.put(SPEED_6GHZ, mRadioButton); in onSpeedInfoMapDataChanged_summaryIsNull_doNotSetSummary()
237 mSpeedInfoMap.put(SPEED_6GHZ, mSpeedInfo6g); in onSpeedInfoMapDataChanged_summaryNotNull_setSummary()
[all …]
/packages/apps/Settings/tests/unit/src/com/android/settings/wifi/tether/
DWifiHotspotSpeedViewModelTest.java22 import static com.android.settings.wifi.repository.WifiHotspotRepository.SPEED_6GHZ;
134 WifiHotspotSpeedViewModel.SpeedInfo speedInfo = mViewModel.mSpeedInfoMap.get(SPEED_6GHZ); in on6gAvailableChanged_itsAvailable_setLiveData6gEnabled()
147 WifiHotspotSpeedViewModel.SpeedInfo speedInfo = mViewModel.mSpeedInfoMap.get(SPEED_6GHZ); in on6gAvailableChanged_notAvailable_setLiveData6gDisabled()
228 assertThat(mViewModel.mSpeedInfoMap.get(SPEED_6GHZ).mIsChecked).isFalse(); in onSpeedTypeChanged_toSpeed2g_setLiveData2gChecked()
242 assertThat(mViewModel.mSpeedInfoMap.get(SPEED_6GHZ).mIsChecked).isFalse(); in onSpeedTypeChanged_toSpeed5g_setLiveData5gChecked()
256 assertThat(mViewModel.mSpeedInfoMap.get(SPEED_6GHZ).mIsChecked).isFalse(); in onSpeedTypeChanged_toSpeed2g5g_setLiveData5gChecked()
264 mViewModel.onSpeedTypeChanged(SPEED_6GHZ); in onSpeedTypeChanged_toSpeed6g_setLiveData5gChecked()
270 assertThat(mViewModel.mSpeedInfoMap.get(SPEED_6GHZ).mIsChecked).isTrue(); in onSpeedTypeChanged_toSpeed6g_setLiveData5gChecked()
288 mViewModel.setSpeedType(SPEED_6GHZ); in setSpeedType_passedToRepository()
290 verify(mWifiHotspotRepository).setSpeedType(SPEED_6GHZ); in setSpeedType_passedToRepository()
DWifiHotspotSecurityViewModelTest.java27 import static com.android.settings.wifi.repository.WifiHotspotRepository.SPEED_6GHZ;
129 mViewModel.onSpeedTypeChanged(SPEED_6GHZ); in onSpeedTypeChanged_speed6g_setEnabledCorrectly()
/packages/apps/Settings/tests/unit/src/com/android/settings/wifi/repository/
DWifiHotspotRepositoryTest.java34 import static com.android.settings.wifi.repository.WifiHotspotRepository.SPEED_6GHZ;
109 doReturn(SPEED_6GHZ).when(mSpeedType).getValue(); in setUp()
404 verify(mSpeedType).setValue(SPEED_6GHZ); in updateSpeedType_singleBand6gPreferred_get6gSpeedType()
461 doReturn(SPEED_6GHZ).when(mSpeedType).getValue(); in setSpeedType_sameValue_doNotSetConfig()
463 mRepository.setSpeedType(SPEED_6GHZ); in setSpeedType_sameValue_doNotSetConfig()
472 mRepository.setSpeedType(SPEED_6GHZ); in setSpeedType_2g5ghzTo6ghz_setConfigBandTo6ghzPreferred()
482 mRepository.setSpeedType(SPEED_6GHZ); in setSpeedType_2g5ghzTo6ghz_setConfigSecurityToWpa3()
491 mockConfigSpeedType(SPEED_6GHZ); in setSpeedType_6ghzTo2g5ghz_setConfigBandsTo2g5ghz()
518 mRepository.setSpeedType(SPEED_6GHZ); in setSpeedType_5ghzTo6ghz_setConfigBandTo6ghzPreferred()
526 mockConfigSpeedType(SPEED_6GHZ); in setSpeedType_6ghzTo2ghz_setConfigBandTo2ghz()
[all …]
/packages/apps/Settings/src/com/android/settings/wifi/tether/
DWifiHotspotSpeedViewModel.java22 import static com.android.settings.wifi.repository.WifiHotspotRepository.SPEED_6GHZ;
113 mSpeedInfo6g.mIsChecked = speedType.equals(SPEED_6GHZ); in onSpeedTypeChanged()
140 mSpeedInfoMap.put(SPEED_6GHZ, mSpeedInfo6g); in updateSpeedInfoMapData()
DWifiHotspotSpeedSettings.java22 import static com.android.settings.wifi.repository.WifiHotspotRepository.SPEED_6GHZ;
55 sSpeedKeyMap.put(KEY_SPEED_6GHZ, SPEED_6GHZ); in sSpeedKeyMap.put() argument
DWifiHotspotSecurityViewModel.java24 import static com.android.settings.wifi.repository.WifiHotspotRepository.SPEED_6GHZ;
90 boolean isWpa3Only = (speedType == SPEED_6GHZ); in onSpeedTypeChanged()
DWifiTetherViewModel.java27 import static com.android.settings.wifi.repository.WifiHotspotRepository.SPEED_6GHZ;
76 sSpeedSummaryResMap.put(SPEED_6GHZ, R.string.wifi_hotspot_speed_summary_6g); in sSpeedSummaryResMap.put() argument
/packages/apps/Settings/src/com/android/settings/wifi/repository/
DWifiHotspotRepository.java78 public static final int SPEED_6GHZ = 4; field in WifiHotspotRepository
86 sSpeedMap.put(BAND_6GHZ, SPEED_6GHZ); in sSpeedMap.put() argument
340 if (speedType == SPEED_6GHZ) { in setSpeedType()