From 4e04150188ed8be329cf6acbf9c36fe6970532c7 Mon Sep 17 00:00:00 2001 From: Jan Kowal Date: Thu, 21 Jan 2021 12:44:44 +0100 Subject: [PATCH] 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 --- .../2.0/vts/functional/VtsHalBroadcastradioV2_0TargetTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/broadcastradio/2.0/vts/functional/VtsHalBroadcastradioV2_0TargetTest.cpp b/broadcastradio/2.0/vts/functional/VtsHalBroadcastradioV2_0TargetTest.cpp index ca57243a6d..ce50f25f7c 100644 --- a/broadcastradio/2.0/vts/functional/VtsHalBroadcastradioV2_0TargetTest.cpp +++ b/broadcastradio/2.0/vts/functional/VtsHalBroadcastradioV2_0TargetTest.cpp @@ -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