Home
last modified time | relevance | path

Searched refs:mJsonWriter (Results 1 – 4 of 4) sorted by relevance

/cts/tools/release-parser/src/com/android/cts/releaseparser/
DJsonPrinter.java33 private NewlineDelimitedJsonWriter mJsonWriter; field in JsonPrinter
59 mJsonWriter.beginObject(); in writeReleaseContent()
61 mJsonWriter.name("name").value(mRelContent.getName()); in writeReleaseContent()
62 mJsonWriter.name("version").value(mRelContent.getVersion()); in writeReleaseContent()
63 mJsonWriter.name("build_number").value(mRelContent.getBuildNumber()); in writeReleaseContent()
64 mJsonWriter.name("fullname").value(mRelContent.getFullname()); in writeReleaseContent()
65 mJsonWriter.name("size").value(mRelContent.getSize()); in writeReleaseContent()
66 mJsonWriter.name("release_type").value(mRelContent.getReleaseType().toString()); in writeReleaseContent()
67 mJsonWriter.name("test_suite_tradefed").value(mRelContent.getTestSuiteTradefed()); in writeReleaseContent()
68 mJsonWriter.name("target_arch").value(mRelContent.getTargetArch()); in writeReleaseContent()
[all …]
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DDeviceInfoStore.java31 protected JsonWriter mJsonWriter = null; field in DeviceInfoStore
47 mJsonWriter = new JsonWriter(new OutputStreamWriter(out, StandardCharsets.UTF_8)); in open()
49 mJsonWriter.setIndent(" "); in open()
50 mJsonWriter.beginObject(); in open()
58 mJsonWriter.endObject(); in close()
59 mJsonWriter.flush(); in close()
60 mJsonWriter.close(); in close()
68 mJsonWriter.beginObject(); in startGroup()
76 mJsonWriter.name(name); in startGroup()
77 mJsonWriter.beginObject(); in startGroup()
[all …]
DReportLogDeviceInfoStore.java67 mJsonWriter = new JsonWriter(new FileWriter(tempJsonFile, true)); in open()
68 mJsonWriter.beginObject(); in open()
77 mJsonWriter.endObject(); in close()
78 mJsonWriter.close(); in close()
/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/
DDeviceInfo.java63 private JsonWriter mJsonWriter = null; field in DeviceInfo