Home
last modified time | relevance | path

Searched refs:getAtom (Results 1 – 18 of 18) sorted by relevance

/packages/modules/HealthFitness/tests/cts/hostsidetests/healthconnect/host/src/android/healthconnect/cts/logging/
DHealthConnectServiceStatsTests.java85 event.getAtom().getExtension(ApiExtensionAtoms.healthConnectApiCalled); in testInsertRecords()
103 event.getAtom().getExtension(ApiExtensionAtoms.healthConnectApiCalled); in testInsertRecordsError()
122 event.getAtom().getExtension(ApiExtensionAtoms.healthConnectApiCalled); in testUpdateRecords()
141 event.getAtom().getExtension(ApiExtensionAtoms.healthConnectApiCalled); in testUpdateRecordsError()
159 datum.getAtom().getExtension(ApiExtensionAtoms.healthConnectApiCalled); in testDeleteRecords()
184 event.getAtom().getExtension(ApiExtensionAtoms.healthConnectApiCalled); in testDeleteRecordsError()
201 event.getAtom().getExtension(ApiExtensionAtoms.healthConnectApiCalled); in testReadRecords()
220 event.getAtom().getExtension(ApiExtensionAtoms.healthConnectApiCalled); in testReadRecordsError()
238 event.getAtom().getExtension(ApiExtensionAtoms.healthConnectApiCalled); in testChangeLogTokenRequest()
256 event.getAtom().getExtension(ApiExtensionAtoms.healthConnectApiCalled); in testChangeLogTokenRequestError()
[all …]
DHealthConnectDailyLogsStatsTests.java111 .getAtom() in testConnectedApps()
132 .getAtom() in testDatabaseStats()
160 .getAtom() in testIsUserActive_insertRecord_userMonthlyActiveNextDay()
184 .getAtom() in testIsUserActive_insertRecord_userMonthlyActiveBetween7To30days()
208 .getAtom() in testIsUserActive_insertRecord_userNotMonthlyActiveAfter30Days()
232 .getAtom() in testIsUserActive_readRecord_userMonthlyActiveNextDay()
256 .getAtom() in testIsUserActive_readRecord_userMonthlyActiveBetween7To30days()
280 .getAtom() in testIsUserActive_readRecord_userNotMonthlyActiveAfter30Days()
/packages/modules/StatsD/tests/src/android/cts/statsd/metric/
DGaugeMetricsTests.java172 assertThat(data.getBucketInfo(0).getAtom(0).getAppBreadcrumbReported().getLabel()) in testGaugeMetric()
174 assertThat(data.getBucketInfo(0).getAtom(0).getAppBreadcrumbReported().getState()) in testGaugeMetric()
182 assertThat(data.getBucketInfo(bucketCount - 1).getAtom( in testGaugeMetric()
185 assertThat(data.getBucketInfo(bucketCount - 1).getAtom( in testGaugeMetric()
377 assertThat(bucketInfo.getAtom(0).getAppBreadcrumbReported().getLabel()).isEqualTo(10); in testPulledGaugeMetricWithConditionAndActivation()
382 assertThat(bucketInfo.getAtom(0).getAppBreadcrumbReported().getLabel()).isEqualTo(60); in testPulledGaugeMetricWithConditionAndActivation()
411 atomTimestampData.add(Pair.create(atomInfo.getAtom(), timestampNs)); in backfillGaugeBucket()
DMetricActivationTests.java619 AppBreadcrumbReported atom = eventMetricData.getAtom().getAppBreadcrumbReported(); in verifyMetric()
/packages/services/Car/service/src/com/android/car/telemetry/publisher/statsconverters/
DEventMetricDataConverter.java55 AtomsProto.Atom atom = aggregate.getAtom(); in convertEventDataList()
62 atoms.add(eventData.getAtom()); in convertEventDataList()
DGaugeMetricDataConverter.java75 Atom atom = aggregate.getAtom(); in convertGaugeDataList()
/packages/modules/StatsD/tests/src/android/cts/statsd/alert/
DAnomalyDetectionTests.java189 assertThat(data.get(0).getAtom().getAnomalyDetected().getAlertId()).isEqualTo(ALERT_ID); in testCountAnomalyDetection()
240 assertThat(data.get(0).getAtom().getAnomalyDetected().getAlertId()).isEqualTo(ALERT_ID); in testDurationAnomalyDetection()
265 assertThat(data.get(0).getAtom().getAnomalyDetected().getAlertId()).isEqualTo(ALERT_ID); in testDurationAnomalyDetection()
321 assertThat(data.get(0).getAtom().getAnomalyDetected().getAlertId()).isEqualTo(ALERT_ID); in testDurationAnomalyDetectionForLateAlarms()
359 assertThat(data.get(0).getAtom().getAnomalyDetected().getAlertId()).isEqualTo(ALERT_ID); in testValueAnomalyDetection()
412 assertThat(data.get(0).getAtom().getAnomalyDetected().getAlertId()).isEqualTo(ALERT_ID); in testPerfetto()
467 assertThat(data.get(0).getAtom().getAnomalyDetected().getAlertId()).isEqualTo(ALERT_ID); in testGaugeAnomalyDetection()
507 assertThat(data.get(0).getAtom().getAnomalyDetected().getAlertId()).isEqualTo(ALERT_ID); in testPulledAnomalyDetection()
/packages/modules/RemoteKeyProvisioning/app/tests/hosttest/src/com/android/rkpdapp/hosttest/
DRkpdStatsTests.java370 if (event.getAtom().hasRemoteKeyProvisioningAttempt()) { in getAttemptMetric()
372 metric = event.getAtom().getRemoteKeyProvisioningAttempt(); in getAttemptMetric()
381 if (event.getAtom().hasRemoteKeyProvisioningTiming()) { in getTimingMetric()
383 metric = event.getAtom().getRemoteKeyProvisioningTiming(); in getTimingMetric()
392 if (event.getAtom().hasRemoteKeyProvisioningNetworkInfo()) { in getNetworkMetric()
394 metric = event.getAtom().getRemoteKeyProvisioningNetworkInfo(); in getNetworkMetric()
DAtomsHostTest.java90 atoms.add(event.getAtom().getExtension(extension)); in getAtoms()
/packages/modules/StatsD/tests/src/android/cts/statsd/subscriber/
DShellSubscriberTest.java326 assertThat(data.getAtom(0).hasAppBreadcrumbReported()).isTrue(); in checkOutput()
327 assertThat(data.getAtom(0).getAppBreadcrumbReported().getLabel()).isEqualTo(1); in checkOutput()
328 assertThat(data.getAtom(0).getAppBreadcrumbReported().getState().getNumber()) in checkOutput()
/packages/modules/StatsD/service/java/com/android/server/stats/
DStatsManagerService.java164 public int getAtom() { in getAtom() method in StatsManagerService.PullerKey
177 return this.mUid == other.getUid() && this.mAtomTag == other.getAtom(); in equals()
771 statsd.registerPullAtomCallback(key.getUid(), key.getAtom(), value.getCoolDownMillis(), in registerAllPullers()
/packages/modules/Virtualization/tests/hostside/java/com/android/microdroid/test/
DMicrodroidHostTests.java801 .map(x -> x.getAtom().getPushedCase().getNumber())
811 data.get(0).getAtom().getVmCreationRequested();
828 AtomsProto.VmBooted atomVmBooted = data.get(1).getAtom().getVmBooted();
832 AtomsProto.VmExited atomVmExited = data.get(2).getAtom().getVmExited();
/packages/modules/StatsD/apex/tests/libstatspull/src/com/android/internal/os/statsd/libstats/
DStatsConfigUtils.java139 atomTimestamp.add(Pair.create(atomInfo.getAtom(), timestampNs)); in backFillGaugeBucketAtoms()
/packages/modules/AdServices/adservices/tests/cts/hosttests/src/com/android/adservices/cts/
DTopicsApiLoggingHostTest.java124 data.get(0).getAtom().getExtension(AdservicesExtensionAtoms.adServicesApiCalled); in testGetTopicsLog()
DUiApiLoggingHostTest.java134 .getAtom() in testStartSettingMainActivityAndGetUiLog()
/packages/modules/StatsD/statsd/tools/localtools/src/com/android/statsd/shelltools/
DUtils.java318 .setAtom(atomInfo.getAtom()) in backfillAggregatedAtomsInEventMetric()
/packages/modules/StatsD/tests/src/android/cts/statsd/validation/
DValidationTests.java148 String tag = event.getAtom().getWakelockStateChanged().getTag(); in testPartialWakelock()
149 WakeLockLevelEnum type = event.getAtom().getWakelockStateChanged().getType(); in testPartialWakelock()
/packages/modules/StatsD/statsd/tools/localtools/src/com/android/statsd/shelltools/testdrive/
DTestDrive.java660 dumpAtom(event.getAtom(), externalDescriptor))); in dumpEventMetrics()