Searched refs:MILLI_TO_BASE (Results 1 – 5 of 5) sorted by relevance
21 const MILLI_TO_BASE = 1000;23 const NANO_TO_MILLI = NANO_TO_BASE / MILLI_TO_BASE;95 expect(milliTime / MILLI_TO_BASE > 0).assertTrue;135 expect(milliTime / MILLI_TO_BASE > 0).milliTime;
52 static const int MILLI_TO_BASE = 1000LL; variable59 constexpr int32_t MILLI_TO_MICR = MICR_TO_BASE / MILLI_TO_BASE;60 constexpr int32_t NANO_TO_MILLI = NANO_TO_BASE / MILLI_TO_BASE;344 tv.tv_sec = (time_t) (time / MILLI_TO_BASE); in SetRealTime()345 tv.tv_usec = (suseconds_t)((time % MILLI_TO_BASE) * MILLI_TO_MICR); in SetRealTime()578 times = tv.tv_sec * MILLI_TO_BASE + tv.tv_nsec / NANO_TO_MILLI; in GetWallTimeMs()598 times = tv.tv_sec * MILLI_TO_BASE + tv.tv_nsec / NANO_TO_MILLI; in GetBootTimeMs()618 times = tv.tv_sec * MILLI_TO_BASE + tv.tv_nsec / NANO_TO_MILLI; in GetMonotonicTimeMs()645 times = tv.tv_sec * MILLI_TO_BASE + tv.tv_nsec / NANO_TO_MILLI; in GetThreadTimeMs()
37 const int32_t MILLI_TO_BASE = 1000; variable74 if ((now / MILLI_TO_BASE - lastSystemTime_) < MAX_UPDATE_TIME) { in ProcessNitzUpdate()215 currentSystemTime = currentSystemTime / MILLI_TO_BASE; in IsValidTime()308 …esult = OHOS::MiscServices::TimeServiceClient::GetInstance()->SetTime(networkTime * MILLI_TO_BASE); in SaveTime()
475 static const int32_t MILLI_TO_BASE = 1000; in TestInitTimeAndTimeZone() local487 … bool result = OHOS::MiscServices::TimeServiceClient::GetInstance()->SetTime(time * MILLI_TO_BASE); in TestInitTimeAndTimeZone()