Home
last modified time | relevance | path

Searched refs:getMetricsReports (Results 1 – 4 of 4) sorted by relevance

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/telemetry/
DResultStoreTest.java199 MetricsReportList reportList = mResultStore.getMetricsReports(metricsConfigName, true); in testGetMetricsReports_whenNoData_shouldReceiveNull()
210 MetricsReportList reportList = mResultStore.getMetricsReports(metricsConfigName, true); in testGetMetricsReports_whenDataCorrupt_shouldReceiveNull()
225 MetricsReportList reportList = mResultStore.getMetricsReports(metricsConfigName, false); in testGetMetricsReports_whenMultipleReports_shouldReceiveCorrectList()
244 MetricsReportList reportList = mResultStore.getMetricsReports(testFinalFileName, true); in testGetMetricsReports_whenDeleteFlagTrue_shouldDeleteData()
341 assertThat(mResultStore.getMetricsReports(metricsConfigName, false).getReportCount()) in testPutMetricsReport_shouldNotWriteToDisk()
356 MetricsReportList reportList = mResultStore.getMetricsReports(metricsConfigName, false); in testPutMetricsReportAndFlushToDisk_shouldWriteToDisk()
390 MetricsReportList reportList = mResultStore.getMetricsReports(metricsConfigName, false); in testPutMetricsReport_shouldAnnotateReport()
445 assertThat(mResultStore.getMetricsReports(metricsConfigName, false)).isNull(); in testRemoveFinalReports()
DCarTelemetryServiceTest.java298 assertThat(mResultStore.getMetricsReports(testConfigName, false)).isNull(); in testRemoveAllMetricsConfigs_shouldRemoveConfigsAndResults()
364 assertThat(mResultStore.getMetricsReports(METRICS_CONFIG_NAME, false)).isNull(); in testGetFinishedReport_whenMultiple_shouldReceiveCorrectStatusCode()
427 assertThat(mResultStore.getMetricsReports(nameBar, false)).isNull(); in testGetAllFinishedReports_shouldSendEverything()
476 assertThat(mResultStore.getMetricsReports(METRICS_CONFIG_NAME, false).getReportCount()) in testOnReportFinished_withReport_removesConfigAndNotifiesClient()
513 mResultStore.getMetricsReports(METRICS_CONFIG_NAME, false), 0); in testOnMetricsReport_savesReportAndConfigStillActive()
/packages/services/Car/service/src/com/android/car/telemetry/
DCarTelemetryService.java132 || mResultStore.getMetricsReports(metricsConfigName, false) != null) {
464 if ((reportList = mResultStore.getMetricsReports(metricsConfigName, true)) != null) { in getFinishedReport()
499 mResultStore.getMetricsReports(configName, true); in getAllFinishedReports()
DResultStore.java140 public MetricsReportList getMetricsReports( in getMetricsReports() method in ResultStore