Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DApConfigUtil.java119 config.apChannel = DEFAULT_AP_CHANNEL; in updateApChannelConfig()
131 if (config.apChannel == 0) { in updateApChannelConfig()
132 config.apChannel = chooseApChannel( in updateApChannelConfig()
135 if (config.apChannel == -1) { in updateApChannelConfig()
144 config.apChannel = DEFAULT_AP_CHANNEL; in updateApChannelConfig()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/
DApConfigUtilTest.java186 config.apChannel = 36; in updateApChannelConfigWithoutHal()
194 assertEquals(ApConfigUtil.DEFAULT_AP_CHANNEL, config.apChannel); in updateApChannelConfigWithoutHal()
218 config.apChannel = 36; in updateApChannelConfigWithChannelSpecified()
224 assertEquals(36, config.apChannel); in updateApChannelConfigWithChannelSpecified()
260 assertEquals(ApConfigUtil.DEFAULT_AP_CHANNEL, config.apChannel); in updateApChannelConfigWithoutChannelsForBandSupported()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiApConfigStoreTest.java89 config.apChannel = channel; in setupApConfig()
105 assertEquals(config1.apChannel, config2.apChannel); in verifyApConfig()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiApConfigStore.java141 config.apChannel = in.readInt(); in loadApConfiguration()
174 out.writeInt(config.apChannel); in writeApConfiguration()
DWifiStateMachine.java3748 int apChannel; in chooseApChannel() local
3759 apChannel = 6; in chooseApChannel()
3762 apChannel = allowed2GChannel.get(index).intValue(); in chooseApChannel()
3768 apChannel = channel[mRandom.nextInt(channel.length)]; in chooseApChannel()
3769 apChannel = convertFrequencyToChannelNumber(apChannel); in chooseApChannel()
3772 apChannel = 0; in chooseApChannel()
3777 Log.d(TAG, "SoftAp set on channel " + apChannel); in chooseApChannel()
3780 return apChannel; in chooseApChannel()
/frameworks/base/wifi/java/android/net/wifi/
DWifiConfiguration.java268 public int apChannel = 0; field in WifiConfiguration
1843 apChannel = source.apChannel; in WifiConfiguration()
1922 dest.writeInt(apChannel); in writeToParcel()
1993 config.apChannel = in.readInt();
2070 out.writeInt(apChannel); in getBytesForBackup()
2092 config.apChannel = in.readInt(); in getWifiConfigFromBackup()
/frameworks/base/services/core/java/com/android/server/
DNetworkManagementService.java1493 "broadcast", Integer.toString(wifiConfig.apChannel), in startAccessPoint()