Searched refs:s2ns (Results 1 – 10 of 10) sorted by relevance
/frameworks/av/media/tests/benchmark/src/native/common/utils/ |
D | Timers.h | 61 static inline nsecs_t s2ns(nsecs_t v) { in s2ns() function 81 return s2ns(v); in seconds()
|
/frameworks/native/services/sensorservice/tests/ |
D | sensorservicetest.cpp | 41 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/ |
D | vsync.cpp | 38 float t = float(buffer[i].header.timestamp - oldTimeStamp) / s2ns(1); in receiver()
|
/frameworks/av/media/libnblog/include/media/nblog/ |
D | Merger.h | 107 static constexpr nsecs_t kPeriodicMediaMetricsPush = s2ns((nsecs_t)2 * 60 * 60); // 2 hours
|
/frameworks/base/libs/hwui/tests/macrobench/ |
D | TestSceneRunner.cpp | 187 outputBenchmarkReport(info, opts, reporter, proxy.get(), (end - start) / (double)s2ns(1)); in run()
|
/frameworks/base/services/core/jni/ |
D | com_android_server_tv_TvInputHal.cpp | 167 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/ |
D | Camera3StreamSplitter.h | 231 static const nsecs_t kNormalDequeueBufferTimeout = s2ns(1); // 1 sec
|
/frameworks/native/services/surfaceflinger/ |
D | BufferQueueLayer.cpp | 106 const bool isPlausible = addedTime < (expectedPresentTime + s2ns(1)); in shouldPresentNow()
|
D | SurfaceFlinger.cpp | 1272 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/ |
D | BootAnimation.cpp | 947 nsecs_t frameDuration = s2ns(1) / animation.fps; in playAnimation()
|