Home
last modified time | relevance | path

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

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/util/
DApConfigUtilTest.java231 ApConfigUtil.isBridgedModeSupported(mContext, mWifiNative)); in testIsBridgeApSupportedWhenIfaceCombinationForBridgeIsEnabled()
242 ApConfigUtil.isStaWithBridgedModeSupported(mContext, mWifiNative)); in testIsBridgeApSupportedWhenIfaceCombinationForBridgeIsDisabled()
254 ApConfigUtil.isStaWithBridgedModeSupported(mContext, mWifiNative)); in testIsBridgeApWithStaSupportedWhenIfaceCombinationForStaBridgeApIsEnabled()
266 ApConfigUtil.isBridgedModeSupported(mContext, mWifiNative)); in testIsBridgeApWithStaSupportedWhenIfaceCombinationForStaBridgeApIsDisabled()
278 ApConfigUtil.isBridgedModeSupported(mContext, mWifiNative)); in testIsBridgeApSupportedReturnsFalseForPreS()
280 ApConfigUtil.isStaWithBridgedModeSupported(mContext, mWifiNative)); in testIsBridgeApSupportedReturnsFalseForPreS()
288 assertEquals(SoftApConfiguration.BAND_2GHZ, ApConfigUtil in convertWifiConfigBandToSoftapConfigBandTest()
290 assertEquals(SoftApConfiguration.BAND_5GHZ, ApConfigUtil in convertWifiConfigBandToSoftapConfigBandTest()
292 assertEquals(SoftApConfiguration.BAND_2GHZ | SoftApConfiguration.BAND_5GHZ, ApConfigUtil in convertWifiConfigBandToSoftapConfigBandTest()
303 assertTrue(ApConfigUtil.isMultiband(SoftApConfiguration.BAND_2GHZ in isMultibandSuccess()
[all …]
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiApConfigStore.java45 import com.android.server.wifi.util.ApConfigUtil;
164 if (!ApConfigUtil.isBridgedModeSupported(mContext, mWifiNative)) { in WifiApConfigStore()
242 if (SdkLevel.isAtLeastS() && ApConfigUtil.isBridgedModeSupported(mContext, mWifiNative) in upgradeSoftApConfiguration()
276 if ((!ApConfigUtil.isClientForceDisconnectSupported(mContext) in resetToDefaultForUnsupportedConfig()
286 if ((!ApConfigUtil.isClientForceDisconnectSupported(mContext) in resetToDefaultForUnsupportedConfig()
294 if (!ApConfigUtil.isWpa3SaeSupported(mContext) && (config.getSecurityType() in resetToDefaultForUnsupportedConfig()
311 configBuilder.setBand(ApConfigUtil.append24GToBandIf24GSupported( in resetToDefaultForUnsupportedConfig()
317 if (!ApConfigUtil.isBridgedModeSupported(mContext, mWifiNative) in resetToDefaultForUnsupportedConfig()
321 int availableBand = ApConfigUtil.removeUnsupportedBands( in resetToDefaultForUnsupportedConfig()
325 newSingleApBand = ApConfigUtil.append24GToBandIf24GSupported( in resetToDefaultForUnsupportedConfig()
[all …]
DHostapdHalAidlImp.java55 import com.android.server.wifi.util.ApConfigUtil;
637 if (!ApConfigUtil.isBandValid(apBand)) { in getHalBandMask()
641 if (ApConfigUtil.containsBand(apBand, SoftApConfiguration.BAND_2GHZ)) { in getHalBandMask()
644 if (ApConfigUtil.containsBand(apBand, SoftApConfiguration.BAND_5GHZ)) { in getHalBandMask()
647 if (ApConfigUtil.containsBand(apBand, SoftApConfiguration.BAND_6GHZ)) { in getHalBandMask()
650 if (ApConfigUtil.containsBand(apBand, SoftApConfiguration.BAND_60GHZ)) { in getHalBandMask()
683 if (!ApConfigUtil.isBandValid(band) || ApConfigUtil.isMultiband(band)) { in toAcsFreqRanges()
706 allowedChannelList = ApConfigUtil.collectAllowedAcsChannels(band, oemConfig, in toAcsFreqRanges()
728 freqRange.endMhz = ApConfigUtil.convertChannelToFrequency(prevChannel, band); in toAcsFreqRanges()
735 freqRange.startMhz = ApConfigUtil.convertChannelToFrequency(channel, band); in toAcsFreqRanges()
[all …]
DHostapdHalHidlImp.java45 import com.android.server.wifi.util.ApConfigUtil;
789 ifaceParams12.hwModeParams.enable80211AX = ApConfigUtil.isIeee80211axSupported(mContext); in updateIfaceParams_1_2FromResource()
791 ApConfigUtil.isBandSupported(SoftApConfiguration.BAND_6GHZ, mContext); in updateIfaceParams_1_2FromResource()
812 boolean enableAcs = ApConfigUtil.isAcsSupported(mContext) && config.getChannel() == 0; in prepareIfaceParamsV1_0()
861 if (ifaceParamsV11.V1_0.channelParams.enableAcs && ApConfigUtil.isSendFreqRangesNeeded( in prepareIfaceParamsV1_2()
886 channelParam13.enableAcs = ApConfigUtil.isAcsSupported(mContext) in prepareIfaceParamsV1_3()
892 if (channelParam13.enableAcs && ApConfigUtil.isSendFreqRangesNeeded( in prepareIfaceParamsV1_3()
961 if (!ApConfigUtil.isBandValid(apBand)) { in getHalBandMask()
965 if (ApConfigUtil.containsBand(apBand, SoftApConfiguration.BAND_2GHZ)) { in getHalBandMask()
968 if (ApConfigUtil.containsBand(apBand, SoftApConfiguration.BAND_5GHZ)) { in getHalBandMask()
[all …]
DSoftApManager.java66 import com.android.server.wifi.util.ApConfigUtil;
366 ApConfigUtil.convertChannelToFrequency(channel, band)); in updateSafeChannelFrequencyList()
372 ApConfigUtil.getUnsafeChannelFreqsFromCoex(mCoexManager)); in updateSafeChannelFrequencyList()
796 if (ApConfigUtil.isSoftApDynamicCountryCodeSupported(mContext) in updateCountryCode()
856 startResult = ApConfigUtil.updateApChannelConfig( in startSoftAp()
868 if (!ApConfigUtil.checkSupportAllConfiguration( in startSoftAp()
1206 if (ApConfigUtil.isStaWithBridgedModeSupported(mContext, in processMessageImpl()
1238 ApConfigUtil.removeUnavailableBandsFromConfig( in processMessageImpl()
1273 newSingleApBand = ApConfigUtil.append24GToBandIf24GSupported( in processMessageImpl()
1287 ApConfigUtil.remove6gBandForUnsupportedSecurity( in processMessageImpl()
[all …]
DSoftApBackupRestore.java32 import com.android.server.wifi.util.ApConfigUtil;
190 band = ApConfigUtil.convertWifiConfigBandToSoftApConfigBand(in.readInt()); in retrieveSoftApConfigurationFromBackupData()
DWifiCountryCode.java34 import com.android.server.wifi.util.ApConfigUtil;
708 if (ApConfigUtil.isSoftApRestartRequiredWhenCountryCodeChanged(mContext)) { in setCountryCodeNative()
DDppManager.java49 import com.android.server.wifi.util.ApConfigUtil;
916 int band = ApConfigUtil.getBandFromOperatingClass(operatingClass); in isEnrolleeCompatibleWithNetwork()
924 int freq = ApConfigUtil.convertChannelToFrequency(channels[j], band); in isEnrolleeCompatibleWithNetwork()
DActiveModeWarden.java89 import com.android.server.wifi.util.ApConfigUtil;
2781 if (ApConfigUtil.isApMacRandomizationSupported(mContext)) { in setSupportedFeatureSet()
2786 if (ApConfigUtil.isBridgedModeSupported(mContext, mWifiNative)) { in setSupportedFeatureSet()
2791 if (ApConfigUtil.isStaWithBridgedModeSupported(mContext, mWifiNative)) { in setSupportedFeatureSet()
DWifiServiceImpl.java218 import com.android.server.wifi.util.ApConfigUtil;
466 ApConfigUtil.deepCopyForSoftApInfoMap(infos), in notifyRegisterOnConnectedClientsOrInfoChanged()
467 ApConfigUtil.deepCopyForWifiClientListMap( in notifyRegisterOnConnectedClientsOrInfoChanged()
1709 softApConfig = ApConfigUtil.fromWifiConfiguration(wifiConfig); in startSoftAp()
1999 if (!ApConfigUtil.isSoftApBandSupported(mContext, band)) { in onDriverCountryCodeChanged()
2002 List<Integer> freqsForBand = ApConfigUtil.getAvailableChannelFreqsForBand( in onDriverCountryCodeChanged()
2159 mSoftApCapability = ApConfigUtil.updateCapabilityFromResource(mContext); in getSoftApCapability()
2160 mSoftApCapability = ApConfigUtil.updateCapabilityFromConfigStore( in getSoftApCapability()
2181 return ApConfigUtil.updateSoftApCapabilityWithAvailableChannelList( in updateSoftApCapabilityWithAvailableChannelList()
2249 ApConfigUtil.deepCopyForWifiClientListMap(clients); in onConnectedClientsOrInfoChanged()
[all …]
DWifiShellCommand.java112 import com.android.server.wifi.util.ApConfigUtil;
704 int band = ApConfigUtil.convertFrequencyToBand(apChannelMHz); in onCommand()
948 if (ApConfigUtil.isAcsSupported(mContext)) { in onCommand()
951 if (ApConfigUtil.isWpa3SaeSupported(mContext)) { in onCommand()
2382 channels.put(ApConfigUtil.convertFrequencyToBand(apChannelMHz), in buildSoftApConfiguration()
/packages/modules/Wifi/service/java/com/android/server/wifi/util/
DApConfigUtil.java81 public class ApConfigUtil { class
654 int availableBand = ApConfigUtil.removeUnavailableBands( in removeUnavailableBandsFromConfig()
658 availableBand = ApConfigUtil.append24GToBandIf24GSupported(availableBand, in removeUnavailableBandsFromConfig()
669 int availableBand = ApConfigUtil.removeUnavailableBands( in removeUnavailableBandsFromConfig()
684 ApConfigUtil.append24GToBandIf24GSupported(0, context)); in removeUnavailableBandsFromConfig()
848 if (!ApConfigUtil.isIeee80211beSupported(context)) { in is11beAllowedForThisConfiguration()
DXmlUtil.java2077 int band = ApConfigUtil.INVALID_VALUE_FOR_BAND_OR_CHANNEL; in parseChannelsFromXml()
2078 int channel = ApConfigUtil.INVALID_VALUE_FOR_BAND_OR_CHANNEL; in parseChannelsFromXml()
2147 if (!ApConfigUtil.isNonPasswordAP(softApConfig.getSecurityType())) { in writeSoftApConfigurationToXml()
2266 apBand = ApConfigUtil.convertWifiConfigBandToSoftApConfigBand( in parseFromXml()
2425 if (ApConfigUtil.isNonPasswordAP(securityType)) { in parseFromXml()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DSoftApBackupRestoreTest.java38 import com.android.server.wifi.util.ApConfigUtil;
101 assertEquals(ApConfigUtil.convertWifiConfigBandToSoftApConfigBand(backup.apBand), in assertWifiConfigurationEqualSoftApConfiguration()
DHostapdHalAidlImpTest.java75 import com.android.server.wifi.util.ApConfigUtil;
1012 freqRange1.startMhz = freqRange1.endMhz = ApConfigUtil.convertChannelToFrequency( in testAddAccessPointSuccess_DualBandConfig()
1014 freqRange2.startMhz = freqRange2.endMhz = ApConfigUtil.convertChannelToFrequency( in testAddAccessPointSuccess_DualBandConfig()
1016 freqRange3.startMhz = ApConfigUtil.convertChannelToFrequency( in testAddAccessPointSuccess_DualBandConfig()
1018 freqRange3.endMhz = ApConfigUtil.convertChannelToFrequency(13, in testAddAccessPointSuccess_DualBandConfig()
DHostapdHalHidlImpTest.java50 import com.android.server.wifi.util.ApConfigUtil;
1462 freqRange1.start = freqRange1.end = ApConfigUtil.convertChannelToFrequency( in testAddAccessPointSuccess_DualBandConfig()
1464 freqRange2.start = freqRange2.end = ApConfigUtil.convertChannelToFrequency( in testAddAccessPointSuccess_DualBandConfig()
1466 freqRange3.start = ApConfigUtil.convertChannelToFrequency(11, in testAddAccessPointSuccess_DualBandConfig()
1468 freqRange3.end = ApConfigUtil.convertChannelToFrequency(13, SoftApConfiguration.BAND_2GHZ); in testAddAccessPointSuccess_DualBandConfig()
DWifiServiceImplTest.java259 import com.android.server.wifi.util.ApConfigUtil;
1808 ApConfigUtil.fromWifiConfiguration(wifiApConfig))); in testSetWifiApConfigurationSuccess()
4180 verify(callback).onCapabilityChanged(ApConfigUtil.updateCapabilityFromResource(mContext)); in registerSoftApCallbackAndVerify()
10770 ApConfigUtil.updateCapabilityFromResource(mContext)); in registerLohsSoftApCallbackAndVerify()
/packages/modules/Wifi/service/tests/wifitests/
DAndroid.bp1184 "com.android.server.wifi.util.ApConfigUtil",
1185 "com.android.server.wifi.util.ApConfigUtil$*",
1186 "com.android.server.wifi.util.ApConfigUtil.**",