Home
last modified time | relevance | path

Searched refs:mWifiVendorHal (Results 1 – 7 of 7) sorted by relevance

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiVendorHalTest.java131 WifiVendorHal mWifiVendorHal; field in WifiVendorHalTest
367 mWifiVendorHal = new WifiVendorHal(mHalDeviceManager, mLooper.getLooper()); in setUp()
370 mWifiVendorHal.initialize(mVendorHalDeathHandler); in setUp()
385 assertTrue(mWifiVendorHal.startVendorHalSta()); in testStartHalSuccessInStaMode()
386 assertTrue(mWifiVendorHal.isHalStarted()); in testStartHalSuccessInStaMode()
405 assertTrue(mWifiVendorHal.startVendorHalAp()); in testStartHalSuccessInApMode()
406 assertTrue(mWifiVendorHal.isHalStarted()); in testStartHalSuccessInApMode()
430 assertFalse(mWifiVendorHal.startVendorHalSta()); in testStartHalFailureInStaMode()
431 assertFalse(mWifiVendorHal.isHalStarted()); in testStartHalFailureInStaMode()
449 assertFalse(mWifiVendorHal.startVendorHalSta()); in testStartHalFailureInIfaceCreationInStaMode()
[all …]
DWifiNativeInterfaceManagementTest.java74 @Mock private WifiVendorHal mWifiVendorHal; field in WifiNativeInterfaceManagementTest
119 when(mWifiVendorHal.initialize(mWifiVendorHalDeathHandlerCaptor.capture())) in setUp()
121 doNothing().when(mWifiVendorHal).registerRadioModeChangeHandler( in setUp()
123 when(mWifiVendorHal.isVendorHalSupported()).thenReturn(true); in setUp()
124 when(mWifiVendorHal.startVendorHal()).thenReturn(true); in setUp()
125 when(mWifiVendorHal.createStaIface(anyBoolean(), any())).thenReturn(IFACE_NAME_0); in setUp()
126 when(mWifiVendorHal.createApIface(any())).thenReturn(IFACE_NAME_0); in setUp()
127 when(mWifiVendorHal.removeStaIface(any())).thenReturn(true); in setUp()
128 when(mWifiVendorHal.removeApIface(any())).thenReturn(true); in setUp()
164 mInOrder = inOrder(mWifiVendorHal, mWificondControl, mSupplicantStaIfaceHal, mHostapdHal, in setUp()
[all …]
DWifiNativeTest.java165 @Mock private WifiVendorHal mWifiVendorHal; field in WifiNativeTest
181 when(mWifiVendorHal.isVendorHalSupported()).thenReturn(true); in setUp()
182 when(mWifiVendorHal.startVendorHalSta()).thenReturn(true); in setUp()
183 when(mWifiVendorHal.startVendorHalAp()).thenReturn(true); in setUp()
185 mWifiVendorHal, mStaIfaceHal, mHostapdHal, mWificondControl, in setUp()
602 verify(mWifiVendorHal).setMacAddress(WIFI_IFACE_NAME, TEST_MAC_ADDRESS); in testSetMacAddress()
610 when(mWifiVendorHal.selectTxPowerScenario(any(SarInfo.class))).thenReturn(true); in testSelectTxPowerScenario_success()
613 verify(mWifiVendorHal).selectTxPowerScenario(sarInfo); in testSelectTxPowerScenario_success()
621 when(mWifiVendorHal.selectTxPowerScenario(any(SarInfo.class))).thenReturn(false); in testSelectTxPowerScenario_failure()
624 verify(mWifiVendorHal).selectTxPowerScenario(sarInfo); in testSelectTxPowerScenario_failure()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiNative.java76 private final WifiVendorHal mWifiVendorHal; field in WifiNative
92 mWifiVendorHal = vendorHal; in WifiNative()
111 mWifiVendorHal.enableVerboseLogging(mVerboseLoggingEnabled); in enableVerboseLogging()
310 if (mWifiVendorHal.isVendorHalSupported()) { in startHal()
311 if (!mWifiVendorHal.startVendorHal()) { in startHal()
330 if (mWifiVendorHal.isVendorHalSupported()) { in stopHalAndWificondIfNecessary()
331 mWifiVendorHal.stopVendorHal(); in stopHalAndWificondIfNecessary()
754 if (mWifiVendorHal.isVendorHalSupported()) { in createStaIface()
755 return mWifiVendorHal.createStaIface(lowPrioritySta, in createStaIface()
771 if (mWifiVendorHal.isVendorHalSupported()) { in createApIface()
[all …]
DWifiInjector.java99 private final WifiVendorHal mWifiVendorHal; field in WifiInjector
206 mWifiVendorHal = in WifiInjector()
218 mWifiVendorHal, mSupplicantStaIfaceHal, mHostapdHal, mWificondControl, in WifiInjector()
224 mWifiVendorHal, mSupplicantP2pIfaceHal, mHalDeviceManager, in WifiInjector()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/p2p/
DWifiP2pNativeInterfaceManagementTest.java69 @Mock private WifiVendorHal mWifiVendorHal; field in WifiP2pNativeInterfaceManagementTest
101 mWifiVendorHal, mSupplicantP2pIfaceHal, mHalDeviceManager, in setUp()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pNative.java47 private final WifiVendorHal mWifiVendorHal; field in WifiP2pNative
114 mWifiVendorHal = wifiVendorHal; in WifiP2pNative()
846 return mWifiVendorHal.getSupportedFeatureSet(ifaceName); in getSupportedFeatureSet()