Home
last modified time | relevance | path

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

/system/core/libutils/include/utils/
DTimers.h65 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/
Dlooper_backed_event_loop.cpp89 looper_->sendMessageDelayed(ms2ns(delay_ms), looper_callback, NULL); in PostDelayedTask()
/system/core/libutils/
DLooper_test.cpp544 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()