Home
last modified time | relevance | path

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

12

/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()
DBootTimingsTraceLog.java55 if (mStartTimes.peek() == null) { in traceEnd()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DFrameQueue.java83 public Frame peek(); in peek() method
111 public Frame peek() { in peek() method in FrameQueue.SingleFrameQueueImpl
166 public Frame peek() { in peek() method in FrameQueue
167 return mQueueImpl.peek(); in peek()
DInputPort.java196 public synchronized Frame peek() { in peek() method in InputPort
200 return mQueue.peek(); in peek()
/frameworks/base/services/core/java/com/android/server/audio/
DMediaFocusControl.java145 mFocusStack.peek().handleFocusGain(AudioManager.AUDIOFOCUS_GAIN); in notifyTopOfAudioFocusStack()
200 if (!mFocusStack.empty() && mFocusStack.peek().hasSameClient(clientToRemove)) in removeFocusStackEntry()
241 mFocusStack.peek().hasSameBinder(cb); in removeFocusStackEntryOnDeath()
297 if (!mFocusStack.isEmpty() && isLockedFocusOwner(mFocusStack.peek())) { in canReassignAudioFocus()
451 pcb2.notifyAudioFocusGrant(mFocusStack.peek().toAudioFocusInfo(), in notifyExtPolicyCurrentFocusAsync()
593 return mFocusStack.peek().getGainRequest(); in getCurrentAudioFocus()
713 if (!mFocusStack.empty() && mFocusStack.peek().hasSameClient(clientId)) { in requestAudioFocus()
716 final FocusRequester fr = mFocusStack.peek(); in requestAudioFocus()
/frameworks/opt/bitmap/src/com/android/bitmap/
DContiguousFIFOAggregator.java136 final boolean removedFirst = key.equals(mExpected.peek()); in forget()
144 if (removedFirst && (second = mExpected.peek()) != null) { in forget()
195 first = mExpected.peek(); in maybeExecuteNow()
/frameworks/base/services/net/java/android/net/netlink/
DStructNlAttr.java43 public static StructNlAttr peek(ByteBuffer byteBuffer) { in peek() method in StructNlAttr
63 final StructNlAttr struct = peek(byteBuffer); in parse()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DStack.java63 public T peek() { in peek() method in Stack
/frameworks/base/core/java/android/hardware/camera2/legacy/
DCaptureCollector.java573 CaptureHolder h1 = mPreviewCaptureQueue.peek(); in failNextPreview()
574 CaptureHolder h2 = mPreviewProduceQueue.peek(); in failNextPreview()
600 CaptureHolder h1 = mJpegCaptureQueue.peek(); in failNextJpeg()
601 CaptureHolder h2 = mJpegProduceQueue.peek(); in failNextJpeg()
/frameworks/base/libs/hwui/renderthread/
DRenderThread.cpp62 RenderTask* TaskQueue::peek() { in peek() function in android::uirenderer::renderthread::TaskQueue
118 if (peek() == task) { in remove()
418 RenderTask* next = mQueue.peek(); in nextTask()
DRenderThread.h59 RenderTask* peek();
/frameworks/ex/framesequence/jni/
DRegistry.cpp48 headerSize = stream->peek(header, headerSize); in Find()
DStream.h29 size_t peek(void* buffer, size_t size);
DStream.cpp42 size_t Stream::peek(void* buffer, size_t size) { in peek() function in Stream
/frameworks/support/wear/src/android/support/wear/internal/widget/drawer/
DSinglePageUi.java109 final View peek = in initialize() local
124 mDrawer.setPeekContent(peek); in initialize()
/frameworks/av/media/libstagefright/webm/
DLinkedBlockingQueue.h63 T peek() { in peek() function
DWebmFrameThread.cpp209 const sp<WebmFrame> videoFrame = mVideoFrames.peek(); in run()
213 const sp<WebmFrame> audioFrame = mAudioFrames.peek(); in run()
/frameworks/data-binding/compilerCommon/src/main/java/android/databinding/tool/processing/
DScope.java49 ScopeEntry peek = sScopeItems.get(); in enter() local
50 ScopeEntry entry = new ScopeEntry(scopeProvider, peek); in enter()
/frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/
DJsonParser.java55 JsonToken token = reader.peek(); in parse()
/frameworks/base/core/java/android/speech/tts/
DAudioPlaybackHandler.java80 return (mQueue.peek() != null) || (mCurrentWorkItem != null); in isSpeaking()
DSynthesisPlaybackQueueItem.java204 ProgressMarker marker = markerList.peek(); in updateMarker()
/frameworks/base/media/mca/filterfw/java/android/filterfw/io/
DPatternScanner.java78 public boolean peek(Pattern pattern) { in peek() method in PatternScanner
/frameworks/base/services/core/java/com/android/server/
DLockSettingsStorage.java594 Object cached = peek(CacheKey.TYPE_KEY_VALUE, key, userId); in peekKeyValue()
611 return (byte[]) peek(CacheKey.TYPE_FILE, fileName, -1 /* userId */); in peekFile()
652 private synchronized Object peek(int type, String key, int userId) { in peek() method in LockSettingsStorage.Cache
/frameworks/base/cmds/hid/src/com/android/commands/hid/
DEvent.java160 while (e == null && mReader.peek() != JsonToken.END_DOCUMENT) { in getNextEvent()

12