Home
last modified time | relevance | path

Searched refs:nextString (Results 1 – 3 of 3) sorted by relevance

/cts/tests/tests/util/src/android/util/cts/
DJsonReaderTest.java69 assertEquals("android", reader.nextString()); in testReadObject()
71 assertEquals("banana", reader.nextString()); in testReadObject()
139 assertEquals("world", reader.nextString()); in testHelloWorld()
189 assertEquals("a", reader.nextString()); in testCharacterUnescaping()
190 assertEquals("a\"", reader.nextString()); in testCharacterUnescaping()
191 assertEquals("\"", reader.nextString()); in testCharacterUnescaping()
192 assertEquals(":", reader.nextString()); in testCharacterUnescaping()
193 assertEquals(",", reader.nextString()); in testCharacterUnescaping()
194 assertEquals("\b", reader.nextString()); in testCharacterUnescaping()
195 assertEquals("\f", reader.nextString()); in testCharacterUnescaping()
[all …]
/cts/libs/vogar-expect/src/vogar/
DExpectationStore.java203 result = Result.valueOf(reader.nextString()); in readExpectation()
205 names.add(reader.nextString()); in readExpectation()
216 names.add(reader.nextString()); in readExpectation()
218 pattern = Pattern.compile(reader.nextString(), PATTERN_FLAGS); in readExpectation()
220 … pattern = Pattern.compile(".*" + Pattern.quote(reader.nextString()) + ".*", PATTERN_FLAGS); in readExpectation()
224 …able<String> split = Splitter.on("\n").omitEmptyStrings().trimResults().split(reader.nextString()); in readExpectation()
256 output.add(reader.nextString()); in readStrings()
265 result.add(ModeId.valueOf(reader.nextString().toUpperCase())); in readModes()
/cts/libs/json/src/com/android/json/stream/
DJsonReader.java376 public String nextString() throws IOException { in nextString() method in JsonReader
625 name = nextString((char) quote); in nextInObject()
676 value = nextString((char) c); in nextValue()
807 private String nextString(char quote) throws IOException { in nextString() method in JsonReader