commit | 176d59adcdedab842cd2997db1ce76e5c063fc01 | [log] [tgz] |
---|---|---|
author | Henry Fang <quxiangfang@google.com> | Sat Jun 03 00:19:59 2023 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Sat Jun 03 00:19:59 2023 +0000 |
tree | 9be3ad3272eb9966854f24367290f7a0c352787b | |
parent | 5bcbb6266739eeee90aab2f591cf58ca5cd60c69 [diff] | |
parent | 047d533cdc1bd0fb8efed015fce4a2e1cfd0e6bb [diff] |
UEC is not static on real device, so check its range intead of specific value am: c2794f8c26 am: 44272133e5 am: 047d533cdc Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2611423 Change-Id: Idb109c58dbf61c9ea7c044412de8131474e97754 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
diff --git a/tv/tuner/1.1/vts/functional/FrontendTests.cpp b/tv/tuner/1.1/vts/functional/FrontendTests.cpp index 9f0f30d..0a645fc 100644 --- a/tv/tuner/1.1/vts/functional/FrontendTests.cpp +++ b/tv/tuner/1.1/vts/functional/FrontendTests.cpp
@@ -379,7 +379,7 @@ break; } case FrontendStatusTypeExt1_1::UEC: { - ASSERT_TRUE(realStatuses[i].uec() == expectStatuses[i].uec()); + ASSERT_TRUE(realStatuses[i].uec() >= 0 ); break; } case FrontendStatusTypeExt1_1::T2_SYSTEM_ID: {
diff --git a/tv/tuner/1.1/vts/functional/VtsHalTvTunerV1_1TestConfigurations.h b/tv/tuner/1.1/vts/functional/VtsHalTvTunerV1_1TestConfigurations.h index 669fa11..dcdc673 100644 --- a/tv/tuner/1.1/vts/functional/VtsHalTvTunerV1_1TestConfigurations.h +++ b/tv/tuner/1.1/vts/functional/VtsHalTvTunerV1_1TestConfigurations.h
@@ -86,7 +86,7 @@ types.push_back(FrontendStatusTypeExt1_1::IS_MISO); vector<FrontendStatusExt1_1> statuses; FrontendStatusExt1_1 status; - status.uec(4); + status.uec(0); statuses.push_back(status); status.isMiso(true); statuses.push_back(status);