Commit graph

5877 commits

Author SHA1 Message Date
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
TreeHugger Robot
7af95ea02d Merge "Add heading to sensors_event_t" 2022-01-27 18:43:08 +00:00
Eric Laurent
e689139808 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
2022-01-27 15:59:06 +01:00
Tyler Trephan
3d9af7ccfd Add heading to sensors_event_t
Bug: 189983308
Test: compile (definitions only)
Change-Id: I01b75ecae37755bf43321d99e465a9dc42e2e318
2022-01-26 18:27:43 +00:00
Eva Chen
544076be9c Add TYPE_HEADING sensor type definitions.
Bug: 189983308
Test: Presubmits
Change-Id: I74186ac6685a376158101f65d2687f1905c09814
2022-01-25 17:10:44 -08:00
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