Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/android/util/
DJsonReader.java310 peek(); in expect()
312 throw new IllegalStateException("Expected " + expected + " but was " + peek()); in expect()
321 peek(); in hasNext()
328 public JsonToken peek() throws IOException { in peek() method in JsonReader
373 peek(); in advance()
390 peek(); in nextName()
392 throw new IllegalStateException("Expected a name but was " + peek()); in nextName()
408 peek(); in nextString()
410 throw new IllegalStateException("Expected a string but was " + peek()); in nextString()
426 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()
DTimingsTraceLog.java68 if (mStartTimes.peek() == null) { in traceEnd()
/frameworks/base/core/java/android/database/sqlite/
DSQLiteTokenizer.java60 private static char peek(String s, int index) { in peek() method in SQLiteTokenizer
96 final char ch = peek(sql, pos); in tokenize()
102 while (isAlNum(peek(sql, pos))) { in tokenize()
123 if (peek(sql, pos + 1) != ch) { in tokenize()
175 if (ch == '-' && peek(sql, pos + 1) == '-') { in tokenize()
186 if (ch == '/' && peek(sql, pos + 1) == '*') { in tokenize()
/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/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/core/java/com/android/server/audio/
DMediaFocusControl.java193 mFocusStack.peek().handleFocusGain(AudioManager.AUDIOFOCUS_GAIN); in notifyTopOfAudioFocusStack()
258 if (!mFocusStack.empty() && mFocusStack.peek().hasSameClient(clientToRemove)) in removeFocusStackEntry()
298 mFocusStack.peek().hasSameBinder(cb); in removeFocusStackEntryOnDeath()
354 if (!mFocusStack.isEmpty() && isLockedFocusOwner(mFocusStack.peek())) { in canReassignAudioFocus()
525 pcb2.notifyAudioFocusGrant(mFocusStack.peek().toAudioFocusInfo(), in notifyExtPolicyCurrentFocusAsync()
696 return mFocusStack.peek().getGainRequest(); in getCurrentAudioFocus()
826 if (!mFocusStack.empty() && mFocusStack.peek().hasSameClient(clientId)) { in requestAudioFocus()
829 final FocusRequester fr = mFocusStack.peek(); in requestAudioFocus()
/frameworks/base/services/core/java/com/android/server/location/
DContextHubTransactionManager.java324 ContextHubServiceTransaction transaction = mTransactionQueue.peek();
349 ContextHubServiceTransaction transaction = mTransactionQueue.peek();
368 ContextHubServiceTransaction transaction = mTransactionQueue.peek();
410 ContextHubServiceTransaction transaction = mTransactionQueue.peek();
/frameworks/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/services/net/java/android/net/netlink/
DStructNlAttr.java47 public static StructNlAttr peek(ByteBuffer byteBuffer) { in peek() method in StructNlAttr
74 final StructNlAttr struct = peek(byteBuffer); in parse()
/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/av/media/libstagefright/webm/
DLinkedBlockingQueue.h63 T peek() { in peek() function
DWebmFrameThread.cpp211 const sp<WebmFrame> videoFrame = mVideoFrames.peek(); in run()
215 const sp<WebmFrame> audioFrame = mAudioFrames.peek(); in run()
/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.java228 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/tests/servicestests/utils/com/android/server/testutils/
DTestHandler.java87 while (!mMessages.isEmpty() && mMessages.peek().sendTime <= now) { in timeAdvance()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/main/java/com/google/protobuf/
DRopeByteString.java625 if (prefixesStack.isEmpty() || prefixesStack.peek().size() >= binEnd) { in insert()
633 && prefixesStack.peek().size() < binStart) { in insert()
645 if (prefixesStack.peek().size() < binEnd) { in insert()
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/app/
DHomeActivity.java149 Intent nextIntent = mRunnableBenchmarks.peek(); in handleNextBenchmark()
/frameworks/base/cmds/hid/src/com/android/commands/hid/
DEvent.java171 while (e == null && mReader.peek() != JsonToken.END_DOCUMENT) { in getNextEvent()

12