Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/wifi/tether/
DWifiHotspotSpeedViewModel.java108 protected void onSpeedTypeChanged(Integer speedType) { in onSpeedTypeChanged() argument
109 log("onSpeedTypeChanged(), speedType:" + speedType); in onSpeedTypeChanged()
110 mSpeedInfo2g.mIsChecked = speedType.equals(SPEED_2GHZ); in onSpeedTypeChanged()
111 mSpeedInfo5g.mIsChecked = speedType.equals(SPEED_5GHZ); in onSpeedTypeChanged()
112 mSpeedInfo2g5g.mIsChecked = speedType.equals(SPEED_2GHZ_5GHZ); in onSpeedTypeChanged()
113 mSpeedInfo6g.mIsChecked = speedType.equals(SPEED_6GHZ); in onSpeedTypeChanged()
120 public void setSpeedType(Integer speedType) { in setSpeedType() argument
121 mWifiHotspotRepository.setSpeedType(speedType); in setSpeedType()
DWifiHotspotSecurityViewModel.java88 protected void onSpeedTypeChanged(Integer speedType) { in onSpeedTypeChanged() argument
89 log("onSpeedTypeChanged(), speedType:" + speedType); in onSpeedTypeChanged()
90 boolean isWpa3Only = (speedType == SPEED_6GHZ); in onSpeedTypeChanged()
DWifiTetherViewModel.java184 protected void onSpeedTypeChanged(Integer speedType) { in onSpeedTypeChanged() argument
186 if (sSpeedSummaryResMap.containsKey(speedType)) { in onSpeedTypeChanged()
187 resId = sSpeedSummaryResMap.get(speedType); in onSpeedTypeChanged()
/packages/apps/Settings/tests/unit/src/com/android/settings/wifi/repository/
DWifiHotspotRepositoryTest.java790 private void mockConfigSpeedType(int speedType) { in mockConfigSpeedType() argument
791 mockConfig(SECURITY_TYPE_WPA3_SAE, speedType); in mockConfigSpeedType()
794 private void mockConfig(int securityType, int speedType) { in mockConfig() argument
802 doReturn(speedType).when(mSpeedType).getValue(); in mockConfig()
804 if (speedType == SPEED_2GHZ) { in mockConfig()
807 } else if (speedType == SPEED_5GHZ) { in mockConfig()
810 } else if (speedType == SPEED_2GHZ_5GHZ) { in mockConfig()
813 } else if (speedType == SPEED_6GHZ) { in mockConfig()
/packages/apps/Settings/src/com/android/settings/wifi/repository/
DWifiHotspotRepository.java324 public void setSpeedType(int speedType) { in setSpeedType() argument
325 log("setSpeedType():" + speedType); in setSpeedType()
329 if (speedType == mSpeedType.getValue()) { in setSpeedType()
340 if (speedType == SPEED_6GHZ) { in setSpeedType()
348 if (speedType == SPEED_5GHZ) { in setSpeedType()