Commit Graph

11 Commits

Author SHA1 Message Date
Treehugger Robot
74dc4cc5d7 Merge "[DON'T BLOCK] Test ownership migration rules" into main am: 27e97308c4
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2950589

Change-Id: Ie4f36b193820490e606e7f5100ca29200f832fa2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-07 01:45:21 +00:00
Aditya Choudhary
ad2ba1b851 [DON'T BLOCK] Test ownership migration rules
This CL is created as a best effort to migrate test targets
to the new android ownership model. If you find incorrect or unnecessary
attribution in this CL, please create a separate CL to fix that.

For more details please refer to the link below,
go/new-android-ownership-model

Bug: 304529413
Test: N/A
Change-Id: Ic8c4bd6ac246e7efa98bbdaf822d12ae8e1230a5
2024-02-05 15:45:22 +00:00
Tom Bergan
8db0bc0131 Fix crash in SthalCli
SthalCli does not set all String fields of Properties, which results in
some fields being null, which causes a NullPointerExecption when the
Properties is converted to a SoundTrigger.ModuleProperties:
https://cs.android.com/android/platform/superproject/+/main:frameworks/base/core/java/android/hardware/soundtrigger/SoundTrigger.java;drc=e6ac0c57d7261d83870571c7198518998e0f1732;l=164

This CL fixes that problem by setting the uuid and model arch fields.
The uuid is set to a static randomly-generated UUID, instead of a
dynamic randomly-generated UUID, so the UUID is more easily grep-able.

Fixes: 300518031
Test: manually
Change-Id: I3746470551aed1e0e5a806195c124a70037f1baf
2023-09-14 21:55:14 +00:00
Devin Moore
3b6eaf883d Merge OWNERS files for soundtrigger
Test: none
Bug: 296950573
Change-Id: Iff3909e3457da21840d4351e7ab666eb61ac523a
2023-09-08 21:20:53 +00:00
Cole Faust
7b6acb3f2d Fix module-file name collisions
Bazel doesn't allow a module and file with the same name.

Bug: 198619163
Test: Presubmits
Change-Id: I828de4265a247c93e778764d0ece54d4d1760daa
2022-09-05 17:56:28 -07:00
Jiyong Park
46c1214761 Implement getInterfaceHash/Version for SoundTrigger
As the soundtrigger AIDL interface gets frozen for TM, java services
implementing the interface are required to implement getInterfaceHash
and getInterfaceVersion [1].

[1]
https://source.android.com/devices/architecture/aidl/stable-aidl#new-meta-interface-methods

Bug: 225941299
Test: m
Change-Id: I71f27131d2619cea2ae10a53c01ca883a459d159
2022-03-31 12:01:44 +09:00
Mikhail Naganov
6dcf4f5c53 Update use of a.m.a.c.AudioConfig in sthal_cli_3
Bug: 188932434
Test: m sthal_cli_3
Change-Id: Ifcc94ecfa7aa9d9a5292f45a35083c4681223529
2021-08-31 18:13:20 -07:00
Mikhail Naganov
43a6ce023f Follow-up after ag/15645323
Make 'createConfig' a static function.

Fix OWNERS file to point to the correct location.

Bug: 188932434
Test: m sthal_cli_3
Change-Id: I7a35096acb71a246691f9bb9ddf41660f3e7cf8f
2021-08-25 21:26:15 +00:00
Mikhail Naganov
e9f41f1fff Move common audio AIDL types to audio.media.audio.common
Since tests depend statically on libaudiofoundation,
they also need to depend on the generated interfaces code,
which contains vtables for interface classes.

Update 'sthal_cli_3' test app.

Bug: 188932434
Test: m HalAudioV6_0GeneratorTest
Test: m sthal_cli_3
Change-Id: Ifb8f81d02764f7710ce207603aa6fe2d20123e89
2021-08-23 17:43:20 -07:00
Bob Badour
d99d544f08 [LSC] Add LOCAL_LICENSE_KINDS to hardware/interfaces
Added SPDX-license-identifier-Apache-2.0 to:
  soundtrigger/aidl/Android.bp
  soundtrigger/aidl/cli/Android.bp

Bug: 68860345
Bug: 151177513
Bug: 151953481

Test: m all

Exempt-From-Owner-Approval: janitorial work
Change-Id: I5bb1bf59e40996301a0b002211669de320d3cfb3
2021-04-07 14:12:12 -07:00
Ytai Ben-Tsvi
316f2fa1a3 Rearrange soundtrigger3 directory structure
Test: m
Change-Id: I35f041769c3835fa6d63bcb0d4bffac3c8a1aa46
2021-03-30 12:37:29 -07:00