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/expect/
DExpectationStore.java200 result = Result.valueOf(reader.nextString()); in readExpectation()
202 names.add(reader.nextString()); in readExpectation()
213 names.add(reader.nextString()); in readExpectation()
215 pattern = Pattern.compile(reader.nextString(), PATTERN_FLAGS); in readExpectation()
217 … pattern = Pattern.compile(".*" + Pattern.quote(reader.nextString()) + ".*", PATTERN_FLAGS); in readExpectation()
221 …able<String> split = Splitter.on("\n").omitEmptyStrings().trimResults().split(reader.nextString()); in readExpectation()
253 output.add(reader.nextString()); in readStrings()
262 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