Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/osi/src/
Dwakelock.cc54 static int wake_lock_fd = INVALID_FD; variable
121 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()
189 wake_lock_fd = open(wake_lock_path.c_str(), O_RDWR | O_CLOEXEC); in wakelock_initialize_native()
190 if (wake_lock_fd == INVALID_FD) { in wakelock_initialize_native()