Commit graph

5861 commits

Author SHA1 Message Date
Xin Li
cf3e62a8ee [automerger skipped] Merge Android 12 QPR 3 am: 9e5c95612b -s ours am: be6d94e0dd -s ours am: 4c81cb72ef -s ours am: 468e587660 -s ours
am skip reason: Merged-In I36e233dc5b59feec9354f9aef6f231babbbcec6f with SHA-1 c41d9de876 is already in history

Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware/+/2126095

Change-Id: I64d4bfb40bcc543f412087c8be95db6e3207136d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-17 20:52:36 +00:00
Xin Li
e746e3538c [automerger skipped] Merge "Merge Android 12 QPR 3" am: b0eb536590 -s ours am: 7c9cf4930a -s ours am: 97dbb73578 -s ours
am skip reason: Merged-In I36e233dc5b59feec9354f9aef6f231babbbcec6f with SHA-1 c41d9de876 is already in history

Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware/+/2126095

Change-Id: I6088a2ab0b25f0dd3dd26aa65fb008fadb8dd7a4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-17 19:57:25 +00:00
Xin Li
468e587660 [automerger skipped] Merge Android 12 QPR 3 am: 9e5c95612b -s ours am: be6d94e0dd -s ours am: 4c81cb72ef -s ours
am skip reason: Merged-In I36e233dc5b59feec9354f9aef6f231babbbcec6f with SHA-1 c41d9de876 is already in history

Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware/+/2126095

Change-Id: I1dad8425453c0b1b95e1a8823be459fa5795b552
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-17 19:56:17 +00:00
Treehugger Robot
2cac8b9f81 Merge "Remove explicit dependency on libdl" 2022-06-17 00:18:40 +00:00
Xin Li
97dbb73578 [automerger skipped] Merge "Merge Android 12 QPR 3" am: b0eb536590 -s ours am: 7c9cf4930a -s ours
am skip reason: Merged-In I36e233dc5b59feec9354f9aef6f231babbbcec6f with SHA-1 c41d9de876 is already in history

Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware/+/2126095

Change-Id: Iac40bb50d65ba3b7ec38d8e1e551fc4524a2f8e1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-17 00:15:19 +00:00
Xin Li
4c81cb72ef [automerger skipped] Merge Android 12 QPR 3 am: 9e5c95612b -s ours am: be6d94e0dd -s ours
am skip reason: Merged-In I36e233dc5b59feec9354f9aef6f231babbbcec6f with SHA-1 c41d9de876 is already in history

Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware/+/2126095

Change-Id: I43e9f699fb6fb876f992530a5c5bf22184afe3d7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-17 00:14:13 +00:00
Xin Li
7c9cf4930a [automerger skipped] Merge "Merge Android 12 QPR 3" am: b0eb536590 -s ours
am skip reason: Merged-In I36e233dc5b59feec9354f9aef6f231babbbcec6f with SHA-1 c41d9de876 is already in history

Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware/+/2126095

Change-Id: I7e76b76be8e6b011c5ad8fdc2bb6499b555bb018
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-16 19:58:19 +00:00
Xin Li
be6d94e0dd [automerger skipped] Merge Android 12 QPR 3 am: 9e5c95612b -s ours
am skip reason: Merged-In I36e233dc5b59feec9354f9aef6f231babbbcec6f with SHA-1 c41d9de876 is already in history

Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware/+/2126095

Change-Id: Ice06d9e2407d1f617c7e95744b3e8d9513c724b0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-16 19:57:06 +00:00
Xin Li
b0eb536590 Merge "Merge Android 12 QPR 3" 2022-06-16 18:51:54 +00:00
Xin Li
9e5c95612b Merge Android 12 QPR 3
Bug: 236045730
Merged-In: I36e233dc5b59feec9354f9aef6f231babbbcec6f
Change-Id: Ie3de5c4a7566ae5ed6bc2e3549029d7d42cfc27c
2022-06-14 16:48:12 -07:00
Liz Kammer
3e805478fb Remove explicit dependency on libdl
A dependency to libdl is added by default by the build system based on
system_dynamic_libs property.

Test: m libhardware
Change-Id: I4bc1a7cb4af2c49d6f1343843cf86c436294bed7
2022-06-13 17:52:48 +00:00
Erik Staats
8220eb4ee9 Add /dev permissions to dynamic sensor README.md . am: 3493565708 am: 0c8d140c5c
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware/+/17866052

Change-Id: Ia52c1c97ccd8f817e221a539543a763e0ca7d8cf
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-20 21:20:01 +00:00
Erik Staats
0c8d140c5c Add /dev permissions to dynamic sensor README.md . am: 3493565708
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware/+/17866052

Change-Id: Ied7f878e32da7e34df04675d7a1c5aa1d99fc2ab
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-20 21:04:16 +00:00
Erik Staats
3493565708 Add /dev permissions to dynamic sensor README.md .
Bug: 228879057
Test: Verified in gitiles.
Change-Id: If82a5bf302cb68a2c5b486006e4679fbfc8ee545
2022-04-20 11:16:52 -07:00
Erik Staats
28db890260 dynamic_sensor: Fix HID min/max sample rate computation. am: fdb42f78cd am: d3fe4999ca
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware/+/17625408

Change-Id: Ia4ae404dbda24a35f7d8c6b59656febbb5fe70fe
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-07 23:29:12 +00:00
Erik Staats
d3fe4999ca dynamic_sensor: Fix HID min/max sample rate computation. am: fdb42f78cd
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware/+/17625408

Change-Id: I80a1bdb1cbbbd54afea4f2606a2285d4bfb870ba
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-07 23:11:17 +00:00
Erik Staats
fdb42f78cd dynamic_sensor: Fix HID min/max sample rate computation.
Bug: 228369656
Test: Used uhid-sample to add a dynamic sensor and verified correct
 min/max sample rate.
Change-Id: I88a1bec26a03a97ee7a3c590d2601151b89ee545
2022-04-06 15:30:02 -07:00
Erik Staats
295403ba48 dynamic_sensor: Support timing out sensor operations. am: 9b8bc0f7c1 am: fb93d2f677
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware/+/17542700

Change-Id: I0f7fba86f3b6647ab1a9e8d1b8592190ab584488
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-06 13:16:30 +00:00
Erik Staats
fb93d2f677 dynamic_sensor: Support timing out sensor operations. am: 9b8bc0f7c1
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware/+/17542700

Change-Id: I1569d6a89f8367de8acdd4863b78818bd2d29532
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-06 12:57:20 +00:00
Erik Staats
9b8bc0f7c1 dynamic_sensor: Support timing out sensor operations.
Bug: 226012902
Test: Used uhid-sample to add a dynamic sensor and verified it can be
 sampled.
Test: Simulated start sampling ioctl timeout and verified operation
 completes with a timeout and eventually cleans up.
Test: Simulated start sampling ioctl timeout with device removal before
 completion and verified operation completes with a timeout and
 eventually cleans up.
Change-Id: I9a957bc1e4000b2c587278146ecbe6e903010616
2022-04-06 12:42:06 +00:00
Xin Li
73860d9f24 [automerger skipped] Merge Android 12 QPR3 ab/8391262 am: c86c769102 -s ours am: c41d9de876 -s ours am: 97fa686b5d -s ours am: e8e241d099 -s ours
am skip reason: Merged-In I11cfdae56524722afd33ee3c01fdb3c1559d8c85 with SHA-1 edfcd7d421 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware/+/17544754

Change-Id: I1c9bc9ff3d0ea84a10343a81acfdf3ff86ac5513
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-03 09:08:41 +00:00
Xin Li
e8e241d099 [automerger skipped] Merge Android 12 QPR3 ab/8391262 am: c86c769102 -s ours am: c41d9de876 -s ours am: 97fa686b5d -s ours
am skip reason: Merged-In I11cfdae56524722afd33ee3c01fdb3c1559d8c85 with SHA-1 edfcd7d421 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware/+/17544754

Change-Id: I8f431ec7e02f313ef73567d3e3b3dbd4414738fd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-03 08:30:47 +00:00
Xin Li
97fa686b5d [automerger skipped] Merge Android 12 QPR3 ab/8391262 am: c86c769102 -s ours am: c41d9de876 -s ours
am skip reason: Merged-In I11cfdae56524722afd33ee3c01fdb3c1559d8c85 with SHA-1 edfcd7d421 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware/+/17544754

Change-Id: Iaf074ba904bcb417005de1f7bec88c228f63828f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-03 07:43:37 +00:00
Xin Li
c41d9de876 [automerger skipped] Merge Android 12 QPR3 ab/8391262 am: c86c769102 -s ours
am skip reason: Merged-In I11cfdae56524722afd33ee3c01fdb3c1559d8c85 with SHA-1 edfcd7d421 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware/+/17544754

Change-Id: I36e233dc5b59feec9354f9aef6f231babbbcec6f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-03 07:11:36 +00:00
Xin Li
c86c769102 Merge Android 12 QPR3 ab/8391262
Bug: 226662282
Merged-In: I11cfdae56524722afd33ee3c01fdb3c1559d8c85
Change-Id: I517f7a7454372f79f959df33c13b26202080e33c
2022-04-01 20:32:38 +00:00
Brian Duddie
bcde47bb63 Change dynamic sensors handle base to 1 am: b9769d799c am: 82f2fc8e6c
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware/+/17542038

Change-Id: I03799fae33f04758975841e00a1e8a583b58ee7f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-01 19:34:05 +00:00
Brian Duddie
82f2fc8e6c Change dynamic sensors handle base to 1 am: b9769d799c
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware/+/17542038

Change-Id: I48902f711c5ff979e493ab72497c9b8e433bbe24
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-01 19:12:29 +00:00
Brian Duddie
b9769d799c Change dynamic sensors handle base to 1
Fixes: 227766975
Test: load on device, confirm handle number changed
Change-Id: I0466784d7e468bd785f2525f1ab7cd02cc5436e8
2022-04-01 17:22:31 +00:00
Xin Li
4c996b4015 [automerger skipped] Merge "Merge Android 12L" am: c2b7fb4aad -s ours am: b8395c238a -s ours am: edfcd7d421 -s ours
am skip reason: Merged-In Ice502eaba6c5dd8ca1157d3fde1b5b5b223267e4 with SHA-1 466b596cc5 is already in history

Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware/+/2013325

Change-Id: Ibc96dbb712bf69d6d4577df69def914354347b5e
2022-03-09 10:05:02 +00:00
Xin Li
6929b605f6 [automerger skipped] Merge Android 12L am: ebebf51c4f -s ours am: a111192091 -s ours am: 7e3e6a3a82 -s ours
am skip reason: Merged-In Ice502eaba6c5dd8ca1157d3fde1b5b5b223267e4 with SHA-1 466b596cc5 is already in history

Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware/+/2013325

Change-Id: I365d0a49970bbda7acc8833f9fc0b80088fb9942
2022-03-09 10:02:18 +00:00
Xin Li
edfcd7d421 [automerger skipped] Merge "Merge Android 12L" am: c2b7fb4aad -s ours am: b8395c238a -s ours
am skip reason: Merged-In Ice502eaba6c5dd8ca1157d3fde1b5b5b223267e4 with SHA-1 466b596cc5 is already in history

Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware/+/2013325

Change-Id: I11cfdae56524722afd33ee3c01fdb3c1559d8c85
2022-03-08 11:06:32 +00:00
Xin Li
7e3e6a3a82 [automerger skipped] Merge Android 12L am: ebebf51c4f -s ours am: a111192091 -s ours
am skip reason: Merged-In Ice502eaba6c5dd8ca1157d3fde1b5b5b223267e4 with SHA-1 466b596cc5 is already in history

Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware/+/2013325

Change-Id: I947d662b436195b55bbf32c98110046ea56131ab
2022-03-08 11:03:47 +00:00
Xin Li
b8395c238a [automerger skipped] Merge "Merge Android 12L" am: c2b7fb4aad -s ours
am skip reason: Merged-In Ice502eaba6c5dd8ca1157d3fde1b5b5b223267e4 with SHA-1 466b596cc5 is already in history

Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware/+/2013325

Change-Id: I6bb2fd8bd268fd95b7513288ceb74758335dd242
2022-03-08 10:21:44 +00:00
Xin Li
a111192091 [automerger skipped] Merge Android 12L am: ebebf51c4f -s ours
am skip reason: Merged-In Ice502eaba6c5dd8ca1157d3fde1b5b5b223267e4 with SHA-1 466b596cc5 is already in history

Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware/+/2013325

Change-Id: I0a2e1695d50a97fd80985594bfbd722edeb0749a
2022-03-08 10:18:57 +00:00
Xin Li
c2b7fb4aad Merge "Merge Android 12L" 2022-03-08 06:51:51 +00:00
Xin Li
ebebf51c4f Merge Android 12L
Bug: 222710654
Merged-In: Ice502eaba6c5dd8ca1157d3fde1b5b5b223267e4
Change-Id: Ie2b319c7d588f5044c694e85795eef0bc9d14b75
2022-03-08 00:18:38 +00:00
Ray Essick
dd45428ffa drop no-longer-needed apex_available clause on libhardware
codec2/vndk referenced, but did not use, libhardware. Now that
the reference is cleaned, we don't need to to export to apex's.

Bug: 221444002
Test: build, boot
Change-Id: I43bff5cab71d53d8c7422c13265f129b26ca0430
2022-03-01 15:45:33 -08:00
Xin Li
a95b600c5a [automerger skipped] Merge "Merge sc-v2-dev-plus-aosp-without-vendor@8084891" into stage-aosp-master am: d2adcd79f8 -s ours am: 5a80ca8ae8 -s ours
am skip reason: Merged-In I975390f8f495267ef0cd24dc8e73db859e541146 with SHA-1 16699d13ec is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware/+/16844215

Change-Id: I4fef372e22b9c1302e1d2f4d49bc3d28267646fc
2022-02-14 18:20:53 +00:00
Xin Li
5a80ca8ae8 [automerger skipped] Merge "Merge sc-v2-dev-plus-aosp-without-vendor@8084891" into stage-aosp-master am: d2adcd79f8 -s ours
am skip reason: Merged-In I975390f8f495267ef0cd24dc8e73db859e541146 with SHA-1 16699d13ec is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware/+/16844215

Change-Id: I34d543a1395a507b8fdf8fbcb797d0d2a124de4a
2022-02-14 18:03:29 +00:00
Xin Li
d2adcd79f8 Merge "Merge sc-v2-dev-plus-aosp-without-vendor@8084891" into stage-aosp-master 2022-02-14 17:30:14 +00:00
Treehugger Robot
32091b4dcc [automerger skipped] Merge "Add audio_hw_device.set_device_connected_state_v7 method" am: ac977b6016 am: 466b596cc5 am: 9ab5ad944a -s ours
am skip reason: Merged-In I0868cdfdbe46d1399071967653372b55713843e4 with SHA-1 521310bc26 is already in history

Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware/+/1978754

Change-Id: I888f2469d4410eb791aa64216d8cc3fa389522df
2022-02-11 19:18:11 +00:00
Treehugger Robot
9ab5ad944a Merge "Add audio_hw_device.set_device_connected_state_v7 method" am: ac977b6016 am: 466b596cc5
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware/+/1978754

Change-Id: Ic66bd494ef59ce98cc856470a28379cbcc399552
2022-02-11 19:06:35 +00:00
Treehugger Robot
466b596cc5 Merge "Add audio_hw_device.set_device_connected_state_v7 method" am: ac977b6016
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware/+/1978754

Change-Id: Ice502eaba6c5dd8ca1157d3fde1b5b5b223267e4
2022-02-11 18:45:17 +00:00
Treehugger Robot
ac977b6016 Merge "Add audio_hw_device.set_device_connected_state_v7 method" 2022-02-11 18:19:22 +00:00
Xin Li
f911d3a70d Merge sc-v2-dev-plus-aosp-without-vendor@8084891
Bug: 214455710
Merged-In: I975390f8f495267ef0cd24dc8e73db859e541146
Change-Id: Ia540313ff7bb064b9de8a8655b59fed8c40a8aaa
2022-02-11 06:57:38 +00:00
Mikhail Naganov
f912141956 Add audio_hw_device.set_device_connected_state_v7 method
Add an interface method for providing extra information
about the connected device.

Bug: 211601178
Test: m
Change-Id: I0868cdfdbe46d1399071967653372b55713843e4
(cherry picked from commit 521310bc26)
Merged-In: I0868cdfdbe46d1399071967653372b55713843e4
2022-02-09 19:29:39 +00:00
Ray Essick
0a0dd5f489 Make apex_available explicit
Move the implicit allowing by modules from a list in the build
tools to explicit lines in the relevant module's Android.bp

Bug: 215589022
Test: build
Change-Id: I17f93210f027cb8189e92b19a46b6d64faef7ed8
2022-02-09 10:14:29 -08:00
Treehugger Robot
9e1bf27989 [automerger skipped] Merge "Audio HAL: Add latency mode APIs" am: 5c264411c6 am: 909e4b4cc5 am: 07d5a5d873 am: 14e51195e5 -s ours
am skip reason: Merged-In I30a7f34a265ddac69b283c803b5729770426ebf1 with SHA-1 e689139808 is already in history

Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware/+/1975466

Change-Id: I75de37b22233ff135fc73e0f80d19919e22bcf31
2022-02-08 20:44:24 +00:00
Treehugger Robot
14e51195e5 Merge "Audio HAL: Add latency mode APIs" am: 5c264411c6 am: 909e4b4cc5 am: 07d5a5d873
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware/+/1975466

Change-Id: I7f07b98c79413e7622f2773ca57a64ad34412989
2022-02-08 20:20:00 +00:00
Treehugger Robot
07d5a5d873 Merge "Audio HAL: Add latency mode APIs" am: 5c264411c6 am: 909e4b4cc5
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware/+/1975466

Change-Id: I27b4677df694901c1fbfc7dbfe298feaf18bed33
2022-02-08 20:14:46 +00:00