Home
last modified time | relevance | path

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

/external/libchrome/components/timers/
Dalarm_timer_chromeos.cc23 SimpleAlarmTimer::SimpleAlarmTimer() in SimpleAlarmTimer() function in timers::SimpleAlarmTimer
26 SimpleAlarmTimer::~SimpleAlarmTimer() { in ~SimpleAlarmTimer()
31 void SimpleAlarmTimer::Stop() { in Stop()
50 void SimpleAlarmTimer::Reset() { in Reset()
92 FROM_HERE, base::BindOnce(&SimpleAlarmTimer::OnTimerFired, in Reset()
101 base::BindRepeating(&SimpleAlarmTimer::OnAlarmFdReadableWithoutBlocking, in Reset()
106 void SimpleAlarmTimer::OnAlarmFdReadableWithoutBlocking() { in OnAlarmFdReadableWithoutBlocking()
118 void SimpleAlarmTimer::OnTimerFired() { in OnTimerFired()
127 base::WeakPtr<SimpleAlarmTimer> weak_ptr = weak_factory_.GetWeakPtr(); in OnTimerFired()
139 bool SimpleAlarmTimer::CanWakeFromSuspend() const { in CanWakeFromSuspend()
Dalarm_timer_chromeos.h37 class SimpleAlarmTimer : public base::RetainingOneShotTimer {
39 SimpleAlarmTimer();
40 ~SimpleAlarmTimer() override;
75 base::WeakPtrFactory<SimpleAlarmTimer> weak_factory_;
77 DISALLOW_COPY_AND_ASSIGN(SimpleAlarmTimer);