Home
last modified time | relevance | path

Searched refs:MSEC_PER_SEC (Results 1 – 2 of 2) sorted by relevance

/system/extras/tests/suspend_stress/
Dsuspend_stress.cpp32 #define MSEC_PER_SEC 1000 macro
33 #define NSEC_PER_MSEC (NSEC_PER_SEC/MSEC_PER_SEC)
168 (llabs(diff) / NSEC_PER_MSEC) % MSEC_PER_SEC, in main()
172 (llabs(diff) / NSEC_PER_MSEC) % MSEC_PER_SEC, in main()
/system/core/healthd/
Dhealthd_mode_charger.cpp63 #define MSEC_PER_SEC (1000LL) macro
66 #define BATTERY_UNKNOWN_TIME (2 * MSEC_PER_SEC)
67 #define POWER_ON_KEY_TIME (2 * MSEC_PER_SEC)
68 #define UNPLUGGED_SHUTDOWN_TIME (10 * MSEC_PER_SEC)
183 return tm.tv_sec * MSEC_PER_SEC + (tm.tv_nsec / NSEC_PER_MSEC); in curr_time_ms()