Searched refs:poll (Results 1 - 25 of 58) sorted by relevance

123

/frameworks/opt/bitmap/src/com/android/bitmap/
H A DPooledCache.java24 V poll(); method in interface:PooledCache
H A DUnrefedBitmapCache.java26 * This subclass provides custom pool behavior. The pool can be set to block on {@link #poll()} if
55 * Declare that {@link #poll()} should now block until it can return something.
83 public ReusableBitmap poll() { method in class:UnrefedBitmapCache
86 while ((bitmap = super.poll()) == null && mBlocking) {
/frameworks/base/core/java/android/app/
H A DQueuedWork.java87 while ((toFinish = sPendingWorkFinishers.poll()) != null) {
/frameworks/base/core/java/android/hardware/camera2/legacy/
H A DPerfMeasurement.java189 NO_DURATION_YET : mTimestampQueue.poll());
191 NO_DURATION_YET : mCpuDurationsQueue.poll());
196 mTimestampQueue.poll();
199 mCpuDurationsQueue.poll();
H A DCaptureCollector.java467 CaptureHolder h = mJpegCaptureQueue.poll();
488 CaptureHolder h = mJpegProduceQueue.poll();
525 CaptureHolder h = mPreviewCaptureQueue.poll();
548 CaptureHolder h = mPreviewProduceQueue.poll();
H A DRequestQueue.java56 BurstHolder next = mRequestQueue.poll();
/frameworks/av/include/media/
H A DSingleStateQueue.h78 bool poll(T& value);
/frameworks/av/services/audioflinger/
H A DFastCapture.h52 virtual const FastThreadState *poll();
H A DFastMixer.h47 virtual const FastThreadState *poll();
H A DFastThread.h43 virtual const FastThreadState *poll() = 0;
H A DStateQueue.h51 // - observer must always be able to poll for and view the latest pushed state; it must never be
110 unsigned mStateChanges; // incremented each time poll() detects a state change
137 // If a new state has not pushed by mutator since the previous poll,
141 const T* poll();
195 const T* mCurrent; // most recent value returned by poll()
H A DStateQueue.cpp60 template<typename T> const T* StateQueue<T>::poll() function in class:android::StateQueue
H A DFastCapture.cpp55 const FastThreadState *FastCapture::poll() function in class:android::FastCapture
57 return mSQ.poll();
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/tests/src/androidx/media/filterfw/
H A DFrameSourceFilter.java48 return mFrames.poll();
/frameworks/ex/variablespeed/tests/src/com/android/ex/variablespeed/
H A DAwaitableCompletionListener.java49 if (mQueue.poll(timeout, unit) == null) {
H A DAwaitableErrorListener.java57 if (mQueue.poll(timeout, unit) == null) {
/frameworks/rs/
H A DrsFifoSocket.cpp23 #include <poll.h>
95 int r = poll(&p, 1, 0);
96 //ALOGE("poll r=%i", r);
H A DrsThreadIO.cpp26 #include <poll.h>
130 int pr = poll(p, pollCount, waitTime);
/frameworks/base/core/tests/coretests/src/android/app/
H A DDownloadManagerBaseTest.java672 * @param poll The amount of time to wait
675 protected void waitForDownloadOrTimeout(long id, long poll, long timeoutMillis) argument
677 doWaitForDownloadsOrTimeout(new Query().setFilterById(id), poll, timeoutMillis);
686 * @param poll The amount of time to wait
689 protected void waitForDownloadsOrTimeout(long poll, long timeoutMillis) throws TimeoutException, argument
691 doWaitForDownloadsOrTimeout(new Query(), poll, timeoutMillis);
700 * @param poll The amount of time to wait
704 protected boolean waitForDownloadOrTimeoutNoThrow(long id, long poll, long timeoutMillis) { argument
706 doWaitForDownloadsOrTimeout(new Query().setFilterById(id), poll, timeoutMillis);
718 * @param poll Th
725 timeoutWait(int currentTotalWaitTime, long poll, long maxTimeoutMillis, String timedOutMessage) argument
754 doWaitForDownloadsOrTimeout(Query query, long poll, long timeoutMillis) argument
[all...]
/frameworks/base/native/android/
H A Dsensor.cpp31 #include <poll.h>
125 int nfd = poll(&pfd, 1, 0);
/frameworks/av/media/libmedia/
H A DSingleStateQueue.cpp63 template<typename T> bool SingleStateQueue<T>::Observer::poll(T& value) function in class:android::SingleStateQueue::Observer
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
H A DDispatchThread.java123 job = mJobQueue.poll();
127 // mJobQueue.poll() returning null means wait() is
/frameworks/native/services/sensorservice/
H A DSensorDevice.h86 ssize_t poll(sensors_event_t* buffer, size_t count);
/frameworks/base/core/java/android/speech/tts/
H A DSynthesisPlaybackQueueItem.java219 ListEntry entry = mDataBufferList.poll();
/frameworks/base/tools/layoutlib/bridge/src/android/animation/
H A DAnimationThread.java119 MessageBundle bundle = mQueue.poll();

Completed in 969 milliseconds

123