Loading api/system-current.txt +1 −1 Original line number Diff line number Diff line Loading @@ -7199,9 +7199,9 @@ package android.net.wifi { } public final class SoftApCapability implements android.os.Parcelable { method public boolean areFeaturesSupported(long); method public int describeContents(); method public int getMaxSupportedClients(); method public boolean isFeatureSupported(long); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator<android.net.wifi.SoftApCapability> CREATOR; field public static final long SOFTAP_FEATURE_ACS_OFFLOAD = 1L; // 0x1L Loading wifi/java/android/net/wifi/SoftApCapability.java +5 −5 Original line number Diff line number Diff line Loading @@ -100,12 +100,12 @@ public final class SoftApCapability implements Parcelable { } /** * Returns true when feature supported, otherwise false. * Returns true when all of the queried features are supported, otherwise false. * * @param feature one of feature from {@link HotspotFeatures} * @param features One or combination of the features from {@link @HotspotFeatures} */ public boolean isFeatureSupported(@HotspotFeatures long feature) { return (mSupportedFeatures & feature) == feature; public boolean areFeaturesSupported(@HotspotFeatures long features) { return (mSupportedFeatures & features) == features; } /** Loading @@ -122,7 +122,7 @@ public final class SoftApCapability implements Parcelable { * Constructor with combination of the feature. * Zero to no supported feature. * * @param features One or combination of the feature from {@link @HotspotFeatures}. * @param features One or combination of the features from {@link @HotspotFeatures}. * @hide */ public SoftApCapability(@HotspotFeatures long features) { Loading wifi/java/android/net/wifi/SoftApConfiguration.java +4 −3 Original line number Diff line number Diff line Loading @@ -762,7 +762,8 @@ public final class SoftApConfiguration implements Parcelable { * {@link #setBand(@BandType int)}. * * The channel auto selection will offload to driver when * {@link SoftApCapability#isFeatureSupported(SoftApCapability.SOFTAP_FEATURE_ACS_OFFLOAD)} * {@link SoftApCapability#areFeaturesSupported( * SoftApCapability.SOFTAP_FEATURE_ACS_OFFLOAD)} * return true. Driver will auto select best channel which based on environment * interference to get best performance. Check {@link SoftApCapability} to get more detail. * Loading Loading @@ -807,7 +808,7 @@ public final class SoftApConfiguration implements Parcelable { * * <p> * Use {@link WifiManager.SoftApCallback#onCapabilityChanged(SoftApCapability)} and * {@link SoftApCapability#isFeatureSupported(int)} * {@link SoftApCapability#areFeaturesSupported(int)} * with {@link SoftApCapability.SOFTAP_FEATURE_CLIENT_FORCE_DISCONNECT} to determine whether * or not this feature is supported. * Loading Loading @@ -882,7 +883,7 @@ public final class SoftApConfiguration implements Parcelable { * <p> * This method requires hardware support. Hardware support can be determined using * {@link WifiManager.SoftApCallback#onCapabilityChanged(SoftApCapability)} and * {@link SoftApCapability#isFeatureSupported(int)} * {@link SoftApCapability#areFeaturesSupported(int)} * with {@link SoftApCapability.SOFTAP_FEATURE_CLIENT_FORCE_DISCONNECT} * * <p> Loading Loading
api/system-current.txt +1 −1 Original line number Diff line number Diff line Loading @@ -7199,9 +7199,9 @@ package android.net.wifi { } public final class SoftApCapability implements android.os.Parcelable { method public boolean areFeaturesSupported(long); method public int describeContents(); method public int getMaxSupportedClients(); method public boolean isFeatureSupported(long); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator<android.net.wifi.SoftApCapability> CREATOR; field public static final long SOFTAP_FEATURE_ACS_OFFLOAD = 1L; // 0x1L Loading
wifi/java/android/net/wifi/SoftApCapability.java +5 −5 Original line number Diff line number Diff line Loading @@ -100,12 +100,12 @@ public final class SoftApCapability implements Parcelable { } /** * Returns true when feature supported, otherwise false. * Returns true when all of the queried features are supported, otherwise false. * * @param feature one of feature from {@link HotspotFeatures} * @param features One or combination of the features from {@link @HotspotFeatures} */ public boolean isFeatureSupported(@HotspotFeatures long feature) { return (mSupportedFeatures & feature) == feature; public boolean areFeaturesSupported(@HotspotFeatures long features) { return (mSupportedFeatures & features) == features; } /** Loading @@ -122,7 +122,7 @@ public final class SoftApCapability implements Parcelable { * Constructor with combination of the feature. * Zero to no supported feature. * * @param features One or combination of the feature from {@link @HotspotFeatures}. * @param features One or combination of the features from {@link @HotspotFeatures}. * @hide */ public SoftApCapability(@HotspotFeatures long features) { Loading
wifi/java/android/net/wifi/SoftApConfiguration.java +4 −3 Original line number Diff line number Diff line Loading @@ -762,7 +762,8 @@ public final class SoftApConfiguration implements Parcelable { * {@link #setBand(@BandType int)}. * * The channel auto selection will offload to driver when * {@link SoftApCapability#isFeatureSupported(SoftApCapability.SOFTAP_FEATURE_ACS_OFFLOAD)} * {@link SoftApCapability#areFeaturesSupported( * SoftApCapability.SOFTAP_FEATURE_ACS_OFFLOAD)} * return true. Driver will auto select best channel which based on environment * interference to get best performance. Check {@link SoftApCapability} to get more detail. * Loading Loading @@ -807,7 +808,7 @@ public final class SoftApConfiguration implements Parcelable { * * <p> * Use {@link WifiManager.SoftApCallback#onCapabilityChanged(SoftApCapability)} and * {@link SoftApCapability#isFeatureSupported(int)} * {@link SoftApCapability#areFeaturesSupported(int)} * with {@link SoftApCapability.SOFTAP_FEATURE_CLIENT_FORCE_DISCONNECT} to determine whether * or not this feature is supported. * Loading Loading @@ -882,7 +883,7 @@ public final class SoftApConfiguration implements Parcelable { * <p> * This method requires hardware support. Hardware support can be determined using * {@link WifiManager.SoftApCallback#onCapabilityChanged(SoftApCapability)} and * {@link SoftApCapability#isFeatureSupported(int)} * {@link SoftApCapability#areFeaturesSupported(int)} * with {@link SoftApCapability.SOFTAP_FEATURE_CLIENT_FORCE_DISCONNECT} * * <p> Loading