Home
last modified time | relevance | path

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

/frameworks/native/include/utils/
DTimers.h67 static inline nsecs_t ms2ns(nsecs_t v) {return milliseconds_to_nanoseconds(v);} in ms2ns() function
74 static inline nsecs_t milliseconds(nsecs_t v) { return ms2ns(v); } in milliseconds()
/frameworks/native/services/sensorservice/tests/
Dsensorservicetest.cpp81 q->setEventRate(accelerometer, ms2ns(10)); in main()
/frameworks/native/libs/utils/tests/
DLooper_test.cpp490 mLooper->sendMessageDelayed(ms2ns(100), handler, Message(MSG_TEST1)); in TEST_F()
526 mLooper->sendMessageDelayed(ms2ns(-1000), handler, Message(MSG_TEST1)); in TEST_F()
563 mLooper->sendMessageAtTime(now + ms2ns(100), handler, Message(MSG_TEST1)); in TEST_F()
600 mLooper->sendMessageAtTime(now - ms2ns(1000), handler, Message(MSG_TEST1)); in TEST_F()
/frameworks/native/services/surfaceflinger/
DEventThread.cpp280 nsecs_t timeout = softwareSync ? ms2ns(16) : ms2ns(1000); in waitForEvent()
/frameworks/native/services/sensorservice/
DSensorFusion.cpp111 mSensorDevice.setDelay(ident, mMag.getHandle(), ms2ns(20)); in setDelay()