Home
last modified time | relevance | path

Searched refs:peek (Results 1 – 10 of 10) sorted by relevance

/cts/libs/json/src/com/android/json/stream/
DJsonReader.java287 peek(); in expect()
289 throw new IllegalStateException("Expected " + expected + " but was " + peek()); in expect()
298 peek(); in hasNext()
305 public JsonToken peek() throws IOException { in peek() method in JsonReader
342 peek(); in advance()
359 peek(); in nextName()
361 throw new IllegalStateException("Expected a name but was " + peek()); in nextName()
377 peek(); in nextString()
379 throw new IllegalStateException("Expected a string but was " + peek()); in nextString()
395 peek(); in nextBoolean()
[all …]
DJsonWriter.java231 JsonScope context = peek(); in close()
245 protected JsonScope peek() { in peek() method in JsonWriter
349 if (peek() != JsonScope.NONEMPTY_DOCUMENT) { in close()
422 JsonScope context = peek(); in beforeName()
440 switch (peek()) { in beforeValue()
DNewlineDelimitedJsonWriter.java168 switch (peek()) { in beforeValue()
/cts/tests/tests/util/src/android/util/cts/
DJsonReaderTest.java51 assertEquals(JsonToken.END_DOCUMENT, reader.peek()); in testReadArray()
60 assertEquals(JsonToken.END_DOCUMENT, reader.peek()); in testReadEmptyArray()
73 assertEquals(JsonToken.END_DOCUMENT, reader.peek()); in testReadObject()
82 assertEquals(JsonToken.END_DOCUMENT, reader.peek()); in testReadEmptyObject()
95 assertEquals(JsonToken.END_DOCUMENT, reader.peek()); in testSkipObject()
119 assertEquals(JsonToken.END_DOCUMENT, reader.peek()); in testSkipAfterEndOfDocument()
142 assertEquals(JsonToken.END_DOCUMENT, reader.peek()); in testHelloWorld()
209 assertEquals(JsonToken.END_DOCUMENT, reader.peek()); in testCharacterUnescaping()
255 assertEquals(JsonToken.END_DOCUMENT, reader.peek()); in testDoubles()
288 assertEquals(JsonToken.END_DOCUMENT, reader.peek()); in testLenientDoubles()
[all …]
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/telephony/
DTelephonyStatsTests.java352 while (responseLines.peek() != null) { in getTelephonyDumpEntries()
357 while (responseLines.peek() != null) { in getTelephonyDumpEntries()
359 matcher = indentPattern.matcher(responseLines.peek()); in getTelephonyDumpEntries()
360 if (responseLines.peek().length() == 0 || !matcher.matches()) { in getTelephonyDumpEntries()
/cts/tests/tests/media/src/android/media/cts/
DAudioPlaybackCaptureTest.java489 audioRecords.peek().stop(); in testPlaybackCaptureDoS()
496 audioRecords.peek().startRecording(); in testPlaybackCaptureDoS()
497 ByteBuffer rawBuffer = readToBuffer(audioRecords.peek(), BUFFER_SIZE); in testPlaybackCaptureDoS()
/cts/libs/input/src/com/android/cts/input/
DVirtualInputDevice.java97 while (mReader.peek() != JsonToken.END_DOCUMENT) { in VirtualInputDevice()
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/metrics/
DAtomMetricTester.java121 .peek(eventMetricData -> { in getEventMetricDataList()
/cts/tests/translation/src/android/translation/cts/
DCtsTranslationService.java278 while (mResponses.peek() != null) { in handleOnTranslationRequest()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
DItsService.java555 Integer imgBufSize = mInflightImageSizes.peek(); in run()