高通 msm8909 关机充电代码流程

system/core/healthd/healthd.cpp : main函数根据插入的参数赋值不同ops..

高通 msm8909 关机充电代码流程_第1张图片

高通 msm8909 关机充电代码流程_第2张图片

healthd_mode_charger_init->ev_init(bootable/recovery/minui/目录下)

system/core/healthd/加的打印文件:

bootable/recovery/minui/加的打印文件:

[ 1191.430816] #sunshine debug# qpnp_kpdpwr_irq into!

[ 1191.434579] #sunshine debug# PMIC input: code=116, sts=0x0

[ 1191.440183] healthd: #sunshine debug# void healthd_mainloop():epoll_wait is up

[ 1191.447273] charger: #sunshine debug# int input_callback(int, unsigned int, void*) into!

[ 1191.455508] healthd: #sunshine debug# void healthd_mainloop() ->heartbeat()

[ 1191.462325] charger: #sunshine debug# void healthd_mode_charger_heartbeat() into!

[ 1191.469792] charger: #sunshine debug# void process_key(charger*, int, int64_t) into! code=116

[ 1191.478251] charger: #sunshine debug# void process_key(charger*, int, int64_t) into! key->down=0

[ 1191.487067] charger: #sunshine debug# void process_key(charger*, int, int64_t) key->pending=1

[ 1191.495594] charger: #sunshine debug# void process_key(charger*, int, int64_t) !batt_anim->run

[ 1191.504184] charger: #sunshine debug# void update_screen_state(charger*, int64_t) into!

[ 1191.512167] charger: #sunshine debug# void update_screen_state(charger*, int64_t) into!  gr_fb_blank(false)

do_fb_ioctl ->fb_blank->fb_notifier_call_chain ->fb_notifier_callback

Android recovery UI实现分析

https://blog.csdn.net/huangyabin001/article/details/42673217

你可能感兴趣的:(高通)