企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
#### 本章主要内容: - 深入分析PowerManagerService - 深入分析BatteryService和BatteryStatsService #### 本章所涉及的源代码文件名及位置: - PowerManagerService.java `frameworks/base/services/java/com/android/server/PowerManagerService.java` - com_android_server_PowerManagerService.cpp `frameworks/base/services/jni/com_android_server_PowerManagerService.cpp` - PowerManager.java `frameworks/base/core/java/android/os/PowerManager.java` - WorkSoure.java `frameworks/base/core/java/android/os/WorkSoure.java` - Power.java `frameworks/base/core/java/android/os/Power.java` - android_os_Power.cpp `frameworks/base/core/jni/android_os_Power.cpp` - com_android_server_InputManager.cpp `frameworks/base/services/jni/com_android_server_InputManager.cpp` - LightService.java `frameworks/base/services/java/com/android/server/LightService.java` - com_android_server_LightService.cpp `frameworks/base/services/jni/com_android_server_LightService.cpp` - BatteryService.java `frameworks/base/services/java/com/android/server/BatteryService.java` - com_android_server_BatteryService.cpp `frameworks/base/services/jni/com_android_server_BatteryService.cpp` - ActivityManagerService.java `frameworks/base/services/java/com/android/server/am/ActivityManagerService.java` - BatteryStatsService.java `frameworks/base/services/java/com/android/server/am/BatteryStatsService.java` - BatteryStatsImpl.java `frameworks/base/core/java/com/android/internal/os/BatteryStatsImpl.java` - LocalPowerManager.java `frameworks/base/core/java/android/os/LocalPowerManager.java`