OSDN Git Service

Sensor direct report with HardwareBuffer channel
authorPeng Xu <pengxu@google.com>
Sun, 5 Mar 2017 09:48:11 +0000 (01:48 -0800)
committerPeng Xu <pengxu@google.com>
Tue, 7 Mar 2017 22:15:57 +0000 (14:15 -0800)
commitd9c8a864e193d7ae3d0a04c1aa7ff15da955fb0f
tree854c56048b751cd4b248efb74ebeebc2fca7d8e9
parentda8385cb97ba40ab87e7e9b8d5b7c8f0ba5ba0fd
Sensor direct report with HardwareBuffer channel

Implement creation of sensor direct channel in sensor
service for sensor direct report feature.

Bug: 30985702
Test: cts-tradefed run cts --module CtsSensorTestCases
      --test android.hardware.cts.SensorDirectReportTest
Test: cts-tradefed run cts --module CtsSensorTestCases
      --test android.hardware.cts.SensorNativeTest

Change-Id: I52350811df538986cea7f5e1fb336fad53234c86
libs/sensor/SensorManager.cpp
services/sensorservice/SensorList.cpp