/packages/modules/StatsD/statsd/src/ |
D | stats_log_util.h | 111 inline bool isVendorPulledAtom(int atomId) { in isVendorPulledAtom() 115 inline bool isPulledAtom(int atomId) { in isPulledAtom()
|
/packages/modules/StatsD/statsd/src/state/ |
D | StateManager.cpp | 55 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()
|
D | StateManager.h | 79 inline int getListenersCount(const int32_t atomId) const { in getListenersCount()
|
D | StateTracker.cpp | 28 StateTracker::StateTracker(const int32_t atomId) : mField(atomId, 0) { in StateTracker()
|
/packages/modules/StatsD/lib/libstatssocket/tests/ |
D | stats_event_test.cpp | 98 uint32_t atomId, uint8_t numAtomLevelAnnotations = 0) { in checkMetadata() 118 uint32_t atomId = 100; in TEST() local 162 uint32_t atomId = 100; in TEST() local 187 uint32_t atomId = 100; in TEST() local 212 uint32_t atomId = 100; in TEST() local 237 uint32_t atomId = 100; in TEST() local 263 uint32_t atomId = 100; in TEST() local 306 uint32_t atomId = 100; in TEST() local 358 uint32_t atomId = 100; in TEST() local 430 const uint32_t atomId = 10100; in TEST() local [all …]
|
/packages/modules/StatsD/lib/libstatssocket/ |
D | stats_buffer_writer.c | 30 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()
|
D | stats_event.c | 77 uint32_t atomId; member 112 void AStatsEvent_setAtomId(AStatsEvent* event, uint32_t atomId) { in AStatsEvent_setAtomId()
|
/packages/modules/StatsD/statsd/tests/ |
D | statsd_test_util.cpp | 48 AtomMatcher CreateSimpleAtomMatcher(const string& name, int atomId) { in CreateSimpleAtomMatcher() 406 FieldMatcher CreateAttributionUidDimensions(const int atomId, in CreateAttributionUidDimensions() 419 FieldMatcher CreateAttributionUidAndTagDimensions(const int atomId, in CreateAttributionUidAndTagDimensions() 433 FieldMatcher CreateDimensions(const int atomId, const std::vector<int>& fields) { in CreateDimensions() 442 FieldMatcher CreateAttributionUidAndOtherDimensions(const int atomId, in CreateAttributionUidAndOtherDimensions() 638 void CreateTwoValueLogEvent(LogEvent* logEvent, int atomId, int64_t eventTimeNs, int32_t value1, in CreateTwoValueLogEvent() 650 shared_ptr<LogEvent> CreateTwoValueLogEvent(int atomId, int64_t eventTimeNs, int32_t value1, in CreateTwoValueLogEvent() 657 void CreateThreeValueLogEvent(LogEvent* logEvent, int atomId, int64_t eventTimeNs, int32_t value1, in CreateThreeValueLogEvent() 670 shared_ptr<LogEvent> CreateThreeValueLogEvent(int atomId, int64_t eventTimeNs, int32_t value1, in CreateThreeValueLogEvent() 677 void CreateRepeatedValueLogEvent(LogEvent* logEvent, int atomId, int64_t eventTimeNs, in CreateRepeatedValueLogEvent() [all …]
|
D | LogEntryMatcher_test.cpp | 44 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()
|
D | FieldValue_test.cpp | 37 void makeLogEvent(LogEvent* logEvent, const int32_t atomId, const int64_t timestamp, in makeLogEvent() 50 void makeLogEvent(LogEvent* logEvent, const int32_t atomId, const int64_t timestamp, in makeLogEvent() 314 int atomId = 10; in TEST() local
|
/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 | 47 AStatsEvent* createSimpleEvent(int32_t atomId, int32_t value) { in createSimpleEvent() 79 vector<int32_t> getPullAtomUids(int atomId) override { in getPullAtomUids()
|
/packages/modules/StatsD/statsd/benchmark/ |
D | metric_util.cpp | 23 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/statsd/src/metrics/ |
D | MetricProducer.cpp | 155 for (auto atomId : mSlicedStateAtoms) { in onMatchedLogEventLocked() local 304 void MetricProducer::queryStateValue(const int32_t atomId, const HashableDimensionKey& queryKey, in queryStateValue() 314 void MetricProducer::mapStateValue(const int32_t atomId, FieldValue* value) { in mapStateValue()
|
D | MetricsManager.cpp | 106 for (int atomId : it->getSlicedStateAtoms()) { in ~MetricsManager() local 226 int32_t atomId = pullAtomPackages.atom_id(); in createAllLogSourcesFromConfig() local 376 vector<int32_t> MetricsManager::getPullAtomUids(int32_t atomId) { in getPullAtomUids()
|
/packages/modules/StatsD/statsd/src/metrics/duration_helper/ |
D | MaxDurationTracker.cpp | 244 void MaxDurationTracker::onStateChanged(const int64_t timestamp, const int32_t atomId, in onStateChanged() 328 void MaxDurationTracker::updateCurrentStateKey(const int32_t atomId, const FieldValue& newState) { in updateCurrentStateKey()
|
D | OringDurationTracker.cpp | 338 void OringDurationTracker::onStateChanged(const int64_t timestamp, const int32_t atomId, in onStateChanged() 462 void OringDurationTracker::updateCurrentStateKey(const int32_t atomId, const FieldValue& newState) { in updateCurrentStateKey()
|
/packages/modules/StatsD/statsd/src/guardrail/ |
D | StatsdStats.cpp | 459 void StatsdStats::noteAtomLogged(int atomId, int32_t timeSec) { in noteAtomLogged() 483 void StatsdStats::notePullFailed(int atomId) { in notePullFailed() 488 void StatsdStats::notePullUidProviderNotFound(int atomId) { in notePullUidProviderNotFound() 493 void StatsdStats::notePullerNotFound(int atomId) { in notePullerNotFound() 498 void StatsdStats::notePullBinderCallFailed(int atomId) { in notePullBinderCallFailed() 503 void StatsdStats::noteEmptyData(int atomId) { in noteEmptyData() 508 void StatsdStats::notePullerCallbackRegistrationChanged(int atomId, bool registered) { in notePullerCallbackRegistrationChanged()
|
/packages/modules/StatsD/statsd/tools/localtools/src/com/android/statsd/shelltools/testdrive/ |
D | TestDrive.java | 234 static boolean isPulledAtom(int atomId) { in isPulledAtom() 320 private static AtomMatcher createAtomMatcher(int atomId, long matcherId) { in createAtomMatcher()
|
/packages/modules/StatsD/framework/java/android/util/ |
D | StatsLog.java | 238 private static native void writeImpl(@NonNull byte[] buffer, int size, int atomId); in writeImpl()
|
D | StatsEvent.java | 238 private StatsEvent(final int atomId, @Nullable final Buffer buffer, in StatsEvent() 377 public Builder setAtomId(final int atomId) { in setAtomId()
|
/packages/modules/StatsD/tests/src/android/cts/statsd/metric/ |
D | MetricsUtils.java | 37 public static AtomMatcher.Builder getAtomMatcher(int atomId) { in getAtomMatcher()
|
/packages/modules/StatsD/statsd/tests/metrics/ |
D | CountMetricProducer_test.cpp | 46 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()
|
D | EventMetricProducer_test.cpp | 44 void makeLogEvent(LogEvent* logEvent, int32_t atomId, int64_t timestampNs, string str) { in makeLogEvent()
|
/packages/modules/StatsD/statsd/tests/state/ |
D | StateTracker_test.cpp | 53 void onStateChanged(const int64_t eventTimeNs, const int32_t atomId, in onStateChanged() 60 int getStateInt(StateManager& mgr, int atomId, const HashableDimensionKey& queryKey) { in getStateInt()
|