Home
last modified time | relevance | path

Searched refs:mP2pIdleShutdownMessage (Results 1 – 2 of 2) sorted by relevance

/packages/modules/Wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pServiceImpl.java338 public WakeupMessage mP2pIdleShutdownMessage; field in WifiP2pServiceImpl
902 mP2pIdleShutdownMessage = new WakeupMessage(mContext, in P2pStateMachine()
974 if (mP2pIdleShutdownMessage != null) { in scheduleIdleShutdown()
975 mP2pIdleShutdownMessage.cancel(); in scheduleIdleShutdown()
976 mP2pIdleShutdownMessage.schedule(SystemClock.elapsedRealtime() in scheduleIdleShutdown()
987 if (mP2pIdleShutdownMessage != null) { in cancelIdleShutdown()
988 mP2pIdleShutdownMessage.cancel(); in cancelIdleShutdown()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/p2p/
DWifiP2pServiceImplTest.java4488 verify(mAlarmManager, times(4)).cancel(eq(mWifiP2pServiceImpl.mP2pIdleShutdownMessage)); in testIdleTimeoutCancelledAfterLeavingInactiveState()
4497 mWifiP2pServiceImpl.mP2pIdleShutdownMessage.onAlarm(); in testIdleTimeoutTriggered()