mtk经验总结

来源:互联网 发布:淘宝网上茶杯犬多少钱 编辑:程序博客网 时间:2024/06/07 08:31

01触摸消息栈的实例

  mmi_dialer_instance_create()

> mmi_dialer_launch_ex()
> mmi_dialer_launch()

> srv_nativeappfactory_launch_ex()
>  srv_appmgr_launch_adp()

>  srv_appmgr_launch_ex()

>  srv_appmgr_launch()
>  VappDrawerShortcutBar::onAppClicked()

>  VfxSignal1<int>::emitEntry()

>  VfxBaseSignal::emitSlots()

>  VfxAsyncSignalUtil::processPostEmit()

>  VfxAsyncSignalQueue::processEmit()

>  vfx_mmi_check_update()
>  vfxPenProcessPenInput()

>  vfxPenPrePenEventProc()

>  execute_evt_cb()

>  emit_evt_cb()

>  process_cb_table() 

>   mmi_frm_cb_emit_event()

>  excecute_pen_event()  

>   handle_single_touch_event() 

>   mmi_pen_poll_hdlr()

>  mmi_pen_touch_panel_event_ind()
>  mmi_frm_execute_current_protocol_handler()

>  ProtocolEventHandler()
>   MMI_task()

02 call呼叫栈

  srv_ucm_act_request(SRV_UCM_DIAL_ACT, 0x06befc44, 0x034d87ec, 0x00632570) C
 mmi_ucm_dial_option(0x06befc44, MMI_UCM_EXEC_IF_PERMIT_PASS) + 0x239 字节 C
  mmi_ucm_call_launch(9, 0x06befce8) + 0x48f 字节 C
  cui_dialer_call_launch(0x034d87ec, 0x06befce8) + 0xbc 字节 C
  cui_dialer_do_send_key_dial_1() + 0x8c 字节 C
  Cate16CategoryControlAreaPenUpHandler({...}) + 0xe9 字节 C

 wgui_execute_dm_category_control_area_pen_handler(1, {...}) + 0x53 字节 C
  wgui_general_pen_up_hdlr({...}) + 0x39c 字节 C
  excecute_pen_event(0x06befe28, 1) + 0x288 字节 C
  handle_single_touch_event() + 0x392 字节 C
  mmi_pen_poll_hdlr() + 0xbe 字节 C
  mmi_pen_touch_panel_event_ind(0x00000000) + 0x12 字节 C
  mmi_frm_execute_current_protocol_handler(5045, 0x00000000, 81, 0x06beff40) + 0xce 字节 C
  ProtocolEventHandler(5045, 0x00000000, 81, 0x06beff40) + 0x19 字节 C
  MMI_task(0x034f2aa8) + 0x3d0 字节 C
 03 短息模块
  srv_sms_fg_send()
  srv_sms_bg_send()
  srv_sms_bg_send_req()
  mmi_sms_entry_editor_options()

 

 例子
  > srv_sms_fg_send(0x034d46f4) C
  srv_sms_pre_send_sms(0x034d46f4) + 0x112 字节 C
  srv_sms_send_msg(0x034d46f4, 0x006c94b0, 0x034d23d0) + 0xf6 字节 C
  cui_sms_send_msg_req(13, 0x006c94b0) + 0x28b 字节 C
  cui_sms_send_msg_fsm_handle(0x06befb50) + 0x12a 字节 C
  cui_sms_send_msg_fsm(0x034d23d0, 0x06befb8c) + 0xe1 字节 C

  cui_sms_send_curr_msg(13) + 0x20e 字节 C
  cui_sms_send_msg_interal() + 0x44 字节 C
  cui_sms_pre_send_msg() + 0x147 字节 C
  cui_sms_recipient_opt_send_by_sim(SRV_SMS_SIM_1) + 0x14 字节 C
  cui_sms_add_recipient_select_hdlr(0x06befd2c) + 0x118 字节 C
  cui_sms_send_proc(0x06befd2c) + 0x4aa 字节 C
  mmi_frm_send_event(0x06befd2c, 0x006c4f90, 0x034d23d0) + 0x16 字节 C
  mmi_frm_group_send_event(17, 0x06befd2c, KAL_TRUE) + 0x18b 字节 C

  mmi_frm_group_send_to_caller(17, 0x06befd2c) + 0x50 字节 C
  cui_menu_lsk_handler() + 0xe8 字节 C
  execute_softkey_function(1, MMI_CENTER_SOFTKEY) + 0x108 字节 C
  center_softkey_up() + 0x56 字节 C
  mmi_key_hdlr_proc(0x06befe04) + 0x148 字节 C
  mmi_frm_send_event(0x06befe04, 0x004fbd50, 0x00000000) + 0x16 字节 C
  process_key_event_routing(0x06befe04) + 0x102 字节 C
  mmi_key_handle(0x06befea0) + 0x1ae 字节 C
  dev_key_handle(0x06befec0) + 0xc2 字节 C
  mmi_frm_key_handle(0x00000000) + 0x7a 字节 C
  MMI_task(0x034f1e48) + 0x8b 字节 C

 

 

电话本模块接口
srv_phb_oplib_search
srv_phb_get_name_by_number
电话本的关键函数
mmi_phb_op_save_contact
srv_phb_oplib_add_contact
mmi_phb_launch

 

  上网
 
mmi_brw_app_dmgr_add_addr_list_item() + 0x73 字节 C
mmi_brw_app_dmgr_add_search_or_input_url_item() + 0x8 字节 C
srv_brw_create_instance_cnf
srv_brw_create_instance_req
mmi_brw_app_create_service_instance
mmi_brw_app_common_gateway
wap_start_browser
mmi_brw_app_dmgr_launch_bookmark

 

 

闹钟
  srv_alm_write(0, 0x034235ac) C
  AlmSaveInlineEdit() + 0x119 字节 C
  mmi_alm_alert_pop_handler(0x06b7fd04) + 0x97 字节 C
  mmi_alm_group_proc(0x06b7fd04) + 0xf5 字节 C
  mmi_frm_send_event(0x06b7fd04, 0x006941e0, 0x00000000) + 0x16 字节 C
> alert_tx_event(1936027236, 0x00000000, 0x06b7fd04, 0x0324e358) + 0x198 字节 C
  alert_tx_quit_event(1936027236, 0x0324e358, MMI_ALERT_CNFM_YES) + 0xe7 字节 C
  alert_finish(0x0324e358, MMI_ALERT_CNFM_YES) + 0x8e 字节 C
  confirm_sk_yes_hdlr() + 0x26 字节

 

 

定时开关机
SpofSaveData

菜单高亮函数

list 高亮函数
gui_highlight_fixed_icontext_list_menuitem
gui_highlight_fixed_icontext_menuitem


mmi_frm_scrn_enter
mmi_frm_scrn_close_active_id
mmi_idle_classic_on_enter
mmi_idle_classic_on_update_service_indication
MMI_main_LCD_dt_update_function
gui_clock_show_digital


srv_sms_save_sms_callback
srv_charbat_status_ind_hdlr


 


 

原创粉丝点击