commit | 4871f09f1451a002654718d4ef89ae1f8eb8fee4 | [log] [tgz] |
---|---|---|
author | Vladimir Komsiyski <vladokom@google.com> | Thu Jan 19 18:25:43 2023 +0100 |
committer | Vladimir Komsiyski <vladokom@google.com> | Sat Feb 25 11:26:38 2023 +0000 |
tree | 29404798580f755bd8b5c9d17ad192c886333edf | |
parent | 26b34d62057135dd0dddc3396b401fe77f0d404a [diff] |
Native runtime sensors direct connection support. When a direct channel is (un-)registered or configured, notify the runtime sensor callback instead of the HAL and pass the shared memory region to it. The SensorDirectConnection object is tied to a deviceId and may only be configured for sensors of that device. Only ashmem direct channel type is supported for runtime sensors. Bug: 266042170 Test: atest CtsSensorTestCases Change-Id: Ie1a628650bd94b6d81e95d3b9f8f25fcf445666c