Searched refs:wake_unlock_fd (Results 1 – 1 of 1) sorted by relevance
59 static int wake_unlock_fd = INVALID_FD; variable130 if (wake_unlock_fd == INVALID_FD) { in wakelock_acquire_native()168 if (wake_unlock_fd == INVALID_FD) { in wakelock_release_native()173 ssize_t wrote_name_len = write(wake_unlock_fd, WAKE_LOCK_ID, locked_id_len); in wakelock_release_native()203 wake_unlock_fd = open(wake_unlock_path.c_str(), O_RDWR | O_CLOEXEC); in wakelock_initialize_native()204 if (wake_unlock_fd == INVALID_FD) { in wakelock_initialize_native()207 CHECK(wake_unlock_fd != INVALID_FD); in wakelock_initialize_native()