Home
last modified time | relevance | path

Searched refs:MetricsReportProtoUtils (Results 1 – 6 of 6) sorted by relevance

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/telemetry/
DResultStoreTest.java34 import com.android.car.telemetry.util.MetricsReportProtoUtils;
122 MetricsReportProtoUtils.buildMetricsReportList( in testFlushToDisk_shouldRemoveStaleData()
222 MetricsReportProtoUtils.buildMetricsReportList( in testGetMetricsReports_whenMultipleReports_shouldReceiveCorrectList()
229 assertThat(MetricsReportProtoUtils.getBundle(reportList, 0).toString()) in testGetMetricsReports_whenMultipleReports_shouldReceiveCorrectList()
231 assertThat(MetricsReportProtoUtils.getBundle(reportList, 1).toString()) in testGetMetricsReports_whenMultipleReports_shouldReceiveCorrectList()
241 MetricsReportProtoUtils.buildMetricsReportList( in testGetMetricsReports_whenDeleteFlagTrue_shouldDeleteData()
248 assertThat(MetricsReportProtoUtils.getBundle(reportList, 0).toString()) in testGetMetricsReports_whenDeleteFlagTrue_shouldDeleteData()
250 assertThat(MetricsReportProtoUtils.getBundle(reportList, 1).toString()) in testGetMetricsReports_whenDeleteFlagTrue_shouldDeleteData()
262 MetricsReportProtoUtils.buildMetricsReportList( in testGetAllMetricsReports_shouldReturnMapWithBundle()
276 assertThat(MetricsReportProtoUtils.getBundle(reportsForConfig1, 0).toString()) in testGetAllMetricsReports_shouldReturnMapWithBundle()
[all …]
DCarTelemetryServiceTest.java67 import com.android.car.telemetry.util.MetricsReportProtoUtils;
512 PersistableBundle report = MetricsReportProtoUtils.getBundle( in testOnMetricsReport_savesReportAndConfigStillActive()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/telemetry/util/
DMetricsReportProtoUtilsTest.java39 byte[] bytes = MetricsReportProtoUtils.getBytes(expected); in testConversion()
40 PersistableBundle bundle = MetricsReportProtoUtils.getBundle(ByteString.copyFrom(bytes)); in testConversion()
51 MetricsReportProtoUtils.buildMetricsReportList(expected, expected); in testBuildMetricsReportListAndGetBundle()
53 PersistableBundle report1 = MetricsReportProtoUtils.getBundle(reportList, 0); in testBuildMetricsReportListAndGetBundle()
54 PersistableBundle report2 = MetricsReportProtoUtils.getBundle(reportList, 1); in testBuildMetricsReportListAndGetBundle()
/packages/services/Car/service/src/com/android/car/telemetry/util/
DMetricsReportProtoUtils.java35 public final class MetricsReportProtoUtils { class
37 private MetricsReportProtoUtils() { } in MetricsReportProtoUtils() method in MetricsReportProtoUtils
/packages/services/Car/service/src/com/android/car/telemetry/
DResultStore.java34 import com.android.car.telemetry.util.MetricsReportProtoUtils;
323 .setReportBytes(MetricsReportProtoUtils.getByteString(report)) in putMetricsReport()
DCarTelemetryService.java72 import com.android.car.telemetry.util.MetricsReportProtoUtils;
314 PersistableBundle report = MetricsReportProtoUtils.getBundle(reportList, j); in dump()