Home
last modified time | relevance | path

Searched refs:targetTime (Results 1 – 4 of 4) sorted by relevance

/frameworks/av/services/mediametrics/
DTimedAction.h42 void postAt(const T& targetTime, std::function<void()> f) { in postAt() argument
45 if (mMap.empty() || targetTime < mMap.begin()->first) { in postAt()
46 mMap.emplace_hint(mMap.begin(), targetTime, std::move(f)); in postAt()
49 mMap.emplace(targetTime, std::move(f)); in postAt()
/frameworks/base/tests/JankBench/app/src/main/jni/
DBench.cpp214 float targetTime = 0.2f; in runMemoryBandwidthTest() local
215 if (dt > targetTime) { in runMemoryBandwidthTest()
216 mMemLoopCount = (size_t)((double)mMemLoopCount / (dt / targetTime)); in runMemoryBandwidthTest()
273 float targetTime = 0.2f; in runMemoryLatencyTest() local
274 if (dts > targetTime) { in runMemoryLatencyTest()
275 mMemLoopCount = (size_t)((double)mMemLoopCount / (dts / targetTime)); in runMemoryLatencyTest()
/frameworks/native/services/surfaceflinger/Scheduler/
DVSyncDispatchTimerQueue.cpp214 void VSyncDispatchTimerQueue::setTimer(nsecs_t targetTime, nsecs_t /*now*/) { in setTimer() argument
215 mIntendedWakeupTime = targetTime; in setTimer()
/frameworks/base/cmds/bmgr/src/com/android/commands/bmgr/
DBmgr.java364 final long targetTime = SystemClock.elapsedRealtime() + timeout; in waitForCompletion() local
367 while (!done && (timeout <= 0 || SystemClock.elapsedRealtime() < targetTime)) { in waitForCompletion()