Home
last modified time | relevance | path

Searched refs:mCollectionThread (Results 1 – 5 of 5) sorted by relevance

/aosp12/packages/services/Car/cpp/evs/manager/1.1/stats/
H A DStatsCollector.cpp181 mCollectionThread.joinable()) { in startCollection()
196 mCollectionThread = std::thread([&]() { in startCollection()
231 auto ret = pthread_setname_np(mCollectionThread.native_handle(), "EvsUsageCollect"); in startCollection()
253 if (mCollectionThread.joinable()) { in stopCollection()
256 mCollectionThread.join(); in stopCollection()
H A DStatsCollector.h127 std::thread mCollectionThread; variable
/aosp12/packages/services/Car/cpp/watchdog/server/tests/
H A DWatchdogPerfServiceTest.cpp103 if (service->mCollectionThread.joinable()) { in joinCollectionThread()
104 service->mCollectionThread.join(); in joinCollectionThread()
174 ASSERT_TRUE(service->mCollectionThread.joinable()) << "Collection thread not created"; in TEST()
189 ASSERT_FALSE(service->mCollectionThread.joinable()) << "Collection thread did not terminate"; in TEST()
/aosp12/packages/services/Car/cpp/watchdog/server/src/
H A DWatchdogPerfService.cpp166 if (mCurrCollectionEvent != EventType::INIT || mCollectionThread.joinable()) { in start()
203 mCollectionThread = std::thread([&]() { in start()
259 if (mCollectionThread.joinable()) { in terminate()
260 mCollectionThread.join(); in terminate()
H A DWatchdogPerfService.h271 std::thread mCollectionThread; variable