Searched refs:apChannel (Results 1 – 8 of 8) sorted by relevance
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | HostapdHalTest.java | 276 final int apChannel = 6; in testAddAccessPointSuccess_Psk_Band2G() local 283 configurationBuilder.setChannel(apChannel, SoftApConfiguration.BAND_2GHZ); in testAddAccessPointSuccess_Psk_Band2G() 296 assertEquals(apChannel, mIfaceParamsCaptor.getValue().channelParams.channel); in testAddAccessPointSuccess_Psk_Band2G() 311 final int apChannel = 149; in testAddAccessPointSuccess_Open_Band5G() local 316 configurationBuilder.setChannel(apChannel, SoftApConfiguration.BAND_5GHZ); in testAddAccessPointSuccess_Open_Band5G() 329 assertEquals(apChannel, mIfaceParamsCaptor.getValue().channelParams.channel); in testAddAccessPointSuccess_Open_Band5G() 344 final int apChannel = 149; in testAddAccessPointSuccess_Psk_Band5G_Hidden() local 351 configurationBuilder.setChannel(apChannel, SoftApConfiguration.BAND_5GHZ); in testAddAccessPointSuccess_Psk_Band5G_Hidden() 364 assertEquals(apChannel, mIfaceParamsCaptor.getValue().channelParams.channel); in testAddAccessPointSuccess_Psk_Band5G_Hidden() 383 final int apChannel = 6; in testAddAccessPointSuccess_Psk_Band2G_WithACS() local [all …]
|
D | SoftApBackupRestoreTest.java | 100 assertEquals(backup.apChannel, restore.getChannel()); in assertWifiConfigurationEqualSoftApConfiguration() 135 out.writeInt(wificonfig.apChannel); in getBytesForBackup() 189 wifiConfig.apChannel = 12; in testSoftApConfigBackupAndRestoreWithOldConfig()
|
D | WifiConfigurationTestUtil.java | 736 assertEquals(expected.apChannel, actual.apChannel); in assertConfigurationEqualForSoftAp()
|
/packages/modules/Wifi/framework/tests/src/android/net/wifi/ |
D | SoftApConfigurationTest.java | 348 assertThat(wifiConfig_2g.apChannel).isEqualTo(11); in testToWifiConfigurationWithSupportedParameter() 361 assertThat(wifiConfig_5g.apChannel).isEqualTo(149); in testToWifiConfigurationWithSupportedParameter() 374 assertThat(wifiConfig_2g5g.apChannel).isEqualTo(0); in testToWifiConfigurationWithSupportedParameter()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | WifiShellCommand.java | 398 int apChannel = ScanResult.convertFrequencyMhzToChannelIfSupported( in onCommand() local 401 pw.println("channel: " + apChannel + " band: " + band); in onCommand() 402 if (apChannel == -1 || band == -1) { in onCommand() 429 mWifiApConfigStore.enableForceSoftApBandOrChannel(band, apChannel); in onCommand()
|
/packages/modules/Wifi/framework/java/android/net/wifi/ |
D | WifiConfiguration.java | 1042 public int apChannel = 0; field in WifiConfiguration 3561 apChannel = source.apChannel; in WifiConfiguration() 3647 dest.writeInt(apChannel); in writeToParcel() 3732 config.apChannel = in.readInt();
|
D | SoftApConfiguration.java | 812 wifiConfig.apChannel = getChannel(); in toWifiConfiguration()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/util/ |
D | ApConfigUtil.java | 618 if (wifiConfig.apChannel == 0) { in fromWifiConfiguration() 621 configBuilder.setChannel(wifiConfig.apChannel, band); in fromWifiConfiguration()
|