/packages/modules/StatsD/statsd/tests/ |
D | LogEventFilter_test.cpp | 43 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 …]
|
D | statsd_test_util.cpp | 74 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 …]
|
D | LogEntryMatcher_test.cpp | 45 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/ |
D | stats_buffer_writer_queue.cpp | 45 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()
|
D | stats_buffer_writer.cpp | 44 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()
|
D | stats_buffer_writer_queue_impl.h | 41 int atomId = 0; member
|
D | logging_rate_limiter.h | 41 bool canLogAtom(uint32_t atomId) { in canLogAtom()
|
D | stats_socket_loss_reporter.cpp | 44 void StatsSocketLossReporter::noteDrop(int32_t error, int32_t atomId) { in noteDrop()
|
/packages/modules/StatsD/statsd/benchmark/ |
D | log_event_filter_benchmark.cpp | 86 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
|
D | on_log_event_benchmark.cpp | 34 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/ |
D | stats_event_test.cpp | 119 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 …]
|
D | stats_buffer_writer_queue_test.cpp | 62 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/ |
D | stats_log_util.h | 121 inline bool isVendorPulledAtom(int atomId) { in isVendorPulledAtom() 125 inline bool isPulledAtom(int atomId) { in isPulledAtom()
|
/packages/modules/StatsD/statsd/src/state/ |
D | StateManager.cpp | 89 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()
|
D | StateListener.h | 55 virtual void onStateEventLost(int32_t atomId, DataCorruptedReason reason) { in onStateEventLost()
|
D | StateManager.h | 87 inline int getListenersCount(int32_t atomId) const { in getListenersCount()
|
/packages/modules/StatsD/statsd/src/metrics/ |
D | MetricProducer.cpp | 168 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/ |
D | StatsLog.java | 469 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/ |
D | LogEventFilter.h | 63 virtual bool isAtomInUse(int atomId) const { in isAtomInUse()
|
/packages/modules/StatsD/statsd/src/guardrail/ |
D | LoggingRate.cpp | 35 void LoggingRate::noteLogEvent(uint32_t atomId, int64_t eventTimestampNs) { in noteLogEvent()
|
/packages/modules/StatsD/framework/jni/ |
D | android_util_StatsLog.cpp | 28 jint atomId) { in android_util_StatsLog_write()
|
/packages/modules/StatsD/statsd/tests/external/ |
D | StatsPullerManager_test.cpp | 54 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/ |
D | MaxDurationTracker.cpp | 261 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/ |
D | SmokeTest.java | 92 void startUprobeStats(String textprotoFilename, int atomId) throws Exception { in startUprobeStats()
|
/packages/services/Mms/src/com/android/mms/service/metrics/ |
D | MmsMetricsCollector.java | 156 private void registerAtom(int atomId) { in registerAtom()
|