Home
last modified time | relevance | path

Searched refs:sapBand (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Settings/src/com/android/settings/wifi/repository/
DWifiHotspotRepository.java473 boolean isChannelAvailable(SapBand sapBand) { in isChannelAvailable() argument
476 mWifiManager.getUsableChannels(sapBand.band, OP_MODE_SAP); in isChannelAvailable()
477 log("isChannelAvailable(), band:" + sapBand.band + ", channels:" + channels); in isChannelAvailable()
478 sapBand.hasUsableChannels = (channels != null && channels.size() > 0); in isChannelAvailable()
479 sapBand.isUsableChannelsUnsupported = false; in isChannelAvailable()
481 Log.e(TAG, "Querying usable SAP channels failed, band:" + sapBand.band); in isChannelAvailable()
482 sapBand.hasUsableChannels = false; in isChannelAvailable()
483 sapBand.isUsableChannelsUnsupported = true; in isChannelAvailable()
486 Log.e(TAG, "Querying usable SAP channels is unsupported, band:" + sapBand.band); in isChannelAvailable()
487 sapBand.hasUsableChannels = false; in isChannelAvailable()
[all …]
/packages/modules/Wifi/service/java/com/android/server/wifi/
DSoftApManager.java2186 int sapBand = ApConfigUtil.convertFrequencyToBand(sapFreq); in processMessageImpl() local
2187 if (sapBand != ApConfigUtil.removeUnavailableBands( in processMessageImpl()
2189 sapBand, mCoexManager)) { in processMessageImpl()
2214 int sapBand = in processMessageImpl() local
2216 if (sapBand == wifiBand) { in processMessageImpl()
2222 bands.add(sapBand); in processMessageImpl()