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.java444 public WakeupMessage mP2pIdleShutdownMessage; field in WifiP2pServiceImpl
1493 mP2pIdleShutdownMessage = new WakeupMessage(mContext, in P2pStateMachine()
1894 if (mP2pIdleShutdownMessage != null) { in scheduleIdleShutdown()
1895 mP2pIdleShutdownMessage.cancel(); in scheduleIdleShutdown()
1896 mP2pIdleShutdownMessage.schedule(SystemClock.elapsedRealtime() in scheduleIdleShutdown()
1907 if (mP2pIdleShutdownMessage != null) { in cancelIdleShutdown()
1908 mP2pIdleShutdownMessage.cancel(); in cancelIdleShutdown()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/p2p/
DWifiP2pServiceImplTest.java6571 verify(mAlarmManager, times(3)).cancel(eq(mWifiP2pServiceImpl.mP2pIdleShutdownMessage)); in testIdleTimeoutCancelledAfterLeavingInactiveState()
6580 mWifiP2pServiceImpl.mP2pIdleShutdownMessage.onAlarm(); in testIdleTimeoutTriggered()
6606 mWifiP2pServiceImpl.mP2pIdleShutdownMessage.onAlarm(); in testWfdInfoIsSetAtP2pEnabledStateForIdleShutdown()