Home
last modified time | relevance | path

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

/system/bt/osi/src/
Dwakelock.cc58 static int wake_lock_fd = INVALID_FD; variable
126 if (wake_lock_fd == INVALID_FD) { in wakelock_acquire_native()
137 locked_id_len = write(wake_lock_fd, WAKE_LOCK_ID, lock_name_len); in wakelock_acquire_native()
198 wake_lock_fd = open(wake_lock_path.c_str(), O_RDWR | O_CLOEXEC); in wakelock_initialize_native()
199 if (wake_lock_fd == INVALID_FD) { in wakelock_initialize_native()
202 CHECK(wake_lock_fd != INVALID_FD); in wakelock_initialize_native()