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

Commit cbe8e9ab authored by Valerie Hau's avatar Valerie Hau
Browse files

Clearing reader and writer queues in executeCommands for HWC VTS Tests

Test: ./VtsHalGraphicsComposerV2_1TargetTest,
./VtsHalGraphicsComposerV2_2TargetTest

Change-Id: Ie47e486d191da30be47cde47d768d3cdde8e04e9
parent 71d8bd09
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -311,6 +311,8 @@ void ComposerClient::execute(TestCommandReader* reader, CommandWriterBase* write
                                 ASSERT_TRUE(reader->readQueue(tmpOutLength, tmpOutHandles));
                                 reader->parse();
                             });
    reader->reset();
    writer->reset();
}

}  // namespace vts
+2 −0
Original line number Diff line number Diff line
@@ -86,6 +86,8 @@ void ComposerClient::execute(V2_1::vts::TestCommandReader* reader, CommandWriter
                                 ASSERT_TRUE(reader->readQueue(tmpOutLength, tmpOutHandles));
                                 reader->parse();
                             });
    reader->reset();
    writer->reset();
}

Display ComposerClient::createVirtualDisplay_2_2(uint32_t width, uint32_t height,