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

/frameworks/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.java98 // take() will block until:
104 while ((buffer = take()) != null) {
133 // Wake up the audio playback thread if it was waiting on take().
134 // take() will return null since mStopped was true, and will then
161 // Unblocks the audio playback thread if it was waiting on take()
189 // proceed to leave the write loop since take() will return null when
203 private byte[] take() throws InterruptedException { method in class:SynthesisPlaybackQueueItem

Completed in 81 milliseconds