2011年9月19日 星期一

Android Sensor Path

Application layer: application
Application Framwork : Sensor Manager
Sensor JNI
Libraries: Sensor Manager <--> Sensor Service <--> Sensor HAL
Kernel : Input dirver subsystem and Event Dev
Sensor driver


# Sensor Manager Application Layer: /frameworks/base/core/java/android/hardware folder
# Sensor JNI layer: /frameworks/base/core/jni/android_hardware_SensorManager.cpp file
# Sensor Manager Library: /frameworks/base/libs/gui folder
# Sensor Service: /frameworks/base/services/sensorservice folder
# Sensor HAL: /hardware/ti/omap3/libsensors folder
# Accelerometer Sensor driver: /drivers/input/misc/xxxxx.c file



Note: Android 2.3 change the sensor service as Native Sensor code.

沒有留言:

張貼留言