Home
last modified time | relevance | path

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

12

/packages/modules/StatsD/statsd/src/
Dstats_log_util.h111 inline bool isVendorPulledAtom(int atomId) { in isVendorPulledAtom()
115 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.h79 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/tests/
Dstats_event_test.cpp98 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/
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()
Dstats_event.c77 uint32_t atomId; member
112 void AStatsEvent_setAtomId(AStatsEvent* event, uint32_t atomId) { in AStatsEvent_setAtomId()
/packages/modules/StatsD/statsd/tests/
Dstatsd_test_util.cpp48 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 …]
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()
DFieldValue_test.cpp37 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/
Dandroid_util_StatsLog.cpp28 jint atomId) { in android_util_StatsLog_write()
/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/benchmark/
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/statsd/src/metrics/
DMetricProducer.cpp155 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()
DMetricsManager.cpp106 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/
DMaxDurationTracker.cpp244 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()
DOringDurationTracker.cpp338 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/
DStatsdStats.cpp459 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/
DTestDrive.java234 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/
DStatsLog.java238 private static native void writeImpl(@NonNull byte[] buffer, int size, int atomId); in writeImpl()
DStatsEvent.java238 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/
DMetricsUtils.java37 public static AtomMatcher.Builder getAtomMatcher(int atomId) { in getAtomMatcher()
/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()
DEventMetricProducer_test.cpp44 void makeLogEvent(LogEvent* logEvent, int32_t atomId, int64_t timestampNs, string str) { in makeLogEvent()
/packages/modules/StatsD/statsd/tests/state/
DStateTracker_test.cpp53 void onStateChanged(const int64_t eventTimeNs, const int32_t atomId, in onStateChanged()
60 int getStateInt(StateManager& mgr, int atomId, const HashableDimensionKey& queryKey) { in getStateInt()

12