Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/util/
DJsonReaderTest.java34 assertEquals(JsonToken.END_DOCUMENT, reader.peek()); in testReadArray()
42 assertEquals(JsonToken.END_DOCUMENT, reader.peek()); in testReadEmptyArray()
54 assertEquals(JsonToken.END_DOCUMENT, reader.peek()); in testReadObject()
62 assertEquals(JsonToken.END_DOCUMENT, reader.peek()); in testReadEmptyObject()
74 assertEquals(JsonToken.END_DOCUMENT, reader.peek()); in testSkipObject()
91 assertEquals(JsonToken.END_DOCUMENT, reader.peek()); in testHelloWorld()
163 assertEquals(JsonToken.END_DOCUMENT, reader.peek()); in testCharacterUnescaping()
207 assertEquals(JsonToken.END_DOCUMENT, reader.peek()); in testDoubles()
239 assertEquals(JsonToken.END_DOCUMENT, reader.peek()); in testLenientDoubles()
248 assertEquals(JsonToken.STRING, reader.peek()); in testBufferBoundary()
[all …]
/frameworks/base/core/java/android/util/
DJsonReader.java308 peek(); in expect()
310 throw new IllegalStateException("Expected " + expected + " but was " + peek()); in expect()
319 peek(); in hasNext()
326 public JsonToken peek() throws IOException { in peek() method in JsonReader
371 peek(); in advance()
388 peek(); in nextName()
390 throw new IllegalStateException("Expected a name but was " + peek()); in nextName()
406 peek(); in nextString()
408 throw new IllegalStateException("Expected a string but was " + peek()); in nextString()
424 peek(); in nextBoolean()
[all …]
DJsonWriter.java251 JsonScope context = peek(); in close()
267 private JsonScope peek() { in peek() method in JsonWriter
395 if (peek() != JsonScope.NONEMPTY_DOCUMENT) { in close()
477 JsonScope context = peek(); in beforeName()
496 switch (peek()) { in beforeValue()
/frameworks/base/core/java/android/webkit/
DHttpAuthHandlerImpl.java113 loader = mLoaderQueue.peek(); in handleResponseForSynchronousRequest()
173 loader = mLoaderQueue.peek(); in useHttpAuthUsernamePassword()
208 assert(mLoaderQueue.peek() == loader); in handleAuthRequest()
252 loader = mLoaderQueue.peek(); in processNextLoader()
DSslErrorHandlerImpl.java143 if (loader == mLoaderQueue.peek()) { in handleSslErrorRequest()
188 LoadListener loader = mLoaderQueue.peek(); in processNextLoader()
/frameworks/base/media/java/android/media/
DAudioService.java2646 if (!mFocusStack.empty() && (mFocusStack.peek().mFocusDispatcher != null)) { in notifyTopOfAudioFocusStack()
2649 mFocusStack.peek().mFocusDispatcher.dispatchAudioFocusChange( in notifyTopOfAudioFocusStack()
2650 AudioManager.AUDIOFOCUS_GAIN, mFocusStack.peek().mClientId); in notifyTopOfAudioFocusStack()
2721 if (!mFocusStack.empty() && mFocusStack.peek().mClientId.equals(clientToRemove)) in removeFocusStackEntry()
2758 mFocusStack.peek().mSourceRef.equals(cb); in removeFocusStackEntryForClient()
2786 if (!mFocusStack.isEmpty() && IN_VOICE_COMM_FOCUS_ID.equals(mFocusStack.peek().mClientId)) { in canReassignAudioFocus()
2846 if (!mFocusStack.empty() && mFocusStack.peek().mClientId.equals(clientId)) { in requestAudioFocus()
2849 if (mFocusStack.peek().mFocusChangeType == focusChangeHint) { in requestAudioFocus()
2858 if (!mFocusStack.empty() && (mFocusStack.peek().mFocusDispatcher != null)) { in requestAudioFocus()
2860 mFocusStack.peek().mFocusDispatcher.dispatchAudioFocusChange( in requestAudioFocus()
[all …]
/frameworks/base/core/jni/android/graphics/
DNinePatchPeeker.h43 virtual bool peek(const char tag[], const void* data, size_t length);
DNinePatchPeeker.cpp23 bool NinePatchPeeker::peek(const char tag[], const void* data, size_t length) { in peek() function in NinePatchPeeker
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DStack.java63 public T peek() { in peek() method in Stack
/frameworks/ex/variablespeed/tests/src/com/android/ex/variablespeed/
DAwaitableCompletionListener.java55 if (mQueue.peek() != null) { in assertNoMoreCallbacks()
DAwaitableErrorListener.java63 if (mQueue.peek() != null) { in assertNoMoreCallbacks()
/frameworks/base/core/java/android/speech/tts/
DAudioPlaybackHandler.java134 return (mQueue.peek() != null) || (mCurrentParams != null); in isSpeaking()
/frameworks/base/docs/html/sdk/
Dandroid-2.2-highlights.jd120 <p>Gallery allows you to <span class="green">peek into picture stacks</span> using a zoom
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgeContext.java233 return mParserStack.peek(); in getCurrentParser()
/frameworks/base/api/
Dcurrent.txt21312 method public android.util.JsonToken peek() throws java.io.IOException;
31153 method protected abstract int peek(java.net.InetAddress) throws java.io.IOException;
35893 method public E peek();
36295 method public abstract E peek();
36575 method public E peek();
36801 method public E peek();
36842 method public abstract E peek();
37047 method public synchronized E peek();
37267 method public E peek();
37289 method public abstract E peek();
[all …]
D14.txt21312 method public android.util.JsonToken peek() throws java.io.IOException;
31153 method protected abstract int peek(java.net.InetAddress) throws java.io.IOException;
35893 method public E peek();
36295 method public abstract E peek();
36575 method public E peek();
36801 method public E peek();
36842 method public abstract E peek();
37047 method public synchronized E peek();
37267 method public E peek();
37289 method public abstract E peek();
[all …]