Searched refs:MetricsReportProtoUtils (Results 1 – 6 of 6) sorted by relevance
34 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 …]
67 import com.android.car.telemetry.util.MetricsReportProtoUtils;512 PersistableBundle report = MetricsReportProtoUtils.getBundle( in testOnMetricsReport_savesReportAndConfigStillActive()
39 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()
35 public final class MetricsReportProtoUtils { class37 private MetricsReportProtoUtils() { } in MetricsReportProtoUtils() method in MetricsReportProtoUtils
34 import com.android.car.telemetry.util.MetricsReportProtoUtils;323 .setReportBytes(MetricsReportProtoUtils.getByteString(report)) in putMetricsReport()
72 import com.android.car.telemetry.util.MetricsReportProtoUtils;314 PersistableBundle report = MetricsReportProtoUtils.getBundle(reportList, j); in dump()