Home | History | Annotate | Download | only in utils

Lines Matching refs:LocTimer

37 #include <LocTimer.h>
51 LocTimer, LocTimerDelegate, LocTimerContainer, LocTimerPollTask, LocTimerWrapper
53 LocTimer - client front end, interface for client to start / stop timers, also
56 Its life cycle is different than that of LocTimer. It gets
57 created when LocTimer::start() is called, and gets deleted
58 when it expires or clients calls the hosting LocTimer obj's
77 LocTimerWrapper - a LocTimer client itself, to implement the existing C API with
170 // Internal class of timer obj. It gets born when client calls LocTimer::start();
171 // and gets deleted when client calls LocTimer::stop() or when the it expire()'s.
176 friend class LocTimer;
177 LocTimer* mClient;
186 LocTimerDelegate(LocTimer& client, struct timespec& futureTime, bool wakeOnExpire);
475 LocTimerDelegate::LocTimerDelegate(LocTimer& client, struct timespec& futureTime, bool wakeOnExpire)
519 LocTimer* client = mClient;
530 /***************************LocTimer methods***************************/
531 LocTimer::LocTimer() : mTimer(NULL), mLock(new LocSharedLock()) {
534 LocTimer::~LocTimer() {
542 bool LocTimer::start(unsigned int timeOutInMs, bool wakeOnExpire) {
562 bool LocTimer::stop() {
581 class LocTimerWrapper : public LocTimer {
652 class LocTimerTest : public LocTimer, public LocRankable {
662 inline LocTimerTest(int timeout) : LocTimer(), LocRankable(),
684 // g++ -D__LOC_HOST_DEBUG__ -D__LOC_DEBUG__ -g -I. -I../../../../system/core/include -o LocTimer.o LocTimer.cpp