Home
last modified time | relevance | path

Searched refs:hasWaitPkg (Results 1 – 3 of 3) sorted by relevance

/developtools/hdc/src/common/
Duart.h327 cv.wait(lock, [=] { return hasWaitPkg.find(sessionId) == hasWaitPkg.end(); }); in Wait()
328 hasWaitPkg.emplace(sessionId); in Wait()
334 hasWaitPkg.erase(sessionId); in Free()
343 [=] { return hasWaitPkg.size() == 0; }); in WaitFree()
349 std::unordered_set<uint32_t> hasWaitPkg; variable
Duart.cpp717 std::unordered_set<uint32_t> hasWaitPkg; in SendPkgInUARTOutMap() local
724 if (!it->response and hasWaitPkg.find(it->sessionId) != hasWaitPkg.end()) { in SendPkgInUARTOutMap()
748 hasWaitPkg.emplace(it->sessionId); in SendPkgInUARTOutMap()
779 hasWaitPkg.emplace(it->sessionId); in SendPkgInUARTOutMap()
/developtools/hdc/test/unittest/common/
Duart_test.cpp758 EXPECT_THAT(slot.hasWaitPkg, Not(Contains(sessionId)));
760 EXPECT_THAT(slot.hasWaitPkg, Contains(sessionId));
762 EXPECT_THAT(slot.hasWaitPkg, Contains(sessionId));