Home
last modified time | relevance | path

Searched refs:SoftApCapability (Results 1 – 20 of 20) sorted by relevance

/packages/modules/Wifi/framework/tests/src/android/net/wifi/
DSoftApCapabilityTest.java38 long testSoftApFeature = SoftApCapability.SOFTAP_FEATURE_CLIENT_FORCE_DISCONNECT in testCopyOperator()
39 | SoftApCapability.SOFTAP_FEATURE_ACS_OFFLOAD; in testCopyOperator()
43 SoftApCapability capability = new SoftApCapability(testSoftApFeature); in testCopyOperator()
49 SoftApCapability copiedCapability = new SoftApCapability(capability); in testCopyOperator()
60 long testSoftApFeature = SoftApCapability.SOFTAP_FEATURE_CLIENT_FORCE_DISCONNECT in testParcelOperation()
61 | SoftApCapability.SOFTAP_FEATURE_ACS_OFFLOAD; in testParcelOperation()
62 SoftApCapability capability = new SoftApCapability(testSoftApFeature); in testParcelOperation()
80 SoftApCapability fromParcel = SoftApCapability.CREATOR.createFromParcel(parcelR); in testParcelOperation()
88 long testSoftApFeature = SoftApCapability.SOFTAP_FEATURE_CLIENT_FORCE_DISCONNECT in testSetSupportedChannelListWithInvalidBand()
89 | SoftApCapability.SOFTAP_FEATURE_ACS_OFFLOAD; in testSetSupportedChannelListWithInvalidBand()
[all …]
DWifiManagerTest.java1621 SoftApCapability testSoftApCapability = new SoftApCapability(0); in softApCallbackProxyCallsOnCapabilityChanged()
1657 SoftApCapability testSoftApCapability = new SoftApCapability(0); in softApCallbackProxyCallsOnMultipleUpdates()
/packages/modules/Wifi/framework/java/android/net/wifi/
DSoftApCapability.java40 public final class SoftApCapability implements Parcelable { class
255 public SoftApCapability(@Nullable SoftApCapability source) { in SoftApCapability() method in SoftApCapability
275 public SoftApCapability(@HotspotFeatures long features) { in SoftApCapability() method in SoftApCapability
298 public static final Creator<SoftApCapability> CREATOR = new Creator<SoftApCapability>() {
299 public SoftApCapability createFromParcel(Parcel in) {
300 SoftApCapability capability = new SoftApCapability(in.readLong());
309 public SoftApCapability[] newArray(int size) {
310 return new SoftApCapability[size];
332 if (!(o instanceof SoftApCapability)) return false; in equals()
333 SoftApCapability capability = (SoftApCapability) o; in equals()
DISoftApCallback.aidl18 import android.net.wifi.SoftApCapability;
59 void onCapabilityChanged(in SoftApCapability capability); in onCapabilityChanged()
DWifiManager.java4650 default void onCapabilityChanged(@NonNull SoftApCapability softApCapability) { in onCapabilityChanged()
4808 public void onCapabilityChanged(SoftApCapability capability) { in onCapabilityChanged()
/packages/modules/Wifi/service/java/com/android/server/wifi/util/
DApConfigUtil.java25 import android.net.wifi.SoftApCapability;
483 public static @BandType int removeUnavailableBands(SoftApCapability capability, in removeUnavailableBands()
640 public static SoftApCapability updateCapabilityFromResource(@NonNull Context context) { in updateCapabilityFromResource()
644 features |= SoftApCapability.SOFTAP_FEATURE_ACS_OFFLOAD; in updateCapabilityFromResource()
649 features |= SoftApCapability.SOFTAP_FEATURE_CLIENT_FORCE_DISCONNECT; in updateCapabilityFromResource()
654 features |= SoftApCapability.SOFTAP_FEATURE_WPA3_SAE; in updateCapabilityFromResource()
659 features |= SoftApCapability.SOFTAP_FEATURE_MAC_ADDRESS_CUSTOMIZATION; in updateCapabilityFromResource()
664 features |= SoftApCapability.SOFTAP_FEATURE_BAND_24G_SUPPORTED; in updateCapabilityFromResource()
669 features |= SoftApCapability.SOFTAP_FEATURE_BAND_5G_SUPPORTED; in updateCapabilityFromResource()
674 features |= SoftApCapability.SOFTAP_FEATURE_BAND_6G_SUPPORTED; in updateCapabilityFromResource()
[all …]
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DSoftApManagerTest.java61 import android.net.wifi.SoftApCapability;
158 private SoftApCapability mTestSoftApCapability;
294 long testSoftApFeature = SoftApCapability.SOFTAP_FEATURE_CLIENT_FORCE_DISCONNECT in setUp()
295 | SoftApCapability.SOFTAP_FEATURE_ACS_OFFLOAD in setUp()
296 | SoftApCapability.SOFTAP_FEATURE_WPA3_SAE in setUp()
297 | SoftApCapability.SOFTAP_FEATURE_MAC_ADDRESS_CUSTOMIZATION; in setUp()
298 mTestSoftApCapability = new SoftApCapability(testSoftApFeature); in setUp()
625 SoftApCapability noAcsCapability = new SoftApCapability(0); in startSoftApFailNoChannel()
1667 long testSoftApFeature = SoftApCapability.SOFTAP_FEATURE_CLIENT_FORCE_DISCONNECT in resetsFactoryMacWhenRandomizationDoesntSupport()
1668 | SoftApCapability.SOFTAP_FEATURE_ACS_OFFLOAD in resetsFactoryMacWhenRandomizationDoesntSupport()
[all …]
DActiveModeWardenTest.java63 import android.net.wifi.SoftApCapability;
149 @Mock SoftApCapability mSoftApCapability;
2529 SoftApCapability testCapability = new SoftApCapability(0); in testUpdateCapabilityInSoftApActiveMode()
2548 SoftApCapability testCapability = new SoftApCapability(0); in testUpdateCapabilityInNonSoftApActiveMode()
DWifiMetricsTest.java68 import android.net.wifi.SoftApCapability;
1148 SoftApCapability testSoftApCapability = new SoftApCapability(0); in addSoftApEventsToMetrics()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/util/
DApConfigUtilTest.java33 import android.net.wifi.SoftApCapability;
584 long testFeatures = SoftApCapability.SOFTAP_FEATURE_CLIENT_FORCE_DISCONNECT in testSoftApCapabilityInitWithResourceValue()
585 | SoftApCapability.SOFTAP_FEATURE_BAND_6G_SUPPORTED in testSoftApCapabilityInitWithResourceValue()
586 | SoftApCapability.SOFTAP_FEATURE_BAND_60G_SUPPORTED; in testSoftApCapabilityInitWithResourceValue()
587 SoftApCapability capability = new SoftApCapability(testFeatures); in testSoftApCapabilityInitWithResourceValue()
730 SoftApCapability testSoftApCapability = new SoftApCapability(0); in testIsAvailableChannelsOnTargetBands()
767 SoftApCapability mockSoftApCapability = mock(SoftApCapability.class); in testCheckSupportAllConfiguration()
774 SoftApCapability.SOFTAP_FEATURE_CLIENT_FORCE_DISCONNECT)).thenReturn(false); in testCheckSupportAllConfiguration()
795 SoftApCapability.SOFTAP_FEATURE_CLIENT_FORCE_DISCONNECT)).thenReturn(true); in testCheckSupportAllConfiguration()
801 SoftApCapability.SOFTAP_FEATURE_WPA3_SAE)).thenReturn(false); in testCheckSupportAllConfiguration()
[all …]
/packages/modules/Wifi/service/java/com/android/server/wifi/
DSoftApModeConfiguration.java19 import android.net.wifi.SoftApCapability;
36 private final SoftApCapability mCapability;
44 SoftApCapability capability) { in SoftApModeConfiguration()
62 public SoftApCapability getCapability() { in getCapability()
DSoftApManager.java31 import android.net.wifi.SoftApCapability;
147 private SoftApCapability mCurrentSoftApCapability;
343 SoftApCapability.SOFTAP_FEATURE_MAC_ADDRESS_CUSTOMIZATION)) { in SoftApManager()
438 public void updateCapability(@NonNull SoftApCapability capability) { in updateCapability()
583 SoftApCapability.SOFTAP_FEATURE_ACS_OFFLOAD)) { in updateCountryCode()
639 SoftApCapability.SOFTAP_FEATURE_ACS_OFFLOAD); in startSoftAp()
717 SoftApCapability.SOFTAP_FEATURE_CLIENT_FORCE_DISCONNECT)) { in checkSoftApClient()
934 SoftApCapability capability = (SoftApCapability) message.obj; in processMessage()
935 mCurrentSoftApCapability = new SoftApCapability(capability); in processMessage()
1055 SoftApCapability.SOFTAP_FEATURE_CLIENT_FORCE_DISCONNECT)) { in updateClientConnection()
[all …]
DWifiServiceImpl.java81 import android.net.wifi.SoftApCapability;
310 default void onCapabilityChanged(@NonNull SoftApCapability softApCapability) {} in onCapabilityChanged()
1299 private SoftApCapability mTetheredSoftApCapability = null;
1350 public SoftApCapability getSoftApCapability() { in getSoftApCapability()
1362 private SoftApCapability updateSoftApCapabilityWithAvailableChannelList( in updateSoftApCapabilityWithAvailableChannelList()
1363 @NonNull SoftApCapability softApCapability) { in updateSoftApCapabilityWithAvailableChannelList()
1364 SoftApCapability newSoftApCapability = new SoftApCapability(softApCapability); in updateSoftApCapabilityWithAvailableChannelList()
1433 SoftApCapability newSoftApCapability = new SoftApCapability(mTetheredSoftApCapability); in updateSoftApCapabilityWhenCarrierConfigChanged()
1515 public void onCapabilityChanged(SoftApCapability capability) { in onCapabilityChanged()
1520 mTetheredSoftApCapability = new SoftApCapability(capability); in onCapabilityChanged()
[all …]
DActiveModeWarden.java38 import android.net.wifi.SoftApCapability;
597 public void updateSoftApCapability(SoftApCapability capability) { in updateSoftApCapability()
946 private void updateCapabilityToSoftApModeManager(SoftApCapability capability) { in updateCapabilityToSoftApModeManager()
1733 updateCapabilityToSoftApModeManager((SoftApCapability) msg.obj); in processMessage()
DWifiShellCommand.java44 import android.net.wifi.SoftApCapability;
466 public void onCapabilityChanged(SoftApCapability capability) { in onCommand()
DWifiMetrics.java37 import android.net.wifi.SoftApCapability;
3148 public void updateSoftApCapability(SoftApCapability capability, int mode, boolean isBridged) { in updateSoftApCapability()
/packages/apps/Settings/src/com/android/settings/wifi/tether/
DWifiTetherSecurityPreferenceController.java23 import android.net.wifi.SoftApCapability;
108 public void onCapabilityChanged(@NonNull SoftApCapability softApCapability) { in onCapabilityChanged()
110 softApCapability.areFeaturesSupported(SoftApCapability.SOFTAP_FEATURE_WPA3_SAE); in onCapabilityChanged()
/packages/modules/Wifi/framework/aidl-export/android/net/wifi/
DSoftApCapability.aidl19 parcelable SoftApCapability;
/packages/modules/Wifi/framework/api/
Dsystem-current.txt255 public final class SoftApCapability implements android.os.Parcelable {
261 …nNull public static final android.os.Parcelable.Creator<android.net.wifi.SoftApCapability> CREATOR;
706 method public default void onCapabilityChanged(@NonNull android.net.wifi.SoftApCapability);
/packages/modules/Wifi/service/proto/src/
Dmetrics.proto2007 // Maximum number of client setting in SoftApCapability