Home
last modified time | relevance | path

Searched refs:s2ns (Results 1 – 10 of 10) sorted by relevance

/frameworks/av/media/tests/benchmark/src/native/common/utils/
DTimers.h61 static inline nsecs_t s2ns(nsecs_t v) { in s2ns() function
81 return s2ns(v); in seconds()
/frameworks/native/services/sensorservice/tests/
Dsensorservicetest.cpp41 t = float(buffer[i].timestamp - oldTimeStamp) / s2ns(1); in receiver()
43 t = float(buffer[i].timestamp - sStartTime) / s2ns(1); in receiver()
/frameworks/native/services/surfaceflinger/tests/vsync/
Dvsync.cpp38 float t = float(buffer[i].header.timestamp - oldTimeStamp) / s2ns(1); in receiver()
/frameworks/av/media/libnblog/include/media/nblog/
DMerger.h107 static constexpr nsecs_t kPeriodicMediaMetricsPush = s2ns((nsecs_t)2 * 60 * 60); // 2 hours
/frameworks/base/libs/hwui/tests/macrobench/
DTestSceneRunner.cpp187 outputBenchmarkReport(info, opts, reporter, proxy.get(), (end - start) / (double)s2ns(1)); in run()
/frameworks/base/services/core/jni/
Dcom_android_server_tv_TvInputHal.cpp167 status_t err = mCondition.waitRelative(mLock, s2ns(1)); in setSurfaceLocked()
209 err = mCondition.waitRelative(mLock, s2ns(1)); in threadLoop()
219 err = mCondition.waitRelative(mLock, s2ns(1)); in threadLoop()
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3StreamSplitter.h231 static const nsecs_t kNormalDequeueBufferTimeout = s2ns(1); // 1 sec
/frameworks/native/services/surfaceflinger/
DBufferQueueLayer.cpp106 const bool isPlausible = addedTime < (expectedPresentTime + s2ns(1)); in shouldPresentNow()
DSurfaceFlinger.cpp1272 const status_t err = mStateLock.timedLock(s2ns(1)); in getLayerDebugInfo()
3729 desiredPresentTime < expectedPresentTime + s2ns(1)) { in transactionIsReadyToBeApplied()
3770 status_t err = mTransactionCV.waitRelative(mStateLock, s2ns(5)); in setTransactionState()
3807 status_t err = mTransactionCV.waitRelative(mStateLock, s2ns(5)); in applyTransactionState()
3895 status_t err = mTransactionCV.waitRelative(mStateLock, s2ns(5)); in applyTransactionState()
4624 status_t err = mStateLock.timedLock(s2ns(1)); in doDump()
/frameworks/base/cmds/bootanimation/
DBootAnimation.cpp947 nsecs_t frameDuration = s2ns(1) / animation.fps; in playAnimation()