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