Home
last modified time | relevance | path

Searched refs:reltime (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/include/utils/
Dthreads.h421 status_t waitRelative(Mutex& mutex, nsecs_t reltime);
457 inline status_t Condition::waitRelative(Mutex& mutex, nsecs_t reltime) { in waitRelative() argument
460 ts.tv_sec = reltime/1000000000; in waitRelative()
461 ts.tv_nsec = reltime%1000000000; in waitRelative()
474 ts.tv_sec += reltime/1000000000; in waitRelative()
475 ts.tv_nsec+= reltime%1000000000; in waitRelative()
/frameworks/base/services/surfaceflinger/
DMessageQueue.cpp118 const nsecs_t reltime = nextEventTime - systemTime(); in waitMessage() local
119 if (reltime > 0) { in waitMessage()
120 mCondition.waitRelative(mLock, reltime); in waitMessage()
DMessageQueue.h104 nsecs_t reltime=0, uint32_t flags = 0);
112 nsecs_t reltime, uint32_t flags);
DSurfaceFlinger.h194 nsecs_t reltime=0, uint32_t flags = 0);
197 nsecs_t reltime=0, uint32_t flags = 0);
DSurfaceFlinger.cpp409 nsecs_t reltime, uint32_t flags) in postMessageAsync() argument
411 return mEventQueue.postMessage(msg, reltime, flags); in postMessageAsync()
415 nsecs_t reltime, uint32_t flags) in postMessageSync() argument
417 status_t res = mEventQueue.postMessage(msg, reltime, flags); in postMessageSync()
/frameworks/base/libs/utils/
DThreads.cpp550 nsecs_t reltime = *abstime - systemTime();
551 if (reltime < 0)
552 reltime = 0;
553 timeout = reltime/1000000;
642 status_t Condition::waitRelative(Mutex& mutex, nsecs_t reltime)
646 nsecs_t absTime = systemTime()+reltime;