Home
last modified time | relevance | path

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

/system/core/libsuspend/
Dautosuspend_wakeup_count.cpp52 static constexpr char sys_power_state[] = "/sys/power/state"; variable
95 LOG(VERBOSE) << "write " << sleep_state << " to " << sys_power_state; in suspend_thread_func()
120 int fd = TEMP_FAILURE_RETRY(open(sys_power_state, O_CLOEXEC | O_RDWR)); in init_state_fd()
122 PLOG(ERROR) << "error opening " << sys_power_state; in init_state_fd()