Home
last modified time | relevance | path

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

123

/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()
/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/packages/SystemUI/tests/src/com/android/systemui/util/concurrency/
DFakeExecutor.java59 if (!mQueuedRunnables.isEmpty() && mQueuedRunnables.peek().mWhen <= mClock.uptimeMillis()) { in runNextReady()
103 long nextTime = mQueuedRunnables.peek().mWhen; in advanceClockToNext()
/frameworks/base/services/core/java/com/android/server/audio/
DMediaFocusControl.java224 mFocusStack.peek().handleFocusGain(AudioManager.AUDIOFOCUS_GAIN); in notifyTopOfAudioFocusStack()
313 if (!mFocusStack.empty() && mFocusStack.peek().hasSameClient(clientToRemove)) in removeFocusStackEntry()
375 mFocusStack.peek().hasSameBinder(cb); in removeFocusStackEntryOnDeath()
443 if (!mFocusStack.isEmpty() && isLockedFocusOwner(mFocusStack.peek())) { in canReassignAudioFocus()
624 pcb2.notifyAudioFocusGrant(mFocusStack.peek().toAudioFocusInfo(), in notifyExtPolicyCurrentFocusAsync()
800 return mFocusStack.peek().getGainRequest(); in getCurrentAudioFocus()
968 if (!mFocusStack.empty() && mFocusStack.peek().hasSameClient(clientId)) { in requestAudioFocus()
971 final FocusRequester fr = mFocusStack.peek(); in requestAudioFocus()
1139 final FocusRequester fr = mFocusStack.peek(); in updateMultiAudioFocus()
/frameworks/base/services/core/java/com/android/server/location/contexthub/
DContextHubTransactionManager.java370 ContextHubServiceTransaction transaction = mTransactionQueue.peek();
395 ContextHubServiceTransaction transaction = mTransactionQueue.peek();
414 ContextHubServiceTransaction transaction = mTransactionQueue.peek();
456 ContextHubServiceTransaction transaction = mTransactionQueue.peek();
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DStack.java63 public T peek() { in peek() method in Stack
/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.java93 while (!mMessages.isEmpty() && mMessages.peek().sendTime <= now) { in timeAdvance()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/magnification/
DMagnificationGestureHandler.java165 while (!queue.isEmpty() && (event.getEventTime() - queue.peek().getEventTime() > 5000)) { in storeEventInto()
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/app/
DHomeActivity.java149 Intent nextIntent = mRunnableBenchmarks.peek(); in handleNextBenchmark()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DDejankUtils.java77 StrictMode.noteSlowCall("IPC detected on critical path: " + sBlockingIpcs.peek());
/frameworks/libs/net/common/testutils/hostdevice/com/android/net/module/util/
DTrackRecord.kt282 fun peek(): E? = checkThread { getOrNull(readHead) } in newReadHead() method
/frameworks/av/media/codec2/sfplugin/tests/
DFrameReassembler_test.cpp35 return std::abs((a - b).peek()); in Diff()

123