Home
last modified time | relevance | path

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

/cts/tests/tests/util/src/android/util/cts/
DJsonReaderTest.java24 import android.util.JsonReader;
46 JsonReader reader = new JsonReader(new StringReader("[true, true]")); in testReadArray()
56 JsonReader reader = new JsonReader(new StringReader("[]")); in testReadEmptyArray()
65 JsonReader reader = new JsonReader(new StringReader( in testReadObject()
78 JsonReader reader = new JsonReader(new StringReader("{}")); in testReadEmptyObject()
87 JsonReader reader = new JsonReader(new StringReader( in testSkipObject()
100 JsonReader reader = new JsonReader(new StringReader("{}")); in testSkipBeforeEndOfObject()
108 JsonReader reader = new JsonReader(new StringReader("[]")); in testSkipBeforeEndOfArray()
116 JsonReader reader = new JsonReader(new StringReader("{}")); in testSkipAfterEndOfDocument()
133 JsonReader reader = new JsonReader(new StringReader(json)); in testHelloWorld()
[all …]
/cts/libs/vogar-expect/src/vogar/expect/
DExpectationStore.java19 import com.android.json.stream.JsonReader;
173 try (JsonReader jsonReader = new JsonReader(reader)) { in parse()
186 private void readExpectation(JsonReader reader, ModeId mode) throws IOException { in readExpectation()
250 private void readStrings(JsonReader reader, Set<String> output) throws IOException { in readStrings()
258 private Set<ModeId> readModes(JsonReader reader) throws IOException { in readModes()
/cts/libs/input/src/com/android/cts/input/
DVirtualInputDevice.java27 import android.util.JsonReader;
65 protected JsonReader mReader;
208 mReader = new JsonReader(new InputStreamReader(mInputStream, "UTF-8")); in setupPipes()
/cts/libs/json/src/com/android/json/stream/
DJsonReader.java170 public final class JsonReader implements Closeable { class
219 public JsonReader(Reader in) { in JsonReader() method in JsonReader