Searched refs:P2P_IFACE_NAME (Results 1 – 4 of 4) sorted by relevance
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/p2p/ |
D | WifiP2pNativeInterfaceManagementTest.java | 58 private static final String P2P_IFACE_NAME = "p2p0"; field in WifiP2pNativeInterfaceManagementTest 91 cb.onValues(mWifiStatusSuccess, P2P_IFACE_NAME); in setUp() 98 when(mSupplicantP2pIfaceHal.setupIface(P2P_IFACE_NAME)).thenReturn(true); in setUp() 99 when(mPropertyService.getString(P2P_INTERFACE_PROPERTY, P2P_IFACE_NAME)) in setUp() 100 .thenReturn(P2P_IFACE_NAME); in setUp() 112 assertEquals(P2P_IFACE_NAME, in testSetUpInterface() 118 verify(mSupplicantP2pIfaceHal).setupIface(eq(P2P_IFACE_NAME)); in testSetUpInterface() 128 assertEquals(P2P_IFACE_NAME, mWifiP2pNative.setupInterface( in testSetUpInterfaceWithNoVendorHal() 134 verify(mSupplicantP2pIfaceHal).setupIface(eq(P2P_IFACE_NAME)); in testSetUpInterfaceWithNoVendorHal() 142 assertEquals(P2P_IFACE_NAME, in testTeardownInterface() [all …]
|
D | WifiP2pMonitorTest.java | 40 private static final String P2P_IFACE_NAME = "p2p0"; field in WifiP2pMonitorTest 53 mWifiP2pMonitor.setMonitoring(P2P_IFACE_NAME, true); in setUp() 62 P2P_IFACE_NAME, WifiP2pMonitor.SUP_DISCONNECTION_EVENT, mHandlerSpy); in testBroadcastSupplicantDisconnectionEvent() 63 mWifiP2pMonitor.broadcastSupplicantDisconnectionEvent(P2P_IFACE_NAME); in testBroadcastSupplicantDisconnectionEvent() 76 P2P_IFACE_NAME, WifiP2pMonitor.SUP_CONNECTION_EVENT, mHandlerSpy); in testBroadcastEventToTwoHandlers() 78 P2P_IFACE_NAME, WifiP2pMonitor.SUP_CONNECTION_EVENT, mSecondHandlerSpy); in testBroadcastEventToTwoHandlers() 79 mWifiP2pMonitor.broadcastSupplicantConnectionEvent(P2P_IFACE_NAME); in testBroadcastEventToTwoHandlers() 94 P2P_IFACE_NAME, WifiP2pMonitor.SUP_DISCONNECTION_EVENT, mHandlerSpy); in testBroadcastEventWhenIfaceIsNull() 108 P2P_IFACE_NAME, WifiP2pMonitor.SUP_DISCONNECTION_EVENT, mHandlerSpy); in testBroadcastEventWhenIfaceHandlerIsNull()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/p2p/ |
D | WifiP2pNative.java | 153 private static final String P2P_IFACE_NAME = "p2p0"; field in WifiP2pNative 177 return mPropertyService.getString(P2P_INTERFACE_PROPERTY, P2P_IFACE_NAME); in createP2pIface() 216 : mPropertyService.getString(P2P_INTERFACE_PROPERTY, P2P_IFACE_NAME); in setupInterface() 234 String ifaceName = mPropertyService.getString(P2P_INTERFACE_PROPERTY, P2P_IFACE_NAME); in teardownInterface()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | SupplicantStaIfaceHalTest.java | 130 private static final String P2P_IFACE_NAME = "p2p0"; field in SupplicantStaIfaceHalTest 276 mP2pIface = createIfaceInfo(IfaceType.P2P, P2P_IFACE_NAME); in setUp()
|