Commit graph

5852 commits

Author SHA1 Message Date
Erik Staats
d1f1fbbcbc Revert "dynamic_sensor: Add sensor manager init to sub-HAL 2.1." am: 3482ca5bf7
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware/+/15847974

Change-Id: I6b03f469dc325b34299026e5ebf9edd87a00dbac
2021-09-16 23:13:14 +00:00
Erik Staats
3482ca5bf7 Revert "dynamic_sensor: Add sensor manager init to sub-HAL 2.1."
This reverts commit 28b58c62b5.

Reason for revert: 200210164

Change-Id: I6be2c972a29ec7943dbdf450ef3e491065b011a6
2021-09-16 22:58:51 +00:00
Erik Staats
913254ad60 dynamic_sensor: Add sensor manager init to sub-HAL 2.1. am: 28b58c62b5 am: e9155bf1ab
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware/+/15831086

Change-Id: Id605f4fae90edd7b297242e097e06603baa0ec19
2021-09-16 22:04:51 +00:00
Erik Staats
e9155bf1ab dynamic_sensor: Add sensor manager init to sub-HAL 2.1. am: 28b58c62b5
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware/+/15831086

Change-Id: If722b13e3608c77280b2406002eb35fa841930e6
2021-09-16 21:49:51 +00:00
Erik Staats
28b58c62b5 dynamic_sensor: Add sensor manager init to sub-HAL 2.1.
Bug: 195964858
Test: Verified dynamic sensor manager is present in sensor list.
Test: Test: See details in testing done comment in
 https://googleplex-android-review.git.corp.google.com/15831086 .
Change-Id: Ia34596d79f8a6c6985b35dcae75126e456f6009e
2021-09-15 13:48:11 -07:00
Erik Staats
bbc958cf17 dynamic_sensor: Add stubbed sensor multi-HAL 2.1 support. am: 2ac7393bd8 am: c939db938c
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware/+/15806307

Change-Id: I1e7f9e8a1dc30765c4e06e7e76600a24238e5583
2021-09-14 17:38:15 +00:00
Erik Staats
c939db938c dynamic_sensor: Add stubbed sensor multi-HAL 2.1 support. am: 2ac7393bd8
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware/+/15806307

Change-Id: I915bce8d49e26b879c4ec0b6a4d87fef55f294a3
2021-09-14 17:16:29 +00:00
Erik Staats
2ac7393bd8 dynamic_sensor: Add stubbed sensor multi-HAL 2.1 support.
Bug: 195964858
Test: Verified the dynamic sensor sub-HAL initializes and non-dynamic
 sensors can sample.
Test: See details in testing done comment in
 https://googleplex-android-review.git.corp.google.com/15806307 .
Change-Id: I59934814cc61c7319731eb840ff2132a8c5ce241
2021-09-13 15:03:51 -07:00
Xin Li
2f676b3e69 [automerger skipped] Merge sc-dev-plus-aosp-without-vendor@7634622 am: 1a7761431d -s ours am: ceff5ecf17 -s ours am: b1955d7682 -s ours am: f1efde9004 -s ours
am skip reason: Merged-In I8d13832dd297c5ca7ddeb87fb5302e5bad82c309 with SHA-1 920309b25f is already in history

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

Change-Id: I021f0eae42203edf9f3708cb2be22e6b4915d739
2021-08-18 00:23:27 +00:00
Xin Li
f1efde9004 [automerger skipped] Merge sc-dev-plus-aosp-without-vendor@7634622 am: 1a7761431d -s ours am: ceff5ecf17 -s ours am: b1955d7682 -s ours
am skip reason: Merged-In I8d13832dd297c5ca7ddeb87fb5302e5bad82c309 with SHA-1 920309b25f is already in history

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

Change-Id: Ib2515ec945002702c0a87143e2072eb865e78ae2
2021-08-17 20:32:08 +00:00
Xin Li
b1955d7682 [automerger skipped] Merge sc-dev-plus-aosp-without-vendor@7634622 am: 1a7761431d -s ours am: ceff5ecf17 -s ours
am skip reason: Merged-In I8d13832dd297c5ca7ddeb87fb5302e5bad82c309 with SHA-1 920309b25f is already in history

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

Change-Id: Id52ca43e76f697e06a6d429064eec0b8668dc0fb
2021-08-17 19:46:04 +00:00
Xin Li
ceff5ecf17 [automerger skipped] Merge sc-dev-plus-aosp-without-vendor@7634622 am: 1a7761431d -s ours
am skip reason: Merged-In I8d13832dd297c5ca7ddeb87fb5302e5bad82c309 with SHA-1 920309b25f is already in history

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

Change-Id: I38a17ffc270cc365a8b17315149d236fd4696035
2021-08-17 18:35:33 +00:00
Xin Li
1a7761431d Merge sc-dev-plus-aosp-without-vendor@7634622
Merged-In: I8d13832dd297c5ca7ddeb87fb5302e5bad82c309
Change-Id: I9d5a74b5189e6b445ef922da0f81884d60ac82f4
2021-08-14 06:30:58 +00:00
Andy Hung
9905011233 USB Audio Hal: Fix CTS timestamp handling am: 61583424ff am: 920309b25f am: acabe2f664
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware/+/15190378

Change-Id: I5087bccb69394c54521316740b22b8e0e34e8bcb
2021-07-05 07:56:10 +00:00
Andy Hung
a2788e2ae9 USB Audio Hal: Fix CTS timestamp handling am: 61583424ff am: 980d917469 am: 3afbc70013
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware/+/15190378

Change-Id: Ief9f17b0a77ce6c4eb008a741f702e426fdccb31
2021-07-05 07:55:50 +00:00
Andy Hung
acabe2f664 USB Audio Hal: Fix CTS timestamp handling am: 61583424ff am: 920309b25f
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware/+/15190378

Change-Id: I527b22bfe77e3a62952e4d71a28b7f3ab935d80b
2021-07-05 07:42:38 +00:00
Andy Hung
3afbc70013 USB Audio Hal: Fix CTS timestamp handling am: 61583424ff am: 980d917469
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware/+/15190378

Change-Id: I3230339227bc905329a2838c3bc77bcfb84747f2
2021-07-05 07:42:00 +00:00
Andy Hung
8c6e35a9d8 USB Audio Hal: Fix CTS timestamp handling am: 61583424ff am: 07c80fdaa0
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware/+/15190378

Change-Id: I03d7042c652c6494ad4a8dd085a3895eba9b3c46
2021-07-05 07:41:36 +00:00
Andy Hung
980d917469 USB Audio Hal: Fix CTS timestamp handling am: 61583424ff
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware/+/15190378

Change-Id: Ic90d8c34a120a2a98d576d583eadcc2392da844b
2021-07-05 07:32:29 +00:00
Andy Hung
920309b25f USB Audio Hal: Fix CTS timestamp handling am: 61583424ff
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware/+/15190378

Change-Id: I8d13832dd297c5ca7ddeb87fb5302e5bad82c309
2021-07-05 07:31:50 +00:00
Andy Hung
07c80fdaa0 USB Audio Hal: Fix CTS timestamp handling am: 61583424ff
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware/+/15190378

Change-Id: I4352a8bf0fe4824b5a5e1d5a7d9050a922e7118a
2021-07-05 07:31:41 +00:00
Andy Hung
61583424ff USB Audio Hal: Fix CTS timestamp handling
Bug: 192702566
Test: atest AudioRecordTest#testTimestamp
Change-Id: I3f045b309c8a95ecbe042fd9222e627cac2cb1c9
2021-07-02 17:57:16 -07:00
Treehugger Robot
80cf50d3d4 Merge "add is_valid to oob data" am: f1b6a25970 am: 37b2639e96 am: 910783ccd8 am: b7fb1e9e39
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware/+/1740145

Change-Id: I3c298c08fa0c2da2f0b1eedd028b42dff06ad095
2021-06-28 19:03:42 +00:00
Treehugger Robot
b7fb1e9e39 Merge "add is_valid to oob data" am: f1b6a25970 am: 37b2639e96 am: 910783ccd8
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware/+/1740145

Change-Id: I93e6fff4eb4192234f689c6c09fbefe2a52556ab
2021-06-28 18:47:50 +00:00
Treehugger Robot
910783ccd8 Merge "add is_valid to oob data" am: f1b6a25970 am: 37b2639e96
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware/+/1740145

Change-Id: I8613409beb35df171e8beacd187f4dfd5a255e71
2021-06-28 18:37:52 +00:00
Treehugger Robot
37b2639e96 Merge "add is_valid to oob data" am: f1b6a25970
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware/+/1740145

Change-Id: Ie46270f7ef2e71ee093eae47d15692bae84b07eb
2021-06-28 18:20:48 +00:00
Treehugger Robot
f1b6a25970 Merge "add is_valid to oob data" 2021-06-28 18:07:27 +00:00
Martin Brabham
44e1aaab15 add is_valid to oob data
Bug: 178007935
Test: manual, test app
Tag: #feature
Change-Id: I9ba3639904471a4c34d8f5df753c416e149749c7
2021-06-18 10:18:31 -07:00
Andy Hung
b86e2fca9a USB audio hal: Support FCC_LIMIT for 22.2 testing am: df51120802 am: aa6849af11 am: 049a1cc160
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware/+/14894689

Change-Id: Ibc6d08abe359d9b8d0e4f94ccc2f4f71e79970ea
2021-06-09 20:40:12 +00:00
Andy Hung
049a1cc160 USB audio hal: Support FCC_LIMIT for 22.2 testing am: df51120802 am: aa6849af11
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware/+/14894689

Change-Id: Id4b59a06d19ca438af44ff9108e6a19061282cf6
2021-06-09 20:22:51 +00:00
Andy Hung
0da19e906a USB audio hal: Support FCC_LIMIT for 22.2 testing am: df51120802 am: 5175fb5860 am: af8e34d6f9
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware/+/14894689

Change-Id: I31c6de04cb28bc09f0771e05a381215b4520e29a
2021-06-09 20:08:00 +00:00
Andy Hung
af8e34d6f9 USB audio hal: Support FCC_LIMIT for 22.2 testing am: df51120802 am: 5175fb5860
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware/+/14894689

Change-Id: I3e086497ef04553e075576eafe884ed0bea4a47e
2021-06-09 20:05:28 +00:00
Andy Hung
50c2941276 USB audio hal: Support FCC_LIMIT for 22.2 testing am: df51120802 am: 6c4ceb6471
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware/+/14894689

Change-Id: Id54f20770e527e4b1201be394de9b33c944262c5
2021-06-09 20:05:20 +00:00
Andy Hung
aa6849af11 USB audio hal: Support FCC_LIMIT for 22.2 testing am: df51120802
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware/+/14894689

Change-Id: Ib04f464dd0ca2d56da1236b2c981c861be570e51
2021-06-09 20:04:31 +00:00
Andy Hung
5175fb5860 USB audio hal: Support FCC_LIMIT for 22.2 testing am: df51120802
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware/+/14894689

Change-Id: Id9a88b9d718b3b6da3ed9aaa670ffee068115f2f
2021-06-09 19:59:01 +00:00
Andy Hung
6c4ceb6471 USB audio hal: Support FCC_LIMIT for 22.2 testing am: df51120802
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware/+/14894689

Change-Id: I2836bcd464dc75d9c77eb9993d7b4f1be5ff99d9
2021-06-09 19:57:26 +00:00
Andy Hung
df51120802 USB audio hal: Support FCC_LIMIT for 22.2 testing
Test: dedicated test with FCC_LIMIT = 12, 24
Bug: 189325443
Change-Id: I4a54b77c013e44bef02d612a2b93dfe71b300e32
2021-06-08 07:13:16 -07:00
TreeHugger Robot
481e40bc75 Merge "Distinguish input and output profile/proxy when dumpping." 2021-06-03 19:07:10 +00:00
TreeHugger Robot
e278425c6c Merge "No need to update devices when they are the same as original ones." 2021-06-03 17:42:17 +00:00
jiabin
0269a9d1df Distinguish input and output profile/proxy when dumpping.
Bug: 188843084
Test: adb shell dumpsys media.audio_flinger
Change-Id: I1883905c2edeb0208be129aca79396106f5ea6d3
2021-06-03 17:39:43 +00:00
jiabin
4bc5f25296 No need to update devices when they are the same as original ones.
The audio framework will call create_audio_patch to update the new
input/output devices. When the new devices are the same as the original
ones, there is no need to update.

Bug: 188843084
Test: play audio via USB
Change-Id: I4bf2a51a0e88797f2d78513962e18009c59f46c3
2021-06-02 22:53:32 +00:00
Xin Li
88310d5554 Merge sc-mainline-prod
Bug: 189946434
Change-Id: Iad9292fdb98c54f96fc1d91f4d83660315525476
2021-06-02 16:51:48 +00:00
Yifan Hong
d11907da86 Merge "Use libgtest_prod_headers." am: 7749ef2a4a am: fc3c4d6cb4 am: 09df2e2c96 am: b562c5633e am: c18a6f26cc
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware/+/1687225

Change-Id: I8dff5369fd0263ba068be33bf2e15eff6d3c391c
2021-05-15 11:48:27 +00:00
Yifan Hong
c18a6f26cc Merge "Use libgtest_prod_headers." am: 7749ef2a4a am: fc3c4d6cb4 am: 09df2e2c96 am: b562c5633e
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware/+/1687225

Change-Id: I49865487dfc5dff94db0223b5b344cfa2a0b809e
2021-04-28 22:37:12 +00:00
Yifan Hong
dbac8f803c Merge "Use libgtest_prod_headers." am: 7749ef2a4a am: fc3c4d6cb4 am: 09df2e2c96 am: b562c5633e
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware/+/1687225

Change-Id: I7918cb8f509e7b1164ba2bfd485bbdb08e6a5978
2021-04-28 22:34:04 +00:00
Yifan Hong
ed7fe03695 Merge "Use libgtest_prod_headers." am: 7749ef2a4a am: fc3c4d6cb4 am: 09df2e2c96 am: b562c5633e
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware/+/1687225

Change-Id: Id123e13394947a8e3f06b59bdb640289135f9549
2021-04-28 22:33:32 +00:00
Yifan Hong
b562c5633e Merge "Use libgtest_prod_headers." am: 7749ef2a4a am: fc3c4d6cb4 am: 09df2e2c96
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware/+/1687225

Change-Id: I19e5fa41a24414e66153b8cf868c04f97983f330
2021-04-28 22:12:03 +00:00
Yifan Hong
09df2e2c96 Merge "Use libgtest_prod_headers." am: 7749ef2a4a am: fc3c4d6cb4
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware/+/1687225

Change-Id: I65e42ca0a082bc3c90994a35d8451d530a5afe91
2021-04-28 21:55:02 +00:00
Yifan Hong
fc3c4d6cb4 Merge "Use libgtest_prod_headers." am: 7749ef2a4a
Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware/+/1687225

Change-Id: I519b644d9185facea7a212063c61e287c809ef6a
2021-04-28 21:21:54 +00:00
Yifan Hong
7749ef2a4a Merge "Use libgtest_prod_headers." 2021-04-28 20:53:30 +00:00