Home
last modified time | relevance | path

Searched refs:getReports (Results 1 – 16 of 16) sorted by relevance

/packages/modules/StatsD/statsd/tests/e2e/
DPartialBucket_e2e_test.cpp112 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 …]
DRestrictedConfig_e2e_test.cpp177 ConfigMetricsReport report = getReports(service->mProcessor, /*timestamp=*/10); in TEST_F()
/packages/services/Car/service/src/com/android/car/telemetry/publisher/
DStatsManagerImpl.java34 public byte[] getReports(long configKey) throws StatsUnavailableException { in getReports() method in StatsManagerImpl
35 return mStatsManager.getReports(configKey); in getReports()
DStatsManagerProxy.java28 byte[] getReports(long configKey) throws StatsUnavailableException; in getReports() method
DStatsPublisher.java371 mStatsManager.getReports(configKey))); in pullReportsPeriodically()
/packages/modules/StatsD/apex/tests/libstatspull/src/com/android/internal/os/statsd/libstats/
DStatsConfigUtils.java97 .parseFrom(statsManager.getReports(configId)); in getConfigMetricsReport()
103 ConfigMetricsReport report = reportList.getReports(0); in getConfigMetricsReport()
/packages/modules/StatsD/tests/src/android/cts/statsd/metric/
DCountMetricsTests.java339 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/
DStatsdRestartTest.java54 StatsManager.StatsUnavailableException.class, () -> statsManager.getReports(1234)); in testApisThrowExceptionWhenStatsdNotAlive()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/telemetry/publisher/
DStatsPublisherTest.java427 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/
DStatsdPermissionTest.java63 StatsManager.StatsUnavailableException.class, () -> statsManager.getReports(1234)); in testApisThrowExceptionWithoutPermission()
/packages/modules/StatsD/framework/java/android/app/
DStatsManager.java521 public byte[] getReports(long configKey) throws StatsUnavailableException { in getReports() method in StatsManager
550 return getReports(configKey); in getData()
/packages/modules/StatsD/framework/api/
Dsystem-current.txt23 ….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/
DTestDrive.java299 ConfigMetricsReport report = reportList.getReports(reportList.getReportsCount() - 1); in dumpMetrics()
/packages/modules/StatsD/statsd/tests/
Dstatsd_test_util.h158 ConfigMetricsReport getReports(sp<StatsLogProcessor> processor, int64_t timestamp,
Dstatsd_test_util.cpp43 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/
DCobaltPeriodicJobImplTest.java967 metric.getReports(2).toBuilder().setMaxReleaseStage(ReleaseStage.FISHFOOD).build();