/packages/modules/StatsD/statsd/tests/e2e/ |
D | PartialBucket_e2e_test.cpp | 112 ConfigMetricsReport report = getReports(service->mProcessor, start + 3); in TEST_F() 131 ConfigMetricsReport report = getReports(service->mProcessor, start + 4); in TEST_F() 150 ConfigMetricsReport report = getReports(service->mProcessor, start + 4); in TEST_F() 183 ConfigMetricsReport report = getReports(service->mProcessor, start + 4); in TEST_F() 214 ConfigMetricsReport report = getReports(service->mProcessor, start + 4 * NS_PER_SEC); in TEST_F() 246 getReports(service->mProcessor, start + 4, /*include_current=*/true); in TEST_F() 272 getReports(service->mProcessor, 5 * 60 * NS_PER_SEC + start + 100 * NS_PER_SEC); in TEST_F() 300 getReports(service->mProcessor, 5 * 60 * NS_PER_SEC + start + 100 * NS_PER_SEC); in TEST_F() 329 ConfigMetricsReport report = getReports(service->mProcessor, 5 * 60 * NS_PER_SEC + start + 100); in TEST_F() 360 ConfigMetricsReport report = getReports(service->mProcessor, 5 * 60 * NS_PER_SEC + start + 100); in TEST_F() [all …]
|
D | RestrictedConfig_e2e_test.cpp | 177 ConfigMetricsReport report = getReports(service->mProcessor, /*timestamp=*/10); in TEST_F()
|
/packages/services/Car/service/src/com/android/car/telemetry/publisher/ |
D | StatsManagerImpl.java | 34 public byte[] getReports(long configKey) throws StatsUnavailableException { in getReports() method in StatsManagerImpl 35 return mStatsManager.getReports(configKey); in getReports()
|
D | StatsManagerProxy.java | 28 byte[] getReports(long configKey) throws StatsUnavailableException; in getReports() method
|
D | StatsPublisher.java | 371 mStatsManager.getReports(configKey))); in pullReportsPeriodically()
|
/packages/modules/StatsD/apex/tests/libstatspull/src/com/android/internal/os/statsd/libstats/ |
D | StatsConfigUtils.java | 97 .parseFrom(statsManager.getReports(configId)); in getConfigMetricsReport() 103 ConfigMetricsReport report = reportList.getReports(0); in getConfigMetricsReport()
|
/packages/modules/StatsD/tests/src/android/cts/statsd/metric/ |
D | CountMetricsTests.java | 339 boolean inOrder = reports.getReports(0).getCurrentReportWallClockNanos() < in testPartialBucketCountMetric() 340 reports.getReports(1).getCurrentReportWallClockNanos(); in testPartialBucketCountMetric() 348 reports.getReports(inOrder ? 0 : 1).getMetrics(0).getCountMetrics().getData(0); in testPartialBucketCountMetric() 350 reports.getReports(inOrder ? 1 : 0).getMetrics(0).getCountMetrics().getData(0); in testPartialBucketCountMetric()
|
/packages/modules/StatsD/framework/test/hostsidetests/app/src/com/android/tests/statsd/framework/app/ |
D | StatsdRestartTest.java | 54 StatsManager.StatsUnavailableException.class, () -> statsManager.getReports(1234)); in testApisThrowExceptionWhenStatsdNotAlive()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/telemetry/publisher/ |
D | StatsPublisherTest.java | 427 when(mStatsManager.getReports(anyLong())).thenReturn(EMPTY_METRICS_REPORT.toByteArray()); in testAfterDispatchItSchedulesANewPullReportTask() 450 when(mStatsManager.getReports(anyLong())).thenReturn(METRICS_REPORT.toByteArray()); in testPullStatsdReport_correctlyPushesBundlesToSubscribers() 515 when(mStatsManager.getReports(anyLong())).thenReturn(EMPTY_METRICS_REPORT.toByteArray()); in testOnInvalidConfig_notifiesPublisherFailureListener()
|
/packages/modules/StatsD/framework/test/hostsidetests/app/src/com/android/tests/statsd/framework/appnopermission/ |
D | StatsdPermissionTest.java | 63 StatsManager.StatsUnavailableException.class, () -> statsManager.getReports(1234)); in testApisThrowExceptionWithoutPermission()
|
/packages/modules/StatsD/framework/java/android/app/ |
D | StatsManager.java | 521 public byte[] getReports(long configKey) throws StatsUnavailableException { in getReports() method in StatsManager 550 return getReports(configKey); in getData()
|
/packages/modules/StatsD/framework/api/ |
D | system-current.txt | 23 ….DUMP, android.Manifest.permission.PACKAGE_USAGE_STATS}) public byte[] getReports(long) throws and…
|
/packages/modules/StatsD/statsd/tools/localtools/src/com/android/statsd/shelltools/testdrive/ |
D | TestDrive.java | 299 ConfigMetricsReport report = reportList.getReports(reportList.getReportsCount() - 1); in dumpMetrics()
|
/packages/modules/StatsD/statsd/tests/ |
D | statsd_test_util.h | 158 ConfigMetricsReport getReports(sp<StatsLogProcessor> processor, int64_t timestamp,
|
D | statsd_test_util.cpp | 43 ConfigMetricsReport StatsServiceConfigTest::getReports(sp<StatsLogProcessor> processor, in getReports() function in android::os::statsd::StatsServiceConfigTest
|
/packages/modules/AdServices/adservices/libraries/cobalt/tests/src/com/android/cobalt/impl/ |
D | CobaltPeriodicJobImplTest.java | 967 metric.getReports(2).toBuilder().setMaxReleaseStage(ReleaseStage.FISHFOOD).build();
|