Home
last modified time | relevance | path

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

/system/bt/osi/src/
Dwakelock.cc270 const uint64_t just_now_ms = now_ms(); in update_wakelock_acquired_stats() local
285 wakelock_stats.last_acquired_timestamp_ms = just_now_ms; in update_wakelock_acquired_stats()
288 bluetooth::common::WAKE_EVENT_ACQUIRED, "", "", just_now_ms); in update_wakelock_acquired_stats()
300 const uint64_t just_now_ms = now_ms(); in update_wakelock_released_stats() local
315 wakelock_stats.last_released_timestamp_ms = just_now_ms; in update_wakelock_released_stats()
318 uint64_t delta_ms = just_now_ms - wakelock_stats.last_acquired_timestamp_ms; in update_wakelock_released_stats()
330 bluetooth::common::WAKE_EVENT_RELEASED, "", "", just_now_ms); in update_wakelock_released_stats()
334 const uint64_t just_now_ms = now_ms(); in wakelock_debug_dump() local
346 delta_ms = just_now_ms - wakelock_stats.last_acquired_timestamp_ms; in wakelock_debug_dump()
376 (unsigned long long)(just_now_ms - in wakelock_debug_dump()
Dalarm.cc204 uint64_t just_now_ms = now_ms(); in alarm_get_remaining_ms() local
207 if (alarm->deadline_ms > just_now_ms) in alarm_get_remaining_ms()
208 remaining_ms = alarm->deadline_ms - just_now_ms; in alarm_get_remaining_ms()
429 uint64_t just_now_ms = now_ms(); in schedule_next_instance() local
433 ((just_now_ms - alarm->creation_time_ms) % alarm->period_ms); in schedule_next_instance()
434 alarm->deadline_ms = just_now_ms + (alarm->period_ms - ms_into_period); in schedule_next_instance()
741 uint64_t just_now_ms = now_ms(); in alarm_debug_dump() local
765 (unsigned long long)(just_now_ms - alarm->creation_time_ms), in alarm_debug_dump()
767 (long long)(alarm->deadline_ms - just_now_ms)); in alarm_debug_dump()