一、 hardware.c
该文件提供的接口函数有:
1、static int load()
2、int hw_get_module(const char *id, const struct hw_module_t **module) //主函数,实现了核心的加载功能。
status = load(id, path, module);//封装了该函数来实现模块的加载。
二、modules
1、android中的模块是定义在/system/libs/hw/文件下的.so文件,有事先规定好的命名方式,如,
/system/libs/hw/&