Home
last modified time | relevance | path

Searched refs:ApConfigUtil (Results 1 – 5 of 5) sorted by relevance

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/
DApConfigUtilTest.java127 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 …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DSoftApManager.java19 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()
DWifiShellCommand.java25 import com.android.server.wifi.util.ApConfigUtil;
203 int apChannel = ApConfigUtil.convertFrequencyToChannel(apChannelMHz); in onCommand()
DHostapdHal.java36 import com.android.server.wifi.util.ApConfigUtil;
347 if (mForcedApChannel <= ApConfigUtil.HIGHEST_2G_AP_CHANNEL) { in addAccessPoint()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DApConfigUtil.java31 public class ApConfigUtil { class