Commit graph

43882 commits

Author SHA1 Message Date
Donghong Weng
3aa5895a2f Merge "Explicit conversion" am: 160a22f49e am: 3c745ce814 am: 33e9c08107
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2186215

Change-Id: Iaf5ac7f58931c56dd2461b7625bd1662b2e14aa7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-22 02:45:34 +00:00
Treehugger Robot
08f3ea9e97 Merge changes from topic "cp-libwifihal-soong"
* changes:
  Build libwifi-hal-* modules only for the first arch
  android.hardware.wifi@1.0-service in soong
2022-08-22 02:30:56 +00:00
Donghong Weng
33e9c08107 Merge "Explicit conversion" am: 160a22f49e am: 3c745ce814
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2186215

Change-Id: Iab95ab07fe0a63dd705c6e12f7754c8850473d28
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-22 02:27:34 +00:00
Donghong Weng
3c745ce814 Merge "Explicit conversion" am: 160a22f49e
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2186215

Change-Id: Icde93ba9318a7fc90c6d65f801aa402a466d7e99
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-22 02:07:57 +00:00
Donghong Weng
160a22f49e Merge "Explicit conversion" 2022-08-22 01:45:35 +00:00
Jooyung Han
4d87b2ee92 Merge changes from topic "cp-libwifihal-soong" into tm-qpr-dev-plus-aosp
* changes:
  Build libwifi-hal-* modules only for the first arch
  android.hardware.wifi@1.0-service in soong
2022-08-22 01:10:53 +00:00
Jiyong Park
d25eddfd7d Explicitly depend on audio.common-V1
Background:

android.hardware.audio.common was frozen in the upstream tm-dev.
Previously, the interface had only V1 (as the in-development version)
and it was in the VNDK. However, after the freeze, it will have V1 and
V2, and only V1 will remain in the VNDK, because we can't have multiple
versions of the same AIDL interface in VNDK (it's just waste of memory).

android.hardware.audio.core is a new AIDL interface that doesn't exist
in TM. It is also a member of VNDK and imports the audio.common
interface. So far, the import has been done without an explicit version
number (i.e. `imports: ["android.hardware.audio.common"]`). As a result,
V1 was imported before the freeze, and V2 (the latest) will be imported
after the freeze.

Problem:

audio.core depending on audio.common-V2 is NOT allowed since the former
is a member of VNDK, but the latter isn't. VNDK should form a closure.
We are actually hitting this:

```
> error: hardware/interfaces/audio/aidl/Android.bp:71:1: module
"android.hardware.audio.core-V1-ndk" variant
"android_vendor.Tiramisu_arm64_armv8-a_static" (created by module
"android.hardware.audio.core-V1-ndk-generator" (created by module
"android.hardware.audio.core_interface")): (native:vendor:vndk) should
not link to "android.hardware.audio.common-V2-ndk" (native:vendor):
VNDK-core must only depend on VNDK-core or VNDK-SP
```

To fix this, make the dependency to audio.common to be explicit about
the version. This change can't be uploaded to tm-dev as audio.core
doesn't exist there, and must be submitted before the AIDL APIs are
frozen there.

Bug: 225941299
Test: m

Merged-In: Iadc96d558d5c7431b0a2b0cbd28b99319a24ee44
Change-Id: Iadc96d558d5c7431b0a2b0cbd28b99319a24ee44
(cherry picked from commit cc489264af)
2022-08-20 00:14:53 +00:00
Mikhail Naganov
e5d747e908 audio HAL: initial VTS tests
Tests basic functionality for enumerating
capabilities of an audio module, audio patches
creation, and opening of I/O streams.

Bug: 205884982
Test: atest VtsHalAudioCoreTargetTest
Merged-In: I7c7c3c7008f2fc43db1542455c74444a08e55534
Change-Id: I7c7c3c7008f2fc43db1542455c74444a08e55534
(cherry picked from commit 7abc70f908)
2022-08-20 00:14:53 +00:00
Mikhail Naganov
df5adfde15 audio HAL: Minimal example implementation
Implements basic functionality for enumerating
capabilities of an audio module, audio patches
creation, and opening of I/O streams.

Bug: 205884982
Test: atest VtsHalAudioCoreTargetTest
Merged-In: Ie5d67e9192a598260e762ae9368f99592c8ad97e
Change-Id: Ie5d67e9192a598260e762ae9368f99592c8ad97e
(cherry picked from commit ecdc6ca8e8)
2022-08-20 00:14:53 +00:00
Mikhail Naganov
bd4013f179 audio HAL: Initial AIDL interfaces
This adds basic support for enumerating capabilities
of an audio module, creation of patches, and opening of
I/O streams.

Bug: 205884982
Test: atest VtsHalAudioCoreTargetTest
Merged-In: Ib1ef13c95d338b6ef1bde7d87dcd675fc1d35e85
Change-Id: Ib1ef13c95d338b6ef1bde7d87dcd675fc1d35e85
(cherry picked from commit ee27478264)
2022-08-20 00:14:53 +00:00
Jiyong Park
f4b5e7b993 Explicitly depend on V1 of android.media.audio.common.types
... for the same reason as cc489264af

Bug: 225941299
Test: m
Merged-In: I269d61c8c441b3db0832f5450f5e5a84a5989a99
Change-Id: I269d61c8c441b3db0832f5450f5e5a84a5989a99
(cherry picked from commit 446519a370)
2022-08-20 00:14:53 +00:00
Treehugger Robot
6def74e920 Merge "Release the memory allocated in the algorithm to prevent memory leaks" am: a3fe17250d am: a80338f802 am: 89b620d117 am: d6835f6346
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2186106

Change-Id: I6ad3f54784ab9424c8e62a3b86a3a9945214ebbe
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-19 23:47:46 +00:00
Treehugger Robot
d6835f6346 Merge "Release the memory allocated in the algorithm to prevent memory leaks" am: a3fe17250d am: a80338f802 am: 89b620d117
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2186106

Change-Id: I0d9fadac7dfe9b94340fa900e744258aa6eda345
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-19 23:12:11 +00:00
Treehugger Robot
89b620d117 Merge "Release the memory allocated in the algorithm to prevent memory leaks" am: a3fe17250d am: a80338f802
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2186106

Change-Id: I0a82e481eb0655f6bd56a79dbb567f6f800411f4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-19 22:54:57 +00:00
Treehugger Robot
a80338f802 Merge "Release the memory allocated in the algorithm to prevent memory leaks" am: a3fe17250d
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2186106

Change-Id: Ia83b90d5404dce1dbf8febfa0d66309bce547345
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-19 22:27:19 +00:00
Treehugger Robot
a3fe17250d Merge "Release the memory allocated in the algorithm to prevent memory leaks" 2022-08-19 22:09:37 +00:00
Sean Hong
7881d5b6b3 Merge "DO NOT MERGE Add interior light state properties to the emulator for CTS tests" into tm-qpr-dev am: 228e8afcef
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/19642615

Change-Id: Ifdcbacbb1a850419b42743971586d3b90208caee
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-19 22:09:22 +00:00
seanhong
ece89b1699 DO NOT MERGE Add interior light state properties to the emulator for CTS tests am: 1548acc785
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/19642615

Change-Id: Ib10363d193d58ab1f4bb39dacfab5837f3d1b3c3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-19 22:09:20 +00:00
Sean Hong
228e8afcef Merge "DO NOT MERGE Add interior light state properties to the emulator for CTS tests" into tm-qpr-dev 2022-08-19 21:45:34 +00:00
Sean Hong
84a3b12687 Merge "DO NOT MERGE Add SEAT_HEADREST_* properties to the emulator for CTS tests" into tm-qpr-dev am: 5b5822d966
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/19628774

Change-Id: Ia680469d03a14d1be17739c8e926cf1a92143e21
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-19 20:23:53 +00:00
seanhong
321c95cb94 DO NOT MERGE Add SEAT_HEADREST_* properties to the emulator for am: 34e7cd0557
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/19628774

Change-Id: If17806bdbfd6215cb7d29a392e6e1c4174e5fbfb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-19 20:23:50 +00:00
Sean Hong
5b5822d966 Merge "DO NOT MERGE Add SEAT_HEADREST_* properties to the emulator for CTS tests" into tm-qpr-dev 2022-08-19 20:01:49 +00:00
Jiyong Park
eb6bd6a7df Build libwifi-hal-* modules only for the first arch
Previously, the build rules assumed that the target supports both 64 and
32 bit architectures, which isn't true for 32-bit-only targets. That
caused build breakage on such targets. Fixing that by building the
modules only for the first architecture (64 on 64-only or 64/32 target,
and 32 on 32-only target).

Bug: 241916304
Test: build the 32-bit-only target
Merged-In: I5353ab1561622eae12e2dff87eb0f17b47c3773d
Change-Id: I5353ab1561622eae12e2dff87eb0f17b47c3773d
(cherry picked from commit 3ab5c90104)
2022-08-19 15:48:36 +00:00
Jooyung Han
c621940ec7 android.hardware.wifi@1.0-service in soong
As libwifi-hal is migrated to soong, the service is migrated to soong as
well.

Bug: 240099735
Test: CtsWifiTestCases
Merged-In: Ie5a4ec6658d5f6aa3d4902c9c3c4b3bef9ff1cde
Change-Id: Ie5a4ec6658d5f6aa3d4902c9c3c4b3bef9ff1cde
(cherry picked from commit c4ac3355a6)
2022-08-19 15:47:53 +00:00
donghongweng
fd470c4c62 Fix unqualified-std-cast-call compiler warning am: f533ccb14e am: e3b2140f84 am: 930c93ed76 am: 599f7c0175
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2184585

Change-Id: I87b53a34e6f1c7cff0da8c3078f48f03c0b46ab3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-19 07:26:18 +00:00
donghongweng
599f7c0175 Fix unqualified-std-cast-call compiler warning am: f533ccb14e am: e3b2140f84 am: 930c93ed76
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2184585

Change-Id: I1a1d4e5c495e5bf2f7084ea29eacad52d53d14b0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-19 06:59:59 +00:00
donghongweng
930c93ed76 Fix unqualified-std-cast-call compiler warning am: f533ccb14e am: e3b2140f84
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2184585

Change-Id: I6f8c98cc22d42eb5e0f2139d24dd950f933a1977
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-19 06:41:27 +00:00
donghongweng
e3b2140f84 Fix unqualified-std-cast-call compiler warning am: f533ccb14e
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2184585

Change-Id: I2deb3c16ab783766a5a1537da46fca8ce6f7ac00
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-19 06:22:46 +00:00
Sean Hong
7d84b1ff6b Merge changes I17742019,I2768b276 into tm-qpr-dev am: c6c69ced1a
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/19487890

Change-Id: Ic03c4ecbe010799a1e79e01808afd9a0ccd4816f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-19 06:13:16 +00:00
seanhong
cea58d3f59 DO NOT MERGE Add seat lumbar properties to the emulator for CTS tests am: 88ebf20897
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/19487890

Change-Id: I0bbe554c95712cfce84ac9a418bac5fbeb9cf696
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-19 06:13:13 +00:00
Sean Hong
c6c69ced1a Merge changes I17742019,I2768b276 into tm-qpr-dev
* changes:
  DO NOT MERGE Add seat lumbar properties to the emulator for CTS tests
  DO NOT MERGE Add seat tilt properties to the emulator for CTS tests
2022-08-19 05:53:44 +00:00
Changyeon Jo
63ef85b2db Update EVS API descriptions
This CL adds comments to clarify the behavior of
IEvsCameraStrea.notify() when the service attempts to deliver an event,
which is originated from AIDL EVS HAL implementation, to the HIDL
recipients.

Bug: 241722031
Test: treehugger
Change-Id: If6648883f982a90ac30a1636258f896272326c3f
2022-08-18 11:02:35 -07:00
Sean Hong
8299e719b3 Merge "DO NOT MERGE Add seat depth properties to the emulator for CTS tests" into tm-qpr-dev am: f16caf5976
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/19472149

Change-Id: Iebada1cdc440ae3fba215003e88d892c5f272de8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-18 17:30:38 +00:00
seanhong
d70a0fdb0e DO NOT MERGE Add seat depth properties to the emulator for CTS tests am: 30e6d473ac
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/19472149

Change-Id: I852cd7d87cc5b71c99c04e63bc64b9da71a8b9be
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-18 17:30:35 +00:00
Sean Hong
f16caf5976 Merge "DO NOT MERGE Add seat depth properties to the emulator for CTS tests" into tm-qpr-dev 2022-08-18 17:10:52 +00:00
TreeHugger Robot
01799b2761 Merge "DO NOT MERGE Added missing HVAC properties to DefaultConfig.h" into tm-qpr-dev am: ed5949002b
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/19569424

Change-Id: I183dc746a690e35548be7e4beb4522b3ee569627
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-18 16:28:25 +00:00
Tyler Trephan
f66fc94c79 DO NOT MERGE Added missing HVAC properties to DefaultConfig.h am: dcf03f135e
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/19569424

Change-Id: I4522d83d9c0bc64ceb9ac23081acfe8670bd069f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-18 16:28:22 +00:00
TreeHugger Robot
ed5949002b Merge "DO NOT MERGE Added missing HVAC properties to DefaultConfig.h" into tm-qpr-dev 2022-08-18 16:02:31 +00:00
Changyeon Jo
849d0f370c Remove color format constraints
VtsHalEvsTargetTest does not verify any behavior depending on
a frame buffer's color format.

Bug: 240685726
Test: atest VtsHalEvsTargetTest
Change-Id: If8b8c595cfc7404a8122728593f778528b45af15
2022-08-18 04:49:39 +00:00
Liening.Liu
1aa1cf155e Release the memory allocated in the algorithm to prevent memory leaks
In the reference implementation of the identity function, there are two places where the memory requested in the openssl algorithm is not released. This memory should be freed.

Test: Vts/Cts

Bug: 242927524
Change-Id: I88ffba39cb6ec887f395122e4670bf9f1a2d8e12
2022-08-18 02:38:04 +00:00
Yixiao Luo
7c22a89d1d Add OWNERS file to TV Input HAL
Bug: 227673740
Test: N/A
Change-Id: I35db194e2597cdd17ecb7b15c5591fb1009e1be8
2022-08-17 18:46:14 -07:00
Xin Li
7406132b49 Merge android13-tests-dev
Merged-In: Ie372f74f3a52decce592181c7d65624f8ec03ed1
Change-Id: Ia81e24391de0d26737a5d65fbc5c8bb86bf03d5b
2022-08-17 16:37:46 -07:00
donghongweng
f533ccb14e Fix unqualified-std-cast-call compiler warning
Test: m
Change-Id: I403ce701846a3d3582e1dfa5557fe981e86f2140
2022-08-17 15:49:59 +08:00
Jiyong Park
46afe63eaf Build libwifi-hal-* modules only for the first arch
Previously, the build rules assumed that the target supports both 64 and
32 bit architectures, which isn't true for 32-bit-only targets. That
caused build breakage on such targets. Fixing that by building the
modules only for the first architecture (64 on 64-only or 64/32 target,
and 32 on 32-only target).

Bug: 241916304
Test: build the 32-bit-only target
Merged-In: I5353ab1561622eae12e2dff87eb0f17b47c3773d
Change-Id: I5353ab1561622eae12e2dff87eb0f17b47c3773d
(cherry picked from commit 3ab5c90104)
2022-08-17 16:41:19 +09:00
Jooyung Han
1e6cdac0bc android.hardware.wifi@1.0-service in soong
As libwifi-hal is migrated to soong, the service is migrated to soong as
well.

Bug: 240099735
Test: CtsWifiTestCases
Merged-In: Ie5a4ec6658d5f6aa3d4902c9c3c4b3bef9ff1cde
Change-Id: Ie5a4ec6658d5f6aa3d4902c9c3c4b3bef9ff1cde
(cherry picked from commit c4ac3355a6)
2022-08-17 16:41:10 +09:00
donghongweng
af442b177f Explicit conversion
Test: m tests
Change-Id: Ie0c00a51dee1d97239b0ef6f29334d176ddec32a
2022-08-17 06:59:51 +00:00
Treehugger Robot
9277965a53 Merge "Remove keymaster HIDL entry in compat matrix." am: 17ca272c5b am: 3e9bc99d07 am: 8877ffd29d am: 400423c00f
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2187957

Change-Id: I114b9922cc89611d2f2ce8bad16b0c80c3e6c36b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-17 01:22:42 +00:00
Automerger Merge Worker
abced8552b [automerger skipped] Merge changes from topic "am-96e5992b2dd4470eae48f4ad98b53c99" into stage-aosp-master am: 7e43375d9b -s ours am: ffd14f3183 -s ours am: add707b87e -s ours
am skip reason: Merged-In I3ad2e2000fb0db6a62835e621bc81d77308db140 with SHA-1 e08d14104c is already in history

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

Change-Id: I70764e1fb29a2639929ae7a1862d40596a8f1198
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-17 01:10:01 +00:00
Xin Li
5f546d964c [automerger skipped] Merge "DO NOT MERGE - Merge Android 13" am: 28cde8fd22 -s ours am: 13261d179e -s ours am: 05727c0349 -s ours am: 3da1cdde2e -s ours
am skip reason: Merged-In I3ad2e2000fb0db6a62835e621bc81d77308db140 with SHA-1 e08d14104c is already in history

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

Change-Id: I2b314de11b3027cec422322902b307207487de93
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-17 01:09:34 +00:00
Changyeon Jo
e6bb228dc6 Remove color format constraints
VtsHalEvsV1_1TargetTest does not verify any behavior depending on
a frame buffer's color format.

Bug: 240685726
Test: atest VtsHalEvsV1_1TargetTest
Change-Id: I592a0a8de5fffd98178d624ee5aac4c28245d056
2022-08-17 01:03:20 +00:00