Searched refs:ms2ns (Results 1 – 15 of 15) sorted by relevance
/frameworks/base/libs/hwui/hwui/ |
D | AnimatedImageDrawable.cpp | 31 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/ |
D | Timers.h | 64 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/ |
D | BenchmarkState.java | 60 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/ |
D | choreographer.cpp | 214 callback, nullptr, data, ms2ns(delayMillis)); in AChoreographer_postFrameCallbackDelayed() 224 nullptr, callback, data, ms2ns(delayMillis)); in AChoreographer_postFrameCallbackDelayed64()
|
/frameworks/native/libs/gui/include/gui/ |
D | OccupancyTracker.h | 77 static constexpr nsecs_t NEW_SEGMENT_DELAY = ms2ns(100);
|
/frameworks/native/services/sensorservice/tests/ |
D | sensorservicetest.cpp | 82 q->setEventRate(accelerometer, ms2ns(10)); in main()
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | TimeStatsTest.cpp | 388 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/ |
D | BufferQueueLayer.cpp | 458 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/ |
D | Camera3StreamSplitter.h | 232 static const nsecs_t kHalBufMgrDequeueBufferTimeout = ms2ns(1); // 1 msec
|
/frameworks/native/services/sensorservice/ |
D | SensorFusion.cpp | 166 mSensorDevice.batch(ident, mMag.getHandle(), 0, ms2ns(10), 0); in setDelay()
|
/frameworks/native/services/surfaceflinger/Scheduler/ |
D | Scheduler.cpp | 264 static constexpr nsecs_t kIgnoreDelay = ms2ns(750); in resync()
|
/frameworks/base/core/jni/ |
D | android_view_ThreadedRenderer.cpp | 396 looper->sendMessageDelayed(ms2ns(remainingTimeInMs), message, 0); in detachVectorDrawableAnimator()
|
/frameworks/base/cmds/bootanimation/ |
D | BootAnimation.cpp | 1101 int delta = timestep * mTargetInset / ms2ns(200); in handleViewport()
|
/frameworks/native/services/inputflinger/reader/mapper/ |
D | TouchInputMapper.cpp | 37 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/ |
D | BufferQueue_test.cpp | 757 const auto TIMEOUT = ms2ns(250); in TEST_F()
|