MTK6580调试IMX132流程分析
一开始不了解 MTK 的点亮流程,怎么办呢?
1 MTK 开机是 首先是 CameraService 先起来,然后就通过获取 HAL 中的 sensorList 中的信息
CameraManager与CameraService通过Binder机制,形成推拉回调
frameworks\base\core\java\android\hardware\camera2\CameraManager.java
frameworks\av\camera\aidl\android\hardware\ICameraService.aidl
frameworks\av\camera\aidl\android\hardware\ICameraServiceListener.aidl
camerahalserver: Camera HAL Server is starting…, ADV_CAM_SUPPORT(0)
I cameraserver: ServiceManager: 0xb0518d40
I CameraService: CameraService started (pid=297)
I CameraService: CameraService process starting
/system/bin/hwservicemanager: getTransport: Cannot find entry android.hardware.camera.provider@2.4::ICameraProvider/legacy/0 in either framework or device manifest.
也就是