Home
last modified time | relevance | path

Searched refs:IfaceType (Results 1 – 12 of 12) sorted by relevance

/packages/modules/Wifi/service/java/com/android/server/wifi/hal/
DWifiChip.java85 public @interface IfaceType {} annotation in WifiChip
483 void onIfaceAdded(@IfaceType int type, String name); in onIfaceAdded()
491 void onIfaceRemoved(@IfaceType int type, String name); in onIfaceRemoved()
DWifiChipHidlImpl.java31 import android.hardware.wifi.V1_0.IfaceType;
1592 put(IfaceType.STA, android.hardware.wifi.V1_6.IfaceConcurrencyType.STA);
1593 put(IfaceType.AP, android.hardware.wifi.V1_6.IfaceConcurrencyType.AP);
1594 put(IfaceType.P2P, android.hardware.wifi.V1_6.IfaceConcurrencyType.P2P);
1595 put(IfaceType.NAN, android.hardware.wifi.V1_6.IfaceConcurrencyType.NAN);
1734 private static @WifiChip.IfaceType int halToFrameworkIfaceType(int type) { in halToFrameworkIfaceType()
1736 case IfaceType.STA: in halToFrameworkIfaceType()
1738 case IfaceType.AP: in halToFrameworkIfaceType()
1740 case IfaceType.P2P: in halToFrameworkIfaceType()
1742 case IfaceType.NAN: in halToFrameworkIfaceType()
DWifiChipAidlImpl.java47 import android.hardware.wifi.IfaceType;
1279 private static @WifiChip.IfaceType int halToFrameworkIfaceType(int type) { in halToFrameworkIfaceType()
1281 case IfaceType.STA: in halToFrameworkIfaceType()
1283 case IfaceType.AP: in halToFrameworkIfaceType()
1285 case IfaceType.P2P: in halToFrameworkIfaceType()
1287 case IfaceType.NAN_IFACE: in halToFrameworkIfaceType()
/packages/modules/Wifi/service/java/com/android/server/wifi/p2p/
DSupplicantP2pIfaceHalHidlImpl.java27 import android.hardware.wifi.supplicant.V1_0.IfaceType;
376 if (ifaceInfo.type == IfaceType.P2P && ifaceName.equals(ifaceInfo.name)) { in getIfaceV1_0()
401 ifaceInfo.type = IfaceType.P2P; in addIfaceV1_1()
462 ifaceInfo.type = IfaceType.P2P; in removeIfaceV1_1()
DSupplicantP2pIfaceHalAidlImpl.java28 import android.hardware.wifi.supplicant.IfaceType;
272 ifaceInfo.type = IfaceType.P2P; in teardownIface()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DSupplicantStaIfaceHalHidlImpl.java42 import android.hardware.wifi.supplicant.V1_0.IfaceType;
494 if (ifaceInfo.type == IfaceType.STA in getIfaceV1_0()
527 ifaceInfo.type = IfaceType.STA; in addIfaceV1_1()
592 ifaceInfo.type = IfaceType.STA; in removeIfaceV1_1()
2683 return setConcurrencyPriority(IfaceType.STA); in setConcurrencyPriority()
2685 return setConcurrencyPriority(IfaceType.P2P); in setConcurrencyPriority()
DWifiNative.java379 public @interface IfaceType{} annotation in WifiNative.Iface
384 public @IfaceType int type;
399 Iface(int id, @Iface.IfaceType int type) { in Iface()
449 private Iface allocateIface(@Iface.IfaceType int type) { in allocateIface()
493 private boolean hasAnyIfaceOfType(@Iface.IfaceType int type) { in hasAnyIfaceOfType()
DSupplicantStaIfaceHalAidlImpl.java53 import android.hardware.wifi.supplicant.IfaceType;
347 ifaceInfo.type = IfaceType.STA; in teardownIface()
2386 return setConcurrencyPriority(IfaceType.STA); in setConcurrencyPriority()
2388 return setConcurrencyPriority(IfaceType.P2P); in setConcurrencyPriority()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DSupplicantStaIfaceHalAidlImplTest.java76 import android.hardware.wifi.supplicant.IfaceType;
248 mIfaceInfoList[0] = createIfaceInfo(IfaceType.STA, WLAN0_IFACE_NAME); in setUp()
249 mIfaceInfoList[1] = createIfaceInfo(IfaceType.STA, WLAN1_IFACE_NAME); in setUp()
250 mIfaceInfoList[2] = createIfaceInfo(IfaceType.P2P, P2P_IFACE_NAME); in setUp()
1704 verify(mISupplicantMock).setConcurrencyPriority(eq(IfaceType.P2P)); in testConcurrencyPriority()
1706 verify(mISupplicantMock).setConcurrencyPriority(eq(IfaceType.STA)); in testConcurrencyPriority()
DSupplicantStaIfaceHalHidlImplTest.java66 import android.hardware.wifi.supplicant.V1_0.IfaceType;
278 mStaIface0 = createIfaceInfo(IfaceType.STA, WLAN0_IFACE_NAME); in setUp()
279 mStaIface1 = createIfaceInfo(IfaceType.STA, WLAN1_IFACE_NAME); in setUp()
280 mP2pIface = createIfaceInfo(IfaceType.P2P, P2P_IFACE_NAME); in setUp()
2022 verify(mISupplicantMock).setConcurrencyPriority(eq(IfaceType.P2P)); in testConcurrencyPriority()
2024 verify(mISupplicantMock).setConcurrencyPriority(eq(IfaceType.STA)); in testConcurrencyPriority()
DHalDeviceManagerTest.java4429 private @WifiChip.IfaceType int mIfaceType;
4431 GetXxxIfaceNamesAnswer(ChipMockBase chipMockBase, @WifiChip.IfaceType int ifaceType) { in GetXxxIfaceNamesAnswer()
4497 private @WifiChip.IfaceType int mType;
4500 @WifiChip.IfaceType int type) { in CreateXxxIfaceAnswer()
4586 RemoveXxxIfaceAnswer(ChipMockBase chipMockBase, @WifiChip.IfaceType int type) { in RemoveXxxIfaceAnswer()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/p2p/
DSupplicantP2pIfaceHalHidlImplTest.java45 import android.hardware.wifi.supplicant.V1_0.IfaceType;
225 mStaIface = createIfaceInfo(IfaceType.STA, "wlan0"); in setUp()
226 mP2pIface = createIfaceInfo(IfaceType.P2P, mIfaceName); in setUp()