Eva Chen
f4e1d6a272
Merge "Add limited axes imu types to sensors_event_t"
2022-01-26 00:15:26 +00:00
Eva Chen
8681aa977e
Merge "Add limited axes imu sensor type definitions."
2022-01-26 00:15:26 +00:00
Treehugger Robot
3aaf01924f
Merge "Update OWNERS for legacy sensors definitions" am: bcb25be3bc
am: b02884fa5c
am: 0114495449
am: 156dac0355
...
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware/+/1956611
Change-Id: I300ab1861b26f7f27c46c9e3d8e9735e79ce6987
2022-01-25 09:56:07 +00:00
Treehugger Robot
156dac0355
Merge "Update OWNERS for legacy sensors definitions" am: bcb25be3bc
am: b02884fa5c
am: 0114495449
...
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware/+/1956611
Change-Id: I1b8f8ce66ef340eb69709f1e2386e1c02c453ade
2022-01-25 09:38:13 +00:00
Treehugger Robot
0114495449
Merge "Update OWNERS for legacy sensors definitions" am: bcb25be3bc
am: b02884fa5c
...
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware/+/1956611
Change-Id: I53e82e02ae9448b22283052117694b85567a5b01
2022-01-25 09:21:20 +00:00
Treehugger Robot
b02884fa5c
Merge "Update OWNERS for legacy sensors definitions" am: bcb25be3bc
...
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware/+/1956611
Change-Id: Ibbd7c9ad0eba8eea11bacd6e1dd8f4e2374d8920
2022-01-25 09:03:30 +00:00
Treehugger Robot
bcb25be3bc
Merge "Update OWNERS for legacy sensors definitions"
2022-01-25 08:40:34 +00:00
Tyler Trephan
6515145f9c
Add limited axes imu types to sensors_event_t
...
Bug: 187342209
Test: compile (definitions only)
Change-Id: Ifa89e45f24a4b4647b4c36b72b5d033397252ee1
2022-01-21 22:22:01 +00:00
TreeHugger Robot
8f5d13f983
Merge "Add head tracker to sensors_event_t"
2022-01-21 18:53:27 +00:00
Brian Duddie
3cbc4a02ce
Update OWNERS for legacy sensors definitions
...
Bug: None
Test: n/a
Change-Id: Ic67b5721372ab357faef37b64d89f9bf973182d2
2022-01-21 10:52:17 -08:00
Zhaoming Yin
a2f72b9ba2
Fix opendir NULL dirp return issue am: 78e7f9c0f1
am: becbfca631
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware/+/16676209
Change-Id: Icbc834158957e66328c728adc503e3144c05d4f7
2022-01-21 07:05:23 +00:00
Zhaoming Yin
becbfca631
Fix opendir NULL dirp return issue am: 78e7f9c0f1
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware/+/16676209
Change-Id: I8ccba415388e719a76a7dd034273e1f3adb2c129
2022-01-21 06:54:26 +00:00
Zhaoming Yin
78e7f9c0f1
Fix opendir NULL dirp return issue
...
Bug: 206035991
Test: use forrest to run boottest
Change-Id: I9e77b7d6184a0ee132b8f058f7f83302c54bcb4a
(cherry picked from commit c76c1d5799
)
2022-01-20 01:32:19 +00:00
Brian Duddie
373a1b9fe9
Add head tracker to sensors_event_t
...
Bug: 210156629
Test: compile (definitions only)
Change-Id: Ic76e8b957a4e1660dd975fd3195b7b2aa31035b4
2022-01-19 16:06:13 -08:00
Eva Chen
2588d75554
Add limited axes imu sensor type definitions.
...
Included sensors:
- SENSOR_TYPE_ACCELEROMETER_LIMITED_AXES
- SENSOR_TYPE_GYROSCOPE_LIMITED_AXES
- SENSOR_TYPE_ACCELEROMETER_LIMITED_AXES_UNCALIBRATED
- SENSOR_TYPE_GYROSCOPE_LIMITED_AXES_UNCALIBRATED
These changes will enable support for automotive style IMUs that have
more limited axes for accelerometers (x-axis and y-axis) and gyroscopes
(z-axis).
Bug: 187342209
Test: N/A
Change-Id: Iff0553c88f62e4b5693a72116173063f35b914e9
2022-01-18 20:38:28 -08:00
Zhaoming Yin
c76c1d5799
Fix opendir NULL dirp return issue
...
Bug: 206035991
Test: use forrest to run boottest
Change-Id: I9e77b7d6184a0ee132b8f058f7f83302c54bcb4a
2022-01-16 08:13:00 -08:00
Brian Duddie
d3e67d55ac
Add definitions for new head tracker sensor type
...
Bug: 210156629
Test: n/a
Change-Id: If267401f059fe1377e495a91776b2eb4448fd1ef
2022-01-10 16:13:14 -08:00
Erik Staats
8262a62fb2
dynamic_sensor: Use HID unique ID for head tracker UUID.
...
Also, don't require 16-bit strings for HID name, manufacturer, and
unique ID. Also change dump of HID unique ID to be in hex.
Bug: 213483369
Test: Verified that the standard Android head tracker sensor uses the
HID unique ID for the sensor UUID.
Test: Verified that custom Android sensors use a fabricated UUID.
Change-Id: I125f84187868543dccab758e22dce744c013578e
2022-01-06 12:28:06 -08:00
Greg Kaiser
3f7bbbb4f1
r_submix HAL: Remove unused variable
...
We no longer set force_pipe_creation after the removal of
legacy code for in-pipe conversions, so we remove it.
Test: TreeHugger
Bug: 141604269
Change-Id: I82393ba0ad3142aa75d482cc6b0edbaeebbd8116
2022-01-05 07:00:42 -08:00
Jean-Michel Trivi
61d799a5e1
Merge "r_submix HAL: remove legacy code for in-pipe conversions"
2022-01-04 16:36:02 +00:00
Treehugger Robot
eaf73c934e
Merge "r_submix: add owners file" am: 593bff82da
am: eba0d7f70e
am: a66b1a2486
am: 140613a961
...
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware/+/1935497
Change-Id: I50f08b51fbc69e8262f7cc005fc5de3f1b74739e
2022-01-03 11:35:04 +00:00
Treehugger Robot
140613a961
Merge "r_submix: add owners file" am: 593bff82da
am: eba0d7f70e
am: a66b1a2486
...
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware/+/1935497
Change-Id: Ib2386d226b0708a6ed0118bad02189d3ac33a4ba
2022-01-03 11:18:33 +00:00
Treehugger Robot
a66b1a2486
Merge "r_submix: add owners file" am: 593bff82da
am: eba0d7f70e
...
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware/+/1935497
Change-Id: Idf9048d3769cddd898cfb477082ea5037b682e82
2022-01-03 11:03:27 +00:00
Treehugger Robot
eba0d7f70e
Merge "r_submix: add owners file" am: 593bff82da
...
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware/+/1935497
Change-Id: I106430aeaf81b66833781b3c5c2ee030825e5878
2022-01-03 10:46:08 +00:00
Treehugger Robot
593bff82da
Merge "r_submix: add owners file"
2022-01-03 10:21:47 +00:00
Jean-Michel Trivi
16699d13ec
r_submix: add owners file
...
Bug: 141604269
Test: see gerrit
Change-Id: I975390f8f495267ef0cd24dc8e73db859e541146
2021-12-30 16:29:03 -08:00
Jean-Michel Trivi
a33c1654fb
r_submix HAL: remove legacy code for in-pipe conversions
...
Old hacky uses of this HAL required channel and sample
rate conversion, which were never expected when this HAL
is used for its real application as the backend for
dynamic audio policies. In that context conversions are
performed in audio_flinger in the mixer.
Bug: 141604269
Test: atest AudioHostTest#testTwoChannelCapturing
Change-Id: I333e981fb3db403ab2da6f77debe49bc7d132ebc
2021-12-23 11:49:28 -08:00
David Drysdale
14d01caa93
Merge "Add new KeyMint curve enum" am: f4a119d3e7
am: 088bd1323f
am: 28807e5340
am: dc02a3e7c4
...
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware/+/1907872
Change-Id: I0e9adceac974597b9da9aafc4c1f63c0d02ee381
2021-12-16 23:23:45 +00:00
David Drysdale
dc02a3e7c4
Merge "Add new KeyMint curve enum" am: f4a119d3e7
am: 088bd1323f
am: 28807e5340
...
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware/+/1907872
Change-Id: If1e0a6643892a0c045dbd079c945e59b80fbfb85
2021-12-16 23:21:25 +00:00
David Drysdale
28807e5340
Merge "Add new KeyMint curve enum" am: f4a119d3e7
am: 088bd1323f
...
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware/+/1907872
Change-Id: Ic558c16fe9a56f3a797ab4d42e8183829cd8b0af
2021-12-16 22:51:18 +00:00
Erik Staats
75fb5d739e
Add dynamic sensor README.md.
...
Bug: 207008609
Test: Verified in gitiles.
Change-Id: I7bb8575aef0a8764390a6dc8f4ca785f49a1eb61
2021-12-16 20:09:59 +00:00
David Drysdale
088bd1323f
Merge "Add new KeyMint curve enum" am: f4a119d3e7
...
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware/+/1907872
Change-Id: Ic8b388da14909629abc03539a18242c2656295e0
2021-12-16 10:44:44 +00:00
David Drysdale
f4a119d3e7
Merge "Add new KeyMint curve enum"
2021-12-16 10:18:10 +00:00
YiMing Tseng
d2299dd03b
Add GRALLOC_FRAMEBUFFER_NUM configuration am: 0b5ab223e1
am: 56747f919a
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware/+/16235226
Change-Id: I235c7d209671734473f9e5885b49e1670a19fcf2
2021-12-16 03:32:23 +00:00
YiMing Tseng
56747f919a
Add GRALLOC_FRAMEBUFFER_NUM configuration am: 0b5ab223e1
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware/+/16235226
Change-Id: Ia434ac4fae4212f4d41777ca4b380d105e8d0990
2021-12-16 03:16:55 +00:00
David Drysdale
635b706889
Add new KeyMint curve enum
...
Bug: 194358913
Test: VtsAidlKeyMintTargetTest
Change-Id: I6fb21c0662f2c810a086c5146fa3caa51be9464e
2021-12-15 14:56:19 +00:00
Erik Staats
4b4cb8dab3
dynamic_sensor: Fix report item offset calculation.
...
Bug: 207008609
Test: Verified dynamic sensor sampling with proposed standard Android
head tracker.
Change-Id: I163b79c2c99f02961adebcb5dcb7e39603944e24
2021-12-10 12:20:22 -08:00
YiMing Tseng
0b5ab223e1
Add GRALLOC_FRAMEBUFFER_NUM configuration
...
Add config to set the NUM_BUFFERS. Set NUM_BUFFERS to 1 can
prevent page flipping and set it to a larger number can allow
userspace to fill up the following frame earlier.
Bug: 205917753
Change-Id: Ibf4a52a1e35f4a2404008a48b637cb82c4b46365
2021-12-09 09:09:25 +00:00
Erik Staats
0d8677fa4d
dynamic_sensor: Support recognizing head tracker sensor. am: dbf2545214
am: ec9039d20a
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware/+/16382054
Change-Id: Iaf36409f05f4c8e3f62fd61323f573575bed0cb7
2021-12-03 14:43:46 +00:00
Erik Staats
ec9039d20a
dynamic_sensor: Support recognizing head tracker sensor. am: dbf2545214
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware/+/16382054
Change-Id: I5e1cc7043ae62737fe23a8c7abffd594669bc8cc
2021-12-03 14:21:37 +00:00
Erik Staats
dbf2545214
dynamic_sensor: Support recognizing head tracker sensor.
...
Bug: 207008609
Test: Verified dynamic sensor sampling with proposed standard Android
head tracker.
Test: Verified dynamic sensor sampling with custom Android sensor.
Change-Id: Ia9b991d4a8f7de132cb8509bcc84c51f62e56b31
2021-12-02 15:48:00 -08:00
Erik Staats
7007ba93ef
dynamic_sensor: Support non-8-bit sized HID report items. am: 4cb45aba7f
am: 99ad5c01bb
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware/+/16359454
Change-Id: I33e8fb34157fcfd27f649b1b956a4c28dddad6a3
2021-12-02 16:42:09 +00:00
Erik Staats
99ad5c01bb
dynamic_sensor: Support non-8-bit sized HID report items. am: 4cb45aba7f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware/+/16359454
Change-Id: I9c4ff4a1711ed92ba8a586f9e5d1f1d97434a600
2021-12-02 16:05:28 +00:00
Erik Staats
4cb45aba7f
dynamic_sensor: Support non-8-bit sized HID report items.
...
Bug: 207008609
Test: Verified dynamic sensor sampling.
Test: Verified unit tests pass.
Change-Id: I797ccabadefa0dde59fd0f3e8541f9853d657f3f
2021-12-01 14:45:36 -08:00
Erik Staats
82bbf6dc12
dynamic_sensor: Support report and power usage collections. am: f99f73ceeb
am: 2978c08ef0
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware/+/16323898
Change-Id: I45025e510e2a836b6f43949fea7955dafd601755
2021-11-23 14:14:18 +00:00
Erik Staats
2978c08ef0
dynamic_sensor: Support report and power usage collections. am: f99f73ceeb
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware/+/16323898
Change-Id: I700d18da414001f4a54b880288625092269d7fe8
2021-11-23 14:03:05 +00:00
Erik Staats
f99f73ceeb
dynamic_sensor: Support report and power usage collections.
...
Bug: 207008609
Test: Verified dynamic sensor sampling.
Change-Id: If0bef3647d5c52f9bf1d92a2a0ead72e98c70b8c
2021-11-22 10:56:57 -08:00
Erik Staats
157ae479bc
dynamic_sensor: Don't hold mgr lock when operating sensor. am: 24ead9d84a
am: 9ec6c4dcf7
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware/+/16185557
Change-Id: I8023f1d8f67ab5de14e1b7c1b7631f43f8f35fd0
2021-11-04 16:46:44 +00:00
Erik Staats
9ec6c4dcf7
dynamic_sensor: Don't hold mgr lock when operating sensor. am: 24ead9d84a
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware/+/16185557
Change-Id: I58f1a86b128abfe3212b2cf4eeb87198e0477d82
2021-11-04 16:16:42 +00:00
Erik Staats
24ead9d84a
dynamic_sensor: Don't hold mgr lock when operating sensor.
...
Bug: 205041452
Test: Verified that multiple subscriptions can be made with sensor_test
to a dynamic sensor without hanging.
Change-Id: Ie7671df8294bee04a0ebe1940242c2a83105f897
2021-11-03 15:32:49 -07:00