Home
last modified time | relevance | path

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

/system/bt/osi/src/
Dwakelock.c54 static int wake_unlock_fd = INVALID_FD; variable
126 if (wake_unlock_fd == INVALID_FD) { in wakelock_acquire_native()
165 if (wake_unlock_fd == INVALID_FD) { in wakelock_release_native()
170 ssize_t wrote_name_len = write(wake_unlock_fd, WAKE_LOCK_ID, locked_id_len); in wakelock_release_native()
204 wake_unlock_fd = open(wake_unlock_path, O_RDWR | O_CLOEXEC); in wakelock_initialize_native()
205 if (wake_unlock_fd == INVALID_FD) { in wakelock_initialize_native()