mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 11:36:00 +00:00
broadcastradio@2.0 VTS uses FM frequency invalid in some regions
In Japan FM frequency range is 76-95MHz thus FmTune test using hardcoded 101.1MHz fails on devices preconfigured for this region when TunerSession::tune returns INVALID_PARAMETER. Proposed new frequency is valid in all regions. Test: run VtsHalBroadcastradioV2_0TargetTest on hardware units configured for Europe, US, Japan (and preferably other) analog tuner regions Bug: b/177916339 Change-Id: I86081fc3e1c0e0959039d5a00d96873fca454da6
This commit is contained in:
@@ -415,7 +415,7 @@ TEST_P(BroadcastRadioHalTest, GetDabRegionConfig) {
|
||||
TEST_P(BroadcastRadioHalTest, FmTune) {
|
||||
ASSERT_TRUE(openSession());
|
||||
|
||||
uint64_t freq = 100100; // 100.1 FM
|
||||
uint64_t freq = 90900; // 90.9 FM
|
||||
auto sel = make_selector_amfm(freq);
|
||||
|
||||
/* TODO(b/69958777): there is a race condition between tune() and onCurrentProgramInfoChanged
|
||||
|
||||
Reference in New Issue
Block a user