Searched refs:ms2ns (Results 1 – 3 of 3) sorted by relevance
/system/core/libutils/include/utils/ |
D | Timers.h | 69 static CONSTEXPR inline nsecs_t ms2ns(nsecs_t v) {return milliseconds_to_nanoseconds(v);} in ms2ns() function 76 static CONSTEXPR inline nsecs_t milliseconds(nsecs_t v) { return ms2ns(v); } in milliseconds()
|
/system/connectivity/wificond/ |
D | looper_backed_event_loop.cpp | 89 looper_->sendMessageDelayed(ms2ns(delay_ms), looper_callback, NULL); in PostDelayedTask()
|
/system/core/libutils/ |
D | Looper_test.cpp | 543 mLooper->sendMessageDelayed(ms2ns(100), handler, Message(MSG_TEST1)); in TEST_F() 579 mLooper->sendMessageDelayed(ms2ns(-1000), handler, Message(MSG_TEST1)); in TEST_F() 616 mLooper->sendMessageAtTime(now + ms2ns(100), handler, Message(MSG_TEST1)); in TEST_F() 653 mLooper->sendMessageAtTime(now - ms2ns(1000), handler, Message(MSG_TEST1)); in TEST_F()
|