Home
last modified time | relevance | path

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

/packages/apps/Car/Settings/src/com/android/car/settings/wifi/
DWifiTetherApBandPreferenceController.java46 static final int BAND_2GHZ_5GHZ = BAND_2GHZ | BAND_5GHZ; field in WifiTetherApBandPreferenceController
52 BAND_2GHZ_5GHZ };
143 mHotspotBandMap.keySet().removeIf(key -> key == BAND_2GHZ_5GHZ); in updatePreferenceEntries()
149 mHotspotBandMap.keySet().removeIf(key -> key < BAND_2GHZ_5GHZ); in updatePreferenceEntries()
169 if (band == BAND_2GHZ_5GHZ && channels.size() == 1) { in getBandFromConfig()
189 configBuilder.setBand(BAND_2GHZ_5GHZ); in updateApBand()
190 } else if (Flags.hotspotUiSpeedUpdate() && mBand == BAND_2GHZ_5GHZ) { in updateApBand()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/wifi/
DWifiTetherApBandPreferenceControllerTest.java22 import static com.android.car.settings.wifi.WifiTetherApBandPreferenceController.BAND_2GHZ_5GHZ;
153 Integer.toString(BAND_2GHZ_5GHZ)); in onStart_wifiConfigDualApBand_valueIsSetToDualBand()
181 assertThat(getBandFromConfig(actualConfig)).isEqualTo(BAND_2GHZ_5GHZ); in onPreferenceChangedTo5Ghz_updatesApBandConfigTo5Ghz()
211 Integer.toString(BAND_2GHZ_5GHZ)); in onPreferenceChangedToDualBand_updatesApBandConfigToDualBand()
214 assertThat(getBandFromConfig(actualConfig)).isEqualTo(BAND_2GHZ_5GHZ); in onPreferenceChangedToDualBand_updatesApBandConfigToDualBand()
/packages/apps/Settings/src/com/android/settings/wifi/repository/
DWifiHotspotRepository.java65 public static final int BAND_2GHZ_5GHZ = BAND_2GHZ | BAND_5GHZ; field in WifiHotspotRepository
87 sSpeedMap.put(BAND_2GHZ_5GHZ, SPEED_2GHZ_5GHZ); in sSpeedMap.put() argument
307 keyBand = BAND_2GHZ_5GHZ; in updateSpeedType()
350 configBuilder.setBand(BAND_2GHZ_5GHZ); in setSpeedType()
353 int[] bands = {BAND_2GHZ, BAND_2GHZ_5GHZ}; in setSpeedType()
/packages/apps/Settings/tests/unit/src/com/android/settings/wifi/repository/
DWifiHotspotRepositoryTest.java29 import static com.android.settings.wifi.repository.WifiHotspotRepository.BAND_2GHZ_5GHZ;
82 static final int WIFI_5GHZ_BAND_PREFERRED = BAND_2GHZ_5GHZ;
499 assertThat(channels.get(BAND_2GHZ_5GHZ, CHANNEL_NOT_FOUND)).isNotEqualTo(CHANNEL_NOT_FOUND); in setSpeedType_6ghzTo2g5ghz_setConfigBandsTo2g5ghz()
809 configBuilder.setBand(BAND_2GHZ_5GHZ); in mockConfig()
811 int[] bands = {BAND_2GHZ, BAND_2GHZ_5GHZ}; in mockConfig()