Searched refs:peek (Results 1 – 10 of 10) sorted by relevance
/cts/libs/json/src/com/android/json/stream/ |
D | JsonReader.java | 287 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 …]
|
D | JsonWriter.java | 231 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()
|
D | NewlineDelimitedJsonWriter.java | 168 switch (peek()) { in beforeValue()
|
/cts/tests/tests/util/src/android/util/cts/ |
D | JsonReaderTest.java | 51 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/ |
D | TelephonyStatsTests.java | 352 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/ |
D | AudioPlaybackCaptureTest.java | 489 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/ |
D | VirtualInputDevice.java | 97 while (mReader.peek() != JsonToken.END_DOCUMENT) { in VirtualInputDevice()
|
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/metrics/ |
D | AtomMetricTester.java | 121 .peek(eventMetricData -> { in getEventMetricDataList()
|
/cts/tests/translation/src/android/translation/cts/ |
D | CtsTranslationService.java | 278 while (mResponses.peek() != null) { in handleOnTranslationRequest()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/ |
D | ItsService.java | 555 Integer imgBufSize = mInflightImageSizes.peek(); in run()
|