Home
last modified time | relevance | path

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

123

/packages/modules/StatsD/statsd/tests/
DLogEventFilter_test.cpp43 for (const auto& atomId : sampleIds) { in testGuaranteedUnusedAtomsNotInUse() local
61 for (const auto& atomId : sampleIds) { in TEST_F() local
80 for (const auto& atomId : sampleIds) { in TEST_F() local
93 for (const auto& atomId : sampleIds) { in TEST_F() local
104 for (const auto& atomId : sampleIds) { in TEST_F() local
116 for (const auto& atomId : sampleIds) { in TEST_F() local
130 for (const auto& atomId : sampleIds) { in TEST_F() local
140 for (const auto& atomId : sampleIds) { in TEST_F() local
157 for (const auto& atomId : sampleIds) { in TEST_F() local
168 for (const auto& atomId : sampleIds) { in TEST_F() 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()
739 void CreateTwoValueLogEvent(LogEvent* logEvent, int atomId, int64_t eventTimeNs, int32_t value1, in CreateTwoValueLogEvent()
751 shared_ptr<LogEvent> CreateTwoValueLogEvent(int atomId, int64_t eventTimeNs, int32_t value1, in CreateTwoValueLogEvent()
758 void CreateThreeValueLogEvent(LogEvent* logEvent, int atomId, int64_t eventTimeNs, int32_t value1, in CreateThreeValueLogEvent()
771 shared_ptr<LogEvent> CreateThreeValueLogEvent(int atomId, int64_t eventTimeNs, int32_t value1, in CreateThreeValueLogEvent()
[all …]
DLogEntryMatcher_test.cpp45 void makeIntLogEvent(LogEvent* logEvent, const int32_t atomId, const int64_t timestamp, in makeIntLogEvent()
55 void makeFloatLogEvent(LogEvent* logEvent, const int32_t atomId, const int64_t timestamp, in makeFloatLogEvent()
65 void makeStringLogEvent(LogEvent* logEvent, const int32_t atomId, const int64_t timestamp, in makeStringLogEvent()
75 void makeIntWithBoolAnnotationLogEvent(LogEvent* logEvent, const int32_t atomId, in makeIntWithBoolAnnotationLogEvent()
86 void makeAttributionLogEvent(LogEvent* logEvent, const int32_t atomId, const int64_t timestamp, in makeAttributionLogEvent()
99 void makeBoolLogEvent(LogEvent* logEvent, const int32_t atomId, const int64_t timestamp, in makeBoolLogEvent()
111 void makeRepeatedIntLogEvent(LogEvent* logEvent, const int32_t atomId, in makeRepeatedIntLogEvent()
119 void makeRepeatedUidLogEvent(LogEvent* logEvent, const int32_t atomId, in makeRepeatedUidLogEvent()
128 void makeRepeatedStringLogEvent(LogEvent* logEvent, const int32_t atomId, in makeRepeatedStringLogEvent()
/packages/modules/StatsD/lib/libstatssocket/
Dstats_buffer_writer_queue.cpp41 bool BufferWriterQueue::write(const uint8_t* buffer, size_t size, uint32_t atomId) { in write()
69 uint32_t atomId) { in createWriteBufferCmd()
150 bool write_buffer_to_statsd_queue(const uint8_t* buffer, size_t size, uint32_t atomId) { in write_buffer_to_statsd_queue()
156 bool should_write_via_queue(uint32_t atomId) {
Dstats_buffer_writer.c40 void note_log_drop(int error, int atomId) { in note_log_drop()
57 int write_buffer_to_statsd(void* buffer, size_t size, uint32_t atomId) { in write_buffer_to_statsd()
70 int write_buffer_to_statsd_impl(void* buffer, size_t size, uint32_t atomId, bool doNoteDrop) { in write_buffer_to_statsd_impl()
Dstats_buffer_writer_queue_impl.h41 int atomId = 0; member
Dstats_socket_loss_reporter.cpp42 void StatsSocketLossReporter::noteDrop(int32_t error, int32_t atomId) { in noteDrop()
/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
Don_log_event_benchmark.cpp33 for (int atomId = 1000; atomId < 2000; atomId++) { in BM_OnLogEvent() local
/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 …]
Dstats_buffer_writer_queue_test.cpp62 const uint32_t atomId = AStatsEvent_getAtomId(event); in TEST() local
85 const uint32_t atomId = AStatsEvent_getAtomId(event); in TEST() local
113 const uint32_t atomId = AStatsEvent_getAtomId(event); in TEST() local
157 const uint32_t atomId = AStatsEvent_getAtomId(event); in TEST() local
/packages/modules/StatsD/statsd/src/
Dstats_log_util.h117 inline bool isVendorPulledAtom(int atomId) { in isVendorPulledAtom()
121 inline bool isPulledAtom(int atomId) { in isPulledAtom()
/packages/modules/StatsD/statsd/src/state/
DStateManager.cpp56 void StateManager::registerListener(const int32_t atomId, const wp<StateListener>& listener) { in registerListener()
64 void StateManager::unregisterListener(const int32_t atomId, const wp<StateListener>& listener) { in unregisterListener()
88 bool StateManager::getStateValue(const int32_t atomId, const HashableDimensionKey& key, in getStateValue()
DStateManager.h80 inline int getListenersCount(int32_t atomId) const { in getListenersCount()
DStateTracker.cpp28 StateTracker::StateTracker(int32_t atomId) : mField(atomId, 0) { in StateTracker()
/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()
/packages/modules/StatsD/framework/jni/
Dandroid_util_StatsLog.cpp28 jint atomId) { in android_util_StatsLog_write()
/packages/modules/StatsD/statsd/src/metrics/
DMetricProducer.cpp168 for (auto atomId : mSlicedStateAtoms) { in onMatchedLogEventLocked() local
354 void MetricProducer::queryStateValue(int32_t atomId, const HashableDimensionKey& queryKey, in queryStateValue()
364 void MetricProducer::mapStateValue(int32_t atomId, FieldValue* value) { in mapStateValue()
/packages/modules/StatsD/statsd/src/metrics/duration_helper/
DMaxDurationTracker.cpp260 void MaxDurationTracker::onStateChanged(const int64_t timestamp, const int32_t atomId, in onStateChanged()
344 void MaxDurationTracker::updateCurrentStateKey(const int32_t atomId, const FieldValue& newState) { in updateCurrentStateKey()
DOringDurationTracker.cpp353 void OringDurationTracker::onStateChanged(const int64_t timestamp, const int32_t atomId, in onStateChanged()
482 void OringDurationTracker::updateCurrentStateKey(const int32_t atomId, const FieldValue& newState) { in updateCurrentStateKey()
/packages/services/Mms/src/com/android/mms/service/metrics/
DMmsMetricsCollector.java154 private void registerAtom(int atomId) { in registerAtom()
/packages/modules/StatsD/statsd/src/guardrail/
DStatsdStats.cpp411 void StatsdStats::noteEventQueueOverflow(int64_t oldestEventTimestampNs, int32_t atomId, in noteEventQueueOverflow()
440 void StatsdStats::noteAtomDroppedLocked(int32_t atomId) { in noteAtomDroppedLocked()
750 void StatsdStats::noteAtomLogged(int atomId, int32_t /*timeSec*/, bool isSkipped) { in noteAtomLogged()
756 void StatsdStats::noteAtomLoggedLocked(int atomId, bool isSkipped) { in noteAtomLoggedLocked()
781 void StatsdStats::notePullFailed(int atomId) { in notePullFailed()
786 void StatsdStats::notePullUidProviderNotFound(int atomId) { in notePullUidProviderNotFound()
791 void StatsdStats::notePullerNotFound(int atomId) { in notePullerNotFound()
796 void StatsdStats::notePullBinderCallFailed(int atomId) { in notePullBinderCallFailed()
801 void StatsdStats::noteEmptyData(int atomId) { in noteEmptyData()
806 void StatsdStats::notePullerCallbackRegistrationChanged(int atomId, bool registered) { in notePullerCallbackRegistrationChanged()
[all …]
/packages/modules/StatsD/tests/utils/src/android/util/
DStatsEventTestUtils.java86 int atomId = buf.getInt(); in getProtoBytes() local
/packages/modules/AppSearch/service/java/com/android/server/appsearch/stats/
DStatsCollector.java143 int atomId, in registerAtom()

123