Adding signal handler to avoid abort() due to
broken pipe.
Test: ./android.hardware.broadcastradio-service.default_fuzzer
Bug: 376201407
Change-Id: I283644ca1062737435c27d809e3961e9267e0f30
Implemented adb shell command in default broadcast radio HAL to
simulate an emergency alert.
Bug: 361348719
Flag: EXEMPT HAL interface change
Test: adb root
Test: adb shell dumpsys android.hardware.broadcastradio.IBroadcastRadio/amfm --simulateAlert actual alert geo,transport future severe possible "alertmessage" en-US geocode:SAME,006109_geocode:SAME,006209_polygon:-38.47,-120.14,38.34,-119.95,38.52,-119.74,38.62,-119.89,-38.47,-120.14+geocode:SAME,006009
Change-Id: Idbfdb47a65c88bc3dc1839729b772bb285c563b4
Config broadcast radio VTS not to change framework status, such as
registering new tuner callback, to avoid radio service crash due to
no tuner callback registered after VTS completes.
Bug: 246866675
Test: atest VtsHalBroadcastradioAidlTargetTest
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:f39ac7f62bcb38329f9c39a8ae31048405612afa)
Merged-In: If8d1d26a860acdfc77eed5803926035224ad2d2a
Change-Id: If8d1d26a860acdfc77eed5803926035224ad2d2a
Config broadcast radio VTS not to change framework status, such as
registering new tuner callback, to avoid radio service crash due to
no tuner callback registered after VTS completes.
Bug: 246866675
Test: atest VtsHalBroadcastradioAidlTargetTest
Change-Id: If8d1d26a860acdfc77eed5803926035224ad2d2a
This is to prove that rust broadcast radio HAL can be built and can
run. The skeleton Rust broadcast radio HAL will return UNKNOWN_ERROR
for all APIs.
Bug: 335514024
Test: m android.hardware.broadcastradio-rust-service
Change-Id: I763175b984c130d75cdc9506ba92c8c1b44338b5
Refactored unit tests isValid broadcast radio utils methods to reuse
testcases. Also fixed isValidV2 check for HD station location.
Bug: 310708886
Test: atest broadcastradio_utils_aidl_test
Change-Id: Ic168776493a5433606849d39175347a5a83b492f
Added unit tests for methods related to config flag in the default AIDL
broadcast radio HAL implementation.
Bug: 316630344
Test: atest DefaultBroadcastRadioHalTestCase
Change-Id: Id42915613f931ebcd40ca05d9534dc087e479461
Added unit tests for methods related to program list updates
in the default AIDL broadcast radio HAL implementation and the
corresponding mock tuner callback methods.
Bug: 316630344
Test: atest DefaultBroadcastRadioHalTestCase
Change-Id: I0bde2b9cc376315320521a1d13ec521781a77cca
Added unit tests for the seek method in the default AIDL broadcast
radio HAL implementation.
Bug: 316630344
Test: atest DefaultBroadcastRadioHalTestCase
Change-Id: Ia82b420f9c1d86125eaf9672715d5391aa14f3e8
Added unit tests for identifier iterator in AIDL broadcast radio
HAL utils library.
Bug: 310708886
Test: atest broadcastradio_utils_aidl_test
Change-Id: I09ea6b73e50edcc4a503758ea1af75b260f426f1
Added unit tests for step and cancel methods in the default AIDL
broadcast radio HAL implementation.
Bug: 316630344
Test: atest DefaultBroadcastRadioHalTestCase
Change-Id: I83b7e9321ebd8bad1eb035d4f23bedce47712511
Added unit tests for tune method in the default AIDL broadcast radio
HAL implementation.
Bug: 316630344
Test: atest DefaultBroadcastRadioHalTestCase
Change-Id: I62c6ca088c8797fe6c3e9ea1d1fe76d5d7aa5c23
Implemented mocked tuner callback and added unit test for getting
and setting the default broadcast radio HAL implementation.
Bug: 316630344
Test: atest DefaultBroadcastRadioHalTestCase
Change-Id: I4d41746f7725a79a8d398a1fb798fbc7cab94e09
Added unit tests for comparators of program selector and program
info in utils library for AIDL broadcast radio HAL.
Bug: 310708886
Test: atest broadcastradio_utils_aidl_test
Change-Id: I1a46196f183cb6a0a45342f3bb379900fd049f32
Added unit tests for isValid methods in utils library for AIDL
broadcast radio HAL.
Bug: 310708886
Test: atest broadcastradio_utils_aidl_test
Change-Id: I0ff19d624f83e48789142a5cba48b9c896dc4204
Added unit tests for tunesTo method in utils library for AIDL
broadcast radio HAL.
Bug: 310708886
Test: atest broadcastradio_utils_aidl_test
Change-Id: Id69467fdb873cd42f8a875bbd26155bb261d9481
Added unit tests for generic methods in utils library for AIDL
broadcast radio HAL.
Bug: 310708886
Test: atest broadcastradio_utils_aidl_test
Change-Id: I968d43c82cd5f9179a63438845dfa167bc30f2cc
Added metadata format check in AIDL broadcast radio HAL VTS.
Bug: 318868350
Test: atest VtsHalBroadcastradioAidlTargetTest
Change-Id: I47cdb178e76173941682fd8594fe9da13d661a1b
Added format check method for AIDL broadcast radio HAL metadata in
AIDL utils library. Also corrected local variable name in
getMetadataString method.
Bug: 318868350
Test: atest broadcastradio_utils_aidl_test
Change-Id: I8220e2845143931e99b4e4da0e07c9cae585588e
If SAT/DT is not supported, should be marked as
ignored but they are marked as failures.
If no support for SAT/DT the implementation returns INVALID_ARGUMENTS
and test is calling the printSkipped function.
Instead of calling printSkipped, if GTEST_SKIP() called
unsupported TC results are parsed properly and test cases will move
to ignored category
Bug: 191229970
Test: VtsHalBroadcastradioV1_0TargetTest
Signed-off-by: V,Anilkumar <anilkumar.v@intel.com>
Change-Id: I4ed7828757a6cc8b83bae989e11289da1a3e814f
Added unit tests for utils method related to DAB radio in AIDL broadcast
radio utils library.
Bug: 310708886
Test: atest broadcastradio_utils_aidl_test
Change-Id: I7c7333c11898665ae7e5184bd3022a7019f862ca
Change "must be up to" to "should be <=" in Metadata of broadcast radio
HAL definition so that the format for metadata types is clear.
Bug: 318763229
Test: m -j
Change-Id: Ibd54988587170f2c20f7770be0f8376d9be2d3b2