Searched defs:poll (Results 1 - 10 of 10) sorted by relevance

/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/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) {
H A DUnrefedPooledCache.java31 * its cache, and instead {@link #poll()} is allowed to return unreferenced cache
121 public V poll() { method in class:UnrefedPooledCache
122 Trace.beginSection("pool poll");
123 final V pooled = mPool.poll();
/frameworks/av/services/audioflinger/
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();
H A DFastMixer.cpp99 const FastThreadState *FastMixer::poll() function in class:android::FastMixer
101 return mSQ.poll();
/frameworks/native/services/sensorservice/
H A DSensorDevice.cpp118 ssize_t SensorDevice::poll(sensors_event_t* buffer, size_t count) { function in class:android::SensorDevice
122 c = mSensorDevice->poll(reinterpret_cast<struct sensors_poll_device_t *> (mSensorDevice),
/frameworks/base/core/tests/hosttests/test-apps/DownloadManagerTestApp/src/com/android/frameworks/downloadmanagertests/
H A DDownloadManagerBaseTest.java355 * @param poll The amount of time to wait
387 * @param poll The amount of time to wait
394 private int timeoutWait(int currentTotalWaitTime, long poll, long maxTimeoutMillis, argument
397 long end = now + poll;
409 currentTotalWaitTime += poll;
/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...]

Completed in 194 milliseconds