Home
last modified time | relevance | path

Searched refs:StatsCollector (Results 1 – 12 of 12) sorted by relevance

/packages/services/Car/cpp/evs/manager/1.1/stats/
DStatsCollector.cpp58 void StatsCollector::handleMessage(const Message& message) { in handleMessage()
102 Result<void> StatsCollector::handleCollectionEvent(CollectionEvent event, CollectionInfo* info) { in handleCollectionEvent()
142 Result<void> StatsCollector::collectLocked(CollectionInfo* info) REQUIRES(mMutex) { in collectLocked()
168 android::base::Result<void> StatsCollector::startCollection() { in startCollection()
227 StatsCollector::~StatsCollector() { in ~StatsCollector()
246 Result<void> StatsCollector::startCustomCollection(std::chrono::nanoseconds interval, in startCustomCollection()
299 Result<std::string> StatsCollector::stopCustomCollection(std::string targetId) { in stopCustomCollection()
360 Result<void> StatsCollector::registerClientToMonitor(const android::sp<HalCamera>& camera) { in registerClientToMonitor()
376 Result<void> StatsCollector::unregisterClientToMonitor(const std::string& id) { in unregisterClientToMonitor()
388 std::string StatsCollector::collectionEventToString(const CollectionEvent& event) const { in collectionEventToString()
[all …]
DStatsCollector.h72 class StatsCollector : public IStatsCollector, public MessageHandler {
74 StatsCollector() : in StatsCollector() function
80 virtual ~StatsCollector();
/packages/services/Car/cpp/evs/manager/aidl/stats/src/
DStatsCollector.cpp59 void StatsCollector::handleMessage(const Message& message) { in handleMessage()
102 Result<void> StatsCollector::handleCollectionEvent(CollectionEvent event, CollectionInfo* info) { in handleCollectionEvent()
141 Result<void> StatsCollector::collectLocked(CollectionInfo* info) REQUIRES(mMutex) { in collectLocked()
167 Result<void> StatsCollector::startCollection() { in startCollection()
227 Result<void> StatsCollector::stopCollection() { in stopCollection()
249 Result<void> StatsCollector::startCustomCollection(std::chrono::nanoseconds interval, in startCustomCollection()
303 Result<std::string> StatsCollector::stopCustomCollection(const std::string& targetId) { in stopCustomCollection()
367 Result<void> StatsCollector::registerClientToMonitor(const std::shared_ptr<HalCamera>& camera) { in registerClientToMonitor()
383 Result<void> StatsCollector::unregisterClientToMonitor(const std::string& id) { in unregisterClientToMonitor()
395 std::string StatsCollector::toString(const CollectionEvent& event) const { in toString()
[all …]
/packages/services/Car/cpp/evs/manager/1.1/test/unit/
DStatsCollectorTest.cpp22 using android::automotive::evs::V1_1::implementation::StatsCollector;
24 TEST(StatsCollector, Constructs) { in TEST() argument
25 StatsCollector statsCollector{}; in TEST()
/packages/modules/AppSearch/service/java/com/android/server/appsearch/stats/
DStatsCollector.java51 public final class StatsCollector implements StatsManager.StatsPullAtomCallback { class
54 private static volatile StatsCollector sStatsCollector;
64 public static StatsCollector getInstance(@NonNull Context context, @NonNull Executor executor) { in getInstance()
68 synchronized (StatsCollector.class) { in getInstance()
70 sStatsCollector = new StatsCollector(context, executor); in getInstance()
77 private StatsCollector(@NonNull Context context, @NonNull Executor executor) { in StatsCollector() method in StatsCollector
/packages/services/Car/cpp/evs/manager/aidl/stats/include/
DStatsCollector.h67 class StatsCollector : public ::android::MessageHandler {
69 explicit StatsCollector() : in StatsCollector() function
75 virtual ~StatsCollector() { stopCollection(); } in ~StatsCollector()
/packages/services/Car/cpp/evs/manager/aidl/include/
DEnumerator.h125 ::android::sp<StatsCollector> mClientsMonitor;
/packages/services/Car/cpp/evs/manager/1.1/
DAndroid.bp80 "stats/StatsCollector.cpp",
DEnumerator.cpp163 std::make_unique<StatsCollector>(), std::make_unique<ProdPermissionChecker>()); in build()
/packages/services/Car/cpp/evs/manager/aidl/
DAndroid.bp86 "stats/src/StatsCollector.cpp",
/packages/services/Car/cpp/evs/manager/aidl/src/
DEnumerator.cpp182 mClientsMonitor = new (std::nothrow) StatsCollector(); in init()
938 mClientsMonitor = new (std::nothrow) StatsCollector(); in init()
/packages/modules/AppSearch/service/java/com/android/server/appsearch/
DAppSearchManagerService.java123 import com.android.server.appsearch.stats.StatsCollector;
225 StatsCollector.getInstance(mContext, SHARED_EXECUTOR); in onBootPhase()