Home
last modified time | relevance | path

Searched refs:IfaceInfo (Results 1 – 14 of 14) sorted by relevance

/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiScoreCard.java209 private static final class IfaceInfo { class in WifiScoreCard
265 private final Map<String, IfaceInfo> mIfaceToInfoMap = new ArrayMap<>();
268 private IfaceInfo getIfaceInfo(String ifaceName) { in getIfaceInfo()
269 return mIfaceToInfoMap.computeIfAbsent(ifaceName, k -> new IfaceInfo()); in getIfaceInfo()
308 IfaceInfo ifaceInfo = getIfaceInfo(ifaceName); in resetConnectionState()
315 for (IfaceInfo ifaceInfo : mIfaceToInfoMap.values()) { in resetAllConnectionStates()
321 private void noteDisconnectionForIface(IfaceInfo ifaceInfo) { in noteDisconnectionForIface()
333 for (IfaceInfo ifaceInfo : mIfaceToInfoMap.values()) { in resetAllConnectionStatesInternal()
342 private void resetConnectionStateForIfaceInternal(IfaceInfo ifaceInfo, in resetConnectionStateForIfaceInternal()
378 int txSpeed, int failureReason, IfaceInfo ifaceInfo) { in updatePerNetwork()
[all …]
DWifiVendorHal.java1946 WifiChip.IfaceInfo ifaceInfo0 = radioModeInfo0.ifaceInfos.get(0);
1947 WifiChip.IfaceInfo ifaceInfo1 = radioModeInfo0.ifaceInfos.get(1);
1964 private boolean areSameIfaceNames(List<WifiChip.IfaceInfo> ifaceList1,
1965 List<WifiChip.IfaceInfo> ifaceList2) {
DSupplicantStaIfaceHalHidlImpl.java473 final ArrayList<ISupplicant.IfaceInfo> supplicantIfaces = new ArrayList<>(); in getIfaceV1_0()
476 ArrayList<ISupplicant.IfaceInfo> ifaces) -> { in getIfaceV1_0()
493 for (ISupplicant.IfaceInfo ifaceInfo : supplicantIfaces) { in getIfaceV1_0()
525 ISupplicant.IfaceInfo ifaceInfo = new ISupplicant.IfaceInfo(); in addIfaceV1_1()
590 ISupplicant.IfaceInfo ifaceInfo = new ISupplicant.IfaceInfo(); in removeIfaceV1_1()
DSupplicantStaIfaceHalAidlImpl.java52 import android.hardware.wifi.supplicant.IfaceInfo;
345 IfaceInfo ifaceInfo = new IfaceInfo(); in teardownIface()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiVendorHalTest.java1513 WifiChip.IfaceInfo ifaceInfo0 = new WifiChip.IfaceInfo(TEST_IFACE_NAME, 34); in testRadioModeChangeCallbackToDbsMode()
1514 WifiChip.IfaceInfo ifaceInfo1 = new WifiChip.IfaceInfo(TEST_IFACE_NAME_1, 1); in testRadioModeChangeCallbackToDbsMode()
1539 WifiChip.IfaceInfo ifaceInfo0 = new WifiChip.IfaceInfo(TEST_IFACE_NAME, 34); in testRadioModeChangeCallbackToSbsMode()
1540 WifiChip.IfaceInfo ifaceInfo1 = new WifiChip.IfaceInfo(TEST_IFACE_NAME_1, 36); in testRadioModeChangeCallbackToSbsMode()
1565 WifiChip.IfaceInfo ifaceInfo0 = new WifiChip.IfaceInfo(TEST_IFACE_NAME, 34); in testRadioModeChangeCallbackToSccMode()
1566 WifiChip.IfaceInfo ifaceInfo1 = new WifiChip.IfaceInfo(TEST_IFACE_NAME_1, 34); in testRadioModeChangeCallbackToSccMode()
1587 WifiChip.IfaceInfo ifaceInfo0 = new WifiChip.IfaceInfo(TEST_IFACE_NAME, 1); in testRadioModeChangeCallbackToMccMode()
1588 WifiChip.IfaceInfo ifaceInfo1 = new WifiChip.IfaceInfo(TEST_IFACE_NAME_1, 36); in testRadioModeChangeCallbackToMccMode()
1611 WifiChip.IfaceInfo ifaceInfo0 = new WifiChip.IfaceInfo(TEST_IFACE_NAME, 34); in testRadioModeChangeCallbackErrorSimultaneousWithSameIfaceOnBothRadios()
DSupplicantStaIfaceHalHidlImplTest.java171 ISupplicant.IfaceInfo mStaIface0;
172 ISupplicant.IfaceInfo mStaIface1;
173 ISupplicant.IfaceInfo mP2pIface;
174 ArrayList<ISupplicant.IfaceInfo> mIfaceInfoList;
2761 ArrayList<ISupplicant.IfaceInfo> interfaces; in executeAndValidateInitializationSequence()
2771 .when(mISupplicantMock).getInterface(any(ISupplicant.IfaceInfo.class), in executeAndValidateInitializationSequence()
2775 .when(mISupplicantMock).getInterface(any(ISupplicant.IfaceInfo.class), in executeAndValidateInitializationSequence()
2819 .getInterface(any(ISupplicant.IfaceInfo.class), in executeAndValidateInitializationSequence()
2840 .when(mISupplicantMockV11).addInterface(any(ISupplicant.IfaceInfo.class), in executeAndValidateInitializationSequenceV1_1()
2845 .when(mISupplicantMockV11).addInterface(any(ISupplicant.IfaceInfo.class), in executeAndValidateInitializationSequenceV1_1()
[all …]
DSupplicantStaIfaceHalAidlImplTest.java75 import android.hardware.wifi.supplicant.IfaceInfo;
200 IfaceInfo[] mIfaceInfoList;
247 mIfaceInfoList = new IfaceInfo[3]; in setUp()
2901 private IfaceInfo createIfaceInfo(int type, String name) { in createIfaceInfo()
2902 IfaceInfo info = new IfaceInfo(); in createIfaceInfo()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/p2p/
DSupplicantP2pIfaceHalHidlImplTest.java101 ISupplicant.IfaceInfo mStaIface;
102 ISupplicant.IfaceInfo mP2pIface;
103 ArrayList<ISupplicant.IfaceInfo> mIfaceInfoList;
228 mIfaceInfoList = new ArrayList<ISupplicant.IfaceInfo>(); in setUp()
336 when(mISupplicantMockV11.removeInterface(any(ISupplicant.IfaceInfo.class))) in testTeardown_successV1_1()
2794 ArrayList<ISupplicant.IfaceInfo> interfaces; in executeAndValidateInitializationSequence()
2796 interfaces = new ArrayList<ISupplicant.IfaceInfo>(); in executeAndValidateInitializationSequence()
2810 .when(mISupplicantMock).getInterface(any(ISupplicant.IfaceInfo.class), in executeAndValidateInitializationSequence()
2814 .when(mISupplicantMock).getInterface(any(ISupplicant.IfaceInfo.class), in executeAndValidateInitializationSequence()
2840 .getInterface(any(ISupplicant.IfaceInfo.class), in executeAndValidateInitializationSequence()
[all …]
DSupplicantP2pIfaceHalAidlImplTest.java52 import android.hardware.wifi.supplicant.IfaceInfo;
233 doNothing().when(mISupplicantMock).removeInterface(any(IfaceInfo.class)); in testTeardown_success()
235 verify(mISupplicantMock).removeInterface(any(IfaceInfo.class)); in testTeardown_success()
/packages/modules/Wifi/service/java/com/android/server/wifi/hal/
DWifiChip.java390 public static class IfaceInfo { class in WifiChip
394 public IfaceInfo(String inName, int inChannel) { in IfaceInfo() method in WifiChip.IfaceInfo
406 public final List<IfaceInfo> ifaceInfos;
409 List<IfaceInfo> inIfaceInfos) { in RadioModeInfo()
DWifiChipHidlImpl.java1505 List<WifiChip.IfaceInfo> frameworkIfaceInfos = new ArrayList<>(); in onRadioModeChange()
1506 for (IfaceInfo ifaceInfo : radioInfo.ifaceInfos) { in onRadioModeChange()
1508 new WifiChip.IfaceInfo(ifaceInfo.name, ifaceInfo.channel)); in onRadioModeChange()
1567 List<WifiChip.IfaceInfo> frameworkIfaceInfos = new ArrayList<>(); in onRadioModeChange_1_4()
1568 for (IfaceInfo ifaceInfo : radioInfo.ifaceInfos) { in onRadioModeChange_1_4()
1570 new WifiChip.IfaceInfo(ifaceInfo.name, ifaceInfo.channel)); in onRadioModeChange_1_4()
DWifiChipAidlImpl.java1235 List<WifiChip.IfaceInfo> frameworkIfaceInfos = new ArrayList<>(); in onRadioModeChange()
1236 for (IfaceInfo ifaceInfo : radioInfo.ifaceInfos) { in onRadioModeChange()
1238 new WifiChip.IfaceInfo(ifaceInfo.name, ifaceInfo.channel)); in onRadioModeChange()
/packages/modules/Wifi/service/java/com/android/server/wifi/p2p/
DSupplicantP2pIfaceHalHidlImpl.java354 final ArrayList<ISupplicant.IfaceInfo> supplicantIfaces = new ArrayList(); in getIfaceV1_0()
357 ArrayList<ISupplicant.IfaceInfo> ifaces) -> { in getIfaceV1_0()
375 for (ISupplicant.IfaceInfo ifaceInfo : supplicantIfaces) { in getIfaceV1_0()
399 ISupplicant.IfaceInfo ifaceInfo = new ISupplicant.IfaceInfo(); in addIfaceV1_1()
460 ISupplicant.IfaceInfo ifaceInfo = new ISupplicant.IfaceInfo(); in removeIfaceV1_1()
DSupplicantP2pIfaceHalAidlImpl.java27 import android.hardware.wifi.supplicant.IfaceInfo;
270 IfaceInfo ifaceInfo = new IfaceInfo(); in teardownIface()