Home
last modified time | relevance | path

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

/aosp12/system/bt/osi/src/
H A Dwakelock.cc51 static const char* WAKE_LOCK_ID = "bluetooth_timer"; variable
121 wakelock_os_callouts->acquire_wake_lock(WAKE_LOCK_ID)); in wakelock_acquire_callout()
135 long lock_name_len = strlen(WAKE_LOCK_ID); in wakelock_acquire_native()
136 locked_id_len = write(wake_lock_fd, WAKE_LOCK_ID, lock_name_len); in wakelock_acquire_native()
164 wakelock_os_callouts->release_wake_lock(WAKE_LOCK_ID)); in wakelock_release_callout()
173 ssize_t wrote_name_len = write(wake_unlock_fd, WAKE_LOCK_ID, locked_id_len); in wakelock_release_native()
/aosp12/hardware/libhardware/modules/input/evdev/
H A DInputHub.cpp48 static const char WAKE_LOCK_ID[] = "KeyEvents"; variable
442 acquire_wake_lock(PARTIAL_WAKE_LOCK, WAKE_LOCK_ID); in InputHub()
480 release_wake_lock(WAKE_LOCK_ID); in ~InputHub()
529 release_wake_lock(WAKE_LOCK_ID); in poll()
536 acquire_wake_lock(PARTIAL_WAKE_LOCK, WAKE_LOCK_ID); in poll()
774 release_wake_lock(WAKE_LOCK_ID); in openNode()