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
81 extern void healthd_mode_android_init(struct healthd_config *config);
88 extern void healthd_mode_charger_init(struct healthd_config *config);
96 static void healthd_mode_nop_init(struct healthd_config *config);
123 static void healthd_mode_nop_init(struct healthd_config* /*config*/) { in healthd_mode_nop_init() argument
181 healthd_config.periodic_chores_interval_fast : in healthd_battery_update()
182 healthd_config.periodic_chores_interval_slow; in healthd_battery_update()
192 if (healthd_config.periodic_chores_interval_fast == -1) in healthd_battery_update()
196 new_wake_interval == healthd_config.periodic_chores_interval_fast ? in healthd_battery_update()
197 -1 : healthd_config.periodic_chores_interval_fast * 1000; in healthd_battery_update()
[all …]
Dhealthd.h54 struct healthd_config { struct
83 void (*init)(struct healthd_config *config); argument
93 void healthd_mode_charger_init(struct healthd_config *config);
108 void healthd_board_init(struct healthd_config *config);
DBatteryMonitor.h40 void init(struct healthd_config *hc);
46 struct healthd_config *mHealthdConfig;
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()
723 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.cpp375 void BatteryMonitor::init(struct healthd_config *hc) { in init()