UEC is not static on real device, so check its range intead of specific value am: c2794f8c26
am: 44272133e5
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2611423 Change-Id: Ia81b10cf46a0b37aa09ef96143463d5970fa2979 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
047d533cdc
2 changed files with 2 additions and 2 deletions
|
@ -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: {
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue