Home
last modified time | relevance | path

Searched refs:ms2ns (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/libs/hwui/hwui/
DAnimatedImageDrawable.cpp31 mTimeToShowNextSnapshot = ms2ns(mSkAnimatedImage->currentFrameDuration()); in AnimatedImageDrawable()
91 *outDelay = ms2ns(mSkAnimatedImage->currentFrameDuration()); in isDirty()
177 mTimeToShowNextSnapshot += ms2ns(mSnapshot.mDurationMS); in onDraw()
241 mTimeToShowNextSnapshot = ms2ns(durationMS); in drawStaging()
281 mTimeToShowNextSnapshot += ms2ns(durationMS); in drawStaging()
/frameworks/av/media/tests/benchmark/src/native/common/utils/
DTimers.h64 static inline nsecs_t ms2ns(nsecs_t v) { in ms2ns() function
84 return ms2ns(v); in milliseconds()
/frameworks/base/apct-tests/perftests/utils/src/android/perftests/utils/
DBenchmarkState.java60 private static final long WARMUP_DURATION_NS = ms2ns(250); // warm-up for at least 250ms
64 private static final long TARGET_TEST_DURATION_NS = ms2ns(500); // target testing for 500 ms
86 private static final long ms2ns(long ms) { in ms2ns() method in BenchmarkState
/frameworks/base/native/android/
Dchoreographer.cpp214 callback, nullptr, data, ms2ns(delayMillis)); in AChoreographer_postFrameCallbackDelayed()
224 nullptr, callback, data, ms2ns(delayMillis)); in AChoreographer_postFrameCallbackDelayed64()
/frameworks/native/libs/gui/include/gui/
DOccupancyTracker.h77 static constexpr nsecs_t NEW_SEGMENT_DELAY = ms2ns(100);
/frameworks/native/services/sensorservice/tests/
Dsensorservicetest.cpp82 q->setEventRate(accelerometer, ms2ns(10)); in main()
/frameworks/native/services/surfaceflinger/tests/unittests/
DTimeStatsTest.cpp388 mTimeStats->recordRefreshRate(fpsOne, ms2ns(millisOne)); in TEST_F()
389 mTimeStats->recordRefreshRate(fpsTwo, ms2ns(millisTwo)); in TEST_F()
427 mTimeStats->recordRefreshRate(fps, ms2ns(millisOne)); in TEST_F()
428 mTimeStats->recordRefreshRate(fps, ms2ns(millisTwo)); in TEST_F()
/frameworks/native/services/surfaceflinger/
DBufferQueueLayer.cpp458 status_t result = mQueueItemCondition.waitRelative(mQueueItemLock, ms2ns(500)); in onFrameAvailable()
493 status_t result = mQueueItemCondition.waitRelative(mQueueItemLock, ms2ns(500)); in onFrameReplaced()
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3StreamSplitter.h232 static const nsecs_t kHalBufMgrDequeueBufferTimeout = ms2ns(1); // 1 msec
/frameworks/native/services/sensorservice/
DSensorFusion.cpp166 mSensorDevice.batch(ident, mMag.getHandle(), 0, ms2ns(10), 0); in setDelay()
/frameworks/native/services/surfaceflinger/Scheduler/
DScheduler.cpp264 static constexpr nsecs_t kIgnoreDelay = ms2ns(750); in resync()
/frameworks/base/core/jni/
Dandroid_view_ThreadedRenderer.cpp396 looper->sendMessageDelayed(ms2ns(remainingTimeInMs), message, 0); in detachVectorDrawableAnimator()
/frameworks/base/cmds/bootanimation/
DBootAnimation.cpp1101 int delta = timestep * mTargetInset / ms2ns(200); in handleViewport()
/frameworks/native/services/inputflinger/reader/mapper/
DTouchInputMapper.cpp37 static constexpr nsecs_t EXTERNAL_STYLUS_DATA_TIMEOUT = ms2ns(72);
40 static constexpr nsecs_t TOUCH_DATA_TIMEOUT = ms2ns(20);
44 static constexpr nsecs_t STYLUS_DATA_LATENCY = ms2ns(10);
/frameworks/native/libs/gui/tests/
DBufferQueue_test.cpp757 const auto TIMEOUT = ms2ns(250); in TEST_F()