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
Jim Blackler
32bcdd1704
Merge "Revert "Delete KM1"" am: aed1b5671f
am: 9b02e2d2ad
am: ff055f2cd6
am: da1f4e44ad
am: 4bbd67ca92
...
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware/+/1853095
Change-Id: I8c51bc4e1529acbe202a690c66596043c203524a
2021-10-11 15:27:29 +00:00
Jim Blackler
4bbd67ca92
Merge "Revert "Delete KM1"" am: aed1b5671f
am: 9b02e2d2ad
am: ff055f2cd6
am: da1f4e44ad
...
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware/+/1853095
Change-Id: Ifca71a2071c8a1ebaeb2cd55f61f6e723ed09843
2021-10-11 15:03:33 +00:00
Jim Blackler
da1f4e44ad
Merge "Revert "Delete KM1"" am: aed1b5671f
am: 9b02e2d2ad
am: ff055f2cd6
...
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware/+/1853095
Change-Id: I1ea7d1bac8c447cf35333f55bad16de024571648
2021-10-11 14:52:43 +00:00
Jim Blackler
ff055f2cd6
Merge "Revert "Delete KM1"" am: aed1b5671f
am: 9b02e2d2ad
...
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware/+/1853095
Change-Id: I6d8e17070486aa056bf7a94cb366e1ad5e50627f
2021-10-11 14:39:01 +00:00
Jim Blackler
9b02e2d2ad
Merge "Revert "Delete KM1"" am: aed1b5671f
...
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware/+/1853095
Change-Id: I68d2442b6de642e5c50d3bd1f9f5f75b24f77380
2021-10-11 14:21:42 +00:00
Jim Blackler
aed1b5671f
Merge "Revert "Delete KM1""
2021-10-11 14:04:30 +00:00
Jim Blackler
6b834a3b75
Revert "Delete KM1"
...
Revert submission 1844016-delkm1
Reason for revert: b/202675261
Reverted Changes:
Iba996962b:Delete KM1
Ia4c5359cd:Delete KM1
Iee6ec9816:Delete KM1
I6058e4d86:Delete KM1
I8abb9c570:Delete KM1
I9c4dc5c9e:Delete KM1
Change-Id: If89a96dab30e85c9e9c3b4bf67d8aab20a273a54
2021-10-11 13:38:59 +00:00
Shawn Willden
3ce68c90fb
Merge "Delete KM1" am: 833a929d85
am: 22453fa420
am: 42b625b3e8
am: 71344faeeb
am: 09f74d4763
...
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware/+/1846575
Change-Id: Ia53e5d16a91f5dbf80cbea45871207f759c8ebb7
2021-10-09 02:03:15 +00:00
Shawn Willden
09f74d4763
Merge "Delete KM1" am: 833a929d85
am: 22453fa420
am: 42b625b3e8
am: 71344faeeb
...
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware/+/1846575
Change-Id: Id2d447c98dc65b985e3dcbbf5cfed97d918c063c
2021-10-09 01:49:14 +00:00
Shawn Willden
71344faeeb
Merge "Delete KM1" am: 833a929d85
am: 22453fa420
am: 42b625b3e8
...
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware/+/1846575
Change-Id: Ida4deb2b9837a1275420c7742aef2535b9aa9173
2021-10-09 01:33:10 +00:00
Shawn Willden
42b625b3e8
Merge "Delete KM1" am: 833a929d85
am: 22453fa420
...
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware/+/1846575
Change-Id: I46a1e39f3bd5695e17ad55cea390ee9ba63c66b8
2021-10-09 01:19:58 +00:00
Shawn Willden
22453fa420
Merge "Delete KM1" am: 833a929d85
...
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware/+/1846575
Change-Id: Ib655ba270642c696cae1dcb58830142340dbce1c
2021-10-09 01:03:05 +00:00
Shawn Willden
833a929d85
Merge "Delete KM1"
2021-10-09 00:46:52 +00:00
Xin Li
6703053478
[automerger skipped] Merge "Merge Android 12" am: 77d993075f
-s ours am: d3e53d6ea0
-s ours am: 8de78e5f89
-s ours am: 8e87d76f07
-s ours am: 7d63602f2d
-s ours
...
am skip reason: Merged-In I9d5a74b5189e6b445ef922da0f81884d60ac82f4 with SHA-1 1a7761431d
is already in history
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware/+/1847210
Change-Id: I544b2f427991582ebc62b19bf43a9456578a2757
2021-10-08 08:59:28 +00:00
Xin Li
7d63602f2d
[automerger skipped] Merge "Merge Android 12" am: 77d993075f
-s ours am: d3e53d6ea0
-s ours am: 8de78e5f89
-s ours am: 8e87d76f07
-s ours
...
am skip reason: Merged-In I9d5a74b5189e6b445ef922da0f81884d60ac82f4 with SHA-1 1a7761431d
is already in history
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware/+/1847210
Change-Id: I5bc1cd3394cb169f115d7c529bc2dd9aba30d0c7
2021-10-08 08:29:18 +00:00
Xin Li
8e87d76f07
[automerger skipped] Merge "Merge Android 12" am: 77d993075f
-s ours am: d3e53d6ea0
-s ours am: 8de78e5f89
-s ours
...
am skip reason: Merged-In I9d5a74b5189e6b445ef922da0f81884d60ac82f4 with SHA-1 1a7761431d
is already in history
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware/+/1847210
Change-Id: I56319728d3efbd295657a01c888c30e76b651db0
2021-10-08 07:56:20 +00:00
Xin Li
8de78e5f89
[automerger skipped] Merge "Merge Android 12" am: 77d993075f
-s ours am: d3e53d6ea0
-s ours
...
am skip reason: Merged-In I9d5a74b5189e6b445ef922da0f81884d60ac82f4 with SHA-1 1a7761431d
is already in history
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware/+/1847210
Change-Id: I7cf686dad0de9efe6bcd664bb0cb1420578df37d
2021-10-08 01:39:04 +00:00
Xin Li
d3e53d6ea0
[automerger skipped] Merge "Merge Android 12" am: 77d993075f
-s ours
...
am skip reason: Merged-In I9d5a74b5189e6b445ef922da0f81884d60ac82f4 with SHA-1 1a7761431d
is already in history
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware/+/1847210
Change-Id: Ie4c3c0f01b8067b6a472e63c8ad6326f44e7fbbf
2021-10-08 01:19:38 +00:00
Xin Li
77d993075f
Merge "Merge Android 12"
2021-10-07 23:50:16 +00:00
Xin Li
86aecefe76
Merge Android 12
...
Bug: 202323961
Merged-In: I9d5a74b5189e6b445ef922da0f81884d60ac82f4
Change-Id: Ie7a0d96ee03857543b7fb2bfe17ca95fc6f0c7ae
2021-10-06 22:53:41 +00:00
Shawn Willden
9bba111014
Delete KM1
...
Test: Build
Change-Id: I8abb9c570db05599e3d062810427859ea784d47f
2021-10-06 13:08:40 -06:00
Erik Staats
f3852875e7
dynamic_sensor: Add multi-HAL 2.1 flush support. am: 35964ba076
am: d30ecf1f7d
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware/+/15974606
Change-Id: Ie329b87fa137b389231aac7b467a1d13652c5f76
2021-10-05 13:10:03 +00:00
Erik Staats
d30ecf1f7d
dynamic_sensor: Add multi-HAL 2.1 flush support. am: 35964ba076
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware/+/15974606
Change-Id: Ib204115b867799ecd13dd0586a97869a98d222ab
2021-10-05 13:00:16 +00:00
Erik Staats
35964ba076
dynamic_sensor: Add multi-HAL 2.1 flush support.
...
Bug: 201730055
Test: Verified that flush, batch, and activate sensor VTS tests pass.
Change-Id: I6721d9f8976b3ef9f6af02b2320833025b479ee6
2021-10-04 15:17:32 -07:00
Erik Staats
747b0e0592
dynamic_sensor: Add multi-HAL 2.1 sampling support. am: 43bc7bccdc
am: 157804a3f7
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware/+/15949542
Change-Id: Iccd67a723e6298812fe2b462e0b15b4ca1daa4de
2021-09-30 17:42:00 +00:00
Erik Staats
157804a3f7
dynamic_sensor: Add multi-HAL 2.1 sampling support. am: 43bc7bccdc
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware/+/15949542
Change-Id: I87a4243ba0c03062ebe311a4832edd2ef7b0ae69
2021-09-30 17:28:18 +00:00
Erik Staats
43bc7bccdc
dynamic_sensor: Add multi-HAL 2.1 sampling support.
...
Bug: 195964858
Test: Paired a Sony PS4 controller and verified it can be sampled as an
accelerometer. The first subscription always returns all 0's, but
subsequent subscriptions return proper accel samples.
Change-Id: I4bbc4695c988f600a62502f9fccabaa68f42c72b
2021-09-30 06:50:43 -07:00
Erik Staats
43c3fc4afe
dynamic_sensor: Notify multi-HAL 2.1 of connected sensors. am: 7b29add5f7
am: 67ca088321
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware/+/15933544
Change-Id: Id9cd784cd5467b46facda754b31e4cdcec817bff
2021-09-29 19:35:35 +00:00
Erik Staats
67ca088321
dynamic_sensor: Notify multi-HAL 2.1 of connected sensors. am: 7b29add5f7
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware/+/15933544
Change-Id: If8ec6b6dd33a64ecb59a11608f6fba56876f7294
2021-09-29 19:24:10 +00:00
Erik Staats
7b29add5f7
dynamic_sensor: Notify multi-HAL 2.1 of connected sensors.
...
Bug: 195964858
Test: Paired a Sony PS4 controller and verified it is present in sensor
list as an accelerometer. It can't be sampled, but the LSM6DSR
accelerometer may still be sampled.
Change-Id: I182291cebdf84e5f6cd44d16debd6a07c4bc5281
2021-09-29 10:07:03 -07:00
Erik Staats
16fc5d543e
dynamic_sensor: Add sensor manager init to sub-HAL 2.1. am: 3c7a12d8f1
am: bf866d6dd4
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware/+/15905535
Change-Id: Icee05924819530890d509e990958af559811ea47
2021-09-24 18:05:32 +00:00
Erik Staats
bf866d6dd4
dynamic_sensor: Add sensor manager init to sub-HAL 2.1. am: 3c7a12d8f1
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware/+/15905535
Change-Id: Ib2377f7425bf30da47d69557b35df158a5b9b54c
2021-09-24 17:46:31 +00:00