Home
last modified time | relevance | path

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

/developtools/hdc/src/common/
Duart.cpp669 auto it = std::find_if(outPkgs.begin(), outPkgs.end(), HandleOutputPkgKeyFinder(pkgId)); in RequestSendPackage()
670 if (it == outPkgs.end()) { in RequestSendPackage()
673 outPkgs.emplace_back(pkgId, head->sessionId, data, length, response, in RequestSendPackage()
676 head->ToDebugString().c_str(), outPkgs.size()); in RequestSendPackage()
692 auto it = std::find_if(outPkgs.begin(), outPkgs.end(), HandleOutputPkgKeyFinder(pkgId)); in ProcessResponsePackage()
693 if (it != outPkgs.end()) { in ProcessResponsePackage()
696 outPkgs.erase(it); in ProcessResponsePackage()
704 for (auto pkg : outPkgs) { in ProcessResponsePackage()
715 if (outPkgs.empty()) { in SendPkgInUARTOutMap()
719 WRITE_LOG(LOG_DEBUG, "UartPackageManager: send pkgs, have:%zu pkgs", outPkgs.size()); in SendPkgInUARTOutMap()
[all …]
Duart.h353 vector<HandleOutputPkg> outPkgs; // Pkg label, HOutPkg variable
/developtools/hdc/test/unittest/common/
Duart_test.cpp773 vector<HdcUARTBase::HandleOutputPkg> outPkgs; // Pkg label, HOutPkg variable
774 outPkgs.emplace_back("A", 0, nullptr, 0);
775 outPkgs.emplace_back("B", 0, nullptr, 0);
777 std::find_if(outPkgs.begin(), outPkgs.end(), HdcUARTBase::HandleOutputPkgKeyFinder("A")),
778 outPkgs.end());
780 std::find_if(outPkgs.begin(), outPkgs.end(), HdcUARTBase::HandleOutputPkgKeyFinder("B")),
781 outPkgs.end());
783 std::find_if(outPkgs.begin(), outPkgs.end(), HdcUARTBase::HandleOutputPkgKeyFinder("C")),
784 outPkgs.end());