Home
last modified time | relevance | path

Searched defs:atomId (Results 1 – 25 of 62) 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.cpp74 AtomMatcher CreateSimpleAtomMatcher(const string& name, int atomId) { in CreateSimpleAtomMatcher()
476 FieldMatcher CreateAttributionUidDimensions(const int atomId, in CreateAttributionUidDimensions()
489 FieldMatcher CreateAttributionUidAndTagDimensions(const int atomId, in CreateAttributionUidAndTagDimensions()
503 FieldMatcher CreateDimensions(const int atomId, const std::vector<int>& fields) { in CreateDimensions()
512 FieldMatcher CreateRepeatedDimensions(const int atomId, const std::vector<int>& fields, in CreateRepeatedDimensions()
528 FieldMatcher CreateAttributionUidAndOtherDimensions(const int atomId, in CreateAttributionUidAndOtherDimensions()
777 AStatsEvent* makeTwoValueStatsEvent(int atomId, int64_t eventTimeNs, int32_t value1, in makeTwoValueStatsEvent()
789 void CreateTwoValueLogEvent(LogEvent* logEvent, int atomId, int64_t eventTimeNs, int32_t value1, in CreateTwoValueLogEvent()
795 shared_ptr<LogEvent> CreateTwoValueLogEvent(int atomId, int64_t eventTimeNs, int32_t value1, in CreateTwoValueLogEvent()
802 void CreateThreeValueLogEvent(LogEvent* logEvent, 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, const vector<int>& intArray) in makeRepeatedIntLogEvent()
119 void makeRepeatedUidLogEvent(LogEvent* logEvent, const int32_t atomId, const vector<int>& intArray) in makeRepeatedUidLogEvent()
128 void makeRepeatedStringLogEvent(LogEvent* logEvent, const int32_t atomId, in makeRepeatedStringLogEvent()
/packages/modules/StatsD/lib/libstatssocket/
Dstats_buffer_writer_queue.cpp45 bool BufferWriterQueue::write(const uint8_t* buffer, size_t size, uint32_t atomId) { in write()
73 uint32_t atomId) { in createWriteBufferCmd()
154 bool write_buffer_to_statsd_queue(const uint8_t* buffer, size_t size, uint32_t atomId) { in write_buffer_to_statsd_queue()
159 bool should_write_via_queue(uint32_t atomId) { in should_write_via_queue()
Dstats_buffer_writer.cpp44 void note_log_drop(int error, int atomId) { in note_log_drop()
61 bool can_log_atom(uint32_t atomId) { in can_log_atom()
74 int write_buffer_to_statsd(void* buffer, size_t size, uint32_t atomId) { in write_buffer_to_statsd()
96 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
Dlogging_rate_limiter.h41 bool canLogAtom(uint32_t atomId) { in canLogAtom()
Dstats_socket_loss_reporter.cpp44 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.cpp34 for (int atomId = 1000; atomId < 2000; atomId++) { in BM_OnLogEvent() local
67 for (int atomId = 1; atomId <= pullAtomId; atomId++) { in BM_EventMatcherWizard() local
/packages/modules/StatsD/lib/libstatssocket/tests/
Dstats_event_test.cpp119 uint32_t atomId, uint8_t numAtomLevelAnnotations = 0) { in checkMetadata()
139 uint32_t atomId = 100; in TEST() local
183 uint32_t atomId = 100; in TEST() local
208 uint32_t atomId = 100; in TEST() local
233 uint32_t atomId = 100; in TEST() local
258 uint32_t atomId = 100; in TEST() local
284 uint32_t atomId = 100; in TEST_GUARDED() local
339 uint32_t atomId = 100; in TEST() local
382 uint32_t atomId = 100; in TEST() local
434 uint32_t atomId = 100; in TEST_GUARDED() 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.h121 inline bool isVendorPulledAtom(int atomId) { in isVendorPulledAtom()
125 inline bool isPulledAtom(int atomId) { in isPulledAtom()
/packages/modules/StatsD/statsd/src/state/
DStateManager.cpp89 void StateManager::registerListener(const int32_t atomId, const wp<StateListener>& listener) { in registerListener()
97 void StateManager::unregisterListener(const int32_t atomId, const wp<StateListener>& listener) { in unregisterListener()
121 bool StateManager::getStateValue(const int32_t atomId, const HashableDimensionKey& key, in getStateValue()
DStateListener.h55 virtual void onStateEventLost(int32_t atomId, DataCorruptedReason reason) { in onStateEventLost()
DStateManager.h87 inline int getListenersCount(int32_t atomId) const { in getListenersCount()
/packages/modules/StatsD/statsd/src/metrics/
DMetricProducer.cpp168 for (auto atomId : mSlicedStateAtoms) { in onMatchedLogEventLocked() local
194 void MetricProducer::onMatchedLogEventLostLocked(int32_t atomId, DataCorruptedReason reason, in onMatchedLogEventLostLocked()
355 void MetricProducer::queryStateValue(int32_t atomId, const HashableDimensionKey& queryKey, in queryStateValue()
363 void MetricProducer::mapStateValue(int32_t atomId, FieldValue* value) { in mapStateValue()
/packages/modules/StatsD/framework/java/android/util/
DStatsLog.java469 private static native void writeImpl(@NonNull byte[] buffer, int size, int atomId); in writeImpl()
471 private static void writeImpl$ravenwood(@NonNull byte[] buffer, int size, int atomId) { in writeImpl$ravenwood()
/packages/modules/StatsD/statsd/src/socket/
DLogEventFilter.h63 virtual bool isAtomInUse(int atomId) const { in isAtomInUse()
/packages/modules/StatsD/statsd/src/guardrail/
DLoggingRate.cpp35 void LoggingRate::noteLogEvent(uint32_t atomId, int64_t eventTimestampNs) { in noteLogEvent()
/packages/modules/StatsD/framework/jni/
Dandroid_util_StatsLog.cpp28 jint atomId) { in android_util_StatsLog_write()
/packages/modules/StatsD/statsd/tests/external/
DStatsPullerManager_test.cpp54 AStatsEvent* createSimpleEvent(int32_t atomId, int32_t value) { in createSimpleEvent()
97 vector<int32_t> getPullAtomUids(int atomId) override { in getPullAtomUids()
109 vector<int32_t> getPullAtomUids(int atomId) override { in getPullAtomUids()
/packages/modules/StatsD/statsd/src/metrics/duration_helper/
DMaxDurationTracker.cpp261 void MaxDurationTracker::onStateChanged(const int64_t timestamp, const int32_t atomId, in onStateChanged()
345 void MaxDurationTracker::updateCurrentStateKey(const int32_t atomId, const FieldValue& newState) { in updateCurrentStateKey()
/packages/modules/UprobeStats/src/test/
DSmokeTest.java92 void startUprobeStats(String textprotoFilename, int atomId) throws Exception { in startUprobeStats()
/packages/services/Mms/src/com/android/mms/service/metrics/
DMmsMetricsCollector.java156 private void registerAtom(int atomId) { in registerAtom()

123