from:http://blog.csdn.net/kickxxx/article/details/19069151
Android 4.0 (ICS)
- Android Framework
- Java: framwworks/base/core/java/android/hardware
- JNI: frameworks/base/core/jni
- Camera Service
- frameworks/base/services/camera/libcameraservice/
- IBinder Interfaces
- frameworks/base/include/camera/ICamera.h
- IBinder Implementation
- frameworks/base/libs/camera/ICamera.cpp etc
- Camera HAL Interface
- frameworks/base/services/camera/libcameraservice/CameraHardwareInterface.h
- Camera HAL
- hardware/<vendor>/camera
- hardware/<vendor>/camera
Android 4.2 (Jelly Bean)
- Android Framework
- Java: frameworks/base/core/java/android/hardware
- JNI: frameworks/base/core/jni
- Camera Service
- frameworks/av/services/camera/libcameraservice/
- IBinder Interfaces
- frameworks/av/include/camera/ICamera.h etc.
- IBinder Implementation
- frameworks/av/camera/ICamera.cpp etc.
- Camera HAL Interface
- frameworks/av/services/camera/libcameraservice/CameraHardwareInterface.h
- Camera HAL
- hardware/<vendor>/camera