Home
last modified time | relevance | path

Searched refs:peek (Results 1 – 18 of 18) 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/classpath/src/android/classpath/cts/
DClasspathDeviceInfo.java132 .peek(JarInfo::pullRemoteJar) in collectClasspathJarInfo()
133 .peek(JarInfo::parseClassDefs) in collectClasspathJarInfo()
165 .peek(JarInfo::pullRemoteJar) in collectSharedLibraries()
166 .peek(JarInfo::parseClassDefs) in collectSharedLibraries()
/cts/tests/tests/graphics/src/android/graphics/cts/
DPathIteratorTest.java139 assertEquals(PathIterator.VERB_MOVE, iterator.peek());
141 assertEquals(PathIterator.VERB_MOVE, iterator.peek());
143 assertEquals(PathIterator.VERB_LINE, iterator.peek());
146 assertEquals(PathIterator.VERB_DONE, iterator.peek());
150 assertEquals(PathIterator.VERB_MOVE, iterator.peek());
152 assertEquals(PathIterator.VERB_MOVE, iterator.peek());
154 assertEquals(PathIterator.VERB_LINE, iterator.peek());
157 assertEquals(PathIterator.VERB_DONE, iterator.peek());
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/utils/
DEventCapturingMotionEventListener.java148 public MotionEvent peek() { in peek() method in EventCapturingMotionEventListener
149 return mEvents.peek(); in peek()
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/telephony/
DTelephonyStatsTests.java316 while (responseLines.peek() != null) { in getTelephonyDumpEntries()
321 while (responseLines.peek() != null) { in getTelephonyDumpEntries()
323 matcher = indentPattern.matcher(responseLines.peek()); in getTelephonyDumpEntries()
324 if (responseLines.peek().length() == 0 || !matcher.matches()) { in getTelephonyDumpEntries()
/cts/libs/input/src/com/android/cts/input/
DFailOnTestThreadRule.kt85 val failure = failures.peek() in finished()
DVirtualInputDevice.java101 while (mReader.peek() != JsonToken.END_DOCUMENT) { in VirtualInputDevice()
/cts/tests/tests/media/audio/src/android/media/audio/cts/
DAudioPlaybackCaptureTest.java532 audioRecords.peek().stop(); in testPlaybackCaptureDoS()
539 audioRecords.peek().startRecording(); in testPlaybackCaptureDoS()
540 ByteBuffer rawBuffer = readToBuffer(audioRecords.peek(), BUFFER_SIZE); in testPlaybackCaptureDoS()
/cts/tools/cts-api-coverage/src/com/android/cts/apimap/
DCallGraphManager.java107 List<MethodProfile> methods = tarjan.getComponent(stack.peek()); in resolveMethodCoveredApis()
/cts/tests/sensor/src/android/hardware/cts/accessories/
DHidCommand.kt68 while (reader.peek() !== JsonToken.END_DOCUMENT) { in registerDevice()
/cts/tests/tests/notification/NotificationTrampolineBase/src/com/android/test/notificationtrampoline/
DNotificationTrampolineTestService.java144 .peek(intent -> { in handleMessage()
/cts/tests/translation/src/android/translation/cts/
DCtsTranslationService.java317 while (mResponses.peek() != null) { in handleOnTranslationRequest()
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DTouchInteractionControllerTest.java268 if (mMotionEventListener.peek() != null) { in testInterruptedSwipe_generatesConsistentEventStream()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
DItsService.java818 Integer imgBufSize = mInflightImageSizes.peek(); in run()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt16794 method @NonNull public int peek();
22632 field public static final String PARAMETER_KEY_TUNNEL_PEEK = "tunnel-peek";
49983 method public android.util.JsonToken peek() throws java.io.IOException;