Searched refs:ms2ns (Results 1 – 2 of 2) sorted by relevance
69 static CONSTEXPR inline nsecs_t ms2ns(nsecs_t v) {return milliseconds_to_nanoseconds(v);} in ms2ns() function76 static CONSTEXPR inline nsecs_t milliseconds(nsecs_t v) { return ms2ns(v); } in milliseconds()
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()