Searched defs:take (Results 1 - 2 of 2) sorted by relevance

/frameworks/support/volley/tests/src/com/android/volley/mock/
H A DWaitableQueue.java34 // TODO: this isn't really "until empty" it's "until next call to take() after empty"
44 public Request<?> take() throws InterruptedException { method in class:WaitableQueue
45 Request<?> item = super.take();
48 return take();
/frameworks/base/core/java/android/speech/tts/
H A DSynthesisPlaybackQueueItem.java95 // take() will block until:
101 while ((buffer = take()) != null) {
130 // Wake up the audio playback thread if it was waiting on take().
131 // take() will return null since mStopped was true, and will then
158 // Unblocks the audio playback thread if it was waiting on take()
186 // proceed to leave the write loop since take() will return null when
200 private byte[] take() throws InterruptedException { method in class:SynthesisPlaybackQueueItem

Completed in 96 milliseconds