Camera代码路径
-
App
packages/apps/Camera2/
应用层代码,可以模仿此App进行Camera开发
-
Camera2 Framework
frameworks/base/core/java/android/hardware/camera2/
对应用层提供的API,包含CameraManager、CameraDevice、CameraCaptureSession、CaptureRequest等
-
AIDL
frameworks/av/camera/aidl
跨进程接口,提供Framework层和libcameraservice层通讯的接口,包含ICameraService、ICameraServiceListener、ICameraDeviceUser、ICameraDeviceCallbacks等
编译生成的ICameraService.h、BnCameraService.h等文件在以下目录
out\soong\.intermediates\frameworks\av\camera\libcamera_client\android_arm_armv7-a-neon_cortex-a53_shared_core\gen\aidl\android\hardware
-
lib服务
<