Home
last modified time | relevance | path

Searched refs:mWifiP2pConnection (Results 1 – 5 of 5) sorted by relevance

/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiInjector.java249 private final WifiP2pConnection mWifiP2pConnection; field in WifiInjector
516 mWifiP2pConnection = new WifiP2pConnection(mContext, wifiLooper, mActiveModeWarden); in WifiInjector()
895 mWifiP2pConnection, mWifiGlobals, ifaceName, clientModeManager, in makeClientModeImpl()
1147 return mWifiP2pConnection; in getWifiP2pConnection()
DClientModeImpl.java268 private final WifiP2pConnection mWifiP2pConnection; field in ClientModeImpl
829 mWifiP2pConnection = wifiP2pConnection; in ClientModeImpl()
3628 if (mWifiP2pConnection.isConnected() && !mWifiP2pConnection.isP2pInWaitingState()) { in handlePreDhcpSetup()
3636 mWifiP2pConnection.sendMessage( in handlePreDhcpSetup()
3666 if (mWifiP2pConnection.isConnected()) { in handlePostDhcpSetup()
3667 mWifiP2pConnection.sendMessage( in handlePostDhcpSetup()
4738 if (mWifiP2pConnection.shouldTemporarilyDisconnectWifi()) { in processMessageImpl()
6620 if (mWifiP2pConnection.shouldTemporarilyDisconnectWifi()) { in processMessageImpl()
7639 if (mWifiP2pConnection.shouldTemporarilyDisconnectWifi()) { in enterImpl()
7643 mWifiP2pConnection.sendMessage(WifiP2pServiceImpl.DISCONNECT_WIFI_RESPONSE); in enterImpl()
[all …]
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DClientModeImplTest.java578 @Mock WifiP2pConnection mWifiP2pConnection; field in ClientModeImplTest
835 mSimRequiredNotifier, mWifiScoreReport, mWifiP2pConnection, mWifiGlobals, in initializeCmi()
10992 when(mWifiP2pConnection.isConnected()).thenReturn(true); in testP2pBlockDiscoveryDuringDhcp()
10993 when(mWifiP2pConnection.isP2pInWaitingState()).thenReturn(true); in testP2pBlockDiscoveryDuringDhcp()
10997 verify(mWifiP2pConnection, never()).sendMessage(anyInt(), anyInt(), anyInt()); in testP2pBlockDiscoveryDuringDhcp()
11000 when(mWifiP2pConnection.isConnected()).thenReturn(true); in testP2pBlockDiscoveryDuringDhcp()
11001 when(mWifiP2pConnection.isP2pInWaitingState()).thenReturn(false); in testP2pBlockDiscoveryDuringDhcp()
11005 verify(mWifiP2pConnection) in testP2pBlockDiscoveryDuringDhcp()
11014 verify(mWifiP2pConnection) in testP2pBlockDiscoveryDuringDhcp()
DWifiServiceImplTest.java473 @Mock WifiP2pConnection mWifiP2pConnection; field in WifiServiceImplTest
632 when(mWifiInjector.getWifiP2pConnection()).thenReturn(mWifiP2pConnection); in setUp()
8709 verify(mWifiP2pConnection).handleBootCompleted(); in testHandleBootCompleted()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/p2p/
DWifiP2pServiceImplTest.java300 @Mock WifiP2pConnection mWifiP2pConnection; field in WifiP2pServiceImplTest
1447 when(mWifiInjector.getWifiP2pConnection()).thenReturn(mWifiP2pConnection); in setUpWifiP2pServiceImpl()