您的位置:首页 > 其它

MTK 数据账号处理流程

2012-06-29 17:32 260 查看
1. custom_config_account.c 中定义数据接入点详细信息

2. DataAccountApp.c 匹配SIM卡和接入点信息

mmi_dtcnt_add_config_account()

--》mmi_dtcnt_sim_match()

--》mmi_dtcnt_add_sim_prof()

3. srv_dtcnt_db_store_add_prof()

-->srv_dtcnt_db_store_acc_info_compose() 把接入点信息写入g_srv_dtcnt_store_ctx 全局变量,但是代理信息没有写入,g_srv_dtcnt_store_ctx 没有代理信息的成员

4. srv_dtcnt_db_compose_acc_path() 创建保存接入点信息文件

srv_dtcnt_db_fileio_save_data() 把 完整的信息,包含代理信息写入文件系统

代理信息的获取:

1. srv_dtcnt_get_proxy_info()

srv_dtcnt_db_store_get_acc_info() 通过原始账号匹配账号对应全局变量g_srv_dtcnt_store_ctx的数据acc_info

获取到acc_info则

srv_dtcnt_db_store_load_prof() 通过acc_info,在文件系统账号对应的详细信息,包含代理等信息

srv_dtcnt_db_store_parse_prof() 分析从文件系统得到的数据,组成srv_dtcnt_prof_common_header_struct数据,对应custom_config_account.c中对应的信息

没有获取到acc_info则

srv_dtcnt_db_store_get_sim_acc_info()
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: