Home
last modified time | relevance | path

Searched refs:JsonWriter (Results 1 – 5 of 5) sorted by relevance

/cts/tests/tests/util/src/android/util/cts/
DJsonWriterTest.java25 import android.util.JsonWriter;
31 JsonWriter jsonWriter = new JsonWriter(stringWriter); in testWrongTopLevelType()
41 JsonWriter jsonWriter = new JsonWriter(stringWriter); in testTwoNames()
53 JsonWriter jsonWriter = new JsonWriter(stringWriter); in testNameWithoutValue()
65 JsonWriter jsonWriter = new JsonWriter(stringWriter); in testValueWithoutName()
76 JsonWriter jsonWriter = new JsonWriter(stringWriter); in testMultipleTopLevelValues()
87 JsonWriter jsonWriter = new JsonWriter(stringWriter); in testBadNestingObject()
99 JsonWriter jsonWriter = new JsonWriter(stringWriter); in testBadNestingArray()
111 JsonWriter jsonWriter = new JsonWriter(stringWriter); in testNullName()
122 JsonWriter jsonWriter = new JsonWriter(stringWriter); in testNullStringValue()
[all …]
/cts/libs/json/src/com/android/json/stream/
DJsonWriter.java120 public final class JsonWriter implements Closeable { class
146 public JsonWriter(Writer out) { in JsonWriter() method in JsonWriter
177 public JsonWriter beginArray() throws IOException { in beginArray()
186 public JsonWriter endArray() throws IOException { in endArray()
196 public JsonWriter beginObject() throws IOException { in beginObject()
205 public JsonWriter endObject() throws IOException { in endObject()
213 private JsonWriter open(JsonScope empty, String openBracket) throws IOException { in open()
224 private JsonWriter close(JsonScope empty, JsonScope nonempty, String closeBracket) in close()
259 public JsonWriter name(String name) throws IOException { in name()
274 public JsonWriter value(String value) throws IOException { in value()
[all …]
/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/
DDeviceInfoActivity.java24 import android.util.JsonWriter;
54 private JsonWriter mJsonWriter = null;
157 mJsonWriter = new JsonWriter(new OutputStreamWriter(out, StandardCharsets.UTF_8)); in createJsonWriter()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DRVCVRecordActivity.java34 import android.util.JsonWriter;
348 JsonWriter writer = in writeVideoMetaInfo()
349 new JsonWriter( in writeVideoMetaInfo()
DRVCVXCheckAnalyzer.java24 import android.util.JsonWriter;
135 JsonWriter writer = in writeJSONToStream()
136 new JsonWriter( in writeJSONToStream()