Home
last modified time | relevance | path

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

/system/core/libsuspend/
Dautosuspend.c27 static struct autosuspend_ops* autosuspend_ops = NULL; variable
31 if (autosuspend_ops != NULL) { in autosuspend_init()
35 autosuspend_ops = autosuspend_wakeup_count_init(); in autosuspend_init()
36 if (autosuspend_ops == NULL) { in autosuspend_init()
59 ret = autosuspend_ops->enable(); in autosuspend_enable()
82 ret = autosuspend_ops->disable(); in autosuspend_disable()
101 return autosuspend_ops->force_suspend(timeout_ms); in autosuspend_force_suspend()
114 autosuspend_ops->set_wakeup_callback(func); in autosuspend_set_wakeup_callback()
Dautosuspend_ops.h20 struct autosuspend_ops { struct
28 struct autosuspend_ops *autosuspend_wakeup_count_init(void); argument
Dautosuspend_wakeup_count.cpp227 struct autosuspend_ops autosuspend_wakeup_count_ops = {
234 struct autosuspend_ops* autosuspend_wakeup_count_init(void) { in autosuspend_wakeup_count_init()