Searched refs:wake_lock_path (Results 1 – 1 of 1) sorted by relevance
50 static std::string wake_lock_path; variable187 if (wake_lock_path.empty()) wake_lock_path = DEFAULT_WAKE_LOCK_PATH; in wakelock_initialize_native()189 wake_lock_fd = open(wake_lock_path.c_str(), O_RDWR | O_CLOEXEC); in wakelock_initialize_native()191 log::error("can't open wake lock {}: {}", wake_lock_path, strerror(errno)); in wakelock_initialize_native()208 wake_lock_path.clear(); in wakelock_cleanup()214 if (lock_path) wake_lock_path = lock_path; in wakelock_set_paths()