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/tests/tests/media/src/android/media/cts/ |
D | AudioPlaybackCaptureTest.java | 490 audioRecords.peek().stop(); in testPlaybackCaptureDoS() 495 audioRecords.peek().startRecording(); in testPlaybackCaptureDoS() 496 ByteBuffer rawBuffer = readToBuffer(audioRecords.peek(), BUFFER_SIZE); in testPlaybackCaptureDoS()
|
/cts/hostsidetests/statsd/src/android/cts/statsd/metric/ |
D | ValueMetricsTests.java | 467 .peek(MetricsUtils::assertBucketTimePresent) in testValueMetricWithConditionAndActivation() 468 .peek(bucketInfo -> assertThat(bucketInfo.getValuesCount()).isEqualTo(1)) in testValueMetricWithConditionAndActivation() 470 .peek(value -> assertThat(value.getIndex()).isEqualTo(0)) in testValueMetricWithConditionAndActivation()
|
D | DurationMetricsTests.java | 215 .peek(durationNs -> assertThat(durationNs).isIn(Range.openClosed(0L, (long)1e9))) in testDurationMetricWithCondition() 308 .peek(durationNs -> assertThat(durationNs).isIn(Range.openClosed(0L, (long)1e9))) in testDurationMetricWithActivation() 485 .peek(durationNs -> assertThat(durationNs).isIn(Range.openClosed(0L, (long)1e9))) in testDurationMetricWithConditionAndActivation()
|
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/metrics/ |
D | AtomMetricTester.java | 124 .peek(eventMetricData -> { in getEventMetricDataList()
|
/cts/tests/tests/net/src/android/net/cts/ |
D | NetworkAgentTest.kt | 286 assertNull(history.peek()) in willExpectDisconnectOnce()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/ |
D | ItsService.java | 524 Integer imgBufSize = mInflightImageSizes.peek(); in run()
|