Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DHalDeviceManagerTest.java50 import android.hardware.wifi.V1_0.IfaceType;
329 IfaceType.STA, // ifaceTypeToCreate in testCacheMismatchError()
342 IfaceType.NAN, // ifaceTypeToCreate in testCacheMismatchError()
352 chipMock.interfaceNames.get(IfaceType.STA).remove("wlan0"); in testCacheMismatchError()
358 mDut.registerInterfaceAvailableForRequestListener(IfaceType.NAN, nanAvailListener, in testCacheMismatchError()
402 IfaceType.STA, // ifaceTypeToCreate in testDuplicateAvailableRegistrations()
412 mDut.registerInterfaceAvailableForRequestListener(IfaceType.STA, staAvailListener, in testDuplicateAvailableRegistrations()
414 mDut.registerInterfaceAvailableForRequestListener(IfaceType.STA, staAvailListener, in testDuplicateAvailableRegistrations()
552 IfaceType.STA, in testAndTriggerRttLifecycleCallbacksRegBeforeChipConfig()
598 IfaceType.STA, in testAndTriggerRttLifecycleCallbacksMultiModeChip()
[all …]
DSupplicantStaIfaceHalTest.java64 import android.hardware.wifi.supplicant.V1_0.IfaceType;
242 mStaIface0 = createIfaceInfo(IfaceType.STA, WLAN0_IFACE_NAME); in setUp()
243 mStaIface1 = createIfaceInfo(IfaceType.STA, WLAN1_IFACE_NAME); in setUp()
244 mP2pIface = createIfaceInfo(IfaceType.P2P, P2P_IFACE_NAME); in setUp()
1438 verify(mISupplicantMock).setConcurrencyPriority(eq(IfaceType.P2P)); in testConcurrencyPriority()
1440 verify(mISupplicantMock).setConcurrencyPriority(eq(IfaceType.STA)); in testConcurrencyPriority()
DWifiVendorHalTest.java53 import android.hardware.wifi.V1_0.IfaceType;
864 add(IfaceType.STA); in testGetSupportedFeatures()
865 add(IfaceType.P2P); in testGetSupportedFeatures()
3198 eq(IfaceType.STA), any(), any()); in testStaInterfaceAvailableForRequestListeners()
3203 eq(IfaceType.STA), any(), any()); in testStaInterfaceAvailableForRequestListeners()
3214 eq(IfaceType.AP), any(), any()); in testApInterfaceAvailableForRequestListeners()
3219 eq(IfaceType.AP), any(), any()); in testApInterfaceAvailableForRequestListeners()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DHalDeviceManager.java31 import android.hardware.wifi.V1_0.IfaceType;
89 mInterfaceAvailableForRequestListeners.put(IfaceType.STA, new HashMap<>()); in HalDeviceManager()
90 mInterfaceAvailableForRequestListeners.put(IfaceType.AP, new HashMap<>()); in HalDeviceManager()
91 mInterfaceAvailableForRequestListeners.put(IfaceType.P2P, new HashMap<>()); in HalDeviceManager()
92 mInterfaceAvailableForRequestListeners.put(IfaceType.NAN, new HashMap<>()); in HalDeviceManager()
232 return (IWifiStaIface) createIface(IfaceType.STA, destroyedListener, handler); in createStaIface()
240 return (IWifiApIface) createIface(IfaceType.AP, destroyedListener, handler); in createApIface()
248 return (IWifiP2pIface) createIface(IfaceType.P2P, destroyedListener, handler); in createP2pIface()
256 return (IWifiNanIface) createIface(IfaceType.NAN, destroyedListener, handler); in createNanIface()
548 {IfaceType.AP, IfaceType.STA, IfaceType.P2P, IfaceType.NAN};
[all …]
DWifiVendorHal.java25 import android.hardware.wifi.V1_0.IfaceType;
383 IfaceType.STA, mStaIfaceAvailableForRequestListener, in registerStaIfaceAvailabilityListener()
403 IfaceType.AP, mApIfaceAvailableForRequestListener, in registerApIfaceAvailabilityListener()
1288 if (supportedIfaceTypes.contains(IfaceType.STA)) { in getSupportedFeatureSet()
1291 if (supportedIfaceTypes.contains(IfaceType.AP)) { in getSupportedFeatureSet()
1294 if (supportedIfaceTypes.contains(IfaceType.P2P)) { in getSupportedFeatureSet()
1297 if (supportedIfaceTypes.contains(IfaceType.NAN)) { in getSupportedFeatureSet()
2643 put(IfaceType.STA, 1); in isStaApConcurrencySupported()
2644 put(IfaceType.AP, 1); in isStaApConcurrencySupported()
3103 IfaceType.STA, mStaIfaceAvailableForRequestListener,
[all …]
DWifiNative.java144 public @interface IfaceType{} annotation in WifiNative.Iface
149 public @IfaceType int type;
162 Iface(int id, @Iface.IfaceType int type) { in Iface()
207 private Iface allocateIface(@Iface.IfaceType int type) { in allocateIface()
245 private boolean hasAnyIfaceOfType(@Iface.IfaceType int type) { in hasAnyIfaceOfType()
255 private Iface findAnyIfaceOfType(@Iface.IfaceType int type) { in findAnyIfaceOfType()
DSupplicantStaIfaceHal.java37 import android.hardware.wifi.supplicant.V1_0.IfaceType;
478 if (ifaceInfo.type == IfaceType.STA && ifaceName.equals(ifaceInfo.name)) { in getIfaceV1_0()
510 ifaceInfo.type = IfaceType.STA; in addIfaceV1_1()
571 ifaceInfo.type = IfaceType.STA; in removeIfaceV1_1()
2487 return setConcurrencyPriority(IfaceType.STA); in setConcurrencyPriority()
2489 return setConcurrencyPriority(IfaceType.P2P); in setConcurrencyPriority()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/aware/
DWifiAwareNativeManagerTest.java30 import android.hardware.wifi.V1_0.IfaceType;
131 eq(IfaceType.NAN), mAvailListenerCaptor.capture(), any(Handler.class)); in testControlFlowWithoutInterface()
149 eq(IfaceType.NAN), mAvailListenerCaptor.capture(), any(Handler.class)); in testControlFlowWithoutInterface()
179 eq(IfaceType.NAN), mAvailListenerCaptor.capture(), any(Handler.class)); in testReferenceCounting()
240 eq(IfaceType.NAN), mAvailListenerCaptor.capture(), any(Handler.class)); in testRequestFlowWithAsyncDeletes()
282 eq(IfaceType.NAN), mAvailListenerCaptor.capture(), any(Handler.class)); in testBasicFlowHal12()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/
DWifiAwareNativeManager.java21 import android.hardware.wifi.V1_0.IfaceType;
98 IfaceType.NAN, mInterfaceAvailableForRequestListener, mHandler); in start()
106 IfaceType.NAN, mInterfaceAvailableForRequestListener, mHandler); in start()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/p2p/
DWifiP2pNativeInterfaceManagementTest.java31 import android.hardware.wifi.V1_0.IfaceType;
124 verify(mHalDeviceManager).registerInterfaceAvailableForRequestListener(eq(IfaceType.P2P), in testRegisterInterfaceAvailableListener()
DSupplicantP2pIfaceHalTest.java36 import android.hardware.wifi.supplicant.V1_0.IfaceType;
198 mStaIface = createIfaceInfo(IfaceType.STA, "wlan0"); in setUp()
199 mP2pIface = createIfaceInfo(IfaceType.P2P, mIfaceName); in setUp()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pNative.java22 import android.hardware.wifi.V1_0.IfaceType;
219 IfaceType.P2P, mInterfaceAvailableListener, handler); in registerInterfaceAvailableListener()
224 IfaceType.P2P, mInterfaceAvailableListener, handler); in registerInterfaceAvailableListener()
DSupplicantP2pIfaceHal.java26 import android.hardware.wifi.supplicant.V1_0.IfaceType;
300 if (ifaceInfo.type == IfaceType.P2P && ifaceName.equals(ifaceInfo.name)) { in getIfaceV1_0()
325 ifaceInfo.type = IfaceType.P2P; in addIfaceV1_1()
386 ifaceInfo.type = IfaceType.P2P; in removeIfaceV1_1()