Home
last modified time | relevance | path

Searched refs:mSpeedInfoMap (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Settings/tests/unit/src/com/android/settings/wifi/tether/
DWifiHotspotSpeedViewModelTest.java133 verify(mSpeedInfoMapData).setValue(mViewModel.mSpeedInfoMap); in on6gAvailableChanged_itsAvailable_setLiveData6gEnabled()
134 WifiHotspotSpeedViewModel.SpeedInfo speedInfo = mViewModel.mSpeedInfoMap.get(SPEED_6GHZ); in on6gAvailableChanged_itsAvailable_setLiveData6gEnabled()
146 verify(mSpeedInfoMapData).setValue(mViewModel.mSpeedInfoMap); in on6gAvailableChanged_notAvailable_setLiveData6gDisabled()
147 WifiHotspotSpeedViewModel.SpeedInfo speedInfo = mViewModel.mSpeedInfoMap.get(SPEED_6GHZ); in on6gAvailableChanged_notAvailable_setLiveData6gDisabled()
159 verify(mSpeedInfoMapData).setValue(mViewModel.mSpeedInfoMap); in on5gAvailableChanged_itsAvailable_setLiveData5gEnabled()
160 WifiHotspotSpeedViewModel.SpeedInfo speedInfo = mViewModel.mSpeedInfoMap.get(SPEED_5GHZ); in on5gAvailableChanged_itsAvailable_setLiveData5gEnabled()
172 verify(mSpeedInfoMapData).setValue(mViewModel.mSpeedInfoMap); in on5gAvailableChanged_notAvailable_setLiveData5gDisabled()
173 WifiHotspotSpeedViewModel.SpeedInfo speedInfo = mViewModel.mSpeedInfoMap.get(SPEED_5GHZ); in on5gAvailableChanged_notAvailable_setLiveData5gDisabled()
185 verify(mSpeedInfoMapData).setValue(mViewModel.mSpeedInfoMap); in on5gAvailableChanged_inSingleBand_setLiveDataToShowSingleBand()
186 assertThat(mViewModel.mSpeedInfoMap.get(SPEED_2GHZ).mIsVisible).isTrue(); in on5gAvailableChanged_inSingleBand_setLiveDataToShowSingleBand()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/tether/
DWifiHotspotSpeedSettingsTest.java71 Map<Integer, WifiHotspotSpeedViewModel.SpeedInfo> mSpeedInfoMap = new HashMap<>(); field in WifiHotspotSpeedSettingsTest
99 mSettings.onSpeedInfoMapDataChanged(mSpeedInfoMap); in onSpeedInfoMapDataChanged_checkedSpeed2g_checkedToRadioButton2g()
111 mSettings.onSpeedInfoMapDataChanged(mSpeedInfoMap); in onSpeedInfoMapDataChanged_uncheckedSpeed2g_uncheckedToRadioButton2g()
123 mSettings.onSpeedInfoMapDataChanged(mSpeedInfoMap); in onSpeedInfoMapDataChanged_checkedSpeed5g_checkedToRadioButton5g()
135 mSettings.onSpeedInfoMapDataChanged(mSpeedInfoMap); in onSpeedInfoMapDataChanged_uncheckedSpeed5g_uncheckedToRadioButton5g()
147 mSettings.onSpeedInfoMapDataChanged(mSpeedInfoMap); in onSpeedInfoMapDataChanged_checkedSpeed2g5g_checkedToRadioButton2g5g()
159 mSettings.onSpeedInfoMapDataChanged(mSpeedInfoMap); in onSpeedInfoMapDataChanged_uncheckedSpeed2g5g_uncheckedToRadioButton2g5g()
171 mSettings.onSpeedInfoMapDataChanged(mSpeedInfoMap); in onSpeedInfoMapDataChanged_checkedSpeed6g_checkedToRadioButton6g()
183 mSettings.onSpeedInfoMapDataChanged(mSpeedInfoMap); in onSpeedInfoMapDataChanged_uncheckedSpeed6g_uncheckedToRadioButton6g()
192 mSpeedInfoMap.put(SPEED_6GHZ, mSpeedInfo6g); in onSpeedInfoMapDataChanged_setVisibleFalse_setVisibleOnly()
[all …]
/packages/apps/Settings/src/com/android/settings/wifi/tether/
DWifiHotspotSpeedViewModel.java55 protected Map<Integer, SpeedInfo> mSpeedInfoMap = new HashMap<>(); field in WifiHotspotSpeedViewModel
130 mSpeedInfoMapData.setValue(mSpeedInfoMap); in getSpeedInfoMapData()
137 mSpeedInfoMap.put(SPEED_2GHZ, mSpeedInfo2g); in updateSpeedInfoMapData()
138 mSpeedInfoMap.put(SPEED_5GHZ, mSpeedInfo5g); in updateSpeedInfoMapData()
139 mSpeedInfoMap.put(SPEED_2GHZ_5GHZ, mSpeedInfo2g5g); in updateSpeedInfoMapData()
140 mSpeedInfoMap.put(SPEED_6GHZ, mSpeedInfo6g); in updateSpeedInfoMapData()
142 mSpeedInfoMapData.setValue(mSpeedInfoMap); in updateSpeedInfoMapData()