Home
last modified time | relevance | path

Searched refs:mSupplicantP2pIfaceHal (Results 1 – 3 of 3) sorted by relevance

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pNative.java44 private final SupplicantP2pIfaceHal mSupplicantP2pIfaceHal; field in WifiP2pNative
93 mSupplicantP2pIfaceHal.teardownIface(ifaceName); in teardownAndInvalidate()
115 mSupplicantP2pIfaceHal = p2pIfaceHal; in WifiP2pNative()
137 if (!mSupplicantP2pIfaceHal.isInitializationStarted() in waitForSupplicantConnection()
138 && !mSupplicantP2pIfaceHal.initialize()) { in waitForSupplicantConnection()
144 if (mSupplicantP2pIfaceHal.isInitializationComplete()) { in waitForSupplicantConnection()
244 if (!mSupplicantP2pIfaceHal.setupIface(ifaceName)) { in setupInterface()
285 return mSupplicantP2pIfaceHal.setWpsDeviceName(name); in setDeviceName()
294 return mSupplicantP2pIfaceHal.loadGroups(groups); in p2pListNetworks()
307 return mSupplicantP2pIfaceHal.startWpsPbc(iface, bssid); in startWpsPbc()
[all …]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/p2p/
DWifiP2pNativeInterfaceManagementTest.java61 @Mock private SupplicantP2pIfaceHal mSupplicantP2pIfaceHal; field in WifiP2pNativeInterfaceManagementTest
93 when(mSupplicantP2pIfaceHal.isInitializationStarted()).thenReturn(true); in setUp()
94 when(mSupplicantP2pIfaceHal.initialize()).thenReturn(true); in setUp()
95 when(mSupplicantP2pIfaceHal.isInitializationComplete()).thenReturn(true); in setUp()
96 when(mSupplicantP2pIfaceHal.setupIface(P2P_IFACE_NAME)).thenReturn(true); in setUp()
101 mWifiVendorHal, mSupplicantP2pIfaceHal, mHalDeviceManager, in setUp()
135 verify(mSupplicantP2pIfaceHal).setupIface(eq(P2P_IFACE_NAME)); in testSetUpInterface()
150 verify(mSupplicantP2pIfaceHal).setupIface(eq(P2P_IFACE_NAME)); in testSetUpInterfaceWithNoVendorHal()
165 verify(mSupplicantP2pIfaceHal).teardownIface(eq(P2P_IFACE_NAME)); in testTeardownInterface()
181 verify(mSupplicantP2pIfaceHal).teardownIface(eq(P2P_IFACE_NAME)); in testTeardownInterfaceWithNoVendorHal()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiInjector.java99 private final SupplicantP2pIfaceHal mSupplicantP2pIfaceHal; field in WifiInjector
230 mSupplicantP2pIfaceHal = new SupplicantP2pIfaceHal(mWifiP2pMonitor); in WifiInjector()
232 mWifiVendorHal, mSupplicantP2pIfaceHal, mHalDeviceManager, in WifiInjector()