History log of /frameworks/native/libs/sensor/SensorManager.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
47f876b74be0a2d6d417f5ff385f85d835a97fe9 17-Apr-2018 Jiyong Park <jiyong@google.com> Hide some headers from libbinder to vendors

The headers that are related to system services are now hidden to
vendors. Note that this does not break anything because vendors have
already been disallowed to talk to system services via sepolicy. Their
use of binder is strictly limited within themselves (via
/dev/vndbinder).

The hidden headers are now guarded with __ANDROID_VNDK__ and including
them from vendors (or vendor variants of other VNDK libraries) will
trigger a build-time error.

Bug: 78113963
Test: m -j
Test: devices boots to the UI
Change-Id: I19be5ca024fc4081b7861d908d75758c1d956a83
/frameworks/native/libs/sensor/SensorManager.cpp
88711e8755e729682f32ee304d1cf0f60a3642bf 24-May-2017 Alexey Polyudov <apolyudov@google.com> sensors: pass sensor handle along with injected event

Change-Id: Ifa5825b08d5b809865f9066c7a763202cebb987f
/frameworks/native/libs/sensor/SensorManager.cpp
dd5c5cb3b8f3df9b458dff74e247b9a542befee7 17-Mar-2017 Peng Xu <pengxu@google.com> Set sensor operation parameter implementation

Set operation parameter to sensor HAL. Possible paramters include
local geomagnetic field, local gravity acceleration, device dock
state, whether device should run in high performance mode, and
if a magnetic field calibration guide is in progress.

Bug: 30958130
Test: Tested with marlin. Modified hal implementation can get local
geomagnetic field.

Change-Id: Idaedd9e616d01383ba244cc64cf3e319ce02191f
/frameworks/native/libs/sensor/SensorManager.cpp
fe5476a3cc7323f2142c58333984fb98dec50376 18-Mar-2017 Peng Xu <pengxu@google.com> Avoid locking global map during waiting for service

Wait for service before attempting to get a SensorManager object.

Bug: 36389997
Bug: 36404344
Test: system boots, sensors working with sensorlogger test
Change-Id: Ib5d41bc58edb8f6be56f803324a79a99a50da45e
/frameworks/native/libs/sensor/SensorManager.cpp
d9c8a864e193d7ae3d0a04c1aa7ff15da955fb0f 05-Mar-2017 Peng Xu <pengxu@google.com> 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
/frameworks/native/libs/sensor/SensorManager.cpp
801ea093b0e923a61b832f2adba698a273479880 07-Mar-2017 Mathias Agopian <mathias@google.com> split libsensor our of libgui

Test: compile & run
Bug: treble cleanup
Change-Id: I5b2c2a14f7d3b364d25695cf0901c5b08cfb0fc9
/frameworks/native/libs/sensor/SensorManager.cpp