Commit graph

34909 commits

Author SHA1 Message Date
Treehugger Robot
6fc603725c Merge "audio: Add AIDL definitions for Playback/RecordTrackMetadata" am: f96d2ef9b6
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1936041

Change-Id: I766a12d1c179ac89c38239b039388e0749f3fe0b
2022-01-07 13:26:34 +00:00
Treehugger Robot
e0a7d60db0 Merge "Add new aidl interface for android.hardware.bluetooth.audio" 2022-01-07 13:07:25 +00:00
Treehugger Robot
f96d2ef9b6 Merge "audio: Add AIDL definitions for Playback/RecordTrackMetadata" 2022-01-07 13:07:11 +00:00
Treehugger Robot
293d0429b7 Merge "Update HAL structure to include offload capability for broadcast" am: f1605faea0 am: cd60444394
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1936050

Change-Id: I6f5f40f9090ef14e4608bb092fd473a9a8cb241d
2022-01-07 09:38:32 +00:00
Treehugger Robot
cd60444394 Merge "Update HAL structure to include offload capability for broadcast" am: f1605faea0
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1936050

Change-Id: Ib71ff21d5e7079fccc2fc0813acdb2d5803f2049
2022-01-07 09:25:35 +00:00
Treehugger Robot
f1605faea0 Merge "Update HAL structure to include offload capability for broadcast" 2022-01-07 09:05:45 +00:00
Treehugger Robot
3284c9aec4 Merge "Verify op_ is not a nullptr" am: 2d63764c34 am: a8b92e548f
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1940573

Change-Id: I7a9c97c9e5a3f54f56b01153682667434a8d0125
2022-01-07 07:05:59 +00:00
Treehugger Robot
a8b92e548f Merge "Verify op_ is not a nullptr" am: 2d63764c34
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1940573

Change-Id: I4964df7408afa67cb49f1b0f04b56ed42e050dc7
2022-01-07 06:52:23 +00:00
Treehugger Robot
2d63764c34 Merge "Verify op_ is not a nullptr" 2022-01-07 06:35:30 +00:00
Treehugger Robot
2954763f9c Merge "[LSC] Add LOCAL_LICENSE_KINDS to hardware/interfaces" am: 782706bd09 am: c63160ed14
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1937409

Change-Id: I8b285f728ea147127dc8a9764f41f7159076cb2c
2022-01-07 02:00:39 +00:00
Treehugger Robot
c63160ed14 Merge "[LSC] Add LOCAL_LICENSE_KINDS to hardware/interfaces" am: 782706bd09
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1937409

Change-Id: I7ad7e7d77082e82e75417874f5c471ba27c91dfd
2022-01-07 01:44:49 +00:00
Treehugger Robot
782706bd09 Merge "[LSC] Add LOCAL_LICENSE_KINDS to hardware/interfaces" 2022-01-07 01:29:39 +00:00
Brian J Murray
eabd9d6d2a Verify op_ is not a nullptr
If op_ is a nullptr, the test runner can SIGSEGV.

Test: manual, atest EncryptionOperationsTest#TripleDesCbcPkcs7PaddingCorrupted
Bug: None

Signed-off-by: Brian J Murray <brianjmurray@google.com>
Change-Id: Ibdd6139952ca8bc83ac1a82202839feee39562e1
2022-01-06 15:26:16 -08:00
Sarah Chin
613c119c57 Merge changes Ic82ffd2f,I29632003 am: fd593414cd am: 869d9061c9
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1937404

Change-Id: I7c1414f3b42b0d483e8fb5a0279f877c2dd2ae9d
2022-01-06 22:23:51 +00:00
Sarah Chin
54068d9df2 Convert hidl_bitfield and bitfield to int am: c9d3b7b9d6 am: f60e5afd6f
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1937403

Change-Id: I7643546cebc77f119a51c5c91f116ffe52346a50
2022-01-06 22:23:49 +00:00
Sarah Chin
869d9061c9 Merge changes Ic82ffd2f,I29632003 am: fd593414cd
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1937404

Change-Id: I9730fdf7e5e43ad17a2c571bc35b82aa84a6fb55
2022-01-06 22:10:22 +00:00
Sarah Chin
f60e5afd6f Convert hidl_bitfield and bitfield to int am: c9d3b7b9d6
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1937403

Change-Id: I8199e07b4817ade02476aa72730ec932735552f9
2022-01-06 22:10:20 +00:00
Sarah Chin
fd593414cd Merge changes Ic82ffd2f,I29632003
* changes:
  Finish IRadio 1.6/IRadioConfig 1.3 AIDL VTS
  Convert hidl_bitfield and bitfield to int
2022-01-06 21:52:35 +00:00
TreeHugger Robot
18848a6d96 Merge "Revert "Merge "Revert "VTS for IRadio AIDL"" am: 3a16f8fe50"" into stage-aosp-master am: b60c0d6c2d
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/16571426

Change-Id: Ie23fe2dd95689d1f6c759ef81f69f773a7f2ac44
2022-01-06 18:50:11 +00:00
TreeHugger Robot
b60c0d6c2d Merge "Revert "Merge "Revert "VTS for IRadio AIDL"" am: 3a16f8fe50"" into stage-aosp-master 2022-01-06 18:31:29 +00:00
Tomasz Wasilczyk
0597996a93 Port ID is always 0 for HIDL HAL. am: e807d37229 am: 16827ce18b
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1937406

Change-Id: I56ad0febbb1240a2e266ecc00fb89c84fa3bf89d
2022-01-06 18:21:19 +00:00
Tomasz Wasilczyk
fe0b32992f Fix minor TODOs in HIDL-AIDL translation shim am: 9c922979d2 am: edd5a0b119
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1937405

Change-Id: Ie72a1e34da7bde1ed2c7d90fac2c256cd32f9885
2022-01-06 18:21:18 +00:00
Tomasz Wasilczyk
16827ce18b Port ID is always 0 for HIDL HAL. am: e807d37229
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1937406

Change-Id: I1349c5232478512f494360e45d7929fda2af2c27
2022-01-06 18:08:17 +00:00
Tomasz Wasilczyk
edd5a0b119 Fix minor TODOs in HIDL-AIDL translation shim am: 9c922979d2
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1937405

Change-Id: Id1bcea1e483f4bd15ecbe8fbff3ff9c59c874697
2022-01-06 18:08:16 +00:00
Patty
2e64b4d9f6 Update HAL structure to include offload capability for broadcast
Bug: 205806028
Bug: 150670922
Test: make build
Change-Id: Ife4a3585474999855ffb04f3946462a137fdc181
2022-01-07 00:19:53 +08:00
Alice Kuo
a4dbaffaec Add new aidl interface for android.hardware.bluetooth.audio
Bug: 203490261
Test: m android.hardware.bluetooth.audio-update-api

Change-Id: Ida6d664b2c3eedfb4c3abaece7c3540623c72270
Merged-In: Ida6d664b2c3eedfb4c3abaece7c3540623c72270
2022-01-06 07:26:18 +00:00
Josh Wu
73cddd17b5 audio: Add AIDL definitions for Playback/RecordTrackMetadata
This is a temporary change for unblocking Bluetooth
audio AIDL development. When Audio AIDL gets
released officially, it should be overwritten.

Bug: 198812639
Test: m android.hardware.audio.common
Test: m check-vintf-all
Change-Id: Ia63135da4af4682e471e7de6b191b19e7a326a1e
Merged-In: I7064c3819d4c8e61981542ca2ccc52ca992a4ef8
2022-01-06 06:32:36 +00:00
Tomasz Wasilczyk
e807d37229 Port ID is always 0 for HIDL HAL.
Bug: 203699028
Test: Build and boot Cuttlefish
Change-Id: Ie948537d63a68e1c9e6c99422b4868e86dee9de9
2022-01-06 03:25:49 +00:00
Tomasz Wasilczyk
9c922979d2 Fix minor TODOs in HIDL-AIDL translation shim
Bug: 203699028
Bug: 210498497
Test: build and boot Cuttlefish
Change-Id: I82dd52f313b5768cfccf0d6a7705b28dfcff24fa
2022-01-06 03:25:37 +00:00
Yifan Hong
ab2f8bc0c3 health: Add libhealth_aidl_impl_user. am: fab263ceae am: 1478a6ff47
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1937725

Change-Id: Id298173e1de8344113ffe4fdc1c450ae230df135
2022-01-06 00:59:29 +00:00
Yifan Hong
1478a6ff47 health: Add libhealth_aidl_impl_user. am: fab263ceae
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1937725

Change-Id: I3c17424965cefebf2ac7a0cd5da562e1122c7eef
2022-01-06 00:46:52 +00:00
Sarah Chin
48f28fe304 Revert "Merge "Revert "VTS for IRadio AIDL"" am: 3a16f8fe50"
This reverts commit d67460a55e.

Reason for revert: Build error for original change was resolved. Reverting in stage-aosp-master because original change was submitted to AOSP in aosp/1932967 and automerger skipped starting from stage-aosp-master

Change-Id: I72c185b1647f36b2e423c67c8ed6d751220b1586
Merged-In: I82c1b0f4d3b6698e663a5b8b33e9d9f47f7d095d
2022-01-06 00:21:11 +00:00
Yifan Hong
fab263ceae health: Add libhealth_aidl_impl_user.
This is the defaults for users of libhealth_aidl_impl.

Test: builds
Bug: 213273090
Change-Id: Iddcc0a0bc194f337c5e9a632ea2468140804a30a
2022-01-05 14:47:53 -08:00
Tomasz Wasilczyk
bab55dd944 Merge changes Iac870a24,I74afe105,I7db17475,I1e0cd95f am: bf3f93bbf4 am: 5960c25ade
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1936783

Change-Id: I0c6b33f07e217ac69e0c87f5521cf35597b65495
2022-01-05 22:45:05 +00:00
Tomasz Wasilczyk
e62e62b222 Set HAL response functions after framework sets all of theirs. am: 963a56f74e am: 648548660f
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1936782

Change-Id: Icb197d299de9b0b7ed87d9c45d844255d7f7534d
2022-01-05 22:45:05 +00:00
Tomasz Wasilczyk
3dd62c2f33 Use most recent available HAL methods. am: 571542b4be am: fc09a73a4a
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1936781

Change-Id: I24040ac3197daec523f8b355dfdf57265db84180
2022-01-05 22:45:04 +00:00
Tomasz Wasilczyk
5ea003c514 Use AIDL callbacks directly. am: 60638572b2 am: a1aa491864
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1936780

Change-Id: I05d709b608436d7582fdba6558f6b9b7127f76ad
2022-01-05 22:45:03 +00:00
Chen Xu
106d4db4f1 Merge "HAL doc: iccOpenLogicalChannel for MEP-A" am: 93cb928676 am: d0fbd7606f
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1936878

Change-Id: I06386b2e9a89a96d109370310f1a005ea2d23ff3
2022-01-05 22:44:10 +00:00
Tomasz Wasilczyk
5960c25ade Merge changes Iac870a24,I74afe105,I7db17475,I1e0cd95f am: bf3f93bbf4
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1936783

Change-Id: I269fbedaddd0f36c8725f94d82b16c97b2885cad
2022-01-05 22:34:34 +00:00
Tomasz Wasilczyk
648548660f Set HAL response functions after framework sets all of theirs. am: 963a56f74e
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1936782

Change-Id: I0445bfb4e0733d35fe5690bee0ea64c9b04dee0c
2022-01-05 22:34:33 +00:00
Tomasz Wasilczyk
fc09a73a4a Use most recent available HAL methods. am: 571542b4be
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1936781

Change-Id: I9e35b472bf5f584a35101e634700ea709ff85e17
2022-01-05 22:34:33 +00:00
Tomasz Wasilczyk
a1aa491864 Use AIDL callbacks directly. am: 60638572b2
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1936780

Change-Id: If51b527d8346b25638fa18573001b4c2910664c4
2022-01-05 22:34:31 +00:00
Chen Xu
d0fbd7606f Merge "HAL doc: iccOpenLogicalChannel for MEP-A" am: 93cb928676
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1936878

Change-Id: I694db8ec7c48862a097287a0cab8f16e85d3dc59
2022-01-05 22:31:56 +00:00
Sarah Chin
91997ac089 Finish IRadio 1.6/IRadioConfig 1.3 AIDL VTS
Implement IRadioConfig VTS and helper methods
Verify that VtsHalRadioTargetTest passes

Bug: 210712359
Test: atest VtsHalRadioTargetTest
Change-Id: Ic82ffd2feacc107e9b291ef3aab861d0c1496489
Merged-In: Ic82ffd2feacc107e9b291ef3aab861d0c1496489
2022-01-05 14:29:35 -08:00
Sarah Chin
c9d3b7b9d6 Convert hidl_bitfield and bitfield to int
The previous API surface replaced bitfields of enums with the enum,
which only allows one value at a time. Instead of using the enum,
replace with int instead.

Test: build
Bug: 210712359
Change-Id: I2963200311494718ae89af8deade0b1dd41354f8
Merged-In: I2963200311494718ae89af8deade0b1dd41354f8
2022-01-05 14:28:57 -08:00
Tomasz Wasilczyk
bf3f93bbf4 Merge changes Iac870a24,I74afe105,I7db17475,I1e0cd95f
* changes:
  Move Radio HAL compat shim logs to radio buffer
  Set HAL response functions after framework sets all of theirs.
  Use most recent available HAL methods.
  Use AIDL callbacks directly.
2022-01-05 22:22:35 +00:00
Chen Xu
93cb928676 Merge "HAL doc: iccOpenLogicalChannel for MEP-A" 2022-01-05 22:14:08 +00:00
Sarah Chin
1ddd9c9ac3 [automerger skipped] Merge "VTS for IRadio AIDL" am: a371db6531 -s ours am: 8d5f560580 -s ours
am skip reason: Merged-In I4ee665519bfd2fc818fb68beee1f158b10e46176 with SHA-1 90c6bf5616 is already in history

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1932967

Change-Id: I9931cc92bb6949c250291084b3d3bc81e441b458
2022-01-05 21:28:40 +00:00
Sarah Chin
8d5f560580 [automerger skipped] Merge "VTS for IRadio AIDL" am: a371db6531 -s ours
am skip reason: Merged-In I4ee665519bfd2fc818fb68beee1f158b10e46176 with SHA-1 90c6bf5616 is already in history

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1932967

Change-Id: I2729016fc5d990ae34c452feba0f9897883d531d
2022-01-05 21:17:59 +00:00
Sarah Chin
a371db6531 Merge "VTS for IRadio AIDL" 2022-01-05 21:02:29 +00:00