Home
last modified time | relevance | path

Searched refs:WifiHotspotSpeedViewModel (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/tether/
DWifiHotspotSpeedSettingsTest.java67 WifiHotspotSpeedViewModel mViewModel;
71 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);
[all …]
/packages/apps/Settings/tests/unit/src/com/android/settings/wifi/tether/
DWifiHotspotSpeedViewModelTest.java23 import static com.android.settings.wifi.tether.WifiHotspotSpeedViewModel.RES_SPEED_5G_SUMMARY;
24 import static com.android.settings.wifi.tether.WifiHotspotSpeedViewModel.RES_SPEED_6G_SUMMARY;
25 import static com.android.settings.wifi.tether.WifiHotspotSpeedViewModel.RES_SUMMARY_UNAVAILABLE;
69 MutableLiveData<Map<Integer, WifiHotspotSpeedViewModel.SpeedInfo>> mSpeedInfoMapData;
73 WifiHotspotSpeedViewModel mViewModel;
87 mViewModel = new WifiHotspotSpeedViewModel((Application) mContext); in setUp()
111 WifiHotspotSpeedViewModel viewModel = new WifiHotspotSpeedViewModel((Application) mContext); in constructor_notSupported6GHzBand_set6gVisible()
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()
[all …]
/packages/apps/Settings/src/com/android/settings/wifi/factory/
DWifiFeatureProvider.java33 import com.android.settings.wifi.tether.WifiHotspotSpeedViewModel;
130 public WifiHotspotSpeedViewModel getWifiHotspotSpeedViewModel( in getWifiHotspotSpeedViewModel()
132 WifiHotspotSpeedViewModel viewModel = in getWifiHotspotSpeedViewModel()
133 new ViewModelProvider(owner).get(WifiHotspotSpeedViewModel.class); in getWifiHotspotSpeedViewModel()
/packages/apps/Settings/src/com/android/settings/wifi/tether/
DWifiHotspotSpeedSettings.java58 protected WifiHotspotSpeedViewModel mWifiHotspotSpeedViewModel;
99 Map<Integer, WifiHotspotSpeedViewModel.SpeedInfo> speedInfoMap) { in onSpeedInfoMapDataChanged()
103 WifiHotspotSpeedViewModel.SpeedInfo speedInfo = speedInfoMap.get(entry.getKey()); in onSpeedInfoMapDataChanged()
DWifiHotspotSpeedViewModel.java45 public class WifiHotspotSpeedViewModel extends AndroidViewModel { class
66 public WifiHotspotSpeedViewModel(@NotNull Application application) { in WifiHotspotSpeedViewModel() method in WifiHotspotSpeedViewModel