Home
last modified time | relevance | path

Searched refs:apBand (Results 1 – 8 of 8) sorted by relevance

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DApConfigUtil.java70 public static int chooseApChannel(int apBand, in chooseApChannel() argument
73 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()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/
DApConfigUtilTest.java187 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()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiApConfigStoreTest.java88 config.apBand = band; in setupApConfig()
104 assertEquals(config1.apBand, config2.apBand); in verifyApConfig()
DSoftApManagerTest.java184 config.apBand = WifiConfiguration.AP_BAND_2GHZ; in startSoftApAndVerifyEnabled()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiApConfigStore.java140 config.apBand = in.readInt(); in loadApConfiguration()
173 out.writeInt(config.apBand); in writeApConfiguration()
DSoftApManager.java179 && config.apBand == WifiConfiguration.AP_BAND_5GHZ) { in startSoftAp()
DWifiStateMachine.java3747 private int chooseApChannel(int apBand) { in chooseApChannel() argument
3751 if (apBand == 0) { in chooseApChannel()
/frameworks/base/wifi/java/android/net/wifi/
DWifiConfiguration.java259 public int apBand = AP_BAND_2GHZ; field in WifiConfiguration
1842 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()