/platform_testing/libraries/compatibility-common-util/tests/src/com/android/compatibility/common/util/ |
D | MetricsXmlSerializerTest.java | 57 mMetricsXmlSerializer.serialize(null); in testSerialize_null() 65 mMetricsXmlSerializer.serialize(mLocalReportLog); in testSerialize_noData() 76 mMetricsXmlSerializer.serialize(mLocalReportLog); in testSerialize()
|
D | ReportLogTest.java | 54 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/ |
D | StatsdListenerTest.java | 116 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/ |
D | ReportLog.java | 125 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()
|
D | MetricsXmlSerializer.java | 35 public void serialize(ReportLog reportLog) throws IOException { in serialize() method in MetricsXmlSerializer
|
D | ScreenshotsMetadataHandler.java | 77 TestScreenshotsMetadata.serialize(serializer, screenshotsMetadata); in writeResults()
|
D | TestScreenshotsMetadata.java | 99 public static void serialize( in serialize() method in TestScreenshotsMetadata
|
D | TestResultHistory.java | 98 public static void serialize( in serialize() method in TestResultHistory
|
D | ResultHandler.java | 558 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/ |
D | StatsdListener.java | 197 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()
|