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;
328 IfaceType.STA, // ifaceTypeToCreate in testCacheMismatchError()
342 IfaceType.NAN, // ifaceTypeToCreate in testCacheMismatchError()
353 chipMock.interfaceNames.get(IfaceType.STA).remove("wlan0"); in testCacheMismatchError()
359 mDut.registerInterfaceAvailableForRequestListener(IfaceType.NAN, nanAvailListener, in testCacheMismatchError()
403 IfaceType.STA, // ifaceTypeToCreate in testDuplicateAvailableRegistrations()
414 mDut.registerInterfaceAvailableForRequestListener(IfaceType.STA, staAvailListener, in testDuplicateAvailableRegistrations()
416 mDut.registerInterfaceAvailableForRequestListener(IfaceType.STA, staAvailListener, in testDuplicateAvailableRegistrations()
554 IfaceType.STA, in testAndTriggerRttLifecycleCallbacksRegBeforeChipConfig()
601 IfaceType.STA, in testAndTriggerRttLifecycleCallbacksMultiModeChip()
[all …]
DSupplicantStaIfaceHalTest.java55 import android.hardware.wifi.supplicant.V1_0.IfaceType;
207 mStaIface0 = createIfaceInfo(IfaceType.STA, WLAN0_IFACE_NAME); in setUp()
208 mStaIface1 = createIfaceInfo(IfaceType.STA, WLAN1_IFACE_NAME); in setUp()
209 mP2pIface = createIfaceInfo(IfaceType.P2P, P2P_IFACE_NAME); in setUp()
1603 verify(mISupplicantMock).setConcurrencyPriority(eq(IfaceType.P2P)); in testConcurrencyPriority()
1605 verify(mISupplicantMock).setConcurrencyPriority(eq(IfaceType.STA)); in testConcurrencyPriority()
DWifiVendorHalTest.java53 import android.hardware.wifi.V1_0.IfaceType;
794 add(IfaceType.STA); in testGetSupportedFeatures()
795 add(IfaceType.P2P); in testGetSupportedFeatures()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DHalDeviceManager.java31 import android.hardware.wifi.V1_0.IfaceType;
84 mInterfaceAvailableForRequestListeners.put(IfaceType.STA, new HashMap<>()); in HalDeviceManager()
85 mInterfaceAvailableForRequestListeners.put(IfaceType.AP, new HashMap<>()); in HalDeviceManager()
86 mInterfaceAvailableForRequestListeners.put(IfaceType.P2P, new HashMap<>()); in HalDeviceManager()
87 mInterfaceAvailableForRequestListeners.put(IfaceType.NAN, new HashMap<>()); in HalDeviceManager()
229 return (IWifiStaIface) createIface(IfaceType.STA, lowPrioritySta, destroyedListener, in createStaIface()
238 return (IWifiApIface) createIface(IfaceType.AP, false, destroyedListener, handler); in createApIface()
246 return (IWifiP2pIface) createIface(IfaceType.P2P, false, destroyedListener, handler); in createP2pIface()
254 return (IWifiNanIface) createIface(IfaceType.NAN, false, destroyedListener, handler); in createNanIface()
520 {IfaceType.AP, IfaceType.STA, IfaceType.P2P, IfaceType.NAN};
[all …]
DWifiNative.java128 public @interface IfaceType{} annotation in WifiNative.Iface
133 public final @IfaceType int type;
145 Iface(int id, @Iface.IfaceType int type) { in Iface()
190 private Iface allocateIface(@Iface.IfaceType int type) { in allocateIface()
228 private boolean hasAnyIfaceOfType(@Iface.IfaceType int type) { in hasAnyIfaceOfType()
238 private Iface findAnyIfaceOfType(@Iface.IfaceType int type) { in findAnyIfaceOfType()
DSupplicantStaIfaceHal.java42 import android.hardware.wifi.supplicant.V1_0.IfaceType;
408 if (ifaceInfo.type == IfaceType.STA && ifaceName.equals(ifaceInfo.name)) { in getIfaceV1_0()
440 ifaceInfo.type = IfaceType.STA; in addIfaceV1_1()
501 ifaceInfo.type = IfaceType.STA; in removeIfaceV1_1()
2293 return setConcurrencyPriority(IfaceType.STA); in setConcurrencyPriority()
2295 return setConcurrencyPriority(IfaceType.P2P); in setConcurrencyPriority()
DWifiVendorHal.java25 import android.hardware.wifi.V1_0.IfaceType;
1244 if (supportedIfaceTypes.contains(IfaceType.STA)) { in getSupportedFeatureSet()
1247 if (supportedIfaceTypes.contains(IfaceType.AP)) { in getSupportedFeatureSet()
1250 if (supportedIfaceTypes.contains(IfaceType.P2P)) { in getSupportedFeatureSet()
1253 if (supportedIfaceTypes.contains(IfaceType.NAN)) { in getSupportedFeatureSet()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/aware/
DWifiAwareNativeManagerTest.java29 import android.hardware.wifi.V1_0.IfaceType;
129 eq(IfaceType.NAN), mAvailListenerCaptor.capture(), any(Handler.class)); in testControlFlowWithoutInterface()
147 eq(IfaceType.NAN), mAvailListenerCaptor.capture(), any(Handler.class)); in testControlFlowWithoutInterface()
177 eq(IfaceType.NAN), mAvailListenerCaptor.capture(), any(Handler.class)); in testReferenceCounting()
238 eq(IfaceType.NAN), mAvailListenerCaptor.capture(), any(Handler.class)); in testRequestFlowWithAsyncDeletes()
280 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;
91 IfaceType.NAN, mInterfaceAvailableForRequestListener, mHandler); in start()
99 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;
121 verify(mHalDeviceManager).registerInterfaceAvailableForRequestListener(eq(IfaceType.P2P), in testRegisterInterfaceAvailableListener()
DSupplicantP2pIfaceHalTest.java36 import android.hardware.wifi.supplicant.V1_0.IfaceType;
197 mStaIface = createIfaceInfo(IfaceType.STA, "wlan0"); in setUp()
198 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;
212 IfaceType.P2P, mInterfaceAvailableListener, handler); in registerInterfaceAvailableListener()
217 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()