Home
last modified time | relevance | path

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

12

/cts/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.java56 ReportLog.serialize(null); in testSerialize_null()
64 ReportLog.serialize(mReportLog); in testSerialize_noData()
70 ReportLog.serialize(mReportLog)); in testSerialize_summaryOnly()
75 assertEquals(HEADER_XML, ReportLog.serialize(mReportLog)); in testSerialize_detailOnly()
82 ReportLog.serialize(mReportLog)); in testSerialize_full()
/cts/tools/tradefed-host/tests/src/com/android/cts/tradefed/result/
DDeviceInfoResultTest.java91 String serializedOutput = serialize(serializedInfo); in assertSerializeParse()
150 private String serialize(DeviceInfoResult serializedInfo) in serialize() method in DeviceInfoResultTest
155 serializedInfo.serialize(xmlSerializer); in serialize()
DTestLogTest.java99 log.serialize(serializer); in testSerialize()
/cts/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.java36 public void serialize(ReportLog reportLog) throws IOException { in serialize() method in MetricsXmlSerializer
DResultHandler.java353 ReportLog.serialize(serializer, report); in writeResults()
/cts/tools/tradefed-host/src/com/android/cts/tradefed/result/
DDeviceInfoResult.java78 public void serialize(KXmlSerializer serializer) throws IOException { in serialize() method in DeviceInfoResult
158 serialize(serializer, FEATURE_INFO_TAG, FEATURE_TAG, FEATURE_DELIM, FEATURE_ATTR_DELIM, in serializeFeatureInfo()
164 serialize(serializer, PROCESS_INFO_TAG, PROCESS_TAG, PROCESS_DELIM, PROCESS_ATTR_DELIM, in serializeProcessInfo()
170 serialize(serializer, OPENGL_TEXTURE_FORMATS_INFO_TAG, OPENGL_TEXTURE_FORMAT_TAG, in serializeOpenGLCompressedTextureFormatsInfo()
176 serialize(serializer, OPENGL_EXTENSIONS_TAG, OPENGL_EXTENSION_TAG, in serializeOpenGLExtensions()
182 serialize(serializer, SYSLIB_INFO_TAG, SYSLIB_TAG, SYSLIB_DELIM, null, libs, "name"); in serializeSystemLibrariesInfo()
207 private void serialize(KXmlSerializer serializer, String tag, String subTag, in serialize() method in DeviceInfoResult
DTestSuite.java138 public void serialize(KXmlSerializer serializer) throws IOException { in serialize() method in TestSuite
144 childSuite.serialize(serializer); in serialize()
147 childCase.serialize(serializer); in serialize()
DTestResults.java107 public void serialize(KXmlSerializer serializer, String buildId) throws IOException { in serialize() method in TestResults
108 mDeviceInfo.serialize(serializer); in serialize()
115 r.serialize(serializer); in serialize()
DTest.java147 public void serialize(KXmlSerializer serializer) in serialize() method in Test
168 metricsXmlSerializer.serialize(mReport); in serialize()
257 log.serialize(serializer); in serializeTestLogsLocked()
DTestCase.java88 public void serialize(KXmlSerializer serializer) throws IOException { in serialize() method in TestCase
94 t.serialize(serializer); in serialize()
DTestLog.java137 public void serialize(KXmlSerializer serializer) throws IOException { in serialize() method in TestLog
DTestPackageResult.java156 public void serialize(KXmlSerializer serializer) throws IOException { in serialize() method in TestPackageResult
165 mSuiteRoot.serialize(serializer); in serialize()
DPlanCreator.java97 derivedPlan.serialize(new BufferedOutputStream(new FileOutputStream(mPlanFile))); in createAndSerializeDerivedPlan()
DCtsXmlResultReporter.java442 mResults.serialize(serializer, mBuildInfo.getBuildId()); in serializeResultsDoc()
/cts/tools/tradefed-host/tests/src/com/android/cts/tradefed/testtype/
DTestPlanTest.java173 mPlan.serialize(outStream); in testSerialize_empty()
188 mPlan.serialize(outStream); in testSerialize_packages()
210 mPlan.serialize(outStream); in testSerialize_multiExclude()
/cts/tools/tradefed-host/src/com/android/cts/tradefed/testtype/
DITestPlan.java83 public void serialize(OutputStream xmlOutStream) throws IOException; in serialize() method
DTestPlan.java216 public void serialize(OutputStream stream) throws IOException { in serialize() method in TestPlan
/cts/apps/CtsVerifier/src/com/android/cts/verifier/
DTestResultsProvider.java234 values.put(TestResultsProvider.COLUMN_TEST_METRICS, serialize(reportLog)); in setTestResult()
247 private static byte[] serialize(Object o) { in serialize() method in TestResultsProvider
DTestResultsReport.java137 metricsXmlSerializer.serialize(reportLog); in getContents()
/cts/tests/camera/src/android/hardware/camera2/cts/helpers/
DCameraMetadataGetter.java120 value = serialize(staticMetadata).toString(); in getCameraInfo()
141 staticMetadata = serialize(mCameraManager.getCameraCharacteristics(cameraId)); in getCameraInfo()
160 templates[i] = serialize(request.build()); in getCaptureRequestTemplates()
205 value = serialize(request.build()).toString(); in getCaptureRequestTemplates()
629 private static JSONObject serialize(CameraMetadata md) { in serialize() method in CameraMetadataGetter
/cts/tests/tests/util/src/android/util/cts/
DRationalTest.java441 private static <T extends Serializable> byte[] serialize(T obj) throws IOException { in serialize() method in RationalTest
461 byte[] arr = serialize(obj); in serializeRoundTrip()
/cts/common/device-side/util/src/com/android/compatibility/common/util/
DDeviceReportLog.java263 output.putString(RESULT, serialize(this)); in submit()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
DItsService.java366 jsonObj.put("cameraProperties", ItsSerializer.serialize( in run()
369 jsonObj.put("captureRequest", ItsSerializer.serialize( in run()
372 jsonObj.put("captureResult", ItsSerializer.serialize( in run()

12