Home
last modified time | relevance | path

Searched refs:SoftApInfo (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/wifi/java/android/net/wifi/
DSoftApInfo.java34 public final class SoftApInfo implements Parcelable { class
131 public SoftApInfo(@Nullable SoftApInfo source) { in SoftApInfo() method in SoftApInfo
141 public SoftApInfo() { in SoftApInfo() method in SoftApInfo
159 public static final Creator<SoftApInfo> CREATOR = new Creator<SoftApInfo>() {
160 public SoftApInfo createFromParcel(Parcel in) {
161 SoftApInfo info = new SoftApInfo();
167 public SoftApInfo[] newArray(int size) {
168 return new SoftApInfo[size];
184 if (!(o instanceof SoftApInfo)) return false; in equals()
185 SoftApInfo softApInfo = (SoftApInfo) o; in equals()
DWifiAnnotations.java53 SoftApInfo.CHANNEL_WIDTH_INVALID,
54 SoftApInfo.CHANNEL_WIDTH_20MHZ_NOHT,
55 SoftApInfo.CHANNEL_WIDTH_20MHZ,
56 SoftApInfo.CHANNEL_WIDTH_40MHZ,
57 SoftApInfo.CHANNEL_WIDTH_80MHZ,
58 SoftApInfo.CHANNEL_WIDTH_80MHZ_PLUS_MHZ,
59 SoftApInfo.CHANNEL_WIDTH_160MHZ,
DISoftApCallback.aidl19 import android.net.wifi.SoftApInfo;
54 void onInfoChanged(in SoftApInfo softApInfo); in onInfoChanged()
DWifiManager.java3634 default void onInfoChanged(@NonNull SoftApInfo softApInfo) { in onInfoChanged()
3706 public void onInfoChanged(SoftApInfo softApInfo) { in onInfoChanged()
/frameworks/base/wifi/tests/src/android/net/wifi/
DSoftApInfoTest.java38 SoftApInfo info = new SoftApInfo(); in testCopyOperator()
40 info.setBandwidth(SoftApInfo.CHANNEL_WIDTH_20MHZ); in testCopyOperator()
42 SoftApInfo copiedInfo = new SoftApInfo(info); in testCopyOperator()
53 SoftApInfo info = new SoftApInfo(); in testParcelOperation()
55 info.setBandwidth(SoftApInfo.CHANNEL_WIDTH_20MHZ); in testParcelOperation()
65 SoftApInfo fromParcel = SoftApInfo.CREATOR.createFromParcel(parcelR); in testParcelOperation()
DWifiManagerTest.java127 private static final int TEST_AP_BANDWIDTH = SoftApInfo.CHANNEL_WIDTH_20MHZ;
946 SoftApInfo testSoftApInfo = new SoftApInfo(); in softApCallbackProxyCallsOnSoftApInfoChanged()
1003 SoftApInfo testSoftApInfo = new SoftApInfo(); in softApCallbackProxyCallsOnMultipleUpdates()
/frameworks/base/wifi/java/android/net/wifi/nl80211/
DWifiNl80211Manager.java27 import android.net.wifi.SoftApInfo;
389 return SoftApInfo.CHANNEL_WIDTH_INVALID; in toFrameworkBandwidth()
391 return SoftApInfo.CHANNEL_WIDTH_20MHZ_NOHT; in toFrameworkBandwidth()
393 return SoftApInfo.CHANNEL_WIDTH_20MHZ; in toFrameworkBandwidth()
395 return SoftApInfo.CHANNEL_WIDTH_40MHZ; in toFrameworkBandwidth()
397 return SoftApInfo.CHANNEL_WIDTH_80MHZ; in toFrameworkBandwidth()
399 return SoftApInfo.CHANNEL_WIDTH_80MHZ_PLUS_MHZ; in toFrameworkBandwidth()
401 return SoftApInfo.CHANNEL_WIDTH_160MHZ; in toFrameworkBandwidth()
403 return SoftApInfo.CHANNEL_WIDTH_INVALID; in toFrameworkBandwidth()
/frameworks/base/wifi/aidl-export/android/net/wifi/
DSoftApInfo.aidl19 parcelable SoftApInfo;
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DSoftApManager.java32 import android.net.wifi.SoftApInfo;
106 private SoftApInfo mCurrentSoftApInfo = new SoftApInfo();
772 if (freq > 0 && apBandwidth != SoftApInfo.CHANNEL_WIDTH_INVALID) { in setSoftApChannel()
858 setSoftApChannel(0, SoftApInfo.CHANNEL_WIDTH_INVALID); in exit()
DWifiServiceImpl.java68 import android.net.wifi.SoftApInfo;
1044 private SoftApInfo mTetheredSoftApInfo = new SoftApInfo();
1079 public SoftApInfo getSoftApInfo() { in getSoftApInfo()
1191 public void onInfoChanged(SoftApInfo softApInfo) { in onInfoChanged()
1193 mTetheredSoftApInfo = new SoftApInfo(softApInfo); in onInfoChanged()
1602 public void onInfoChanged(SoftApInfo softApInfo) { in onInfoChanged()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DSoftApManagerTest.java64 import android.net.wifi.SoftApInfo;
113 SoftApInfo.CHANNEL_WIDTH_20MHZ_NOHT;
114 private static final int TEST_AP_BANDWIDTH_IN_SOFTAPINFO = SoftApInfo.CHANNEL_WIDTH_20MHZ_NOHT;
120 private SoftApInfo mTestSoftApInfo;
171 mTestSoftApInfo = new SoftApInfo(); in setUp()
873 final int channelBandwidth = SoftApInfo.CHANNEL_WIDTH_20MHZ_NOHT; in updatesMetricsOnChannelSwitchedEvent()
895 final int channelBandwidth = SoftApInfo.CHANNEL_WIDTH_20MHZ_NOHT; in updatesMetricsOnChannelSwitchedEventDetectsBandUnsatisfiedOnBand2Ghz()
918 final int channelBandwidth = SoftApInfo.CHANNEL_WIDTH_20MHZ_NOHT; in updatesMetricsOnChannelSwitchedEventDetectsBandUnsatisfiedOnBand5Ghz()
941 final int channelBandwidth = SoftApInfo.CHANNEL_WIDTH_20MHZ_NOHT; in updatesMetricsOnChannelSwitchedEventDoesNotDetectBandUnsatisfiedOnBandAny()
1040 mTestSoftApInfo.setBandwidth(SoftApInfo.CHANNEL_WIDTH_INVALID); in testCallbackForChannelUpdateToZeroWhenLeaveSoftapStarted()
[all …]
DActiveModeWardenTest.java54 import android.net.wifi.SoftApInfo;
97 private static final int TEST_AP_BANDWIDTH = SoftApInfo.CHANNEL_WIDTH_20MHZ;
126 private SoftApInfo mTestSoftApInfo;
194 mTestSoftApInfo = new SoftApInfo(); in setUp()
DWifiServiceImplTest.java111 import android.net.wifi.SoftApInfo;
228 private static final int TEST_AP_BANDWIDTH = SoftApInfo.CHANNEL_WIDTH_20MHZ;
237 private SoftApInfo mTestSoftApInfo;
445 mTestSoftApInfo = new SoftApInfo(); in setUp()
2528 verify(callback).onInfoChanged(new SoftApInfo()); in registerSoftApCallbackAndVerify()
/frameworks/base/wifi/tests/src/android/net/wifi/nl80211/
DWifiNl80211ManagerTest.java43 import android.net.wifi.SoftApInfo;
714 eq(SoftApInfo.CHANNEL_WIDTH_20MHZ)); in testSoftApListenerInvocation()
/frameworks/base/wifi/api/
Dsystem-current.txt285 public final class SoftApInfo implements android.os.Parcelable {
297 …field @NonNull public static final android.os.Parcelable.Creator<android.net.wifi.SoftApInfo> CREA…
569 method public default void onInfoChanged(@NonNull android.net.wifi.SoftApInfo);
/frameworks/base/api/
Dsystem-current.txt7082 public final class SoftApInfo implements android.os.Parcelable {
7094 …field @NonNull public static final android.os.Parcelable.Creator<android.net.wifi.SoftApInfo> CREA…
7366 method public default void onInfoChanged(@NonNull android.net.wifi.SoftApInfo);