Searched refs:wake_lock_fd (Results 1 – 1 of 1) sorted by relevance
53 static int wake_lock_fd = INVALID_FD; variable121 if (wake_lock_fd == INVALID_FD) { in wakelock_acquire_native()132 locked_id_len = write(wake_lock_fd, WAKE_LOCK_ID, lock_name_len); in wakelock_acquire_native()195 wake_lock_fd = open(wake_lock_path, O_RDWR | O_CLOEXEC); in wakelock_initialize_native()196 if (wake_lock_fd == INVALID_FD) { in wakelock_initialize_native()