Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/unit/src/com/android/settings/wifi/tether/
DWifiHotspotSpeedViewModelTest.java19 import static com.android.settings.wifi.repository.WifiHotspotRepository.SPEED_2GHZ;
186 assertThat(mViewModel.mSpeedInfoMap.get(SPEED_2GHZ).mIsVisible).isTrue(); in on5gAvailableChanged_inSingleBand_setLiveDataToShowSingleBand()
199 assertThat(mViewModel.mSpeedInfoMap.get(SPEED_2GHZ).mIsVisible).isTrue(); in on5gAvailableChanged_inDualBandAnd5gUnavailable_setLiveDataToShowSingleBand()
212 assertThat(mViewModel.mSpeedInfoMap.get(SPEED_2GHZ).mIsVisible).isFalse(); in on5gAvailableChanged_inDualBandAnd5gAvailable_setLiveDataToShowDualBand()
222 mViewModel.onSpeedTypeChanged(SPEED_2GHZ); in onSpeedTypeChanged_toSpeed2g_setLiveData2gChecked()
225 assertThat(mViewModel.mSpeedInfoMap.get(SPEED_2GHZ).mIsChecked).isTrue(); in onSpeedTypeChanged_toSpeed2g_setLiveData2gChecked()
239 assertThat(mViewModel.mSpeedInfoMap.get(SPEED_2GHZ).mIsChecked).isFalse(); in onSpeedTypeChanged_toSpeed5g_setLiveData5gChecked()
253 assertThat(mViewModel.mSpeedInfoMap.get(SPEED_2GHZ).mIsChecked).isFalse(); in onSpeedTypeChanged_toSpeed2g5g_setLiveData5gChecked()
267 assertThat(mViewModel.mSpeedInfoMap.get(SPEED_2GHZ).mIsChecked).isFalse(); in onSpeedTypeChanged_toSpeed6g_setLiveData5gChecked()
276 mViewModel.setSpeedType(SPEED_2GHZ); in setSpeedType_passedToRepository()
[all …]
DWifiHotspotSecurityViewModelTest.java24 import static com.android.settings.wifi.repository.WifiHotspotRepository.SPEED_2GHZ;
150 mViewModel.onSpeedTypeChanged(SPEED_2GHZ); in onSpeedTypeChanged_speed2g_setEnabledCorrectly()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/tether/
DWifiHotspotSpeedSettingsTest.java19 import static com.android.settings.wifi.repository.WifiHotspotRepository.SPEED_2GHZ;
97 mSettings.mSpeedPreferenceMap.put(SPEED_2GHZ, mRadioButton); in onSpeedInfoMapDataChanged_checkedSpeed2g_checkedToRadioButton2g()
109 mSettings.mSpeedPreferenceMap.put(SPEED_2GHZ, mRadioButton); in onSpeedInfoMapDataChanged_uncheckedSpeed2g_uncheckedToRadioButton2g()
270 verify(mViewModel).setSpeedType(SPEED_2GHZ); in onRadioButtonClicked_toSpeed2g_setSpeedType2g()
301 mSpeedInfoMap.put(SPEED_2GHZ, mSpeedInfo2g); in updateSpeedInfoMap()
/packages/apps/Settings/tests/unit/src/com/android/settings/wifi/repository/
DWifiHotspotRepositoryTest.java31 import static com.android.settings.wifi.repository.WifiHotspotRepository.SPEED_2GHZ;
367 verify(mSpeedType).setValue(SPEED_2GHZ); in updateSpeedType_singleBand2g_get2gSpeedType()
392 verify(mSpeedType).setValue(SPEED_2GHZ); in updateSpeedType_singleBand5gPreferredBut5gUnavailable_get2gSpeedType()
431 verify(mSpeedType).setValue(SPEED_2GHZ); in updateSpeedType_singleBand6gPreferredBut5gAnd6gUnavailable_get2gSpeedType()
456 verify(mSpeedType).setValue(SPEED_2GHZ); in updateSpeedType_dualBand2gAnd5gBut5gUnavailable_get2gSpeedType()
506 mockConfigSpeedType(SPEED_2GHZ); in setSpeedType_2ghzTo5ghz_setConfigBandTo5ghzPreferred()
528 mRepository.setSpeedType(SPEED_2GHZ); in setSpeedType_6ghzTo2ghz_setConfigBandTo2ghz()
787 mockConfig(securityType, SPEED_2GHZ); in mockConfigSecurityType()
804 if (speedType == SPEED_2GHZ) { in mockConfig()
/packages/apps/Settings/src/com/android/settings/wifi/tether/
DWifiHotspotSpeedViewModel.java19 import static com.android.settings.wifi.repository.WifiHotspotRepository.SPEED_2GHZ;
110 mSpeedInfo2g.mIsChecked = speedType.equals(SPEED_2GHZ); in onSpeedTypeChanged()
137 mSpeedInfoMap.put(SPEED_2GHZ, mSpeedInfo2g); in updateSpeedInfoMapData()
DWifiHotspotSpeedSettings.java19 import static com.android.settings.wifi.repository.WifiHotspotRepository.SPEED_2GHZ;
52 sSpeedKeyMap.put(KEY_SPEED_2GHZ, SPEED_2GHZ); in sSpeedKeyMap.put() argument
DWifiTetherViewModel.java24 import static com.android.settings.wifi.repository.WifiHotspotRepository.SPEED_2GHZ;
74 sSpeedSummaryResMap.put(SPEED_2GHZ, R.string.wifi_hotspot_speed_summary_2g); in sSpeedSummaryResMap.put() argument
/packages/apps/Settings/src/com/android/settings/wifi/repository/
DWifiHotspotRepository.java72 public static final int SPEED_2GHZ = 1; field in WifiHotspotRepository
84 sSpeedMap.put(BAND_2GHZ, SPEED_2GHZ); in sSpeedMap.put() argument