The variable `mDeathRecipient` will automatically free the allocated
memory when it is destructed. This CL deletes the code for manually
releasing the variable `mDeathRecipient` to avoid the same variable
being freed twice.
Bug: 296617022
Test: Run fuzzer test.
Change-Id: I733f7f8d26e48a9434d41c5098f39ad91208abeb
In the case when there is a problem with the legacy APM XML file,
the converter provides a default surround sound config. However,
the default implementation of IConfig::getSurroundSoundConfig did
not take an advantage of that, and was returning an empty config,
which is not accepted by VTS.
Also, improve logging messages: clarify the situation when no readable
audio policy XML file found, and use outer functions name for lambdas.
Bug: 293978054
Test: atest VtsHalAudioCoreTargetTest
Change-Id: Iae069a0498009605ef5ededb9c9112efab08548a
otherwise a negative offset will result in long sleep
Bug: 295055755
Test: atest android.media.audio.cts.AudioPlaybackCaptureTest
Change-Id: Ie941cc2525e3ea42b53106ae3a65242794b1dd1b
authsecret example instance is put in APEX.
Bug: 296522705
Test: authsecret HAL starts from APEX in cuttlefish/goldfish
Merged-In: I226fd57fb1ec5c8da98c07292431df055e6078d7
Change-Id: I226fd57fb1ec5c8da98c07292431df055e6078d7
The AOSP implementation of UWB HAL will be packaged in APEX.
Bug: 296487624
Test: m
Merged-In: I89004f6064fdd3ffae13e64b051208e136a03ac1
Change-Id: I89004f6064fdd3ffae13e64b051208e136a03ac1
(cherry picked from commit f019dd3d145434992b5ccb61c6892186abfabdd8)
Previously, .rc file is installed separately. Now it's installed as part
of the uwb-service binary installation.
Bug: 296487624
Test: launch cuttlefish / uwb-service runs with /dev/hvc9
Change-Id: I49108c74a5ca964818c90407cc7916d80439d5ab
Remove the inline definition of the Android Profile for DICE and instead
reference the definition that exists alongside the Open Profile for DICE
and is now the source of truth for the profile.
Test: n/a
Change-Id: Ia71a674234be13542ad0ce4db0b764e8ee0c7a62
am skip reason: Merged-In I8b34a94c11d7cc174821483f624fd083ca1763ac with SHA-1 bf75a4070d is already in history
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2660177
Change-Id: Ie184dbf272230673b3b54b6aa98ef906b770acd9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
am skip reason: Merged-In I8b34a94c11d7cc174821483f624fd083ca1763ac with SHA-1 bf75a4070d is already in history
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2660177
Change-Id: I395f91173c417e431c8ba6cace93cff753f59ba4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
With the current definition, it's an alias of default constructor. This
has very different meaning from std::string empty, especially that
static method String8::empty can still be called from instance context.
One of such bugs are present in in ParametersUtil.
Bug: 295394788
Test: make checkbuild
Change-Id: I9116a0c42a6a9e94116eaaaa0fd60568db428838
The current implementation used fs::write() as workaround since
the write permission was missing from the fs::open() invocation
Test: m android.hardware.uwb-service
Change-Id: Ifdb460843fcb9525ad498f928b1dc2ed9beb5410
Move StopServicesSetup after RunCommandTargetPreparer in
VtsHalBluetoothV1_0TargetTest. RunCommandTargetPreparer requires
settings service, which is not available after StopServicesSetup.
Bug: 293822620
Test: run vts -m VtsHalBluetoothV1_0TargetTest and inspect logs to make
sure no preparer steps fail.
Change-Id: I935d19c5e941bfdb122554d8c413d3095fef27ac