Home
last modified time | relevance | path

Searched refs:whenUs (Results 1 – 3 of 3) sorted by relevance

/frameworks/av/media/module/foundation/
DALooper.cpp175 int64_t whenUs; in post() local
178 whenUs = (delayUs > INT64_MAX - nowUs ? INT64_MAX : nowUs + delayUs); in post()
181 whenUs = getNowUs(); in post()
185 while (it != mEventQueue.end() && (*it).mWhenUs <= whenUs) { in post()
190 event.mWhenUs = whenUs; in post()
207 int64_t whenUs; in postUnique() local
210 whenUs = (delayUs > INT64_MAX - nowUs ? INT64_MAX : nowUs + delayUs); in postUnique()
212 whenUs = getNowUs(); in postUnique()
218 bool shouldAwakeLoop = mEventQueue.empty() || whenUs < mEventQueue.begin()->mWhenUs; in postUnique()
231 while (i != mEventQueue.end() && i->mWhenUs <= whenUs) { in postUnique()
[all …]
/frameworks/av/media/libstagefright/
DThrottledSource.cpp56 int64_t whenUs = mStartTimeUs + durationUs; in readAt() local
58 if (whenUs > nowUs) { in readAt()
59 usleep(whenUs - nowUs); in readAt()
/frameworks/av/media/libstagefright/rtsp/
DUDPPusher.cpp104 int64_t whenUs = mFirstTimeUs + timeMs * 1000ll; in onPush() local
106 (new AMessage(kWhatPush, this))->post(whenUs - nowUs); in onPush()