Home
last modified time | relevance | path

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

/frameworks/base/services/jni/
Dcom_android_server_power_PowerManagerService.cpp53 static struct power_module* gPowerModule; variable
88 if (gPowerModule && gPowerModule->powerHint) { in android_server_PowerManagerService_userActivity()
89 gPowerModule->powerHint(gPowerModule, POWER_HINT_INTERACTION, NULL); in android_server_PowerManagerService_userActivity()
145 (hw_module_t const**)&gPowerModule); in nativeInit()
147 gPowerModule->init(gPowerModule); in nativeInit()
171 if (gPowerModule) { in nativeSetInteractive()
174 gPowerModule->setInteractive(gPowerModule, true); in nativeSetInteractive()
177 gPowerModule->setInteractive(gPowerModule, false); in nativeSetInteractive()
248 gPowerModule = NULL; in register_android_server_PowerManagerService()