Home
last modified time | relevance | path

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

/packages/services/Car/cpp/evs/manager/1.1/stats/
DStatsCollector.cpp59 const auto received = static_cast<CollectionEvent>(message.what); in handleMessage()
62 case CollectionEvent::PERIODIC: in handleMessage()
66 case CollectionEvent::CUSTOM_START: in handleMessage()
70 case CollectionEvent::CUSTOM_END: { in handleMessage()
72 if (mCurrentCollectionEvent != CollectionEvent::CUSTOM_START) { in handleMessage()
81 mCurrentCollectionEvent = CollectionEvent::PERIODIC; in handleMessage()
83 mLooper->sendMessage(this, CollectionEvent::PERIODIC); in handleMessage()
96 mCurrentCollectionEvent = CollectionEvent::TERMINATED; in handleMessage()
102 Result<void> StatsCollector::handleCollectionEvent(CollectionEvent event, CollectionInfo* info) { in handleCollectionEvent()
105 if (mCurrentCollectionEvent != CollectionEvent::TERMINATED) { in handleCollectionEvent()
[all …]
DStatsCollector.h38 enum CollectionEvent { enum
76 mCurrentCollectionEvent(CollectionEvent::INIT), in StatsCollector()
118 CollectionEvent mCurrentCollectionEvent GUARDED_BY(mMutex);
133 android::base::Result<void> handleCollectionEvent(CollectionEvent event, CollectionInfo* info)
141 std::string collectionEventToString(const CollectionEvent& event) const;
/packages/services/Car/cpp/evs/manager/aidl/stats/src/
DStatsCollector.cpp60 const auto received = static_cast<CollectionEvent>(message.what); in handleMessage()
63 case CollectionEvent::PERIODIC: in handleMessage()
67 case CollectionEvent::CUSTOM_START: in handleMessage()
71 case CollectionEvent::CUSTOM_END: { in handleMessage()
73 if (mCurrentCollectionEvent != CollectionEvent::CUSTOM_START) { in handleMessage()
81 mCurrentCollectionEvent = CollectionEvent::PERIODIC; in handleMessage()
83 mLooper->sendMessage(this, CollectionEvent::PERIODIC); in handleMessage()
96 mCurrentCollectionEvent = CollectionEvent::TERMINATED; in handleMessage()
102 Result<void> StatsCollector::handleCollectionEvent(CollectionEvent event, CollectionInfo* info) { in handleCollectionEvent()
105 if (mCurrentCollectionEvent != CollectionEvent::TERMINATED) { in handleCollectionEvent()
[all …]
/packages/services/Car/cpp/evs/manager/aidl/stats/include/
DStatsCollector.h37 enum CollectionEvent { enum
71 mCurrentCollectionEvent(CollectionEvent::INIT), in StatsCollector()
118 CollectionEvent mCurrentCollectionEvent GUARDED_BY(mMutex);
133 ::android::base::Result<void> handleCollectionEvent(CollectionEvent event, CollectionInfo* info)
141 std::string toString(const CollectionEvent& event) const;