Home
last modified time | relevance | path

Searched refs:now_ms (Results 1 – 4 of 4) sorted by relevance

/system/bt/osi/src/
Dalarm.cc135 static uint64_t now_ms(void);
147 static void update_scheduling_stats(alarm_stats_t* stats, uint64_t now_ms,
203 uint64_t just_now_ms = now_ms(); in alarm_get_remaining_ms()
233 alarm->creation_time_ms = now_ms(); in alarm_set_internal()
388 static uint64_t now_ms(void) { in now_ms() function
425 uint64_t just_now_ms = now_ms(); in schedule_next_instance()
471 next_expiration = next->deadline_ms - now_ms(); in reschedule_root_alarm()
591 update_scheduling_stats(&alarm->stats, now_ms(), deadline_ms); in alarm_ready_generic()
633 now_ms()) { in callback_dispatch()
700 static void update_scheduling_stats(alarm_stats_t* stats, uint64_t now_ms, in update_scheduling_stats() argument
[all …]
Dwakelock.cc227 static uint64_t now_ms(void) { in now_ms() function
253 wakelock_stats.last_reset_timestamp_ms = now_ms(); in reset_wakelock_stats()
265 const uint64_t just_now_ms = now_ms(); in update_wakelock_acquired_stats()
295 const uint64_t just_now_ms = now_ms(); in update_wakelock_released_stats()
329 const uint64_t just_now_ms = now_ms(); in wakelock_debug_dump()
/system/bt/gd/os/linux_generic/
Dwakelock_manager.cc35 uint64_t now_ms() { in now_ms() function
59 uint64_t last_reset_timestamp_ms = now_ms();
75 last_reset_timestamp_ms = now_ms(); in Reset()
86 const uint64_t just_now_ms = now_ms(); in UpdateAcquiredStats()
107 const uint64_t just_now_ms = now_ms(); in UpdateReleasedStats()
135 const uint64_t just_now_ms = now_ms(); in GetDumpsysData()
/system/security/keystore2/src/crypto/tests/
Dcertificate_utils_test.cpp163 uint64_t now_ms = (uint64_t)time(nullptr) * 1000; in TEST_P() local
176 auto certV = makeCert(pkey.get(), std::nullopt, std::nullopt, now_ms - kValidity, in TEST_P()
177 now_ms + kValidity, true /* subject key id extension */, keyUsage, bcons); in TEST_P()
262 uint64_t now_ms = (uint64_t)time(nullptr) * 1000; in TEST_P() local
275 auto certV = makeCert(pkey.get(), std::nullopt, std::nullopt, now_ms - kValidity, in TEST_P()
276 now_ms + kValidity, true /* subject key id extension */, keyUsage, bcons); in TEST_P()