Add blindScan condition to blindScan test

Bug: 203389496

Change-Id: If44df620ab90b5b0247fbee15e2b2a57e27683b5
Merged-In: If44df620ab90b5b0247fbee15e2b2a57e27683b5
This commit is contained in:
ming.lo 2021-11-05 16:22:38 +08:00 committed by Hongguang Chen
parent 4915df85a0
commit 3d49487541
2 changed files with 4 additions and 2 deletions

View file

@ -128,7 +128,8 @@ wait:
}
EXPECT_TRUE(scanMsgLockedReceived) << "Scan message LOCKED not received before END";
EXPECT_TRUE(targetFrequencyReceived) << "frequency not received before LOCKED on blindScan";
if (type == FrontendScanType::SCAN_BLIND)
EXPECT_TRUE(targetFrequencyReceived) << "frequency not received before LOCKED on blindScan";
mScanMessageReceived = false;
mScanMsgProcessed = true;
}

View file

@ -180,7 +180,8 @@ wait:
}
EXPECT_TRUE(scanMsgLockedReceived) << "Scan message LOCKED not received before END";
EXPECT_TRUE(targetFrequencyReceived) << "frequency not received before LOCKED on blindScan";
if (type == FrontendScanType::SCAN_BLIND)
EXPECT_TRUE(targetFrequencyReceived) << "frequency not received before LOCKED on blindScan";
mScanMessageReceived = false;
mScanMsgProcessed = true;
}