Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6807799a authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "vts: fix some tunerhal vts fail without frontend device" into android11-tests-dev

parents 2f7d5765 4a9941d7
Loading
Loading
Loading
Loading
+10 −8
Original line number Diff line number Diff line
@@ -418,7 +418,7 @@ AssertionResult FrontendTests::closeFrontend() {

void FrontendTests::getFrontendIdByType(FrontendType feType, uint32_t& feId) {
    ASSERT_TRUE(getFrontendIds());
    ASSERT_TRUE(mFeIds.size() > 0);
    if (mFeIds.size() > 0) {
        for (size_t i = 0; i < mFeIds.size(); i++) {
            ASSERT_TRUE(getFrontendInfo(mFeIds[i]));
            if (mFrontendInfo.type != feType) {
@@ -427,8 +427,10 @@ void FrontendTests::getFrontendIdByType(FrontendType feType, uint32_t& feId) {
            feId = mFeIds[i];
            return;
        }
    } else {
        feId = INVALID_ID;
    }
}

void FrontendTests::tuneTest(FrontendConfig frontendConf) {
    uint32_t feId;