Commit graph

39918 commits

Author SHA1 Message Date
Sarah Chin
98131819ae Merge "Add all prior VTS tests" 2022-01-31 21:17:02 +00:00
TreeHugger Robot
020ad0558d Merge "Require Power HAL v2" 2022-01-31 21:05:12 +00:00
Eric Laurent
2553bd829b Merge "audio: add new enums for 7.1 HAL" 2022-01-31 21:01:59 +00:00
TreeHugger Robot
7a1f598392 Merge "Send a unlocked message for test coverage" 2022-01-31 20:38:33 +00:00
Steven Moreland
22c5b64894 -= src_available (internal)
Default now. To Remove.

Bug: 215754978
Test: N/A
Change-Id: Ie83df828ea2ec892c6586ffa32e9f6c42d83a2fe
2022-01-31 19:52:35 +00:00
Mikhail Naganov
a792d555b2 Merge "audio: Add recommended mute duration attribute to APM XSD" 2022-01-31 19:49:30 +00:00
Michael Butler
6b0905cb69 Move NNAPI HAL CommonUtils to nnapi/SharedMemory -- hal
This CL relocates utility code that transfers data between pointer-based
memory and shared memory for Request objects and Model objects, moving
it from nnapi/hal/CommonUtils.h (hal utilities) to nnapi/SharedMemory.h
(canonical library).

This change also adds a check for whether Model and Requests have
pointer-based data in neuralnetworks/aidl/utils/src/Conversions.cpp to
make it consistent with the HIDL utility conversions.

Bug: 217217023
Test: mma
Test: presubmit
Change-Id: I55a0fea186708d806bc709681e10027a9e4b0ffb
2022-01-31 19:26:57 +00:00
Eric Laurent
404e0ce070 Merge "Audio HAL V7.1: Add latency mode APIs" 2022-01-31 19:24:27 +00:00
Sarah Chin
363bb087bb Make TrafficDescriptor nonnull in DataProfileInfo
Test: build
Bug: 215717256
Change-Id: I02a5d5fbcc0a3ae22431fcc8615ac68d6df7b628
2022-01-31 11:22:38 -08:00
Roshan Pius
1b538f5363 uwb(hal): Remove FIRA params from the HAL interface
Reworking based on vendor feedback.  There is already some FIRA standards
body activity to add this in the FIRA specifications. So, defer to that
spec instead of redefinining it in the HAL interface.

Bug: 208678993
Bug: 209053358
Test: Compiles
Change-Id: I20c4ecb84d2efbecac76c40864d9f97cf9987da6
2022-01-31 10:26:40 -08:00
Sarah Chin
609ecb43e8 Merge "Final API changes for IRadio" 2022-01-31 18:25:14 +00:00
David Zeuthen
834f32215f identity: Add tests to check that implementations support 32 bytes for challenges.
Also update AIDL docs for this.

Bug: 216177025
Test: atest VtsHalIdentityTargetTest
Change-Id: I45cd0cc54f7e9f0d1f9c61d0649f7b7e7f6297a3
2022-01-31 11:53:43 -05:00
Wei Wang
795025ebd9 Require Power HAL v2
Test: build
Signed-off-by: Wei Wang <wvw@google.com>
Change-Id: Ib6c4012afaa1f4544d8c11bc613e9c30adc3398d
2022-01-31 08:47:32 -08:00
Changyeon Jo
339f0aca20 Explicitly type cast a variable
Fix: 217126594
Test: Successful build aosp_x86-eng target
Change-Id: I8b9b4051c4296fd3ecf0b89b1d1352020db02d5a
2022-01-30 22:28:43 -08:00
Changyeon Jo
33ba66bba7 Update a default HIDL EVS HAL implementation
This CL modifies a default implementation of HIDL EVS HAL v1.1 to
properly emulate IEvsCamera and generate a test pattern (SMPTE color
bars) on the cuttlefish.

Bug: 147743625
Test: launch_cvd --gpu_mode=gfxstream && atest VtsHalEvsV1_1TargetTest
Change-Id: I36b141c250efcc27e9a455d504fe897c69349ad9
2022-01-30 16:46:24 -08:00
Daniel Norman
18e47b99a0 Merge "Revert^2 "Create thermal apex"" am: 411e98d202 am: dc6d696c10 am: 9911c86150 am: 66593bb178
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1965450

Change-Id: Id5eac6be10925c7472b4b97e7b9d477e9efe2189
2022-01-30 05:43:32 +00:00
Daniel Norman
66593bb178 Merge "Revert^2 "Create thermal apex"" am: 411e98d202 am: dc6d696c10 am: 9911c86150
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1965450

Change-Id: I46f552dd825cd75c685d4aa5cf504e5e3f6e1779
2022-01-30 05:14:40 +00:00
Daniel Norman
9911c86150 Merge "Revert^2 "Create thermal apex"" am: 411e98d202 am: dc6d696c10
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1965450

Change-Id: I051a48820dd3c6adf46e3f7c3d6a798d12b96aa5
2022-01-30 05:03:30 +00:00
Daniel Norman
dc6d696c10 Merge "Revert^2 "Create thermal apex"" am: 411e98d202
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1965450

Change-Id: Ic59b527b7aab6f11a65fe254767617f8c39d2b6f
2022-01-30 04:50:41 +00:00
Daniel Norman
411e98d202 Merge "Revert^2 "Create thermal apex"" 2022-01-30 04:34:41 +00:00
Treehugger Robot
cbe83e2428 [automerger skipped] Merge "VTS for UsageSetting" am: 350d762bcc am: a983f87907 am: 85455e447d am: bbd2302b94 -s ours
am skip reason: Merged-In I26a68d4b6be4810fab9302b58a3be7f65fc82c83 with SHA-1 244423c76b is already in history

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

Change-Id: Ic01c6ebf31f3c607f2fe3c27872bbd20bafa45f2
2022-01-29 06:47:58 +00:00
Treehugger Robot
bbd2302b94 Merge "VTS for UsageSetting" am: 350d762bcc am: a983f87907 am: 85455e447d
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1965961

Change-Id: I7c36138b87b42dc05adb4d62e9fd579c7a7e5419
2022-01-29 06:36:21 +00:00
Treehugger Robot
85455e447d Merge "VTS for UsageSetting" am: 350d762bcc am: a983f87907
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1965961

Change-Id: I63b7a3e06b6d2690e799ec88f6be18d8baff3519
2022-01-29 06:25:18 +00:00
Treehugger Robot
a983f87907 Merge "VTS for UsageSetting" am: 350d762bcc
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1965961

Change-Id: I915bf136d68302a98130bb07606b0fa5271dbcec
2022-01-29 06:13:33 +00:00
Sarah Chin
52de0adbd1 Add all prior VTS tests
Test: atest VtsHalRadioTargetTest
Bug: 210712359
Change-Id: Ib7ace442ee2bf8d203df9899d8e8331b26af74ad
Merged-In: Ib7ace442ee2bf8d203df9899d8e8331b26af74ad
2022-01-28 22:07:24 -08:00
Treehugger Robot
350d762bcc Merge "VTS for UsageSetting" 2022-01-29 05:57:39 +00:00
Hongguang
c8438c0702 Send a unlocked message for test coverage
Bug: 215435869
Test: atest VtsHalTvTunerTargetTest
Test: atest android.media.tv.tuner.cts
Change-Id: I8e63eac1e96ab9a638f3aa04dc0bfd39cbdd52fa
2022-01-29 05:15:26 +00:00
TreeHugger Robot
66cb6f97d0 Merge "Revert "IComposerClient wrapper for VTS tests"" 2022-01-29 03:13:08 +00:00
Yu-Han Yang
69f0f8bae0 Add register/unregister methods for SvStatus and NMEA
(hardware/interfaces)

Bug: 213375506
Test: atest VtsHalGnssTargetTest
Change-Id: I7468336b5e1759f4ce90a42fbfd19e3bb17baaa9
2022-01-28 18:59:13 -08:00
Sarah Chin
62dfd4d027 [automerger skipped] Merge "Allow null DataProfileInfo for IA APN to clear" am: 02ab7331ac am: 126c2cdae1 am: e17d845aa8 am: 4ff00b7875 -s ours
am skip reason: Merged-In If003316192f579a3970ac48eaf50cb714cf757e6 with SHA-1 fbc5d731ca is already in history

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

Change-Id: I3f173052495cf717684fbe2b9087c2e67457b273
2022-01-29 02:49:15 +00:00
Isaac Chiou
5ba3f7eec7 Merge "Add HAL APIs for WiFi CHRE NAN RTT" 2022-01-29 02:34:52 +00:00
Sarah Chin
4ff00b7875 Merge "Allow null DataProfileInfo for IA APN to clear" am: 02ab7331ac am: 126c2cdae1 am: e17d845aa8
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1965919

Change-Id: Iddaa8379cafe165bef487414198cf3880657dee1
2022-01-29 02:30:50 +00:00
Sarah Chin
e17d845aa8 Merge "Allow null DataProfileInfo for IA APN to clear" am: 02ab7331ac am: 126c2cdae1
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1965919

Change-Id: Id1e58097cc5559d8ef3cfa604b52312683fd995e
2022-01-29 02:18:56 +00:00
Sarah Chin
126c2cdae1 Merge "Allow null DataProfileInfo for IA APN to clear" am: 02ab7331ac
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1965919

Change-Id: I99b86c295a954b3a6c4668d99cb490c1e9bc3503
2022-01-29 02:02:15 +00:00
Ram Indani
22884acd6a Revert "IComposerClient wrapper for VTS tests"
This reverts commit 634340d6a8.

Reason for revert: No one is using it, I will make a cl with usage of the wrapper along side this and reupload it.

Change-Id: I3ff3427fc9e81d53fd47a082ab027441f5dc8a66
2022-01-29 02:00:21 +00:00
Ram Indani
d1cbbea53f Merge "IComposerClient wrapper for VTS tests" 2022-01-29 01:52:29 +00:00
TreeHugger Robot
953bd50101 Merge "uwb(hal): Add device capability TLV values" 2022-01-29 01:52:05 +00:00
Sarah Chin
02ab7331ac Merge "Allow null DataProfileInfo for IA APN to clear" 2022-01-29 01:46:13 +00:00
Nathan Harold
ccc496b7bf VTS for UsageSetting
Add tests to check that usage setting can be
retrived and set as well as ensuring that invalid
values cannot be set.

Bug: 205595503
Test: make VtsHalRadioTargetTest
Merged-In: I26a68d4b6be4810fab9302b58a3be7f65fc82c83
Change-Id: I26a68d4b6be4810fab9302b58a3be7f65fc82c83
(cherry picked from commit 244423c76b)
2022-01-28 17:10:34 -08:00
Mikhail Naganov
b6800fc715 audio: Add recommended mute duration attribute to APM XSD
Add 'recommendedMuteDurationMs' optional attribute to 'mixPort'
element. This attribute specifies customized mute duration while
switching device's audio path to avoid truncated sound at the
beginning.

The framework is already aware of this attribute, only need
to allow it in the XSD.

Bug: 183344508
Bug: 197823000
Test: m
CTS-Coverage-bug: 215647214
Change-Id: I3be36009d1b5db218c846efe96f078e858283992
2022-01-29 00:44:50 +00:00
TreeHugger Robot
d9657d01b0 Merge "Add HDMI to Source" 2022-01-29 00:22:32 +00:00
Sarah Chin
ca421a6c70 Final API changes for IRadio
Remove CarrierRestrictions#priority
Move USSD from messaging -> voice
Rename DataProfileInfo#TYPE_THREE_GPP/2 -> TYPE_3GPP2
Remove neighboring CID APIs

Test: atest VtsHalRadioTargetTest
Bug: 199433581
Bug: 216688606
Change-Id: I621d99b8024f92709bcb675b667bcba678eede9b
2022-01-28 15:56:10 -08:00
Isaac Chiou
9cf44590f2 Add HAL APIs for WiFi CHRE NAN RTT
1. Add new APIs to enable/disable CHRE NAN RTT
2. Add a new API to register callback.
   This callback should report events from WLAN driver for CHRE.

Test: New APIs work fine
Bug: 206614765
Change-Id: I8c8ab002064a9556be2e7d3972703bb3255a3a41
2022-01-29 07:27:01 +08:00
Sarah Chin
4ae4e1723f Allow null DataProfileInfo for IA APN to clear
Test: build
Bug: 216357727
Change-Id: If003316192f579a3970ac48eaf50cb714cf757e6
Merged-In: If003316192f579a3970ac48eaf50cb714cf757e6
2022-01-28 15:15:23 -08:00
ramindani
634340d6a8 IComposerClient wrapper for VTS tests
A wrapper helps with implementation details of IComposerClient and
improves re-usability with readback and base tests.

BUG: 199413815

Test: atest VtsHalGraphicsComposer3_TargetTest
Change-Id: I627748d1c779eaacf92ff6fb5ccf3138a3024681
2022-01-28 23:13:18 +00:00
TreeHugger Robot
16a78e63b0 Merge "Convert InputClassifier HAL to AIDL" 2022-01-28 21:59:07 +00:00
Treehugger Robot
7b5b7fc97e Merge "Add owners for IRadio VTS" am: 32a10e4c95 am: 7a3b8adb6a am: 5f8c41798a am: 5cc95e1e01
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1964601

Change-Id: I9ef2b793b4f324ace6b5d3825deb3935a67118df
2022-01-28 21:48:30 +00:00
Daniel Norman
58cdf3dafd Revert^2 "Create thermal apex"
33251ba579

Change-Id: If3dd5bd1d8d35fc398a51e531fd9bf43ab91fb39
2022-01-28 21:46:36 +00:00
Roshan Pius
b0a6c0bd20 uwb(hal): Add device capability TLV values
Resolving a review comment from ag/16739541.

Bug: 208678993
Test: Compiles
Change-Id: I19ae20e37ab6ef0bf8f7db473b977e8dac872d0d
2022-01-28 13:37:56 -08:00
Treehugger Robot
5cc95e1e01 Merge "Add owners for IRadio VTS" am: 32a10e4c95 am: 7a3b8adb6a am: 5f8c41798a
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1964601

Change-Id: I83005bc822b02abb1299cbe67d36d7bd4be79d9c
2022-01-28 21:35:33 +00:00