Home
last modified time | relevance | path

Searched refs:StatsLog (Results 1 – 25 of 43) sorted by relevance

12

/packages/modules/HealthFitness/tests/cts/hostsidetests/healthconnect/host/src/android/healthconnect/cts/logging/
DHealthConnectServiceStatsTests.java32 import com.android.os.StatsLog;
79 List<StatsLog.EventMetricData> data = in testInsertRecords()
82 StatsLog.EventMetricData event = getEventForApiMethod(data, ApiMethod.INSERT_DATA); in testInsertRecords()
97 List<StatsLog.EventMetricData> data = in testInsertRecordsError()
100 StatsLog.EventMetricData event = getEventForApiMethod(data, ApiMethod.INSERT_DATA); in testInsertRecordsError()
115 List<StatsLog.EventMetricData> data = in testUpdateRecords()
119 StatsLog.EventMetricData event = getEventForApiMethod(data, ApiMethod.UPDATE_DATA); in testUpdateRecords()
134 List<StatsLog.EventMetricData> data = in testUpdateRecordsError()
138 StatsLog.EventMetricData event = getEventForApiMethod(data, ApiMethod.UPDATE_DATA); in testUpdateRecordsError()
153 List<StatsLog.EventMetricData> data = in testDeleteRecords()
[all …]
DHealthConnectDailyLogsStatsTests.java29 import com.android.os.StatsLog;
106 List<StatsLog.EventMetricData> data = in testConnectedApps()
127 List<StatsLog.EventMetricData> data = in testDatabaseStats()
155 List<StatsLog.EventMetricData> data = in testIsUserActive_insertRecord_userMonthlyActiveNextDay()
179 List<StatsLog.EventMetricData> data = in testIsUserActive_insertRecord_userMonthlyActiveBetween7To30days()
203 List<StatsLog.EventMetricData> data = in testIsUserActive_insertRecord_userNotMonthlyActiveAfter30Days()
227 List<StatsLog.EventMetricData> data = in testIsUserActive_readRecord_userMonthlyActiveNextDay()
251 List<StatsLog.EventMetricData> data = in testIsUserActive_readRecord_userMonthlyActiveBetween7To30days()
275 List<StatsLog.EventMetricData> data = in testIsUserActive_readRecord_userNotMonthlyActiveAfter30Days()
286 private List<StatsLog.EventMetricData> getEventMetricDataList(String testName, int retryCount) in getEventMetricDataList()
[all …]
DHealthConnectUiLogsTests.kt27 import com.android.os.StatsLog
161 data: List<StatsLog.EventMetricData>, in filterImpressionLogs()
163 ): List<StatsLog.EventMetricData> { in filterImpressionLogs()
/packages/modules/StatsD/apex/tests/libstatspull/src/com/android/internal/os/statsd/libstats/
DStatsConfigUtils.java29 import com.android.os.StatsLog;
30 import com.android.os.StatsLog.ConfigMetricsReport;
31 import com.android.os.StatsLog.ConfigMetricsReportList;
32 import com.android.os.StatsLog.GaugeBucketInfo;
33 import com.android.os.StatsLog.GaugeMetricData;
34 import com.android.os.StatsLog.StatsLogReport;
35 import com.android.os.StatsLog.StatsdStatsReport;
36 import com.android.os.StatsLog.StatsdStatsReport.ConfigStats;
135 List<StatsLog.AggregatedAtomInfo> atomInfoList) { in backFillGaugeBucketAtoms()
137 for (StatsLog.AggregatedAtomInfo atomInfo : atomInfoList) { in backFillGaugeBucketAtoms()
DLibStatsPullTests.java23 import android.util.StatsLog;
108 StatsLog.logStart(APP_BREADCRUMB_LABEL); in testPullAtomCallbackRegistration()
141 StatsLog.logStart(APP_BREADCRUMB_LABEL); in testPullAtomCallbackFailure()
166 StatsLog.logStart(APP_BREADCRUMB_LABEL); in testPullAtomCallbackTimeout()
190 StatsLog.logStart(APP_BREADCRUMB_LABEL); in testPullAtomCallbackCache()
192 StatsLog.logStart(APP_BREADCRUMB_LABEL); in testPullAtomCallbackCache()
228 StatsLog.logStart(APP_BREADCRUMB_LABEL); in testPullAtomCallbackStress()
269 StatsLog.logStart(APP_BREADCRUMB_LABEL); in testPullAtomCallbacksProcessedInOrder()
/packages/modules/StatsD/tests/apps/statsdapp/src/com/android/server/cts/device/statsd/
DStatsdStressLogging.java19 import android.util.StatsLog;
48 StatsLog.logStart(i); in logAtomsBackToBack()
52 StatsLog.logStop(i); in logAtomsBackToBack()
/packages/modules/StatsD/tests/apps/atomstormapp/src/com/android/statsd/app/atomstorm/
DStatsdAtomStorm.java19 import android.util.StatsLog;
54 StatsLog.logStart(i); in logAtomsBackToBack()
58 StatsLog.logStop(i); in logAtomsBackToBack()
/packages/modules/StatsD/tests/utils/tests/src/android/util/
DStatsEventTestUtilsTest.java23 import android.util.StatsLog;
40 new ExtendedMockitoRule.Builder(this).mockStatic(StatsLog.class).build();
59 verify(() -> StatsLog.write(mStatsEventCaptor.capture())); in testOneField()
88 verify(() -> StatsLog.write(mStatsEventCaptor.capture())); in testTestAtomReported()
/packages/modules/StatsD/tests/src/android/cts/statsd/metadata/
DMetadataTests.java30 import com.android.os.StatsLog.StatsdStatsReport;
31 import com.android.os.StatsLog.StatsdStatsReport.AtomStats;
32 import com.android.os.StatsLog.StatsdStatsReport.ConfigStats;
33 import com.android.os.StatsLog.StatsdStatsReport.LogLossStats;
34 import com.android.os.StatsLog.StatsdStatsReport.SocketLossStats.LossStatsPerUid;
35 import com.android.os.StatsLog.StatsdStatsReport.SocketLossStats.LossStatsPerUid.AtomIdLossStats;
/packages/modules/StatsD/statsd/tools/localtools/src/com/android/statsd/shelltools/
DUtils.java18 import com.android.os.StatsLog;
19 import com.android.os.StatsLog.ConfigMetricsReportList;
20 import com.android.os.StatsLog.EventMetricData;
21 import com.android.os.StatsLog.StatsLogReport;
315 StatsLog.AggregatedAtomInfo atomInfo = metricData.getAggregatedAtomInfo(); in backfillAggregatedAtomsInEventMetric()
/packages/modules/StatsD/tests/src/android/cts/statsd/uidmap/
DUidMapTests.java29 import com.android.os.StatsLog.ConfigMetricsReportList;
30 import com.android.os.StatsLog.ConfigMetricsReport;
31 import com.android.os.StatsLog.UidMapping;
32 import com.android.os.StatsLog.UidMapping.PackageInfoSnapshot;
/packages/providers/ContactsProvider/src/com/android/providers/contacts/util/
DLogUtils.java21 import android.util.StatsLog;
62 StatsLog.write(StatsEvent.newBuilder() in log()
/packages/modules/StatsD/statsd/tools/localtools/src/com/android/statsd/shelltools/testdrive/
DTestDrive.java29 import com.android.os.StatsLog;
30 import com.android.os.StatsLog.ConfigMetricsReport;
31 import com.android.os.StatsLog.ConfigMetricsReportList;
32 import com.android.os.StatsLog.StatsLogReport;
651 final List<StatsLog.EventMetricData> data = Utils.getEventMetricData(report); in dumpEventMetrics()
656 for (StatsLog.EventMetricData event : data) { in dumpEventMetrics()
665 final List<StatsLog.GaugeMetricData> data = report.getGaugeMetrics().getDataList(); in dumpGaugeMetrics()
669 for (StatsLog.GaugeMetricData gauge : data) { in dumpGaugeMetrics()
/packages/modules/Bluetooth/framework/tests/metrics/host/android/bluetooth/
DMetricsTest.kt24 import com.android.os.StatsLog
79 ): List<StatsLog.EventMetricData> { in uploadAtomConfigAndTriggerTest()
/packages/modules/StatsD/tests/src/android/cts/statsd/metric/
DGaugeMetricsTests.java39 import com.android.os.StatsLog;
40 import com.android.os.StatsLog.GaugeBucketInfo;
41 import com.android.os.StatsLog.GaugeMetricData;
42 import com.android.os.StatsLog.StatsLogReport;
409 for (StatsLog.AggregatedAtomInfo atomInfo : bucketInfoBuilder.getAggregatedAtomInfoList()) { in backfillGaugeBucket()
DMetricActivationTests.java33 import com.android.os.StatsLog.ConfigMetricsReport;
34 import com.android.os.StatsLog.ConfigMetricsReportList;
35 import com.android.os.StatsLog.EventMetricData;
36 import com.android.os.StatsLog.StatsLogReport;
DCountMetricsTests.java33 import com.android.os.StatsLog.ConfigMetricsReport;
34 import com.android.os.StatsLog.ConfigMetricsReportList;
35 import com.android.os.StatsLog.CountBucketInfo;
36 import com.android.os.StatsLog.CountMetricData;
37 import com.android.os.StatsLog.StatsLogReport;
DValueMetricsTests.java39 import com.android.os.StatsLog.StatsLogReport;
40 import com.android.os.StatsLog.ValueBucketInfo;
41 import com.android.os.StatsLog.ValueMetricData;
/packages/modules/Telephony/libs/TelephonyStatsLib/src/com/android/telephony/statslib/
DStatsLib.java26 import android.util.StatsLog;
116 StatsLog.write(builder.build()); in onWritePushedAtom()
/packages/modules/StatsD/framework/java/android/util/
DStatsLog.java45 public final class StatsLog { class
340 private StatsLog() { in StatsLog() method in StatsLog
/packages/modules/Telephony/libs/TelephonyStatsLib/tests/com/android/telephony/statslib/
DStatsLibTest.java31 import android.util.StatsLog;
73 .mockStatic(StatsLog.class) in setUp()
/packages/modules/StatsD/tests/src/android/cts/statsd/validation/
DValidationTests.java49 import com.android.os.StatsLog.DimensionsValue;
50 import com.android.os.StatsLog.DurationBucketInfo;
51 import com.android.os.StatsLog.DurationMetricData;
52 import com.android.os.StatsLog.EventMetricData;
53 import com.android.os.StatsLog.StatsLogReport;
/packages/modules/StatsD/framework/api/
Dcurrent.txt4 public final class StatsLog {
/packages/modules/StatsD/statsd/tools/localtools/src/com/android/statsd/shelltools/localdrive/
DLocalDrive.java19 import com.android.os.StatsLog.ConfigMetricsReport;
20 import com.android.os.StatsLog.ConfigMetricsReportList;
/packages/modules/StatsD/tests/src/android/cts/statsd/atom/
DProcStateTestCase.java27 import com.android.os.StatsLog.EventMetricData;

12