Home
last modified time | relevance | path

Searched refs:serialize (Results 1 – 10 of 10) sorted by relevance

/platform_testing/libraries/compatibility-common-util/tests/src/com/android/compatibility/common/util/
DMetricsXmlSerializerTest.java57 mMetricsXmlSerializer.serialize(null); in testSerialize_null()
65 mMetricsXmlSerializer.serialize(mLocalReportLog); in testSerialize_noData()
76 mMetricsXmlSerializer.serialize(mLocalReportLog); in testSerialize()
DReportLogTest.java54 ReportLog.serialize(null); in testSerialize_null()
62 ReportLog.serialize(mReportLog); in testSerialize_noData()
68 ReportLog.serialize(mReportLog)); in testSerialize_summaryOnly()
73 assertEquals(HEADER_XML, ReportLog.serialize(mReportLog)); in testSerialize_detailOnly()
80 ReportLog.serialize(mReportLog)); in testSerialize_full()
/platform_testing/libraries/device-collectors/src/test/platform/android/device/collectors/
DStatsdListenerTest.java116 doReturn(serialize(REPORT_1)).when(mListener).getStatsReports(eq(CONFIG_ID_1)); in setUp()
117 doReturn(serialize(REPORT_2)).when(mListener).getStatsReports(eq(CONFIG_ID_2)); in setUp()
143 verify(mListener, times(1)).addStatsConfig(eq(CONFIG_ID_1), eq(serialize(CONFIG_1))); in testRunLevelCollection_statsdInteraction()
144 verify(mListener, times(1)).addStatsConfig(eq(CONFIG_ID_2), eq(serialize(CONFIG_2))); in testRunLevelCollection_statsdInteraction()
230 verify(mListener, times(1)).addStatsConfig(eq(CONFIG_ID_1), eq(serialize(CONFIG_1))); in testTestLevelCollection_statsdInteraction()
231 verify(mListener, times(1)).addStatsConfig(eq(CONFIG_ID_2), eq(serialize(CONFIG_2))); in testTestLevelCollection_statsdInteraction()
476 ByteArrayInputStream config1Stream = new ByteArrayInputStream(serialize(CONFIG_1)); in testParsingConfigFromArguments_byName_validConfig()
481 ByteArrayInputStream config2Stream = new ByteArrayInputStream(serialize(CONFIG_2)); in testParsingConfigFromArguments_byName_validConfig()
539 Files.write(config1File.toPath(), serialize(CONFIG_1)); in testParsingConfigFromArguments_byPath_validConfig()
547 Files.write(config2File.toPath(), serialize(CONFIG_2)); in testParsingConfigFromArguments_byPath_validConfig()
[all …]
/platform_testing/libraries/compatibility-common-util/src/com/android/compatibility/common/util/
DReportLog.java125 void serialize(XmlSerializer serializer) in serialize() method in ReportLog.Metric
302 public static String serialize(ReportLog reportlog) throws XmlPullParserException, in serialize() method in ReportLog
309 serialize(serializer, reportlog); in serialize()
320 public static void serialize(XmlSerializer serializer, ReportLog reportLog) in serialize() method in ReportLog
329 summary.serialize(serializer); in serialize()
DMetricsXmlSerializer.java35 public void serialize(ReportLog reportLog) throws IOException { in serialize() method in MetricsXmlSerializer
DScreenshotsMetadataHandler.java77 TestScreenshotsMetadata.serialize(serializer, screenshotsMetadata); in writeResults()
DTestScreenshotsMetadata.java99 public static void serialize( in serialize() method in TestScreenshotsMetadata
DTestResultHistory.java98 public static void serialize( in serialize() method in TestResultHistory
DResultHandler.java558 ReportLog.serialize(serializer, report); in writeResults()
565 TestResultHistory.serialize(serializer, resultHistory, r.getName()); in writeResults()
/platform_testing/libraries/device-collectors/src/main/platform-collectors/src/android/device/collectors/
DStatsdListener.java197 addStatsConfig(configId, serialize(newConfig)); in registerConfigsWithStatsManager()
255 writeToFile(reportFile, serialize(reportList)); in pullReportsAndRemoveConfigs()
566 private static <T extends ExtendableMessageNano<T>> byte[] serialize( in serialize() method in StatsdListener
576 byte[] output = serialize(config); in clone()