Home
last modified time | relevance | path

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

/system/bt/osi/src/
Dwakelock.c46 static const char *WAKE_LOCK_ID = "bluetooth_timer"; variable
117 return wakelock_os_callouts->acquire_wake_lock(WAKE_LOCK_ID); in wakelock_acquire_callout()
131 long lock_name_len = strlen(WAKE_LOCK_ID); in wakelock_acquire_native()
132 locked_id_len = write(wake_lock_fd, WAKE_LOCK_ID, lock_name_len); in wakelock_acquire_native()
161 return wakelock_os_callouts->release_wake_lock(WAKE_LOCK_ID); in wakelock_release_callout()
170 ssize_t wrote_name_len = write(wake_unlock_fd, WAKE_LOCK_ID, locked_id_len); in wakelock_release_native()
297 metrics_wake_event(WAKE_EVENT_ACQUIRED, NULL, WAKE_LOCK_ID, now_ms); in update_wakelock_acquired_stats()
341 metrics_wake_event(WAKE_EVENT_RELEASED, NULL, WAKE_LOCK_ID, now_ms); in update_wakelock_released_stats()