Home
last modified time | relevance | path

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

12345678910

/aosp_15_r20/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()
771 AStatsEvent* makeTwoValueStatsEvent(int atomId, int64_t eventTimeNs, int32_t value1, in makeTwoValueStatsEvent()
783 void CreateTwoValueLogEvent(LogEvent* logEvent, int atomId, int64_t eventTimeNs, int32_t value1, in CreateTwoValueLogEvent()
789 shared_ptr<LogEvent> CreateTwoValueLogEvent(int atomId, int64_t eventTimeNs, int32_t value1, in CreateTwoValueLogEvent()
796 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()
/aosp_15_r20/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/lib/
H A DConfigUtils.java94 public static void addEventMetricForUidAtom(StatsdConfig.Builder config, int atomId, in addEventMetricForUidAtom()
108 public static void addEventMetric(StatsdConfig.Builder config, int atomId) { in addEventMetric()
120 public static void addEventMetric(StatsdConfig.Builder config, int atomId, in addEventMetric()
151 public static void addGaugeMetricForUidAtom(StatsdConfig.Builder config, int atomId, in addGaugeMetricForUidAtom()
164 int atomId, boolean uidInAttributionChain, String pkgName, in addGaugeMetricForUidAtomWithDimensions()
178 public static void addGaugeMetric(StatsdConfig.Builder config, int atomId) { in addGaugeMetric()
189 public static void addGaugeMetricWithDimensions(StatsdConfig.Builder config, int atomId, in addGaugeMetricWithDimensions()
195 private static void addGaugeMetricInternal(StatsdConfig.Builder config, int atomId, in addGaugeMetricInternal()
304 int atomId, in uploadConfigForPushedAtomWithUid()
312 int atomId, in uploadConfigForPulledAtomWithUid()
[all …]
/aosp_15_r20/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
/aosp_15_r20/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/alarm/
H A DAlarmStatsTests.java132 final int atomId = AtomsProto.Atom.ALARM_SCHEDULED_FIELD_NUMBER; in testAlarmScheduled() local
134 ConfigUtils.uploadConfigForPushedAtom(getDevice(), ALARM_ATOM_TEST_PACKAGE, atomId); in testAlarmScheduled() local
167 final int atomId = AtomsProto.Atom.ALARM_SCHEDULED_FIELD_NUMBER; in testAlarmScheduled_exactWithUEA() local
169 ConfigUtils.uploadConfigForPushedAtom(getDevice(), ALARM_ATOM_TEST_PACKAGE, atomId); in testAlarmScheduled_exactWithUEA() local
195 final int atomId = AtomsProto.Atom.ALARM_SCHEDULED_FIELD_NUMBER; in testAlarmScheduled_exactWithSEA() local
197 ConfigUtils.uploadConfigForPushedAtom(getDevice(), ALARM_ATOM_TEST_PACKAGE_2, atomId); in testAlarmScheduled_exactWithSEA() local
221 final int atomId = AtomsProto.Atom.ALARM_BATCH_DELIVERED_FIELD_NUMBER; in testAlarmBatchDelivered() local
223 ConfigUtils.uploadConfigForPushedAtom(getDevice(), ALARM_ATOM_TEST_PACKAGE, atomId); in testAlarmBatchDelivered() local
/aosp_15_r20/frameworks/proto_logging/stats/stats_log_api_gen/test_java/src/com/android/test/statslogapigen/
H A DVendorAtomCodeGenTest.java85 VendorAtom methodSignature(int atomId, String rdn, int enumField1, in methodSignature()
124 VendorAtom methodSignature(int atomId, String rdn, int arg1); in methodSignature()
163 VendorAtom methodSignature(int atomId, String rdn, float arg2, int arg3, in methodSignature()
217 VendorAtom methodSignature(int atomId, String rdn, int arg1); in methodSignature()
317 VendorAtom methodSignature(int atomId, String rdn, int arg1, int arg2); in methodSignature()
360 VendorAtom methodSignature(int atomId, String rdn, int arg1, int arg2, int arg3); in methodSignature()
409 VendorAtom methodSignature(int atomId, String rdn, int arg1, boolean arg2); in methodSignature()
/aosp_15_r20/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.c40 void note_log_drop(int error, int atomId) { in note_log_drop()
57 int write_buffer_to_statsd(void* buffer, size_t size, uint32_t atomId) { in write_buffer_to_statsd()
70 int write_buffer_to_statsd_impl(void* buffer, size_t size, uint32_t atomId, bool doNoteDrop) { in write_buffer_to_statsd_impl()
/aosp_15_r20/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
/aosp_15_r20/frameworks/base/core/tests/coretests/src/com/android/internal/app/
H A DChooserActivityLoggerFake.java29 public int atomId; field in ChooserActivityLoggerFake.CallRecord
49 CallRecord(int atomId, UiEventLogger.UiEventEnum eventId, in CallRecord()
57 CallRecord(int atomId, String packageName, InstanceId instanceId, String mimeType, in CallRecord()
71 CallRecord(int atomId, String packageName, InstanceId instanceId, int targetType, in CallRecord()
/aosp_15_r20/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()
/aosp_15_r20/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/metrics/
H A DReflexiveStatsEvent.java61 public static ReflexiveStatsEvent buildEvent(int atomId, boolean success, int protocol, in buildEvent()
77 public static ReflexiveStatsEvent buildEvent(int atomId, boolean success, int protocol, in buildEvent()
137 public Builder setAtomId(final int atomId) { in setAtomId()
H A DStatsLogImpl.java127 private void write(int atomId, boolean success, int protocol, int cipherSuite, int duration, in write()
140 private void write(int atomId, int status, int loadedCompatVersion, in write()
/aosp_15_r20/external/conscrypt/common/src/main/java/org/conscrypt/metrics/
H A DReflexiveStatsEvent.java59 public static ReflexiveStatsEvent buildEvent(int atomId, boolean success, int protocol, in buildEvent()
75 public static ReflexiveStatsEvent buildEvent(int atomId, boolean success, int protocol, in buildEvent()
133 public Builder setAtomId(final int atomId) { in setAtomId()
H A DStatsLogImpl.java125 private void write(int atomId, boolean success, int protocol, int cipherSuite, int duration, in write()
138 private void write(int atomId, int status, int loadedCompatVersion, in write()
/aosp_15_r20/packages/modules/StatsD/statsd/src/guardrail/
DStatsdStats.cpp411 void StatsdStats::noteEventQueueOverflow(int64_t oldestEventTimestampNs, int32_t atomId, in noteEventQueueOverflow()
440 void StatsdStats::noteAtomDroppedLocked(int32_t atomId) { in noteAtomDroppedLocked()
750 void StatsdStats::noteAtomLogged(int atomId, int32_t /*timeSec*/, bool isSkipped) { in noteAtomLogged()
756 void StatsdStats::noteAtomLoggedLocked(int atomId, bool isSkipped) { in noteAtomLoggedLocked()
781 void StatsdStats::notePullFailed(int atomId) { in notePullFailed()
786 void StatsdStats::notePullUidProviderNotFound(int atomId) { in notePullUidProviderNotFound()
791 void StatsdStats::notePullerNotFound(int atomId) { in notePullerNotFound()
796 void StatsdStats::notePullBinderCallFailed(int atomId) { in notePullBinderCallFailed()
801 void StatsdStats::noteEmptyData(int atomId) { in noteEmptyData()
806 void StatsdStats::notePullerCallbackRegistrationChanged(int atomId, bool registered) { in notePullerCallbackRegistrationChanged()
[all …]
/aosp_15_r20/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()
DMetricProducer.h219 void onMatchedLogEventLost(int32_t atomId, DataCorruptedReason reason, LostAtomType atomType) { in onMatchedLogEventLost()
239 void onStateChanged(const int64_t eventTimeNs, const int32_t atomId, in onStateChanged()
243 void onStateEventLost(int32_t atomId, DataCorruptedReason reason) override { in onStateEventLost()
/aosp_15_r20/cts/tests/inputmethod/util/src/android/view/inputmethod/cts/util/
H A DMetricsRecorder.java106 public static void uploadConfigForPushedAtomWithUid(@NonNull String[] pkgNames, int atomId, in uploadConfigForPushedAtomWithUid()
226 private static void addEventMetricForUidAtom(@NonNull StatsdConfig config, int atomId, in addEventMetricForUidAtom()
240 private static void addEventMetric(@NonNull StatsdConfig config, int atomId, in addEventMetric()
/aosp_15_r20/packages/modules/StatsD/statsd/src/
Dstats_log_util.h121 inline bool isVendorPulledAtom(int atomId) { in isVendorPulledAtom()
125 inline bool isPulledAtom(int atomId) { in isPulledAtom()
/aosp_15_r20/external/robolectric/shadows/framework/src/main/java/org/robolectric/shadows/
H A DShadowStatsLog.java44 public abstract int atomId(); in atomId() method in ShadowStatsLog.StatsLogItem
51 public static StatsLogItem create(int atomId, int numBytes, byte[] bytes) { in create()
/aosp_15_r20/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/powermanager/
H A DPowerManagerStatsTests.java100 int atomId = AtomsProto.Atom.WAKELOCK_STATE_CHANGED_FIELD_NUMBER; in testAcquireModifyAndReleasedWakelockIsPushed() local
106 atomId); in testAcquireModifyAndReleasedWakelockIsPushed() local
/aosp_15_r20/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()

12345678910