Home
last modified time | relevance | path

Searched refs:atomId (Results 1 – 7 of 7) sorted by relevance

/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/lib/
DConfigUtils.java94 public static void addEventMetricForUidAtom(StatsdConfig.Builder config, int atomId, in addEventMetricForUidAtom() argument
97 addEventMetric(config, atomId, Arrays.asList(fvm)); in addEventMetricForUidAtom()
108 public static void addEventMetric(StatsdConfig.Builder config, int atomId) { in addEventMetric() argument
109 addEventMetric(config, atomId, /*fvms=*/null); in addEventMetric()
120 public static void addEventMetric(StatsdConfig.Builder config, int atomId, in addEventMetric() argument
125 SimpleAtomMatcher.Builder sam = SimpleAtomMatcher.newBuilder().setAtomId(atomId); in addEventMetric()
151 public static void addGaugeMetricForUidAtom(StatsdConfig.Builder config, int atomId, in addGaugeMetricForUidAtom() argument
153 addGaugeMetricInternal(config, atomId, /*filterByUid=*/true, uidInAttributionChain, pkgName, in addGaugeMetricForUidAtom()
164 int atomId, boolean uidInAttributionChain, String pkgName, in addGaugeMetricForUidAtomWithDimensions() argument
166 addGaugeMetricInternal(config, atomId, /*filterByUid=*/true, uidInAttributionChain, pkgName, in addGaugeMetricForUidAtomWithDimensions()
[all …]
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/alarm/
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
/cts/tests/inputmethod/util/src/android/view/inputmethod/cts/util/
DMetricsRecorder.java106 public static void uploadConfigForPushedAtomWithUid(@NonNull String[] pkgNames, int atomId, in uploadConfigForPushedAtomWithUid() argument
109 addEventMetricForUidAtom(config, atomId, useUidAttributionChain, pkgNames); in uploadConfigForPushedAtomWithUid()
226 private static void addEventMetricForUidAtom(@NonNull StatsdConfig config, int atomId, in addEventMetricForUidAtom() argument
229 addEventMetric(config, atomId, new FieldValueMatcher[]{fvm}); in addEventMetricForUidAtom()
240 private static void addEventMetric(@NonNull StatsdConfig config, int atomId, in addEventMetric() argument
247 sam.atomId = atomId; in addEventMetric()
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/users/
DUserStatsTests.java41 public UserStatsTests(int atomId) { in UserStatsTests() argument
42 mAtomId = atomId; in UserStatsTests()
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/net/
DBytesTransferredTest.java159 private void doTestMobileBytesTransferThat(int atomId, boolean isUidAtom, in doTestMobileBytesTransferThat() argument
167 ConfigUtils.addGaugeMetricForUidAtom(config, atomId, /*uidInAttributionChain=*/false, in doTestMobileBytesTransferThat()
170 ConfigUtils.addGaugeMetric(config, atomId); in doTestMobileBytesTransferThat()
/cts/common/device-side/bedstead/metricsrecorder/src/main/java/com/android/bedstead/metricsrecorder/
DEnterpriseMetricsRecorder.java115 sam.atomId = atomTag; in addAtomEvent()
/cts/hostsidetests/statsdatom/apps/statsdapp/src/com/android/server/cts/device/statsdatom/
DAtomTests.java227 private static void writeSliceByBleScanStateChangedAtom(int atomId, int firstUid, in writeSliceByBleScanStateChangedAtom() argument
231 .setAtomId(atomId) in writeSliceByBleScanStateChangedAtom()
701 private static void writeSliceByWakelockStateChangedAtom(int atomId, int firstUid, in writeSliceByWakelockStateChangedAtom() argument
704 .setAtomId(atomId) in writeSliceByWakelockStateChangedAtom()