Searched refs:wake_unlock_path (Results 1 – 1 of 1) sorted by relevance
50 static char *wake_unlock_path = NULL; variable201 if (!wake_unlock_path) in wakelock_initialize_native()202 wake_unlock_path = DEFAULT_WAKE_UNLOCK_PATH; in wakelock_initialize_native()204 wake_unlock_fd = open(wake_unlock_path, O_RDWR | O_CLOEXEC); in wakelock_initialize_native()207 __func__, wake_unlock_path, strerror(errno)); in wakelock_initialize_native()215 if (wake_unlock_path && wake_unlock_path != DEFAULT_WAKE_UNLOCK_PATH) in wakelock_cleanup()216 osi_free_and_reset((void **)&wake_unlock_path); in wakelock_cleanup()230 if (wake_unlock_path && wake_unlock_path != DEFAULT_WAKE_UNLOCK_PATH) in wakelock_set_paths()231 osi_free(wake_unlock_path); in wakelock_set_paths()232 wake_unlock_path = osi_strndup(unlock_path, PATH_MAX); in wakelock_set_paths()