UEC is not static on real device, so check its range intead of specific value am: c2794f8c26 am: 44272133e5 am: 047d533cdc am: 176d59adcd

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2611423

Change-Id: If1dbc260d6710607dffff624cf8b9c64b29f93c2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Henry Fang 2023-06-03 01:11:47 +00:00 committed by Automerger Merge Worker
commit cb0946d2c5
2 changed files with 2 additions and 2 deletions

View file

@ -379,7 +379,7 @@ void FrontendTests::verifyFrontendStatusExt1_1(vector<FrontendStatusTypeExt1_1>
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: {

View file

@ -86,7 +86,7 @@ inline void initFrontendConfig() {
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);