/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | HalDeviceManagerTest.java | 50 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 …]
|
D | SupplicantStaIfaceHalTest.java | 55 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()
|
D | WifiVendorHalTest.java | 53 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/ |
D | HalDeviceManager.java | 31 import android.hardware.wifi.V1_0.IfaceType; 91 mInterfaceAvailableForRequestListeners.put(IfaceType.STA, new HashMap<>()); in HalDeviceManager() 92 mInterfaceAvailableForRequestListeners.put(IfaceType.AP, new HashMap<>()); in HalDeviceManager() 93 mInterfaceAvailableForRequestListeners.put(IfaceType.P2P, new HashMap<>()); in HalDeviceManager() 94 mInterfaceAvailableForRequestListeners.put(IfaceType.NAN, new HashMap<>()); in HalDeviceManager() 236 return (IWifiStaIface) createIface(IfaceType.STA, lowPrioritySta, destroyedListener, in createStaIface() 245 return (IWifiApIface) createIface(IfaceType.AP, false, destroyedListener, handler); in createApIface() 253 return (IWifiP2pIface) createIface(IfaceType.P2P, false, destroyedListener, handler); in createP2pIface() 261 return (IWifiNanIface) createIface(IfaceType.NAN, false, destroyedListener, handler); in createNanIface() 527 {IfaceType.AP, IfaceType.STA, IfaceType.P2P, IfaceType.NAN}; [all …]
|
D | WifiNative.java | 129 public @interface IfaceType{} annotation in WifiNative.Iface 134 public final @IfaceType int type; 146 Iface(int id, @Iface.IfaceType int type) { in Iface() 191 private Iface allocateIface(@Iface.IfaceType int type) { in allocateIface() 229 private boolean hasAnyIfaceOfType(@Iface.IfaceType int type) { in hasAnyIfaceOfType() 239 private Iface findAnyIfaceOfType(@Iface.IfaceType int type) { in findAnyIfaceOfType()
|
D | SupplicantStaIfaceHal.java | 42 import android.hardware.wifi.supplicant.V1_0.IfaceType; 414 if (ifaceInfo.type == IfaceType.STA && ifaceName.equals(ifaceInfo.name)) { in getIfaceV1_0() 446 ifaceInfo.type = IfaceType.STA; in addIfaceV1_1() 507 ifaceInfo.type = IfaceType.STA; in removeIfaceV1_1() 2317 return setConcurrencyPriority(IfaceType.STA); in setConcurrencyPriority() 2319 return setConcurrencyPriority(IfaceType.P2P); in setConcurrencyPriority()
|
D | WifiVendorHal.java | 25 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/ |
D | WifiAwareNativeManagerTest.java | 29 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/ |
D | WifiAwareNativeManager.java | 21 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/ |
D | WifiP2pNativeInterfaceManagementTest.java | 31 import android.hardware.wifi.V1_0.IfaceType; 121 verify(mHalDeviceManager).registerInterfaceAvailableForRequestListener(eq(IfaceType.P2P), in testRegisterInterfaceAvailableListener()
|
D | SupplicantP2pIfaceHalTest.java | 36 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/ |
D | WifiP2pNative.java | 22 import android.hardware.wifi.V1_0.IfaceType; 212 IfaceType.P2P, mInterfaceAvailableListener, handler); in registerInterfaceAvailableListener() 217 IfaceType.P2P, mInterfaceAvailableListener, handler); in registerInterfaceAvailableListener()
|
D | SupplicantP2pIfaceHal.java | 26 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()
|