Home
last modified time | relevance | path

Searched refs:CollectionEvent (Results 1 – 2 of 2) sorted by relevance

/packages/services/Car/cpp/evs/manager/1.1/stats/
DStatsCollector.cpp62 const auto received = static_cast<CollectionEvent>(message.what); in handleMessage()
65 case CollectionEvent::PERIODIC: in handleMessage()
69 case CollectionEvent::CUSTOM_START: in handleMessage()
73 case CollectionEvent::CUSTOM_END: { in handleMessage()
75 if (mCurrentCollectionEvent != CollectionEvent::CUSTOM_START) { in handleMessage()
83 mCurrentCollectionEvent = CollectionEvent::PERIODIC; in handleMessage()
85 mLooper->sendMessage(this, CollectionEvent::PERIODIC); in handleMessage()
99 mCurrentCollectionEvent = CollectionEvent::TERMINATED; in handleMessage()
106 Result<void> StatsCollector::handleCollectionEvent(CollectionEvent event, in handleCollectionEvent()
110 if (mCurrentCollectionEvent != CollectionEvent::TERMINATED) { in handleCollectionEvent()
[all …]
DStatsCollector.h42 enum CollectionEvent { enum
81 mCurrentCollectionEvent(CollectionEvent::INIT), in StatsCollector()
130 CollectionEvent mCurrentCollectionEvent GUARDED_BY(mMutex);
147 CollectionEvent event, CollectionInfo* info) EXCLUDES(mMutex);
154 std::string toString(const CollectionEvent& event) const;