Home
last modified time | relevance | path

Searched refs:SpeedInfo (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/tether/
DWifiHotspotSpeedSettingsTest.java71 Map<Integer, WifiHotspotSpeedViewModel.SpeedInfo> mSpeedInfoMap = new HashMap<>();
72 WifiHotspotSpeedViewModel.SpeedInfo mSpeedInfo2g =
73 new WifiHotspotSpeedViewModel.SpeedInfo(false, true, false);
74 WifiHotspotSpeedViewModel.SpeedInfo mSpeedInfo5g =
75 new WifiHotspotSpeedViewModel.SpeedInfo(false, true, false);
76 WifiHotspotSpeedViewModel.SpeedInfo mSpeedInfo2g5g =
77 new WifiHotspotSpeedViewModel.SpeedInfo(false, true, true);
78 WifiHotspotSpeedViewModel.SpeedInfo mSpeedInfo6g =
79 new WifiHotspotSpeedViewModel.SpeedInfo(false, true, true);
94 mSpeedInfo2g = new WifiHotspotSpeedViewModel.SpeedInfo(true, true, true); in onSpeedInfoMapDataChanged_checkedSpeed2g_checkedToRadioButton2g()
[all …]
/packages/apps/Settings/src/com/android/settings/wifi/tether/
DWifiHotspotSpeedViewModel.java55 protected Map<Integer, SpeedInfo> mSpeedInfoMap = new HashMap<>();
56 protected MutableLiveData<Map<Integer, SpeedInfo>> mSpeedInfoMapData;
57 protected SpeedInfo mSpeedInfo2g = new SpeedInfo(false, true, false);
58 protected SpeedInfo mSpeedInfo5g = new SpeedInfo(false, true, false);
59 protected SpeedInfo mSpeedInfo2g5g = new SpeedInfo(false, true, true);
60 protected SpeedInfo mSpeedInfo6g = new SpeedInfo(false, true, true);
127 public LiveData<Map<Integer, SpeedInfo>> getSpeedInfoMapData() { in getSpeedInfoMapData()
156 public static final class SpeedInfo { class in WifiHotspotSpeedViewModel
162 public SpeedInfo(boolean isChecked, boolean isEnabled, boolean isVisible) { in SpeedInfo() method in WifiHotspotSpeedViewModel.SpeedInfo
DWifiHotspotSpeedSettings.java99 Map<Integer, WifiHotspotSpeedViewModel.SpeedInfo> speedInfoMap) { in onSpeedInfoMapDataChanged()
103 WifiHotspotSpeedViewModel.SpeedInfo speedInfo = speedInfoMap.get(entry.getKey()); in onSpeedInfoMapDataChanged()
/packages/apps/Settings/tests/unit/src/com/android/settings/wifi/tether/
DWifiHotspotSpeedViewModelTest.java69 MutableLiveData<Map<Integer, WifiHotspotSpeedViewModel.SpeedInfo>> mSpeedInfoMapData;
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()
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()