Searched refs:apBand (Results 1 – 8 of 8) sorted by relevance
70 public static int chooseApChannel(int apBand, in chooseApChannel() argument73 if (apBand != WifiConfiguration.AP_BAND_2GHZ in chooseApChannel()74 && apBand != WifiConfiguration.AP_BAND_5GHZ) { in chooseApChannel()75 Log.e(TAG, "Invalid band: " + apBand); in chooseApChannel()79 if (apBand == WifiConfiguration.AP_BAND_2GHZ) { in chooseApChannel()118 config.apBand = DEFAULT_AP_BAND; in updateApChannelConfig()124 if (config.apBand == WifiConfiguration.AP_BAND_5GHZ in updateApChannelConfig()133 config.apBand, allowed2GChannels, in updateApChannelConfig()143 config.apBand = DEFAULT_AP_BAND; in updateApChannelConfig()
187 config.apBand = WifiConfiguration.AP_BAND_5GHZ; in updateApChannelConfigWithoutHal()193 assertEquals(ApConfigUtil.DEFAULT_AP_BAND, config.apBand); in updateApChannelConfigWithoutHal()204 config.apBand = WifiConfiguration.AP_BAND_5GHZ; in updateApChannelConfig5GBandNoCountryCode()217 config.apBand = WifiConfiguration.AP_BAND_5GHZ; in updateApChannelConfigWithChannelSpecified()223 assertEquals(WifiConfiguration.AP_BAND_5GHZ, config.apBand); in updateApChannelConfigWithChannelSpecified()234 config.apBand = WifiConfiguration.AP_BAND_5GHZ; in updateApChannelConfigWith5GBandNoChannelAllowed()251 config.apBand = WifiConfiguration.AP_BAND_5GHZ; in updateApChannelConfigWithoutChannelsForBandSupported()259 assertEquals(ApConfigUtil.DEFAULT_AP_BAND, config.apBand); in updateApChannelConfigWithoutChannelsForBandSupported()
88 config.apBand = band; in setupApConfig()104 assertEquals(config1.apBand, config2.apBand); in verifyApConfig()
184 config.apBand = WifiConfiguration.AP_BAND_2GHZ; in startSoftApAndVerifyEnabled()
140 config.apBand = in.readInt(); in loadApConfiguration()173 out.writeInt(config.apBand); in writeApConfiguration()
179 && config.apBand == WifiConfiguration.AP_BAND_5GHZ) { in startSoftAp()
3747 private int chooseApChannel(int apBand) { in chooseApChannel() argument3751 if (apBand == 0) { in chooseApChannel()
259 public int apBand = AP_BAND_2GHZ; field in WifiConfiguration1842 apBand = source.apBand; in WifiConfiguration()1921 dest.writeInt(apBand); in writeToParcel()1992 config.apBand = in.readInt();2069 out.writeInt(apBand); in getBytesForBackup()2091 config.apBand = in.readInt(); in getWifiConfigFromBackup()