Home
last modified time | relevance | path

Searched defs:atomId (Results 1 – 25 of 49) sorted by relevance

12

/packages/modules/StatsD/statsd/tests/
DLogEventFilter_test.cpp43 for (const auto& atomId : sampleIds) { in testGuaranteedUnusedAtomsNotInUse() local
54 for (const auto& atomId : sampleIds) { in TEST() local
75 for (const auto& atomId : sampleIds) { in TEST() local
89 for (const auto& atomId : sampleIds) { in TEST() local
101 for (const auto& atomId : sampleIds) { in TEST() local
114 for (const auto& atomId : sampleIds) { in TEST() local
129 for (const auto& atomId : sampleIds) { in TEST() local
139 for (const auto& atomId : sampleIds) { in TEST() local
157 for (const auto& atomId : sampleIds) { in TEST() local
168 for (const auto& atomId : sampleIds) { in TEST() local
[all …]
Dstatsd_test_util.cpp73 AtomMatcher CreateSimpleAtomMatcher(const string& name, int atomId) { in CreateSimpleAtomMatcher()
475 FieldMatcher CreateAttributionUidDimensions(const int atomId, in CreateAttributionUidDimensions()
488 FieldMatcher CreateAttributionUidAndTagDimensions(const int atomId, in CreateAttributionUidAndTagDimensions()
502 FieldMatcher CreateDimensions(const int atomId, const std::vector<int>& fields) { in CreateDimensions()
511 FieldMatcher CreateRepeatedDimensions(const int atomId, const std::vector<int>& fields, in CreateRepeatedDimensions()
527 FieldMatcher CreateAttributionUidAndOtherDimensions(const int atomId, in CreateAttributionUidAndOtherDimensions()
737 void CreateTwoValueLogEvent(LogEvent* logEvent, int atomId, int64_t eventTimeNs, int32_t value1, in CreateTwoValueLogEvent()
749 shared_ptr<LogEvent> CreateTwoValueLogEvent(int atomId, int64_t eventTimeNs, int32_t value1, in CreateTwoValueLogEvent()
756 void CreateThreeValueLogEvent(LogEvent* logEvent, int atomId, int64_t eventTimeNs, int32_t value1, in CreateThreeValueLogEvent()
769 shared_ptr<LogEvent> CreateThreeValueLogEvent(int atomId, int64_t eventTimeNs, int32_t value1, in CreateThreeValueLogEvent()
[all …]
DLogEntryMatcher_test.cpp44 void makeIntLogEvent(LogEvent* logEvent, const int32_t atomId, const int64_t timestamp, in makeIntLogEvent()
54 void makeFloatLogEvent(LogEvent* logEvent, const int32_t atomId, const int64_t timestamp, in makeFloatLogEvent()
64 void makeStringLogEvent(LogEvent* logEvent, const int32_t atomId, const int64_t timestamp, in makeStringLogEvent()
74 void makeIntWithBoolAnnotationLogEvent(LogEvent* logEvent, const int32_t atomId, in makeIntWithBoolAnnotationLogEvent()
85 void makeAttributionLogEvent(LogEvent* logEvent, const int32_t atomId, const int64_t timestamp, in makeAttributionLogEvent()
98 void makeBoolLogEvent(LogEvent* logEvent, const int32_t atomId, const int64_t timestamp, in makeBoolLogEvent()
110 void makeRepeatedIntLogEvent(LogEvent* logEvent, const int32_t atomId, in makeRepeatedIntLogEvent()
118 void makeRepeatedUidLogEvent(LogEvent* logEvent, const int32_t atomId, in makeRepeatedUidLogEvent()
127 void makeRepeatedStringLogEvent(LogEvent* logEvent, const int32_t atomId, in makeRepeatedStringLogEvent()
/packages/modules/StatsD/statsd/benchmark/
Dlog_event_filter_benchmark.cpp86 for (const auto& atomId : kSampleIdsList) { in BM_LogEventFilterUnorderedSet() local
102 for (const auto& atomId : kSampleIdsList) { in BM_LogEventFilterUnorderedSet2Consumers() local
115 for (const auto& atomId : kSampleIdsList) { in BM_LogEventFilterSet() local
131 for (const auto& atomId : kSampleIdsList) { in BM_LogEventFilterSet2Consumers() local
Dmetric_util.cpp23 AtomMatcher CreateSimpleAtomMatcher(const string& name, int atomId) { in CreateSimpleAtomMatcher()
214 FieldMatcher CreateAttributionUidDimensions(const int atomId, in CreateAttributionUidDimensions()
227 FieldMatcher CreateAttributionUidAndTagDimensions(const int atomId, in CreateAttributionUidAndTagDimensions()
241 FieldMatcher CreateDimensions(const int atomId, const std::vector<int>& fields) { in CreateDimensions()
/packages/modules/StatsD/lib/libstatssocket/tests/
Dstats_event_test.cpp116 uint32_t atomId, uint8_t numAtomLevelAnnotations = 0) { in checkMetadata()
136 uint32_t atomId = 100; in TEST() local
180 uint32_t atomId = 100; in TEST() local
205 uint32_t atomId = 100; in TEST() local
230 uint32_t atomId = 100; in TEST() local
255 uint32_t atomId = 100; in TEST() local
281 uint32_t atomId = 100; in TEST() local
336 uint32_t atomId = 100; in TEST() local
379 uint32_t atomId = 100; in TEST() local
431 uint32_t atomId = 100; in TEST() local
[all …]
/packages/modules/StatsD/statsd/src/
Dstats_log_util.h112 inline bool isVendorPulledAtom(int atomId) { in isVendorPulledAtom()
116 inline bool isPulledAtom(int atomId) { in isPulledAtom()
/packages/modules/StatsD/statsd/src/state/
DStateManager.cpp55 void StateManager::registerListener(const int32_t atomId, wp<StateListener> listener) { in registerListener()
63 void StateManager::unregisterListener(const int32_t atomId, wp<StateListener> listener) { in unregisterListener()
87 bool StateManager::getStateValue(const int32_t atomId, const HashableDimensionKey& key, in getStateValue()
DStateManager.h80 inline int getListenersCount(const int32_t atomId) const { in getListenersCount()
DStateTracker.cpp28 StateTracker::StateTracker(const int32_t atomId) : mField(atomId, 0) { in StateTracker()
/packages/modules/StatsD/lib/libstatssocket/
Dstats_buffer_writer.c30 void note_log_drop(int error, int atomId) { in note_log_drop()
47 int write_buffer_to_statsd(void* buffer, size_t size, uint32_t atomId) { in write_buffer_to_statsd()
/packages/modules/StatsD/statsd/tests/external/
DStatsPullerManager_test.cpp47 AStatsEvent* createSimpleEvent(int32_t atomId, int32_t value) { in createSimpleEvent()
79 vector<int32_t> getPullAtomUids(int atomId) override { in getPullAtomUids()
/packages/modules/StatsD/statsd/src/socket/
DLogEventFilter.h63 virtual bool isAtomInUse(int atomId) const { in isAtomInUse()
DStatsSocketListener.cpp147 const int32_t atomId = logEvent->GetTagId(); in processMessage() local
/packages/modules/StatsD/statsd/src/metrics/
DMetricProducer.cpp167 for (auto atomId : mSlicedStateAtoms) { in onMatchedLogEventLocked() local
322 void MetricProducer::queryStateValue(const int32_t atomId, const HashableDimensionKey& queryKey, in queryStateValue()
332 void MetricProducer::mapStateValue(const int32_t atomId, FieldValue* value) { in mapStateValue()
DMetricsManager.cpp120 for (int atomId : it->getSlicedStateAtoms()) { in ~MetricsManager() local
253 int32_t atomId = pullAtomPackages.atom_id(); in createAllLogSourcesFromConfig() local
410 vector<int32_t> MetricsManager::getPullAtomUids(int32_t atomId) { in getPullAtomUids()
/packages/modules/StatsD/framework/jni/
Dandroid_util_StatsLog.cpp28 jint atomId) { in android_util_StatsLog_write()
/packages/modules/StatsD/statsd/src/guardrail/
DStatsdStats.cpp304 void StatsdStats::noteEventQueueOverflow(int64_t oldestEventTimestampNs, int32_t atomId, in noteEventQueueOverflow()
324 void StatsdStats::noteAtomDroppedLocked(int32_t atomId) { in noteAtomDroppedLocked()
534 void StatsdStats::noteAtomLogged(int atomId, int32_t /*timeSec*/, bool isSkipped) { in noteAtomLogged()
540 void StatsdStats::noteAtomLoggedLocked(int atomId, bool isSkipped) { in noteAtomLoggedLocked()
565 void StatsdStats::notePullFailed(int atomId) { in notePullFailed()
570 void StatsdStats::notePullUidProviderNotFound(int atomId) { in notePullUidProviderNotFound()
575 void StatsdStats::notePullerNotFound(int atomId) { in notePullerNotFound()
580 void StatsdStats::notePullBinderCallFailed(int atomId) { in notePullBinderCallFailed()
585 void StatsdStats::noteEmptyData(int atomId) { in noteEmptyData()
590 void StatsdStats::notePullerCallbackRegistrationChanged(int atomId, bool registered) { in notePullerCallbackRegistrationChanged()
[all …]
/packages/modules/StatsD/statsd/src/metrics/duration_helper/
DMaxDurationTracker.cpp250 void MaxDurationTracker::onStateChanged(const int64_t timestamp, const int32_t atomId, in onStateChanged()
334 void MaxDurationTracker::updateCurrentStateKey(const int32_t atomId, const FieldValue& newState) { in updateCurrentStateKey()
DOringDurationTracker.cpp344 void OringDurationTracker::onStateChanged(const int64_t timestamp, const int32_t atomId, in onStateChanged()
468 void OringDurationTracker::updateCurrentStateKey(const int32_t atomId, const FieldValue& newState) { in updateCurrentStateKey()
/packages/services/Mms/src/com/android/mms/service/metrics/
DMmsMetricsCollector.java153 private void registerAtom(int atomId) { in registerAtom()
/packages/modules/AppSearch/service/java/com/android/server/appsearch/stats/
DStatsCollector.java142 private void registerAtom(int atomId, @Nullable StatsManager.PullAtomMetadata policy, in registerAtom()
/packages/modules/StatsD/tests/src/android/cts/statsd/metric/
DMetricsUtils.java38 public static AtomMatcher.Builder getAtomMatcher(int atomId) { in getAtomMatcher()
/packages/modules/StatsD/framework/java/android/util/
DStatsLog.java455 private static native void writeImpl(@NonNull byte[] buffer, int size, int atomId); in writeImpl()
/packages/modules/StatsD/statsd/tests/metrics/
DCountMetricProducer_test.cpp46 void makeLogEvent(LogEvent* logEvent, int64_t timestampNs, int atomId) { in makeLogEvent()
54 void makeLogEvent(LogEvent* logEvent, int64_t timestampNs, int atomId, string uid) { in makeLogEvent()

12