Searched refs:ApConfigUtil (Results 1 – 13 of 13) sorted by relevance
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/ |
D | ApConfigUtilTest.java | 142 assertEquals(SoftApConfiguration.BAND_2GHZ, ApConfigUtil in convertWifiConfigBandToSoftapConfigBandTest() 144 assertEquals(SoftApConfiguration.BAND_5GHZ, ApConfigUtil in convertWifiConfigBandToSoftapConfigBandTest() 146 assertEquals(SoftApConfiguration.BAND_2GHZ | SoftApConfiguration.BAND_5GHZ, ApConfigUtil in convertWifiConfigBandToSoftapConfigBandTest() 157 assertTrue(ApConfigUtil.isMultiband(SoftApConfiguration.BAND_2GHZ in isMultibandSuccess() 159 assertTrue(ApConfigUtil.isMultiband(SoftApConfiguration.BAND_5GHZ in isMultibandSuccess() 161 assertTrue(ApConfigUtil.isMultiband(SoftApConfiguration.BAND_2GHZ in isMultibandSuccess() 163 assertTrue(ApConfigUtil.isMultiband(SoftApConfiguration.BAND_2GHZ in isMultibandSuccess() 172 assertFalse(ApConfigUtil.isMultiband(SoftApConfiguration.BAND_2GHZ)); in isMultibandFailure() 173 assertFalse(ApConfigUtil.isMultiband(SoftApConfiguration.BAND_5GHZ)); in isMultibandFailure() 174 assertFalse(ApConfigUtil.isMultiband(SoftApConfiguration.BAND_6GHZ)); in isMultibandFailure() [all …]
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiApConfigStore.java | 31 import com.android.server.wifi.util.ApConfigUtil; 171 if ((!ApConfigUtil.isClientForceDisconnectSupported(mContext) in resetToDefaultForUnsupportedConfig() 181 if ((!ApConfigUtil.isClientForceDisconnectSupported(mContext) in resetToDefaultForUnsupportedConfig() 189 if (!ApConfigUtil.isWpa3SaeSupported(mContext) && (config.getSecurityType() in resetToDefaultForUnsupportedConfig() 278 if (ApConfigUtil.isWpa3SaeSupported(mContext)) { in getDefaultApConfiguration() 320 if (ApConfigUtil.isWpa3SaeSupported(context)) { in generateLocalOnlyHotspotConfig()
|
D | HostapdHal.java | 40 import com.android.server.wifi.util.ApConfigUtil; 423 boolean enableAcs = ApConfigUtil.isAcsSupported(mContext) && config.getChannel() == 0 in addAccessPoint() 834 if (!ApConfigUtil.isBandValid(apBand)) { in getHalBandMask() 838 if (ApConfigUtil.containsBand(apBand, SoftApConfiguration.BAND_2GHZ)) { in getHalBandMask() 841 if (ApConfigUtil.containsBand(apBand, SoftApConfiguration.BAND_5GHZ)) { in getHalBandMask() 844 if (ApConfigUtil.containsBand(apBand, SoftApConfiguration.BAND_6GHZ)) { in getHalBandMask() 852 if (!ApConfigUtil.isBandValid(apBand)) { in getHalBand() 914 if (!ApConfigUtil.isBandValid(band) || ApConfigUtil.isMultiband(band)) { in toAcsFreqRanges() 950 acsFrequencyRange.start = ApConfigUtil.convertChannelToFrequency(start, band); in toAcsFreqRanges() 951 acsFrequencyRange.end = ApConfigUtil.convertChannelToFrequency(end, band); in toAcsFreqRanges() [all …]
|
D | SoftApManager.java | 21 import static com.android.server.wifi.util.ApConfigUtil.ERROR_GENERIC; 22 import static com.android.server.wifi.util.ApConfigUtil.ERROR_NO_CHANNEL; 23 import static com.android.server.wifi.util.ApConfigUtil.ERROR_UNSUPPORTED_CONFIGURATION; 24 import static com.android.server.wifi.util.ApConfigUtil.SUCCESS; 53 import com.android.server.wifi.util.ApConfigUtil; 421 result = ApConfigUtil.updateApChannelConfig( in startSoftAp() 433 if (!ApConfigUtil.checkSupportAllConfiguration(config, mCurrentSoftApCapability)) { in startSoftAp() 865 && !ApConfigUtil.containsBand(band, in updateUserBandPreferenceViolationMetricsIfNeeded() 868 && !ApConfigUtil.containsBand(band, in updateUserBandPreferenceViolationMetricsIfNeeded() 871 && !ApConfigUtil.containsBand(band, in updateUserBandPreferenceViolationMetricsIfNeeded() [all …]
|
D | SoftApBackupRestore.java | 27 import com.android.server.wifi.util.ApConfigUtil; 127 band = ApConfigUtil.convertWifiConfigBandToSoftApConfigBand(in.readInt()); in retrieveSoftApConfigurationFromBackupData()
|
D | SoftApStoreData.java | 27 import com.android.server.wifi.util.ApConfigUtil; 186 apBand = ApConfigUtil.convertWifiConfigBandToSoftApConfigBand( in deserializeData()
|
D | DppManager.java | 41 import com.android.server.wifi.util.ApConfigUtil; 607 int band = ApConfigUtil.getBandFromOperatingClass(operatingClass); in isEnrolleeCompatibleWithNetwork() 615 int freq = ApConfigUtil.convertChannelToFrequency(channels[j], band); in isEnrolleeCompatibleWithNetwork()
|
D | WifiShellCommand.java | 51 import com.android.server.wifi.util.ApConfigUtil; 285 int band = ApConfigUtil.convertFrequencyToBand(apChannelMHz); in onCommand() 369 if (ApConfigUtil.isAcsSupported(mContext)) { in onCommand() 372 if (ApConfigUtil.isWpa3SaeSupported(mContext)) { in onCommand()
|
D | WifiServiceImpl.java | 116 import com.android.server.wifi.util.ApConfigUtil; 884 softApConfig = ApConfigUtil.fromWifiConfiguration(wifiConfig); in startSoftAp() 912 if (!ApConfigUtil.isBandValid(apBand)) { in validateSoftApBand() 917 if (ApConfigUtil.containsBand(apBand, SoftApConfiguration.BAND_5GHZ) in validateSoftApBand() 923 if (ApConfigUtil.containsBand(apBand, SoftApConfiguration.BAND_6GHZ)) { in validateSoftApBand() 1088 mTetheredSoftApCapability = ApConfigUtil.updateCapabilityFromResource(mContext); in getSoftApCapability() 1293 mLohsSoftApCapability = ApConfigUtil.updateCapabilityFromResource(mContext); in getSoftApCapability() 1914 SoftApConfiguration softApConfig = ApConfigUtil.fromWifiConfiguration(wifiConfig); in setWifiApConfiguration()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/ |
D | ApConfigUtil.java | 43 public class ApConfigUtil { class
|
/frameworks/opt/net/wifi/tests/wifitests/ |
D | Android.bp | 822 "com.android.server.wifi.util.ApConfigUtil", 823 "com.android.server.wifi.util.ApConfigUtil$*", 824 "com.android.server.wifi.util.ApConfigUtil.**",
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiServiceImplTest.java | 156 import com.android.server.wifi.util.ApConfigUtil; 1026 ApConfigUtil.fromWifiConfiguration(wifiApConfig))); in testSetWifiApConfigurationSuccess() 2529 verify(callback).onCapabilityChanged(ApConfigUtil.updateCapabilityFromResource(mContext)); in registerSoftApCallbackAndVerify()
|
D | SoftApManagerTest.java | 34 import static com.android.server.wifi.util.ApConfigUtil.DEFAULT_AP_CHANNEL;
|