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)
167 (llabs(diff) / NSEC_PER_MSEC) % MSEC_PER_SEC, in main()
171 (llabs(diff) / NSEC_PER_MSEC) % MSEC_PER_SEC, in main()
/system/core/healthd/
Dhealthd_mode_charger.cpp73 #define MSEC_PER_SEC (1000LL) macro
76 #define BATTERY_UNKNOWN_TIME (2 * MSEC_PER_SEC)
77 #define POWER_ON_KEY_TIME (2 * MSEC_PER_SEC)
78 #define UNPLUGGED_SHUTDOWN_TIME (10 * MSEC_PER_SEC)
79 #define UNPLUGGED_DISPLAY_TIME (3 * MSEC_PER_SEC)
80 #define MAX_BATT_LEVEL_WAIT_TIME (3 * MSEC_PER_SEC)
206 return tm.tv_sec * MSEC_PER_SEC + (tm.tv_nsec / NSEC_PER_MSEC); in curr_time_ms()