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
Treehugger Robot
909e4b4cc5
Merge "Audio HAL: Add latency mode APIs" am: 5c264411c6
...
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware/+/1975466
Change-Id: Idfbf54929627e785aa9efe02f41fc6a336c30d14
2022-02-08 19:54:45 +00:00
Treehugger Robot
5c264411c6
Merge "Audio HAL: Add latency mode APIs"
2022-02-08 19:35:58 +00:00
Eric Laurent
3a14e04923
Audio HAL: Add latency mode APIs
...
Add APis for controlling the latency mode on an output stream.
Latency mode control is optional but mandated if spatial audio with
head tracking is supported over Bluetooth classic audio link.
Bug: 187446271
Test: make
Change-Id: I30a7f34a265ddac69b283c803b5729770426ebf1
(cherry picked from commit e689139808
)
Merged-In: I30a7f34a265ddac69b283c803b5729770426ebf1
2022-02-07 19:57:47 +00:00
TreeHugger Robot
1e78a4260d
Merge "r_submix module: pipe size changes with sample rate"
2022-02-02 17:40:13 +00:00
Jean-Michel Trivi
71834f3775
r_submix module: pipe size changes with sample rate
...
Adapt the pipe size based on the sample rate.
Behavior is unchanged for the default sample rate (48kHz), size
is adjusted by the ratio relative to the default rate.
Bug: 141604269
Test: atest AudioHostTest#testTwoChannelCapturingMediaConversion
Change-Id: I0ba45af18ef02dc0ef77d480e1203d2cd1db9864
2022-02-02 08:27:24 -08:00
Roopa Sattiraju
10af36db66
Merge "Adding bluetooth apex" am: eb9947d30d
am: 137114ba46
am: 36e4b68091
am: 04a0700f25
...
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware/+/1931307
Change-Id: If763e8ab40a40dcc1ef08cbb08176b29150f9d25
2022-02-02 06:14:39 +00:00
Roopa Sattiraju
04a0700f25
Merge "Adding bluetooth apex" am: eb9947d30d
am: 137114ba46
am: 36e4b68091
...
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware/+/1931307
Change-Id: Icd9f086edbc37aebbb1c2043d8784e0d5cbe66a0
2022-02-02 06:00:02 +00:00
Roopa Sattiraju
36e4b68091
Merge "Adding bluetooth apex" am: eb9947d30d
am: 137114ba46
...
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware/+/1931307
Change-Id: Ic2fee753889c7e61535a508f3c614197723ea9de
2022-02-02 05:51:33 +00:00
Roopa Sattiraju
137114ba46
Merge "Adding bluetooth apex" am: eb9947d30d
...
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware/+/1931307
Change-Id: I2b64a8db6a05a3a627f13523a96530e8f5ce1b35
2022-02-02 05:34:21 +00:00
Roopa Sattiraju
eb9947d30d
Merge "Adding bluetooth apex"
2022-02-02 05:17:24 +00:00
Roopa Sattiraju
da4e70bc33
Adding bluetooth apex
...
Bug: 206121418
Test: Compile
Change-Id: Ib7dcc33843a2173e353ba6e52f7f423cbf445915
2022-02-01 13:37:56 -08:00
Mikhail Naganov
5c789ae9e7
Merge "Add audio_hw_device.set_device_connected_state_v7 method"
2022-02-01 20:52:49 +00:00
Mikhail Naganov
521310bc26
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
2022-01-31 22:52:21 +00:00
Eric Laurent
b0bcbf421f
Merge "Audio HAL: Add latency mode APIs"
2022-01-31 19:24:27 +00:00
Erik Staats
cbcdc02ef4
dynamic_sensor: Support Android head tracker sensor type.
...
Bug: 189507742
Test: Verified head tracker sensor type and sampling.
Test: Verified custom Android sensor sampling.
Change-Id: Id403de916111ed737b9cebebe9850d5e5845cf56
2022-01-27 20:10:57 +00:00