Searched refs:ApConfigUtil (Results 1 – 5 of 5) sorted by relevance
127 ApConfigUtil.convertFrequencyToChannel( in convertFrequencyToChannel()137 assertEquals(-1, ApConfigUtil.convertFrequencyToChannel(6200)); in convertFrequencyToChannelWithInvalidFreq()146 assertEquals(ApConfigUtil.DEFAULT_AP_CHANNEL, ApConfigUtil.chooseApChannel( in chooseApChannel2GBandWithNoAllowedChannel()155 int channel = ApConfigUtil.chooseApChannel( in chooseApChannel2GBandWithAllowedChannels()165 int channel = ApConfigUtil.chooseApChannel( in chooseApChannel5GBandWithAllowedChannels()176 assertEquals(-1, ApConfigUtil.chooseApChannel( in chooseApChannel5GBandWithNoAllowedChannels()190 assertEquals(ApConfigUtil.SUCCESS, in updateApChannelConfigWithoutHal()191 ApConfigUtil.updateApChannelConfig( in updateApChannelConfigWithoutHal()194 assertEquals(ApConfigUtil.DEFAULT_AP_BAND, config.apBand); in updateApChannelConfigWithoutHal()195 assertEquals(ApConfigUtil.DEFAULT_AP_CHANNEL, config.apChannel); in updateApChannelConfigWithoutHal()[all …]
19 import static com.android.server.wifi.util.ApConfigUtil.ERROR_GENERIC;20 import static com.android.server.wifi.util.ApConfigUtil.ERROR_NO_CHANNEL;21 import static com.android.server.wifi.util.ApConfigUtil.SUCCESS;49 import com.android.server.wifi.util.ApConfigUtil;283 int result = ApConfigUtil.updateApChannelConfig( in startSoftAp()
25 import com.android.server.wifi.util.ApConfigUtil;203 int apChannel = ApConfigUtil.convertFrequencyToChannel(apChannelMHz); in onCommand()
36 import com.android.server.wifi.util.ApConfigUtil;347 if (mForcedApChannel <= ApConfigUtil.HIGHEST_2G_AP_CHANNEL) { in addAccessPoint()
31 public class ApConfigUtil { class