Home
last modified time | relevance | path

Searched refs:mWifiP2pNative (Results 1 – 4 of 4) sorted by relevance

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/p2p/
DWifiP2pNativeTest.java116 private WifiP2pNative mWifiP2pNative; field in WifiP2pNativeTest
143 mWifiP2pNative = new WifiP2pNative(mWifiCondManager, mWifiNative, mWifiMetrics, in setUp()
184 assertTrue(mWifiP2pNative.isHalInterfaceSupported()); in testIsHalInterfaceSupported()
187 assertFalse(mWifiP2pNative.isHalInterfaceSupported()); in testIsHalInterfaceSupported()
202 mWifiP2pNative.setupInterface( in testSetupInterfaceByWifiNativeSuccessInCreatingP2pIface()
220 mWifiP2pNative.setupInterface( in testSetupInterfaceSuccessWhenVendorHalDoesNotSupport()
237 mWifiP2pNative.setupInterface(mDestroyedListenerMock, mHandlerMock, mWorkSourceMock); in testSetupInterfaceFailureInCreatingP2pIfaceByWifiNative()
240 mWifiP2pNative.setupInterface( in testSetupInterfaceFailureInCreatingP2pIfaceByWifiNative()
257 mWifiP2pNative.setupInterface(mDestroyedListenerMock, mHandlerMock, mWorkSourceMock); in testSetupInterfaceFailureInCreatingP2pByWifiNativeAndHalDevMgrNotPossiblyCreate()
270 mWifiP2pNative.setupInterface( in testSetupInterfaceByWifiNativeAndFailureInSupplicantConnectionInitialization()
[all …]
DWifiP2pNativeInterfaceManagementTest.java82 private WifiP2pNative mWifiP2pNative; field in WifiP2pNativeInterfaceManagementTest
111 mWifiP2pNative = new WifiP2pNative(mWifiNl80211Manager, mWifiNative, mWifiMetrics, in setUp()
126 mWifiP2pNative.setupInterface( in testSetUpInterface()
149 assertEquals(TEST_P2P_IFACE_NAME, mWifiP2pNative.setupInterface( in testSetUpInterfaceWithNoVendorHal()
168 mWifiP2pNative.setupInterface(mHalDeviceInterfaceDestroyedListener, in testTeardownInterface()
171 mWifiP2pNative.teardownInterface(); in testTeardownInterface()
191 assertEquals(TEST_P2P_IFACE_NAME, mWifiP2pNative.setupInterface( in testTeardownInterfaceWithNoVendorHal()
194 mWifiP2pNative.teardownInterface(); in testTeardownInterfaceWithNoVendorHal()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiInjector.java168 private final WifiP2pNative mWifiP2pNative; field in WifiInjector
358 mWifiP2pNative = new WifiP2pNative(mWifiCondManager, mWifiNative, mWifiMetrics, in WifiInjector()
1023 return mWifiP2pNative; in getWifiP2pNative()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiNativeInterfaceManagementTest.java114 @Mock private WifiP2pNative mWifiP2pNative; field in WifiNativeInterfaceManagementTest
224 when(mWifiInjector.getWifiP2pNative()).thenReturn(mWifiP2pNative); in setUp()
242 mWifiMetrics, mWifiP2pNative); in setUp()
1475 verify(mWifiP2pNative).stopP2pSupplicantIfNecessary(); in testSetupClientInterfaceAndTeardownP2p()
2223 mInOrder.verify(mWifiP2pNative).stopP2pSupplicantIfNecessary(); in validateOnDestroyedP2pInterface()