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 | 86 looper_->sendMessageDelayed(ms2ns(delay_ms), sp<EventLoopCallback>::make(callback), Message()); in PostDelayedTask()
|
/system/core/libutils/ |
D | Looper_test.cpp | 513 mLooper->sendMessageDelayed(ms2ns(100), handler, Message(MSG_TEST1)); in TEST_F() 549 mLooper->sendMessageDelayed(ms2ns(-1000), handler, Message(MSG_TEST1)); in TEST_F() 586 mLooper->sendMessageAtTime(now + ms2ns(100), handler, Message(MSG_TEST1)); in TEST_F() 623 mLooper->sendMessageAtTime(now - ms2ns(1000), handler, Message(MSG_TEST1)); in TEST_F()
|