Searched refs:ms2ns (Results 1 – 5 of 5) sorted by relevance
/frameworks/native/include/utils/ |
D | Timers.h | 67 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/ |
D | sensorservicetest.cpp | 81 q->setEventRate(accelerometer, ms2ns(10)); in main()
|
/frameworks/native/libs/utils/tests/ |
D | Looper_test.cpp | 490 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/ |
D | EventThread.cpp | 280 nsecs_t timeout = softwareSync ? ms2ns(16) : ms2ns(1000); in waitForEvent()
|
/frameworks/native/services/sensorservice/ |
D | SensorFusion.cpp | 111 mSensorDevice.setDelay(ident, mMag.getHandle(), ms2ns(20)); in setDelay()
|