Home
last modified time | relevance | path

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

/system/core/libsuspend/
Dautosuspend_wakeup_count.cpp40 static int state_fd = -1; variable
96 success = WriteStringToFd(sleep_state, state_fd); in suspend_thread_func()
116 if (state_fd >= 0) { in init_state_fd()
126 state_fd = fd; in init_state_fd()
216 return WriteStringToFd(sleep_state, state_fd) ? 0 : -1; in force_suspend()