Searched refs:reltime (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/include/utils/ |
D | threads.h | 421 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/ |
D | MessageQueue.cpp | 118 const nsecs_t reltime = nextEventTime - systemTime(); in waitMessage() local 119 if (reltime > 0) { in waitMessage() 120 mCondition.waitRelative(mLock, reltime); in waitMessage()
|
D | MessageQueue.h | 104 nsecs_t reltime=0, uint32_t flags = 0); 112 nsecs_t reltime, uint32_t flags);
|
D | SurfaceFlinger.h | 194 nsecs_t reltime=0, uint32_t flags = 0); 197 nsecs_t reltime=0, uint32_t flags = 0);
|
D | SurfaceFlinger.cpp | 409 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/ |
D | Threads.cpp | 550 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;
|