Searched refs:healthd_config (Results 1 – 7 of 7) sorted by relevance
42 static struct healthd_config healthd_config = { variable81 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() argument181 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 …]
54 struct healthd_config { struct83 void (*init)(struct healthd_config *config); argument93 void healthd_mode_charger_init(struct healthd_config *config);108 void healthd_board_init(struct healthd_config *config);
40 void init(struct healthd_config *hc);46 struct healthd_config *mHealthdConfig;
19 void healthd_board_init(struct healthd_config*) in healthd_board_init() argument
172 static struct healthd_config *healthd_config; variable355 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()
49 void healthd_mode_android_init(struct healthd_config* /*config*/) { in healthd_mode_android_init() argument
375 void BatteryMonitor::init(struct healthd_config *hc) { in init()