/packages/modules/Wifi/framework/tests/src/android/net/wifi/ |
D | SoftApInfoTest.java | 41 private static final int TEST_BANDWIDTH = SoftApInfo.CHANNEL_WIDTH_20MHZ; 53 SoftApInfo info = new SoftApInfo(); in testCopyOperator() 63 SoftApInfo copiedInfo = new SoftApInfo(info); in testCopyOperator() 74 SoftApInfo info = new SoftApInfo(); in testParcelOperation() 92 SoftApInfo fromParcel = SoftApInfo.CREATOR.createFromParcel(parcelR); in testParcelOperation() 104 SoftApInfo info = new SoftApInfo(); in testInitialValue() 106 assertEquals(info.getBandwidth(), SoftApInfo.CHANNEL_WIDTH_INVALID); in testInitialValue() 122 SoftApInfo info = new SoftApInfo(); in testGetXXXAlignedWithSetXXX()
|
D | WifiManagerTest.java | 179 private static final int[] TEST_AP_BWS = new int[] {SoftApInfo.CHANNEL_WIDTH_20MHZ_NOHT, 180 SoftApInfo.CHANNEL_WIDTH_80MHZ}; 226 private HashMap<String, SoftApInfo> mTestSoftApInfoMap = new HashMap<>(); 228 private SoftApInfo mTestApInfo1 = new SoftApInfo(); 229 private SoftApInfo mTestApInfo2 = new SoftApInfo(); 281 SoftApInfo info = mTestApInfo1; in initTestInfoAndAddToTestMap() 1323 (Map<String, SoftApInfo>) mTestSoftApInfoMap.clone(), in softApCallbackProxyCallsOnRegistrationAndApStartedWithClientsConnected() 1330 verify(mSoftApCallback).onInfoChanged(Mockito.argThat((List<SoftApInfo> infos) -> in softApCallbackProxyCallsOnRegistrationAndApStartedWithClientsConnected() 1348 (Map<String, SoftApInfo>) mTestSoftApInfoMap.clone(), in softApCallbackProxyCallsOnConnectedClientsChangedEvenIfNoInfoChanged() 1353 verify(mSoftApCallback).onInfoChanged(new SoftApInfo()); in softApCallbackProxyCallsOnConnectedClientsChangedEvenIfNoInfoChanged() [all …]
|
D | SoftApConfigurationTest.java | 893 assertEquals(SoftApInfo.CHANNEL_WIDTH_AUTO, config.getMaxChannelBandwidth()); in testMaxChannelBandwidth() 896 .setMaxChannelBandwidth(SoftApInfo.CHANNEL_WIDTH_20MHZ) in testMaxChannelBandwidth() 898 assertEquals(SoftApInfo.CHANNEL_WIDTH_20MHZ, config.getMaxChannelBandwidth()); in testMaxChannelBandwidth() 901 .setMaxChannelBandwidth(SoftApInfo.CHANNEL_WIDTH_AUTO) in testMaxChannelBandwidth() 903 assertEquals(SoftApInfo.CHANNEL_WIDTH_AUTO, config.getMaxChannelBandwidth()); in testMaxChannelBandwidth() 908 .setMaxChannelBandwidth(SoftApInfo.CHANNEL_WIDTH_80MHZ_PLUS_MHZ)); in testMaxChannelBandwidth()
|
/packages/modules/Wifi/framework/java/android/net/wifi/ |
D | WifiAnnotations.java | 53 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, 60 SoftApInfo.CHANNEL_WIDTH_320MHZ, 61 SoftApInfo.CHANNEL_WIDTH_2160MHZ, 62 SoftApInfo.CHANNEL_WIDTH_4320MHZ, [all …]
|
D | SoftApInfo.java | 48 public final class SoftApInfo implements Parcelable { class 360 public SoftApInfo(@Nullable SoftApInfo source) { in SoftApInfo() method in SoftApInfo 375 public SoftApInfo() { in SoftApInfo() method in SoftApInfo 398 public static final Creator<SoftApInfo> CREATOR = new Creator<SoftApInfo>() { 399 public SoftApInfo createFromParcel(Parcel in) { 400 SoftApInfo info = new SoftApInfo(); 411 public SoftApInfo[] newArray(int size) { 412 return new SoftApInfo[size]; 435 if (!(o instanceof SoftApInfo)) return false; in equals() 436 SoftApInfo softApInfo = (SoftApInfo) o; in equals()
|
D | ISoftApCallback.aidl | 20 import android.net.wifi.SoftApInfo; 47 void onConnectedClientsOrInfoChanged(in Map<String, SoftApInfo> infos, in onConnectedClientsOrInfoChanged()
|
D | SoftApConfiguration.java | 1348 mMaxChannelBandwidth = SoftApInfo.CHANNEL_WIDTH_AUTO; in Builder() 2043 case SoftApInfo.CHANNEL_WIDTH_AUTO: in setMaxChannelBandwidth() 2044 case SoftApInfo.CHANNEL_WIDTH_20MHZ: in setMaxChannelBandwidth() 2045 case SoftApInfo.CHANNEL_WIDTH_40MHZ: in setMaxChannelBandwidth() 2046 case SoftApInfo.CHANNEL_WIDTH_80MHZ: in setMaxChannelBandwidth() 2047 case SoftApInfo.CHANNEL_WIDTH_160MHZ: in setMaxChannelBandwidth() 2048 case SoftApInfo.CHANNEL_WIDTH_320MHZ: in setMaxChannelBandwidth()
|
D | WifiManager.java | 6685 default void onConnectedClientsChanged(@NonNull SoftApInfo info, in onConnectedClientsChanged() 6704 default void onInfoChanged(@NonNull SoftApInfo softApInfo) { in onInfoChanged() 6733 default void onInfoChanged(@NonNull List<SoftApInfo> softApInfoList) { in onInfoChanged() 6775 private Map<String, SoftApInfo> mCurrentInfos = new HashMap<>(); 6805 public void onConnectedClientsOrInfoChanged(Map<String, SoftApInfo> infos, in onConnectedClientsOrInfoChanged() 6814 List<SoftApInfo> changedInfoList = new ArrayList<>(infos.values()); in onConnectedClientsOrInfoChanged() 6815 Map<SoftApInfo, List<WifiClient>> changedInfoClients = new HashMap<>(); in onConnectedClientsOrInfoChanged() 6825 for (SoftApInfo currentInfo : infos.values()) { in onConnectedClientsOrInfoChanged() 6834 for (SoftApInfo info : mCurrentInfos.values()) { in onConnectedClientsOrInfoChanged() 6842 SoftApInfo changedInfo = infos.get(changedInstance); in onConnectedClientsOrInfoChanged() [all …]
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | HostapdHalAidlImp.java | 40 import android.net.wifi.SoftApInfo; 757 return SoftApInfo.CHANNEL_WIDTH_20MHZ_NOHT; in mapHalChannelBandwidthToSoftApInfo() 759 return SoftApInfo.CHANNEL_WIDTH_20MHZ; in mapHalChannelBandwidthToSoftApInfo() 761 return SoftApInfo.CHANNEL_WIDTH_40MHZ; in mapHalChannelBandwidthToSoftApInfo() 763 return SoftApInfo.CHANNEL_WIDTH_80MHZ; in mapHalChannelBandwidthToSoftApInfo() 765 return SoftApInfo.CHANNEL_WIDTH_80MHZ_PLUS_MHZ; in mapHalChannelBandwidthToSoftApInfo() 767 return SoftApInfo.CHANNEL_WIDTH_160MHZ; in mapHalChannelBandwidthToSoftApInfo() 769 return SoftApInfo.CHANNEL_WIDTH_320MHZ; in mapHalChannelBandwidthToSoftApInfo() 771 return SoftApInfo.CHANNEL_WIDTH_2160MHZ; in mapHalChannelBandwidthToSoftApInfo() 773 return SoftApInfo.CHANNEL_WIDTH_4320MHZ; in mapHalChannelBandwidthToSoftApInfo() [all …]
|
D | SoftApManager.java | 33 import android.net.wifi.SoftApInfo; 236 private Map<String, SoftApInfo> mCurrentSoftApInfoMap = new HashMap<>(); 321 SoftApInfo apInfo = new SoftApInfo(); 569 SoftApInfo info = mCurrentSoftApInfoMap.get(instance); in getHighestFrequencyInstance() 1702 SoftApInfo currentInfoWithClientsChanged = mCurrentSoftApInfoMap in updateConnectedClients() 1728 private void updateSoftApInfo(@Nullable SoftApInfo apInfo, boolean isRemoved) { in updateSoftApInfo() 1772 mCurrentSoftApInfoMap.put(changedInstance, new SoftApInfo(apInfo)); in updateSoftApInfo() 1803 && apInfo.getBandwidth() != SoftApInfo.CHANNEL_WIDTH_INVALID) { in updateSoftApInfo() 1926 private void updateUserBandPreferenceViolationMetricsIfNeeded(SoftApInfo apInfo) { in updateUserBandPreferenceViolationMetricsIfNeeded() 1971 if (!(message.obj instanceof SoftApInfo)) { in processMessageImpl() [all …]
|
D | HostapdHalHidlImp.java | 33 import android.net.wifi.SoftApInfo; 1212 return SoftApInfo.CHANNEL_WIDTH_20MHZ_NOHT; in mapHalBandwidthToSoftApInfo() 1214 return SoftApInfo.CHANNEL_WIDTH_20MHZ; in mapHalBandwidthToSoftApInfo() 1216 return SoftApInfo.CHANNEL_WIDTH_40MHZ; in mapHalBandwidthToSoftApInfo() 1218 return SoftApInfo.CHANNEL_WIDTH_80MHZ; in mapHalBandwidthToSoftApInfo() 1220 return SoftApInfo.CHANNEL_WIDTH_80MHZ_PLUS_MHZ; in mapHalBandwidthToSoftApInfo() 1222 return SoftApInfo.CHANNEL_WIDTH_160MHZ; in mapHalBandwidthToSoftApInfo() 1224 return SoftApInfo.CHANNEL_WIDTH_2160MHZ; in mapHalBandwidthToSoftApInfo() 1226 return SoftApInfo.CHANNEL_WIDTH_4320MHZ; in mapHalBandwidthToSoftApInfo() 1228 return SoftApInfo.CHANNEL_WIDTH_6480MHZ; in mapHalBandwidthToSoftApInfo() [all …]
|
D | WifiShellCommand.java | 63 import android.net.wifi.SoftApInfo; 257 public void onConnectedClientsOrInfoChanged(Map<String, SoftApInfo> infos, in onConnectedClientsOrInfoChanged() 653 SoftApInfo.CHANNEL_WIDTH_AUTO); in onCommand() 657 SoftApInfo.CHANNEL_WIDTH_AUTO); in onCommand() 661 SoftApInfo.CHANNEL_WIDTH_AUTO); in onCommand() 708 apMaxBandWidth = SoftApInfo.CHANNEL_WIDTH_AUTO; in onCommand() 711 apMaxBandWidth = SoftApInfo.CHANNEL_WIDTH_20MHZ; in onCommand() 714 apMaxBandWidth = SoftApInfo.CHANNEL_WIDTH_40MHZ; in onCommand() 717 apMaxBandWidth = SoftApInfo.CHANNEL_WIDTH_80MHZ; in onCommand() 720 apMaxBandWidth = SoftApInfo.CHANNEL_WIDTH_160MHZ; in onCommand() [all …]
|
D | WifiServiceImpl.java | 143 import android.net.wifi.SoftApInfo; 424 void onConnectedClientsOrInfoChanged(Map<String, SoftApInfo> infos, in onConnectedClientsOrInfoChanged() 460 RemoteCallbackList<ISoftApCallback> callbacks, Map<String, SoftApInfo> infos, in notifyRegisterOnConnectedClientsOrInfoChanged() 2078 private Map<String, SoftApInfo> mSoftApInfoMap = new HashMap(); 2128 public Map<String, SoftApInfo> getSoftApInfos() { in getSoftApInfos() 2240 public void onConnectedClientsOrInfoChanged(Map<String, SoftApInfo> infos, in onConnectedClientsOrInfoChanged()
|
D | WifiMetrics.java | 43 import android.net.wifi.SoftApInfo; 3755 public void addSoftApInstanceDownEventInDualMode(int mode, @NonNull SoftApInfo info) { in addSoftApInstanceDownEventInDualMode() 3768 int numStationsOnCurrentFrequency, int mode, @Nullable SoftApInfo info) { in addSoftApNumAssociatedStationsChangedEvent() 3810 public void addSoftApChannelSwitchedEvent(List<SoftApInfo> infos, int mode, boolean isBridged) { in addSoftApChannelSwitchedEvent()
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/qc/ |
D | HotspotRowWorkerTest.java | 27 import android.net.wifi.SoftApInfo; 116 SoftApInfo info = mock(SoftApInfo.class); in onConnectedClientsChanged_updatesQCItem()
|
/packages/apps/Car/Settings/src/com/android/car/settings/qc/ |
D | HotspotRowWorker.java | 23 import android.net.wifi.SoftApInfo; 60 public void onConnectedClientsChanged(@NonNull SoftApInfo info,
|
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/ |
D | WifiTetheringHandler.java | 25 import android.net.wifi.SoftApInfo; 55 public void onConnectedClientsChanged(@NonNull SoftApInfo info,
|
/packages/modules/Wifi/framework/aidl-export/android/net/wifi/ |
D | SoftApInfo.aidl | 19 parcelable SoftApInfo;
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | SoftApManagerTest.java | 73 import android.net.wifi.SoftApInfo; 160 SoftApInfo.CHANNEL_WIDTH_20MHZ_NOHT; 161 private static final int TEST_AP_BANDWIDTH_IN_SOFTAPINFO = SoftApInfo.CHANNEL_WIDTH_20MHZ_NOHT; 185 private SoftApInfo mTestSoftApInfo; // Use for single Ap mode test case 186 private SoftApInfo mTestSoftApInfoOnFirstInstance; // Use for briged Ap mode test case 187 private SoftApInfo mTestSoftApInfoOnSecondInstance; // Use for briged Ap mode test case 188 private Map<String, SoftApInfo> mTestSoftApInfoMap = new HashMap<>(); 249 private void mockApInfoChangedEvent(SoftApInfo apInfo) { in mockApInfoChangedEvent() 416 mTestSoftApInfo = new SoftApInfo(); in setUp() 422 mTestSoftApInfoOnFirstInstance = new SoftApInfo(mTestSoftApInfo); in setUp() [all …]
|
D | WifiApConfigStoreTest.java | 52 import android.net.wifi.SoftApInfo; 1380 store.enableForceSoftApBandOrChannel(testBand, 0, SoftApInfo.CHANNEL_WIDTH_AUTO); in testForceApBandChannel() 1385 assertEquals(expectedConfig.getMaxChannelBandwidth(), SoftApInfo.CHANNEL_WIDTH_AUTO); in testForceApBandChannel() 1393 assertEquals(SoftApInfo.CHANNEL_WIDTH_AUTO, expectedConfig.getMaxChannelBandwidth()); in testForceApBandChannel() 1397 store.enableForceSoftApBandOrChannel(testBand, testChannal, SoftApInfo.CHANNEL_WIDTH_40MHZ); in testForceApBandChannel() 1402 assertEquals(SoftApInfo.CHANNEL_WIDTH_40MHZ, expectedConfig.getMaxChannelBandwidth()); in testForceApBandChannel() 1410 assertEquals(SoftApInfo.CHANNEL_WIDTH_AUTO, expectedConfig.getMaxChannelBandwidth()); in testForceApBandChannel()
|
D | ActiveModeWardenTest.java | 79 import android.net.wifi.SoftApInfo; 149 private static final int TEST_AP_BANDWIDTH = SoftApInfo.CHANNEL_WIDTH_20MHZ; 202 private SoftApInfo mTestSoftApInfo; 294 mTestSoftApInfo = new SoftApInfo(); in setUp() 1056 final Map<String, SoftApInfo> testInfos = new HashMap(); in callsWifiServiceCallbackOnSoftApConnectedClientsChanged()
|
D | WifiServiceImplTest.java | 193 import android.net.wifi.SoftApInfo; 345 private static final int TEST_AP_BANDWIDTH = SoftApInfo.CHANNEL_WIDTH_20MHZ; 362 private SoftApInfo mTestSoftApInfo; 363 private List<SoftApInfo> mTestSoftApInfoList; 365 private Map<String, SoftApInfo> mTestSoftApInfos; 742 mTestSoftApInfo = new SoftApInfo(); in setUp() 4178 verify(callback).onConnectedClientsOrInfoChanged(new HashMap<String, SoftApInfo>(), in registerSoftApCallbackAndVerify() 4290 Map<String, SoftApInfo> mTestSoftApInfos = mock(Map.class); in unregistersSoftApCallbackOnBinderDied() 10767 new HashMap<String, SoftApInfo>(), in registerLohsSoftApCallbackAndVerify() 10888 Map<String, SoftApInfo> mTestSoftApInfos = mock(Map.class); in unregistersLohsSoftApCallbackOnBinderDied()
|
D | WifiMetricsTest.java | 76 import android.net.wifi.SoftApInfo; 1142 SoftApInfo testSoftApInfo_2G = new SoftApInfo(); in addSoftApEventsToMetrics() 1146 SoftApInfo testSoftApInfo_5G = new SoftApInfo(); in addSoftApEventsToMetrics()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/util/ |
D | ApConfigUtil.java | 44 import android.net.wifi.SoftApInfo; 1562 public static Map<String, SoftApInfo> deepCopyForSoftApInfoMap( 1563 Map<String, SoftApInfo> originalMap) { 1567 Map<String, SoftApInfo> deepCopyMap = new HashMap<String, SoftApInfo>(); 1568 for (Map.Entry<String, SoftApInfo> entry: originalMap.entrySet()) { 1569 deepCopyMap.put(entry.getKey(), new SoftApInfo(entry.getValue()));
|
/packages/modules/Wifi/framework/api/ |
D | system-current.txt | 482 public final class SoftApInfo implements android.os.Parcelable { 505 …field @NonNull public static final android.os.Parcelable.Creator<android.net.wifi.SoftApInfo> CREA… 1028 …method public default void onConnectedClientsChanged(@NonNull android.net.wifi.SoftApInfo, @NonNul… 1029 method @Deprecated public default void onInfoChanged(@NonNull android.net.wifi.SoftApInfo); 1030 method public default void onInfoChanged(@NonNull java.util.List<android.net.wifi.SoftApInfo>);
|