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
125 if (wake_lock_fd == INVALID_FD) { in wakelock_acquire_native()
136 locked_id_len = write(wake_lock_fd, WAKE_LOCK_ID, lock_name_len); in wakelock_acquire_native()
194 wake_lock_fd = open(wake_lock_path.c_str(), O_RDWR | O_CLOEXEC); in wakelock_initialize_native()
195 if (wake_lock_fd == INVALID_FD) { in wakelock_initialize_native()
198 CHECK(wake_lock_fd != INVALID_FD); in wakelock_initialize_native()