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

12345

/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/native/libs/vr/libvrsensor/include/private/dvr/
H A Dsensor_client.h6 #include <poll.h>
/frameworks/base/core/java/android/hardware/camera2/legacy/
H A DPerfMeasurement.java188 NO_DURATION_YET : mTimestampQueue.poll());
190 NO_DURATION_YET : mCpuDurationsQueue.poll());
195 mTimestampQueue.poll();
198 mCpuDurationsQueue.poll();
/frameworks/base/core/jni/
H A Dandroid_app_Activity.cpp17 #include <poll.h>
/frameworks/support/paging/common/src/test/java/android/arch/paging/
H A DTestExecutor.java36 while ((task = mTasks.poll()) != null) {
/frameworks/support/paging/runtime/src/androidTest/java/android/arch/paging/
H A DTestExecutor.java36 while ((task = mTasks.poll()) != null) {
/frameworks/av/services/audioflinger/
H A DFastCapture.h41 virtual const FastThreadState *poll();
H A DFastMixer.h48 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
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/tests/src/androidx/media/filterfw/
H A DFrameSourceFilter.java48 return mFrames.poll();
/frameworks/base/cmds/incidentd/src/
H A DFdBuffer.cpp25 #include <poll.h>
83 int count = poll(&pfds, 1, remainingTime);
/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>
127 int pr = poll(p, pollCount, waitTime);
/frameworks/base/core/tests/coretests/src/android/app/
H A DDownloadManagerBaseTest.java674 * @param poll The amount of time to wait
677 protected void waitForDownloadOrTimeout(long id, long poll, long timeoutMillis) argument
679 doWaitForDownloadsOrTimeout(new Query().setFilterById(id), poll, timeoutMillis);
688 * @param poll The amount of time to wait
691 protected void waitForDownloadsOrTimeout(long poll, long timeoutMillis) throws TimeoutException, argument
693 doWaitForDownloadsOrTimeout(new Query(), poll, timeoutMillis);
702 * @param poll The amount of time to wait
706 protected boolean waitForDownloadOrTimeoutNoThrow(long id, long poll, long timeoutMillis) { argument
708 doWaitForDownloadsOrTimeout(new Query().setFilterById(id), poll, timeoutMillis);
720 * @param poll Th
727 timeoutWait(int currentTotalWaitTime, long poll, long maxTimeoutMillis, String timedOutMessage) argument
756 doWaitForDownloadsOrTimeout(Query query, long poll, long timeoutMillis) argument
[all...]
/frameworks/base/core/java/android/speech/tts/
H A DSynthesisPlaybackQueueItem.java221 ProgressMarker marker = markerList.poll();
279 ListEntry entry = mDataBufferList.poll();
/frameworks/native/libs/vr/libpdx_uds/
H A Dchannel_event_set.cpp5 #include <poll.h>
120 if (RETRY_EINTR(poll(pfds.data(), pfds.size(), timeout_ms)) < 0) {
123 "ChannelEventReceiver::PollPendingEvents: Failed to poll for events: "
/frameworks/base/packages/Shell/tests/src/com/android/shell/
H A DActionSendMultipleConsumerActivity.java118 bundle = mQueue.poll(2 * TIMEOUT, TimeUnit.SECONDS);
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/leak/
H A DWeakIdentityHashMap.java37 while ((ref = mRefQueue.poll()) != null) {
/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/libs/vr/libvrsensor/
H A Dsensor_client.cpp5 #include <poll.h>
47 ALOGE_IF(!status, "Sensor poll() failed because: %s\n",
/frameworks/av/include/media/
H A DSingleStateQueue.h117 bool poll(T& value) function in class:android::SingleStateQueue::Observer
138 mSequence = before; // mSequence is even after poll success
/frameworks/av/media/libmedia/include/media/
H A DSingleStateQueue.h117 bool poll(T& value) function in class:android::SingleStateQueue::Observer
138 mSequence = before; // mSequence is even after poll success

Completed in 744 milliseconds

12345