Home
last modified time | relevance | path

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

/cts/tests/tests/util/src/android/util/cts/
DJsonWriterTest.java22 import android.util.JsonWriter;
41 JsonWriter jsonWriter = new JsonWriter(stringWriter); in testWrongTopLevelType()
52 JsonWriter jsonWriter = new JsonWriter(stringWriter); in testTwoNames()
65 JsonWriter jsonWriter = new JsonWriter(stringWriter); in testNameWithoutValue()
78 JsonWriter jsonWriter = new JsonWriter(stringWriter); in testValueWithoutName()
90 JsonWriter jsonWriter = new JsonWriter(stringWriter); in testMultipleTopLevelValues()
102 JsonWriter jsonWriter = new JsonWriter(stringWriter); in testBadNestingObject()
115 JsonWriter jsonWriter = new JsonWriter(stringWriter); in testBadNestingArray()
128 JsonWriter jsonWriter = new JsonWriter(stringWriter); in testNullName()
140 JsonWriter jsonWriter = new JsonWriter(stringWriter); in testNullStringValue()
[all …]
/cts/libs/json/src/com/android/json/stream/
DJsonWriter.java126 public class JsonWriter implements Closeable { class
151 public JsonWriter(Writer out) { in JsonWriter() method in JsonWriter
182 public JsonWriter beginArray() throws IOException { in beginArray()
191 public JsonWriter endArray() throws IOException { in endArray()
201 public JsonWriter beginObject() throws IOException { in beginObject()
210 public JsonWriter endObject() throws IOException { in endObject()
218 private JsonWriter open(JsonScope empty, String openBracket) throws IOException { in open()
229 private JsonWriter close(JsonScope empty, JsonScope nonempty, String closeBracket) in close()
260 public JsonWriter name(String name) throws IOException { in name()
275 public JsonWriter value(String value) throws IOException { in value()
[all …]
DNewlineDelimitedJsonWriter.java123 public class NewlineDelimitedJsonWriter extends JsonWriter {
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DReportLogDeviceInfoStore.java18 import android.util.JsonWriter;
67 mJsonWriter = new JsonWriter(new FileWriter(tempJsonFile, true)); in open()
DDeviceInfoStore.java18 import android.util.JsonWriter;
31 protected JsonWriter mJsonWriter = null;
47 mJsonWriter = new JsonWriter(new OutputStreamWriter(out, StandardCharsets.UTF_8)); in open()
/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/
DDeviceInfo.java26 import android.util.JsonWriter;
63 private JsonWriter mJsonWriter = null;
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DRVCVRecordActivity.java33 import android.util.JsonWriter;
395 JsonWriter writer = in writeVideoMetaInfo()
396 new JsonWriter( in writeVideoMetaInfo()
DRVCVXCheckAnalyzer.java24 import android.util.JsonWriter;
140 JsonWriter writer = in writeJSONToStream()
141 new JsonWriter( in writeJSONToStream()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt50001 public final class JsonWriter implements java.io.Closeable {
50002 ctor public JsonWriter(java.io.Writer);
50003 method public android.util.JsonWriter beginArray() throws java.io.IOException;
50004 method public android.util.JsonWriter beginObject() throws java.io.IOException;
50006 method public android.util.JsonWriter endArray() throws java.io.IOException;
50007 method public android.util.JsonWriter endObject() throws java.io.IOException;
50010 method public android.util.JsonWriter name(String) throws java.io.IOException;
50011 method public android.util.JsonWriter nullValue() throws java.io.IOException;
50014 method public android.util.JsonWriter value(String) throws java.io.IOException;
50015 method public android.util.JsonWriter value(boolean) throws java.io.IOException;
[all …]