欢迎光临散文网 会员登陆 & 注册

松勤软件测试0基础到项目实战系统学习全栈班(直播课)

2023-04-01 19:55 作者:great潇翔  | 我要投稿

hw_get_module、hw_get_module_by_class

加载硬件模块,获取hw_module_t



int hw_get_module(const char *id, const struct hw_module_t **module); //根据id

int hw_get_module_by_class(const char *class_id, const char *inst,

                           const struct hw_module_t **module); //根据class_id和实例

一些模块关联多个interface,如


audio.primary.<variant>.so

audio.a2dp.<variant>.so

    

松勤软件测试0基础到项目实战系统学习全栈班(直播课)的评论 (共 条)

分享到微博请遵守国家法律