Home
last modified time | relevance | path

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

/system/bt/osi/src/
Dwakelock.cc56 static ssize_t locked_id_len = -1; variable
136 locked_id_len = write(wake_lock_fd, WAKE_LOCK_ID, lock_name_len); in wakelock_acquire_native()
137 if (locked_id_len == -1) { in wakelock_acquire_native()
140 } else if (locked_id_len < lock_name_len) { in wakelock_acquire_native()
142 LOG_WARN("%s wake lock truncated to %zd chars", __func__, locked_id_len); in wakelock_acquire_native()
173 ssize_t wrote_name_len = write(wake_unlock_fd, WAKE_LOCK_ID, locked_id_len); in wakelock_release_native()
176 } else if (wrote_name_len < locked_id_len) { in wakelock_release_native()