Home
last modified time | relevance | path

Searched refs:apChannel (Results 1 – 10 of 10) sorted by relevance

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DHostapdHalTest.java220 final int apChannel = 6; in testAddAccessPointSuccess_Psk_Band2G() local
227 configuration.apChannel = apChannel; in testAddAccessPointSuccess_Psk_Band2G()
239 assertEquals(apChannel, mIfaceParamsCaptor.getValue().channelParams.channel); in testAddAccessPointSuccess_Psk_Band2G()
254 final int apChannel = 18; in testAddAccessPointSuccess_Open_Band5G() local
260 configuration.apChannel = apChannel; in testAddAccessPointSuccess_Open_Band5G()
272 assertEquals(apChannel, mIfaceParamsCaptor.getValue().channelParams.channel); in testAddAccessPointSuccess_Open_Band5G()
287 final int apChannel = 18; in testAddAccessPointSuccess_Psk_Band5G_Hidden() local
294 configuration.apChannel = apChannel; in testAddAccessPointSuccess_Psk_Band5G_Hidden()
306 assertEquals(apChannel, mIfaceParamsCaptor.getValue().channelParams.channel); in testAddAccessPointSuccess_Psk_Band5G_Hidden()
325 final int apChannel = 6; in testAddAccessPointSuccess_Psk_Band2G_WithACS() local
[all …]
DWifiApConfigStoreTest.java164 config.apChannel = channel; in setupApConfig()
181 assertEquals(config1.apChannel, config2.apChannel); in verifyApConfig()
DSoftApManagerTest.java517 config.apChannel = 0; in startSoftApFailNoChannel()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DApConfigUtil.java122 config.apChannel = DEFAULT_AP_CHANNEL; in updateApChannelConfig()
134 if (config.apChannel == 0) { in updateApChannelConfig()
135 config.apChannel = chooseApChannel( in updateApChannelConfig()
138 if (config.apChannel == -1) { in updateApChannelConfig()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/
DApConfigUtilTest.java187 config.apChannel = 36; in updateApChannelConfigWithoutHal()
195 assertEquals(ApConfigUtil.DEFAULT_AP_CHANNEL, config.apChannel); in updateApChannelConfigWithoutHal()
219 config.apChannel = 36; in updateApChannelConfigWithChannelSpecified()
225 assertEquals(36, config.apChannel); in updateApChannelConfigWithChannelSpecified()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiShellCommand.java203 int apChannel = ApConfigUtil.convertFrequencyToChannel(apChannelMHz); in onCommand() local
204 if (apChannel == -1 || !isApChannelMHzValid(apChannelMHz)) { in onCommand()
209 mHostapdHal.enableForceSoftApChannel(apChannel); in onCommand()
DWifiApConfigStore.java240 convertedConfig.apChannel = AP_CHANNEL_DEFAULT; in apBandCheckConvert()
249 convertedConfig.apChannel = AP_CHANNEL_DEFAULT; in apBandCheckConvert()
282 config.apChannel = in.readInt(); in loadApConfiguration()
319 out.writeInt(config.apChannel); in writeApConfiguration()
DHostapdHal.java365 ifaceParams.channelParams.channel = config.apChannel; in addAccessPoint()
/frameworks/base/wifi/tests/src/android/net/wifi/
DWifiConfigurationTest.java281 config.apChannel = 40; in testSoftApConfigBackupAndRestore()
295 assertEquals(config.apChannel, restoredConfig.apChannel); in testSoftApConfigBackupAndRestore()
/frameworks/base/wifi/java/android/net/wifi/
DWifiConfiguration.java500 public int apChannel = 0; field in WifiConfiguration
2378 apChannel = source.apChannel; in WifiConfiguration()
2455 dest.writeInt(apChannel); in writeToParcel()
2528 config.apChannel = in.readInt();
2606 out.writeInt(apChannel); in getBytesForBackup()
2629 config.apChannel = in.readInt(); in getWifiConfigFromBackup()