Home
last modified time | relevance | path

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

12

/frameworks/base/cmds/statsd/src/
Dstats_log_util.h107 inline bool isVendorPulledAtom(int atomId) { in isVendorPulledAtom()
111 inline bool isPulledAtom(int atomId) { in isPulledAtom()
/frameworks/base/cmds/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()
/frameworks/base/core/tests/coretests/src/com/android/internal/app/
DChooserActivityLoggerFake.java29 public int atomId; field in ChooserActivityLoggerFake.CallRecord
48 CallRecord(int atomId, UiEventLogger.UiEventEnum eventId, in CallRecord()
56 CallRecord(int atomId, String packageName, InstanceId instanceId, String mimeType, in CallRecord()
70 CallRecord(int atomId, String packageName, InstanceId instanceId, int targetType, in CallRecord()
/frameworks/base/cmds/statsd/tests/
Dstatsd_test_util.cpp45 AtomMatcher CreateSimpleAtomMatcher(const string& name, int atomId) { in CreateSimpleAtomMatcher()
399 FieldMatcher CreateAttributionUidDimensions(const int atomId, in CreateAttributionUidDimensions()
412 FieldMatcher CreateAttributionUidAndTagDimensions(const int atomId, in CreateAttributionUidAndTagDimensions()
426 FieldMatcher CreateDimensions(const int atomId, const std::vector<int>& fields) { in CreateDimensions()
435 FieldMatcher CreateAttributionUidAndOtherDimensions(const int atomId, in CreateAttributionUidAndOtherDimensions()
525 void CreateTwoValueLogEvent(LogEvent* logEvent, int atomId, int64_t eventTimeNs, int32_t value1, in CreateTwoValueLogEvent()
537 shared_ptr<LogEvent> CreateTwoValueLogEvent(int atomId, int64_t eventTimeNs, int32_t value1, in CreateTwoValueLogEvent()
544 void CreateThreeValueLogEvent(LogEvent* logEvent, int atomId, int64_t eventTimeNs, int32_t value1, in CreateThreeValueLogEvent()
557 shared_ptr<LogEvent> CreateThreeValueLogEvent(int atomId, int64_t eventTimeNs, int32_t value1, in CreateThreeValueLogEvent()
564 void CreateRepeatedValueLogEvent(LogEvent* logEvent, int atomId, int64_t eventTimeNs, in CreateRepeatedValueLogEvent()
[all …]
DLogEntryMatcher_test.cpp47 void makeIntLogEvent(LogEvent* logEvent, const int32_t atomId, const int64_t timestamp, in makeIntLogEvent()
57 void makeFloatLogEvent(LogEvent* logEvent, const int32_t atomId, const int64_t timestamp, in makeFloatLogEvent()
67 void makeStringLogEvent(LogEvent* logEvent, const int32_t atomId, const int64_t timestamp, in makeStringLogEvent()
77 void makeIntWithBoolAnnotationLogEvent(LogEvent* logEvent, const int32_t atomId, in makeIntWithBoolAnnotationLogEvent()
88 void makeAttributionLogEvent(LogEvent* logEvent, const int32_t atomId, const int64_t timestamp, in makeAttributionLogEvent()
101 void makeBoolLogEvent(LogEvent* logEvent, const int32_t atomId, const int64_t timestamp, in makeBoolLogEvent()
DFieldValue_test.cpp43 void makeLogEvent(LogEvent* logEvent, const int32_t atomId, const int64_t timestamp, in makeLogEvent()
56 void makeLogEvent(LogEvent* logEvent, const int32_t atomId, const int64_t timestamp, in makeLogEvent()
320 int atomId = 10; in TEST() local
/frameworks/base/cmds/statsd/src/metrics/
DMetricProducer.cpp120 for (auto atomId : mSlicedStateAtoms) { in onMatchedLogEventLocked() local
269 void MetricProducer::queryStateValue(const int32_t atomId, const HashableDimensionKey& queryKey, in queryStateValue()
279 void MetricProducer::mapStateValue(const int32_t atomId, FieldValue* value) { in mapStateValue()
DMetricsManager.cpp128 int32_t atomId = pullAtomPackages.atom_id(); in MetricsManager() local
189 for (int atomId : it->getSlicedStateAtoms()) { in ~MetricsManager() local
299 vector<int32_t> MetricsManager::getPullAtomUids(int32_t atomId) { in getPullAtomUids()
/frameworks/base/cmds/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()
/frameworks/base/cmds/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()
/frameworks/base/apex/statsd/jni/
Dandroid_util_StatsLog.cpp28 jint atomId) { in android_util_StatsLog_write()
/frameworks/base/services/core/java/com/android/server/notification/
DSysUiStatsEvent.java37 public Builder setAtomId(int atomId) { in setAtomId()
/frameworks/base/cmds/statsd/src/metrics/duration_helper/
DOringDurationTracker.cpp330 void OringDurationTracker::onStateChanged(const int64_t timestamp, const int32_t atomId, in onStateChanged()
452 void OringDurationTracker::updateCurrentStateKey(const int32_t atomId, const FieldValue& newState) { in updateCurrentStateKey()
DMaxDurationTracker.cpp241 void MaxDurationTracker::onStateChanged(const int64_t timestamp, const int32_t atomId, in onStateChanged()
325 void MaxDurationTracker::updateCurrentStateKey(const int32_t atomId, const FieldValue& newState) { in updateCurrentStateKey()
/frameworks/base/cmds/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()
/frameworks/base/apex/statsd/framework/java/android/util/
DStatsLog.java161 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()
/frameworks/base/cmds/statsd/tools/localtools/src/com/android/statsd/shelltools/testdrive/
DTestDrive.java220 static boolean isPulledAtom(int atomId) { in isPulledAtom()
306 private static AtomMatcher createAtomMatcher(int atomId, long matcherId) { in createAtomMatcher()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DMetricsCollector.java212 private void registerAtom(int atomId, @Nullable StatsManager.PullAtomMetadata policy) { in registerAtom()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DWrappedSysUiStatsEvent.java47 public Builder setAtomId(int atomId) { in setAtomId()
/frameworks/base/cmds/statsd/tests/metrics/
DCountMetricProducer_test.cpp45 void makeLogEvent(LogEvent* logEvent, int64_t timestampNs, int atomId) { in makeLogEvent()
53 void makeLogEvent(LogEvent* logEvent, int64_t timestampNs, int atomId, string uid) { in makeLogEvent()
DEventMetricProducer_test.cpp42 void makeLogEvent(LogEvent* logEvent, int32_t atomId, int64_t timestampNs, string str) { in makeLogEvent()
/frameworks/base/cmds/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