Searched refs:P2P_IFACE_NAME (Results 1 – 4 of 4) sorted by relevance
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/p2p/ |
D | WifiP2pNativeInterfaceManagementTest.java | 58 private static final String P2P_IFACE_NAME = "p2p0"; field in WifiP2pNativeInterfaceManagementTest 89 cb.onValues(mWifiStatusSuccess, P2P_IFACE_NAME); in setUp() 96 when(mSupplicantP2pIfaceHal.setupIface(P2P_IFACE_NAME)).thenReturn(true); in setUp() 97 when(mPropertyService.getString(P2P_INTERFACE_PROPERTY, P2P_IFACE_NAME)) in setUp() 98 .thenReturn(P2P_IFACE_NAME); in setUp() 130 assertEquals(P2P_IFACE_NAME, in testSetUpInterface() 135 verify(mSupplicantP2pIfaceHal).setupIface(eq(P2P_IFACE_NAME)); in testSetUpInterface() 145 assertEquals(P2P_IFACE_NAME, mWifiP2pNative.setupInterface( in testSetUpInterfaceWithNoVendorHal() 150 verify(mSupplicantP2pIfaceHal).setupIface(eq(P2P_IFACE_NAME)); in testSetUpInterfaceWithNoVendorHal() 158 assertEquals(P2P_IFACE_NAME, in testTeardownInterface() [all …]
|
D | WifiP2pMonitorTest.java | 41 private static final String P2P_IFACE_NAME = "p2p0"; field in WifiP2pMonitorTest 54 mWifiP2pMonitor.setMonitoring(P2P_IFACE_NAME, true); in setUp() 63 P2P_IFACE_NAME, WifiP2pMonitor.SUP_DISCONNECTION_EVENT, mHandlerSpy); in testBroadcastSupplicantDisconnectionEvent() 64 mWifiP2pMonitor.broadcastSupplicantDisconnectionEvent(P2P_IFACE_NAME); in testBroadcastSupplicantDisconnectionEvent() 77 P2P_IFACE_NAME, WifiP2pMonitor.SUP_CONNECTION_EVENT, mHandlerSpy); in testBroadcastEventToTwoHandlers() 79 P2P_IFACE_NAME, WifiP2pMonitor.SUP_CONNECTION_EVENT, mSecondHandlerSpy); in testBroadcastEventToTwoHandlers() 80 mWifiP2pMonitor.broadcastSupplicantConnectionEvent(P2P_IFACE_NAME); in testBroadcastEventToTwoHandlers() 95 P2P_IFACE_NAME, WifiP2pMonitor.SUP_DISCONNECTION_EVENT, mHandlerSpy); in testBroadcastEventWhenIfaceIsNull() 109 P2P_IFACE_NAME, WifiP2pMonitor.SUP_DISCONNECTION_EVENT, mHandlerSpy); in testBroadcastEventWhenIfaceHandlerIsNull()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/ |
D | WifiP2pNative.java | 169 private static final String P2P_IFACE_NAME = "p2p0"; field in WifiP2pNative 193 return mPropertyService.getString(P2P_INTERFACE_PROPERTY, P2P_IFACE_NAME); in createP2pIface() 255 : mPropertyService.getString(P2P_INTERFACE_PROPERTY, P2P_IFACE_NAME); in setupInterface() 273 String ifaceName = mPropertyService.getString(P2P_INTERFACE_PROPERTY, P2P_IFACE_NAME); in teardownInterface()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | SupplicantStaIfaceHalTest.java | 111 private static final String P2P_IFACE_NAME = "p2p0"; field in SupplicantStaIfaceHalTest 209 mP2pIface = createIfaceInfo(IfaceType.P2P, P2P_IFACE_NAME); in setUp()
|