Commit graph

59275 commits

Author SHA1 Message Date
Treehugger Robot
faaec23deb Merge "Migrate from android::String isEmpty to empty" into main am: 8a21830735 am: 8f1eea8f9d am: 6df90de737 am: 3dbb0cba6a am: 430b9138f0
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2707853

Change-Id: Ifc9f71d17467b6add5d92b95d7429750e32931bc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-25 19:47:47 +00:00
Treehugger Robot
ba6ec44f84 Merge "Only require RKP on T+ chipsets" into main am: 7bed173e4c
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2727994

Change-Id: I4c2bfcf4bddca10977b43a9c98bd05a38ae36479
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-25 19:46:31 +00:00
Tomasz Wasilczyk
3e74f0b928 Use String8/16 c_str [cas]
Bug: 295394788
Test: make checkbuild
Change-Id: I1faccac8711d5cccee70443548940d99804c7c2a
2023-08-25 19:41:37 +00:00
Tomasz Wasilczyk
fcaba4b69c Use String8/16 c_str [health]
Bug: 295394788
Test: make checkbuild
Change-Id: I6671af787ca8c687d30d0db8dbb4f639157b5e81
2023-08-25 19:39:33 +00:00
Treehugger Robot
7bed173e4c Merge "Only require RKP on T+ chipsets" into main 2023-08-25 19:08:06 +00:00
Treehugger Robot
430b9138f0 Merge "Migrate from android::String isEmpty to empty" into main am: 8a21830735 am: 8f1eea8f9d am: 6df90de737 am: 3dbb0cba6a
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2707853

Change-Id: I1235347a2c6f19be90001bd6c481de8b6053ba1a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-25 19:02:34 +00:00
Devin Moore
57c009e411 Remove compatibility_matrix.9.xml from 'next' builds
This compatibility matrix has not be finalized or released yet, so it's
very important that releasing devices in the 'next' configuration don't
use its contents.

Test: m
Bug: 296930312
Change-Id: I843a24308a1653bff0b4842ff71e657304bea2c8
2023-08-25 18:32:16 +00:00
Devin Moore
9ed20627b2 Mark some HALs as updatable-via-apex retroactively
These are all marked updatable-via-apex in compatibility_matrix.9.xml.
Adding them to compatibility_matrix.8.xml to allow Cuttlefish to build
with the apexes on 'next'

Test: m
Bug: 296930312
Change-Id: I2910695dbb7a79ca7164f7ed69437f9636d4135b
2023-08-25 18:32:08 +00:00
Treehugger Robot
3dbb0cba6a Merge "Migrate from android::String isEmpty to empty" into main am: 8a21830735 am: 8f1eea8f9d am: 6df90de737
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2707853

Change-Id: I2a22339a4943e9e3e96a46055ecadfbb109df620
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-25 18:25:35 +00:00
Mikhail Naganov
0d92059a6e audio: Properly handle closed effects in HIDL implementation
Ensure that the default HIDL implementation (legacy wrapper) does
not attempt to call into the legacy implementation after it has
been released.

Added new option for VTS tests to verify this behavior. This does
not require any new functionality from existing implementations.
The test ensures that after a call to 'IEffect.close', calls
of all other interface methods do not crash and return an error.
This is a natural expectation, thus HIDL implementations not
passing these new checks need to be fixed.

Bug: 294273146
Test: atest VtsHalAudioEffectV5_0TargetTest
Test: atest VtsHalAudioEffectV6_0TargetTest
Test: atest VtsHalAudioEffectV7_0TargetTest
Change-Id: If83e0a5f8f51f3f87c62fcfbfba469a421ad1cf8
2023-08-25 11:15:43 -07:00
Seth Moore
8be875e0d0 Only require RKP on T+ chipsets
It turns out we had a bug (b/263844771) in how RKP support was
detected, and that was fixed. However, due to this bug, some S chipests
shipped without RKP support which is now required by the tests.

This change drops the RKP requirement from S chipsets. There should be
no new S chipsets, so this effectively grandfathers in the previous
ones that were skipped by the RKP VTS tests.

T+ tests (both VTS and other suites) will verify that RKP support is
there, so there is no gap introduced by this change.

Bug: 297139913
Test: VtsAidlKeyMintTargetTest
Change-Id: I387e5f058ada698747aac103c1745682291f2d1c
2023-08-25 11:13:41 -07:00
Treehugger Robot
6df90de737 Merge "Migrate from android::String isEmpty to empty" into main am: 8a21830735 am: 8f1eea8f9d
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2707853

Change-Id: I8049deabf86fac9a39f3b8a37ba50c138481221f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-25 17:44:30 +00:00
Treehugger Robot
8f1eea8f9d Merge "Migrate from android::String isEmpty to empty" into main am: 8a21830735
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2707853

Change-Id: I2412bcaad2813af336b939c1f7b295224dec7bab
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-25 17:01:44 +00:00
Treehugger Robot
8a21830735 Merge "Migrate from android::String isEmpty to empty" into main 2023-08-25 16:38:32 +00:00
Treehugger Robot
20a8bc3495 Merge "Fix typo in CDDL" into main am: ee6590ef2d am: 0e9c13a879 am: 9c2906faf8 am: 1aaea015c5 am: 6c4e55d947
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2727733

Change-Id: I2bffb543f9dfd0f6737addf952f9c05bbdac65f5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-25 12:54:13 +00:00
David Drysdale
ea902b9dae Merge "KeyMint: fix auth test HAT" into main am: 41bbc573f7 am: 41580971d5 am: ae86813c5e am: 472aaf9867 am: d1f3b1b595
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2727633

Change-Id: Ib24643023017c8d1a07f244557f6446c7fb146b7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-25 12:53:10 +00:00
Treehugger Robot
6c4e55d947 Merge "Fix typo in CDDL" into main am: ee6590ef2d am: 0e9c13a879 am: 9c2906faf8 am: 1aaea015c5
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2727733

Change-Id: Ia613630f42fcfcc0ee9cd456e58d7603b1cf611d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-25 12:02:56 +00:00
David Drysdale
d1f3b1b595 Merge "KeyMint: fix auth test HAT" into main am: 41bbc573f7 am: 41580971d5 am: ae86813c5e am: 472aaf9867
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2727633

Change-Id: Icf5e0a46868e5796889d720e24b6ae0932ceba83
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-25 12:02:18 +00:00
Treehugger Robot
1aaea015c5 Merge "Fix typo in CDDL" into main am: ee6590ef2d am: 0e9c13a879 am: 9c2906faf8
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2727733

Change-Id: Ie11f0b40500c84ee4e85b63e1cf0000f9760a4c3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-25 11:30:32 +00:00
David Drysdale
472aaf9867 Merge "KeyMint: fix auth test HAT" into main am: 41bbc573f7 am: 41580971d5 am: ae86813c5e
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2727633

Change-Id: I0807bbe705f5c278de1ca42b1177dd8803b81870
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-25 11:29:57 +00:00
Treehugger Robot
9c2906faf8 Merge "Fix typo in CDDL" into main am: ee6590ef2d am: 0e9c13a879
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2727733

Change-Id: Id744ce35431075fbfa1adee5cfb0134245faab1a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-25 10:49:03 +00:00
David Drysdale
ae86813c5e Merge "KeyMint: fix auth test HAT" into main am: 41bbc573f7 am: 41580971d5
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2727633

Change-Id: I36438eacdb76c98f5b7dfd68a4900117023a2154
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-25 10:48:11 +00:00
Jooyung Han
7f1e7bac59 Merge changes from topic "threadnetwork-apex" into main am: de60dd2ae5 am: 2c6eb76638 am: 536a1af980 am: f2a27e68df am: 8346b71546
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2725097

Change-Id: I50f54f342c236b377659174944d01c1adcda9aec
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-25 10:47:19 +00:00
Jooyung Han
d201a7a15b Mark threadnetwork HAL as updatable-via-apex am: 868b8968bf am: 3d9a2543f4 am: b099d4c546 am: 462fd33eda am: 72c367fa0d
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2725096

Change-Id: Ib0e3aaa83667599441e392b7b442741e736a013b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-25 10:47:16 +00:00
Jooyung Han
5df77f5c49 Add apexkey "com.android.hardware" am: 0b94777903 am: 4919cebcfb am: a38af4a33c am: 8440f051af am: dae2956182
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2725095

Change-Id: I6ee867c15a755d901754fc03eaff90b9cdf39497
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-25 10:47:11 +00:00
Treehugger Robot
0e9c13a879 Merge "Fix typo in CDDL" into main am: ee6590ef2d
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2727733

Change-Id: Ia6dea8a826bce51165b931e0dcf4c5e9daab0fb6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-25 10:07:08 +00:00
David Drysdale
41580971d5 Merge "KeyMint: fix auth test HAT" into main am: 41bbc573f7
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2727633

Change-Id: I20656fb1ade0c7580f53944809bc3393cb582e69
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-25 10:06:17 +00:00
Jooyung Han
8346b71546 Merge changes from topic "threadnetwork-apex" into main am: de60dd2ae5 am: 2c6eb76638 am: 536a1af980 am: f2a27e68df
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2725097

Change-Id: I42aa7514256dea57286b6758cff48e478ba2cd02
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-25 09:57:50 +00:00
Jooyung Han
72c367fa0d Mark threadnetwork HAL as updatable-via-apex am: 868b8968bf am: 3d9a2543f4 am: b099d4c546 am: 462fd33eda
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2725096

Change-Id: I23f765441a9a8d9d5e2e09b720ea4e9c4ef0ff53
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-25 09:57:46 +00:00
Jooyung Han
dae2956182 Add apexkey "com.android.hardware" am: 0b94777903 am: 4919cebcfb am: a38af4a33c am: 8440f051af
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2725095

Change-Id: Id71bd1bc627eb2ca1820819e9fe9a2cc37730eb5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-25 09:57:41 +00:00
Treehugger Robot
ee6590ef2d Merge "Fix typo in CDDL" into main 2023-08-25 09:52:42 +00:00
David Drysdale
41bbc573f7 Merge "KeyMint: fix auth test HAT" into main 2023-08-25 09:45:42 +00:00
Jooyung Han
f2a27e68df Merge changes from topic "threadnetwork-apex" into main am: de60dd2ae5 am: 2c6eb76638 am: 536a1af980
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2725097

Change-Id: I26d0c14a73f744b653e8801ba860d988fb0bb538
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-25 09:29:09 +00:00
Jooyung Han
462fd33eda Mark threadnetwork HAL as updatable-via-apex am: 868b8968bf am: 3d9a2543f4 am: b099d4c546
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2725096

Change-Id: Iaab34fbfd979b6d2126196da7659ecdc6de6630f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-25 09:29:06 +00:00
Jooyung Han
8440f051af Add apexkey "com.android.hardware" am: 0b94777903 am: 4919cebcfb am: a38af4a33c
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2725095

Change-Id: I9dca08efaf7d5b6869c8c359d87d2ab183bf29a4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-25 09:29:00 +00:00
Jooyung Han
536a1af980 Merge changes from topic "threadnetwork-apex" into main am: de60dd2ae5 am: 2c6eb76638
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2725097

Change-Id: Iae35209d604dd5d375a414b81927cde5cbff4b8e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-25 08:49:43 +00:00
Jooyung Han
b099d4c546 Mark threadnetwork HAL as updatable-via-apex am: 868b8968bf am: 3d9a2543f4
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2725096

Change-Id: If3c9aceee3ef7c16a3517dfcfb8bf3d378844e87
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-25 08:49:39 +00:00
Jooyung Han
a38af4a33c Add apexkey "com.android.hardware" am: 0b94777903 am: 4919cebcfb
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2725095

Change-Id: I64aceafc03ef3daeb814fc4da15a42186986b8bb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-25 08:49:33 +00:00
Alan Stokes
5004b8b5ae Fix typo in CDDL
Test: N/A
Change-Id: Iba25acb24306d36c97be07987857237363654bb5
2023-08-25 09:34:35 +01:00
Jooyung Han
2c6eb76638 Merge changes from topic "threadnetwork-apex" into main am: de60dd2ae5
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2725097

Change-Id: I5b86509dd3b4c8be71fbd6bcfe2b537f9cd89022
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-25 08:07:00 +00:00
Jooyung Han
3d9a2543f4 Mark threadnetwork HAL as updatable-via-apex am: 868b8968bf
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2725096

Change-Id: Ia6abf433be42e602b77c42c5e67eaea6cb9bd883
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-25 08:06:57 +00:00
Jooyung Han
4919cebcfb Add apexkey "com.android.hardware" am: 0b94777903
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2725095

Change-Id: I36b693aa4c15494f3b4b5a0c603fe798a31d5ab8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-25 08:06:52 +00:00
Treehugger Robot
96d6a5ceb6 Merge "remove overlapping instance android.hardware.threadnetwork from matrix" into main 2023-08-25 07:47:59 +00:00
Jooyung Han
de60dd2ae5 Merge changes from topic "threadnetwork-apex" into main
* changes:
  Move threadnetwork HAL to VAPEX
  Mark threadnetwork HAL as updatable-via-apex
  Add apexkey "com.android.hardware"
2023-08-25 07:17:09 +00:00
David Drysdale
97272d8d5f KeyMint: fix auth test HAT
The test case for an auth-per-operation HAT with an invalid HMAC
is wrong -- it is re-using the previous HAT, which fails for a
different reason (has an old challenge).

Fix the test to use the HAT that's wrong in the intended way.

Bug: 297333975
Test: VtsAidlKeyMintTargetTest
Change-Id: I15fe9b0c1b53452df0f67dd44534fdb80a6c2a9c
2023-08-25 07:30:12 +01:00
Kangping Dong
a59b235aea [Thread] add "owner: google" for Thread HAL
This is for bypassing frozen HAL check on release branches.
Background:
We need to write code in the tethering module that depends on the
HAL interface and that code will be auto-merged to udc-mainline-prod
branch.

Merged-In is added to stop this CL from auto-merged to the main branch

Test: build
Bug: 296211911
Merged-In: I7e4bf260c03dd0500725fec068747e3b3d05820c
Change-Id: Id81adc9ff55649bf6d06cb2519d3e5805da15e5e
2023-08-25 05:20:14 +00:00
Zhanglong Xia
ff240c6b83 remove the Thread Network HAL from the stage folder
The Thread Network HAL is going to be added to the AOSP. The
implementation of the Thread Network HAL under the staging
folder is no longer needed. This commit removes the unstable
Thread Network HAL.

Bug: 283905423
Test: Build
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:b044d98115f19fa6d1e430fd6065a372153f8680)
Merged-In: I7e4bf260c03dd0500725fec068747e3b3d05820c

Change-Id: I8c7ea027b45511597c4014785718b4bda4198520
2023-08-25 05:19:35 +00:00
Zhanglong Xia
bed5323f89 change the Thread Network HAL api from 'reset' to 'hardwareReset'
This CL changes the API from 'reset' to 'hardwareReset' to make the
the definition of the API clearer. This CL also optimizes the Thread
Network HAL default implementation.

Bug: 289867661
Test: Run Thread stack on cuttlefish.
(cherry picked from https://android-review.googlesource.com/q/commit:a6165dcccf0096f8363b4b64b0f5332267eea330)
Merged-In: Id742453d9d7a0d369ac8f16905efdacfcfba1dbc
Change-Id: Id742453d9d7a0d369ac8f16905efdacfcfba1dbc
2023-08-25 05:18:54 +00:00
Zhanglong Xia
3bbcbcdc8a fix the Thread Network fuzz testing error
The current fuzz testing comunicates with the Thread radio chip
simulation program `ot-rcp`. The 'ot-rcp' is not installed by all
devices, which causes the fuzz testing program is unable to find
the program '/vendor/bin/ot-rcp'.

This commit enables the HAL to talk to the '/dev/null' to avoid
'/vendor/bin/ot-rcp' not being found.

Bug: 289627270
Test: Run the fuzz test on cuttlefish
(cherry picked from https://android-review.googlesource.com/q/commit:7f7e8647fa94b9d126cb88f366740f2b50b1f864)
Merged-In: If410d7d75abe05c7c2d2c82fa0450e925b9a48bb
Change-Id: If410d7d75abe05c7c2d2c82fa0450e925b9a48bb
2023-08-25 05:16:46 +00:00
Zhanglong Xia
83c4ef44e5 add Spinel SPI interface support
This commit enables the Thread Network HAL to support the Spinel
SPI interface.

Bug: 277286756
Test: Build and run otbr-agent on the emulator.
(cherry picked from https://android-review.googlesource.com/q/commit:7ae6d6f4ffe49c358978b9ea9c670ee2aefe4a27)
Merged-In: I6726eead5686f0afb33e5e2035ebc9021eca5afa
Change-Id: I6726eead5686f0afb33e5e2035ebc9021eca5afa
2023-08-25 05:16:23 +00:00