Home
last modified time | relevance | path

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

/system/core/healthd/
Dhealthd.cpp42 static struct healthd_config healthd_config = { variable
83 extern void healthd_mode_android_init(struct healthd_config *config);
90 extern void healthd_mode_charger_init(struct healthd_config *config);
98 static void healthd_mode_nop_init(struct healthd_config *config);
125 static void healthd_mode_nop_init(struct healthd_config* /*config*/) { in healthd_mode_nop_init() argument
183 healthd_config.periodic_chores_interval_fast : in healthd_battery_update()
184 healthd_config.periodic_chores_interval_slow; in healthd_battery_update()
194 if (healthd_config.periodic_chores_interval_fast == -1) in healthd_battery_update()
198 new_wake_interval == healthd_config.periodic_chores_interval_fast ? in healthd_battery_update()
199 -1 : healthd_config.periodic_chores_interval_fast * 1000; in healthd_battery_update()
[all …]
Dhealthd_board_default.cpp19 void healthd_board_init(struct healthd_config*) in healthd_board_init() argument
Dhealthd_mode_charger.cpp172 static struct healthd_config *healthd_config; variable
355 if (healthd_config && healthd_config->screen_on) { in update_screen_state()
356 if (!healthd_config->screen_on(batt_prop)) { in update_screen_state()
675 void healthd_mode_charger_init(struct healthd_config* config) in healthd_mode_charger_init()
726 healthd_config = config; in healthd_mode_charger_init()
Dhealthd_mode_android.cpp49 void healthd_mode_android_init(struct healthd_config* /*config*/) { in healthd_mode_android_init() argument
DBatteryMonitor.cpp486 void BatteryMonitor::init(struct healthd_config *hc) { in init()
/system/core/healthd/include/healthd/
Dhealthd.h54 struct healthd_config { struct
85 void (*init)(struct healthd_config *config); argument
95 void healthd_mode_charger_init(struct healthd_config *config);
110 void healthd_board_init(struct healthd_config *config);
DBatteryMonitor.h41 void init(struct healthd_config *hc);
48 struct healthd_config *mHealthdConfig;