Searched refs:ms2ns (Results 1 – 3 of 3) sorted by relevance
/system/core/libutils/include/utils/ |
D | Timers.h | 65 static CONSTEXPR inline nsecs_t ms2ns(nsecs_t v) {return milliseconds_to_nanoseconds(v);} in ms2ns() function 72 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 | 544 mLooper->sendMessageDelayed(ms2ns(100), handler, Message(MSG_TEST1)); in TEST_F() 580 mLooper->sendMessageDelayed(ms2ns(-1000), handler, Message(MSG_TEST1)); in TEST_F() 617 mLooper->sendMessageAtTime(now + ms2ns(100), handler, Message(MSG_TEST1)); in TEST_F() 654 mLooper->sendMessageAtTime(now - ms2ns(1000), handler, Message(MSG_TEST1)); in TEST_F()
|