Home
last modified time | relevance | path

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

/system/core/libsuspend/
Dautosuspend_wakeup_count.cpp48 static sem_t suspend_lockout; variable
87 int ret = sem_wait(&suspend_lockout); in suspend_thread_func()
107 ret = sem_post(&suspend_lockout); in suspend_thread_func()
147 ret = sem_init(&suspend_lockout, 0, 0); in autosuspend_init()
164 sem_destroy(&suspend_lockout); in autosuspend_init()
180 ret = sem_post(&suspend_lockout); in autosuspend_wakeup_count_enable()
197 int ret = sem_wait(&suspend_lockout); in autosuspend_wakeup_count_disable()