Refine infeasible frontend status check
Bug: 322055872 Test: atest VtsHalTvTunerTargetTest Change-Id: I43bef4b7c5b6bc0f85904916040617fbde16b894
This commit is contained in:
parent
7d03f49853
commit
9b13077c4c
2 changed files with 2 additions and 9 deletions
|
@ -353,8 +353,7 @@ void FrontendTests::verifyFrontendStatus(vector<FrontendStatusType> statusTypes,
|
|||
break;
|
||||
}
|
||||
case FrontendStatusType::UEC: {
|
||||
ASSERT_TRUE(realStatuses[i].get<FrontendStatus::Tag::uec>() ==
|
||||
expectStatuses[i].get<FrontendStatus::Tag::uec>());
|
||||
ASSERT_TRUE(realStatuses[i].get<FrontendStatus::Tag::uec>() >= 0);
|
||||
break;
|
||||
}
|
||||
case FrontendStatusType::T2_SYSTEM_ID: {
|
||||
|
|
|
@ -273,16 +273,10 @@ struct TunerTestingConfigAidlReader1_0 {
|
|||
vector<FrontendStatusType> types;
|
||||
vector<FrontendStatus> statuses;
|
||||
|
||||
types.push_back(FrontendStatusType::DEMOD_LOCK);
|
||||
types.push_back(FrontendStatusType::UEC);
|
||||
types.push_back(FrontendStatusType::IS_MISO);
|
||||
|
||||
FrontendStatus status;
|
||||
status.set<FrontendStatus::Tag::isDemodLocked>(true);
|
||||
statuses.push_back(status);
|
||||
status.set<FrontendStatus::Tag::uec>(4);
|
||||
statuses.push_back(status);
|
||||
status.set<FrontendStatus::Tag::isMiso>(true);
|
||||
status.set<FrontendStatus::Tag::uec>(0);
|
||||
statuses.push_back(status);
|
||||
|
||||
auto frontends = *hardwareConfig.getFirstFrontends();
|
||||
|
|
Loading…
Reference in a new issue