[DESCRIPTION] MT6752/32平台 KK和L版本支持的虚拟sensor类型有哪些 [SOLUTION] KK Hal Support 9 virtual sensors,这些虚拟sensor必须有sensor hub 才可以支 持。 1、STEP_COUNTER 2、STEP_DETECTOR 3、SIGNIFICant_MOTION_SENSOR 4、ACTIVITY 5、PICK_UP_SENSOR 6、SHAKE_SENSOR 7、FACE_DOWN_SENSOR 8、IN_POCKET_SENSOR 9、PEDOMETER 其中1、2、3这三种sensor 类型是android 原生就有的,Android 有标准API来获取 这些sensor类型数据。 4~9是mtk自己添加的sensor类型,其中PICK_UP_SENSOR需要Gsensor和Psensor数据计 算出来。 IN_POCKET_SENSOR 需要Gsensor和ALSPS 数据计算出来,其它的sensor 只需要 Gsensor数据根据算法即可计算出来。 Android L Hal Support 13 virtual sensors 1、STEP_COUNTER, 2、STEP_DETECTOR 3、SIGNIFICANT_MOTION_SENSOR 4、ACTIVITY_SENSOR 5、PICK_UP_SENSOR 6、SHAKE_SENSOR 7、FACE_DOWN_SENSOR 8、IN_POCKET_SENSOR 9、PEDOMETER 10、HEART_RATE_SENSOR Heart rate have implement HAL, common driver Demo phone do not have heart rate sensor, NOT Verified 11、TILT_DETECTOR_SENSOR Tilt detector have implement HAL, common driver Algorithm verified, but tilt is included in activity sensor, not tilt detection (follow KK, not modify) 12、WAKE_GESTURE_SENSOR Wake gesture have implement HAL, common driver, But MTK NOT define which gesture can wake up, NOT implement algorithm, NOT Verified 13、GLANCE_GESTURE_SENSOR Glance gesture have implement HAL, common driver, NOT impelment algorithm, NOT Verified