Home
last modified time | relevance | path

Searched refs:atomTag (Results 1 – 15 of 15) sorted by relevance

/cts/common/device-side/bedstead/metricsrecorder/src/main/java/com/android/bedstead/metricsrecorder/
DEnterpriseMetricsRecorder.java74 private void start(int atomTag) { in start() argument
76 createAndUploadConfig(atomTag); in start()
96 private void createAndUploadConfig(int atomTag) { in createAndUploadConfig() argument
101 addAtomEvent(conf, atomTag); in createAndUploadConfig()
105 private void addAtomEvent(StatsdConfig conf, int atomTag) { in addAtomEvent() argument
106 addAtomEvent(conf, atomTag, new ArrayList<>()); in addAtomEvent()
109 private void addAtomEvent(StatsdConfig conf, int atomTag, in addAtomEvent() argument
115 sam.atomId = atomTag; in addAtomEvent()
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/jobscheduler/
DJobSchedulerStatsTests.java76 final int atomTag = AtomsProto.Atom.SCHEDULED_JOB_STATE_CHANGED_FIELD_NUMBER; in testScheduledJobState() local
82 atomTag, /*useUidAttributionChain=*/true); in testScheduledJobState() local
99 final int atomTag = AtomsProto.Atom.SCHEDULED_JOB_STATE_CHANGED_FIELD_NUMBER; in testScheduledJobState_CancelledJob() local
105 atomTag, /*useUidAttributionChain=*/true); in testScheduledJobState_CancelledJob() local
123 final int atomTag = AtomsProto.Atom.SCHEDULED_JOB_STATE_CHANGED_FIELD_NUMBER; in testScheduledJobStatePriority() local
134 atomTag, /*useUidAttributionChain=*/true); in testScheduledJobStatePriority() local
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/metrics/
DAtomMetricTester.java73 void createAndUploadConfig(int atomTag) throws Exception { in createAndUploadConfig() argument
75 addAtomEvent(conf, atomTag); in createAndUploadConfig()
125 private void addAtomEvent(StatsdConfig.Builder conf, int atomTag) throws Exception { in addAtomEvent() argument
126 addAtomEvent(conf, atomTag, new ArrayList<FieldValueMatcher.Builder>()); in addAtomEvent()
136 private void addAtomEvent(StatsdConfig.Builder conf, int atomTag, in addAtomEvent() argument
142 SimpleAtomMatcher.Builder sam = SimpleAtomMatcher.newBuilder().setAtomId(atomTag); in addAtomEvent()
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/express/
DExpresslogAtomsTests.java103 final int atomTag = ExpresslogExtensionAtoms.EXPRESS_EVENT_REPORTED_FIELD_NUMBER; in testExpressLogCounterAtom() local
110 ConfigUtils.addEventMetric(config, atomTag, List.of(expressMetricIdMatcher)); in testExpressLogCounterAtom()
132 final int atomTag = ExpresslogExtensionAtoms.EXPRESS_UID_EVENT_REPORTED_FIELD_NUMBER; in testExpressLogCounterWithUidAtom() local
139 ConfigUtils.addEventMetric(config, atomTag, List.of(expressMetricIdMatcher)); in testExpressLogCounterWithUidAtom()
167 final int atomTag = ExpresslogExtensionAtoms.EXPRESS_HISTOGRAM_SAMPLE_REPORTED_FIELD_NUMBER; in testExpressLogSampleAtomUniform() local
174 ConfigUtils.addEventMetric(config, atomTag, List.of(expressMetricIdMatcher)); in testExpressLogSampleAtomUniform()
206 final int atomTag = ExpresslogExtensionAtoms.EXPRESS_HISTOGRAM_SAMPLE_REPORTED_FIELD_NUMBER; in testExpressLogSampleAtomScaled() local
213 ConfigUtils.addEventMetric(config, atomTag, List.of(expressMetricIdMatcher)); in testExpressLogSampleAtomScaled()
245 final int atomTag = in testExpressLogSampleWihtUidAtomUniform() local
253 ConfigUtils.addEventMetric(config, atomTag, List.of(expressMetricIdMatcher)); in testExpressLogSampleWihtUidAtomUniform()
[all …]
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/statsd/
DUidAtomTests.java194 final int atomTag = Atom.APP_CRASH_OCCURRED_FIELD_NUMBER; in testAppCrashOccurred() local
196 atomTag, /*uidInAttributionChain=*/false); in testAppCrashOccurred() local
227 final int atomTag = Atom.APP_CRASH_OCCURRED_FIELD_NUMBER;
229 atomTag, /*uidInAttributionChain=*/false);
259 final int atomTag = Atom.AUDIO_STATE_CHANGED_FIELD_NUMBER;
271 atomTag, /*uidInAttributionChain=*/true);
300 final int atomTag = Atom.CAMERA_STATE_CHANGED_FIELD_NUMBER;
307 atomTag, /*useAttributionChain=*/ true);
345 final int atomTag = Atom.FLASHLIGHT_STATE_CHANGED_FIELD_NUMBER; in testFlashlightState() local
357 atomTag, /*useUidAttributionChain=*/true); in testFlashlightState() local
[all …]
DHostAtomTests.java115 final int atomTag = Atom.SCREEN_STATE_CHANGED_FIELD_NUMBER; in testScreenStateChangedAtom() local
131 atomTag); in testScreenStateChangedAtom() local
156 final int atomTag = Atom.CHARGING_STATE_CHANGED_FIELD_NUMBER; in testChargingStateChangedAtom() local
174 atomTag); in testChargingStateChangedAtom() local
207 final int atomTag = Atom.PLUGGED_STATE_CHANGED_FIELD_NUMBER; in testPluggedStateChangedAtom() local
223 atomTag); in testPluggedStateChangedAtom() local
263 final int atomTag = Atom.BATTERY_LEVEL_CHANGED_FIELD_NUMBER; in testBatteryLevelChangedAtom() local
276 atomTag); in testBatteryLevelChangedAtom() local
312 final int atomTag = Atom.DEVICE_IDLE_MODE_STATE_CHANGED_FIELD_NUMBER; in testDeviceIdleModeStateChangedAtom() local
325 atomTag); in testDeviceIdleModeStateChangedAtom() local
[all …]
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/bluetooth/
DBluetoothStatsTests.java71 final int atomTag = AtomsProto.Atom.BLE_SCAN_STATE_CHANGED_FIELD_NUMBER; in testBleScan() local
80 atomTag, /*useAttributionChain=*/ true); in testBleScan() local
93 final int atomTag = AtomsProto.Atom.BLE_SCAN_STATE_CHANGED_FIELD_NUMBER; in testBleUnoptimizedScan() local
103 atomTag, /*useAttributionChain=*/ true); in testBleUnoptimizedScan() local
128 final int atomTag = AtomsProto.Atom.BLE_SCAN_STATE_CHANGED_FIELD_NUMBER; in testBleOpportunisticScan() local
138 atomTag, /*useAttributionChain=*/ true); in testBleOpportunisticScan() local
/cts/hostsidetests/neuralnetworks/src/com/android/nn/host/cts/
DNeuralNetworksStatsTests.java84 final int atomTag = Atom.NEURALNETWORKS_COMPILATION_COMPLETED_FIELD_NUMBER; in testAppNeuralNetworksCompilationCompletedNative() local
86 atomTag, /*uidInAttributionChain=*/false); in testAppNeuralNetworksCompilationCompletedNative() local
133 final int atomTag = Atom.NEURALNETWORKS_COMPILATION_FAILED_FIELD_NUMBER; in testAppNeuralNetworksCompilationFailedNative() local
135 atomTag, /*uidInAttributionChain=*/false); in testAppNeuralNetworksCompilationFailedNative() local
177 final int atomTag = Atom.NEURALNETWORKS_EXECUTION_COMPLETED_FIELD_NUMBER; in testAppNeuralNetworksExecutionCompletedNative() local
179 atomTag, /*uidInAttributionChain=*/false); in testAppNeuralNetworksExecutionCompletedNative() local
236 final int atomTag = Atom.NEURALNETWORKS_EXECUTION_FAILED_FIELD_NUMBER; in testAppNeuralNetworksExecutionFailedNative() local
238 atomTag, /*uidInAttributionChain=*/false); in testAppNeuralNetworksExecutionFailedNative() local
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/appstart/
DAppStartStatsTests.java161 final int atomTag = AtomsProto.Atom.APP_START_OCCURRED_FIELD_NUMBER; in testHibernatingAppStartOccurred() local
163 atomTag, /*uidInAttributionChain=*/false); in testHibernatingAppStartOccurred() local
180 final int atomTag = AtomsProto.Atom.APP_START_OCCURRED_FIELD_NUMBER; in testHibernatingAppStartOccurredTwice_isHibernatingShouldBeFalseSecondTime() local
182 atomTag, /*uidInAttributionChain=*/false); in testHibernatingAppStartOccurredTwice_isHibernatingShouldBeFalseSecondTime() local
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/tls/
DTlsHandshakeStatsTests.java64 final int atomTag = AtomsProto.Atom.TLS_HANDSHAKE_REPORTED_FIELD_NUMBER; in testTlsHandshake() local
66 atomTag); in testTlsHandshake() local
/cts/hostsidetests/packagemanager/stats/src/com/android/cts/packagemanager/stats/host/
DIncrementalAppErrorStatsTests.java139 final int atomTag = AtomsProto.Atom.APP_CRASH_OCCURRED_FIELD_NUMBER; in testAppCrashOnIncremental() local
141 atomTag, /*uidInAttributionChain=*/false); in testAppCrashOnIncremental() local
184 final int atomTag = AtomsProto.Atom.ANR_OCCURRED_FIELD_NUMBER; in testAppAnrIncremental() local
186 atomTag, /*useUidAttributionChain=*/false); in testAppAnrIncremental() local
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/vibrator/
DVibratorStatsTests.java145 private List<EventMetricData> runVibratorDeviceTests(int atomTag, String testMethodName) in runVibratorDeviceTests() argument
148 atomTag, /* useUidAttributionChain= */ true); in runVibratorDeviceTests() local
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/appexit/
DAppExitHostTest.java128 final int atomTag = AtomsProto.Atom.APP_PROCESS_DIED_FIELD_NUMBER; in performLogStatsdTest() local
133 atomTag, /* useUidAttributionChain= */ false); in performLogStatsdTest() local
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/alarm/
DAlarmStatsTests.java115 final int atomTag = AtomsProto.Atom.WAKEUP_ALARM_OCCURRED_FIELD_NUMBER; in testWakeupAlarmOccurred() local
118 atomTag, /*useUidAttributionChain=*/true); in testWakeupAlarmOccurred() local
/cts/hostsidetests/appcompat/hiddenapi/src/android/compat/hiddenapi/cts/
DHostsideStatsdAtomTests.java90 final int atomTag = Atom.HIDDEN_API_USED_FIELD_NUMBER; in hiddenApiUsed() local