Home
last modified time | relevance | path

Searched refs:getReportCount (Results 1 – 7 of 7) sorted by relevance

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/telemetry/
DResultStoreTest.java227 assertThat(reportList.getReportCount()).isEqualTo(2); in testGetMetricsReports_whenMultipleReports_shouldReceiveCorrectList()
246 assertThat(reportList.getReportCount()).isEqualTo(2); in testGetMetricsReports_whenDeleteFlagTrue_shouldDeleteData()
275 assertThat(reportsForConfig1.getReportCount()).isEqualTo(2); in testGetAllMetricsReports_shouldReturnMapWithBundle()
282 assertThat(reportsForConfig2.getReportCount()).isEqualTo(1); in testGetAllMetricsReports_shouldReturnMapWithBundle()
341 assertThat(mResultStore.getMetricsReports(metricsConfigName, false).getReportCount()) in testPutMetricsReport_shouldNotWriteToDisk()
357 assertThat(reportList.getReportCount()).isEqualTo(2); in testPutMetricsReportAndFlushToDisk_shouldWriteToDisk()
376 assertThat(reportList.getReportCount()).isEqualTo(2); in testPutMetricsReport_whenLastReport_shouldBuildCorrectReportContainer()
DCarTelemetryServiceTest.java476 assertThat(mResultStore.getMetricsReports(METRICS_CONFIG_NAME, false).getReportCount()) in testOnReportFinished_withReport_removesConfigAndNotifiesClient()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/noising/
DImpressionNoiseUtil.java45 /*numStars=*/ noiseParams.getReportCount(), in selectRandomStateAndGenerateReportConfigs()
60 /*numStars=*/noiseParams.getReportCount(), in getReportConfigsForSequenceIndex()
DImpressionNoiseParams.java74 public int getReportCount() { in getReportCount() method in ImpressionNoiseParams
/packages/services/Car/service/src/com/android/car/telemetry/
DCarTelemetryService.java311 writer.println("\tTotal number of metrics reports: " + reportList.getReportCount()); in dump()
312 for (int j = 0; j < reportList.getReportCount(); j++) { in dump()
581 if (reportList.getReportCount() == 0) { in streamReports()
587 reportList.getReport(reportList.getReportCount() - 1).getIsLastReport() in streamReports()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/telemetry/util/
DMetricsReportProtoUtilsTest.java52 assertThat(reportList.getReportCount()).isEqualTo(2); in testBuildMetricsReportListAndGetBundle()
/packages/services/Car/service/src/com/android/car/telemetry/util/
DMetricsReportProtoUtils.java82 if (index >= reportList.getReportCount()) { in getBundle()