Searched refs:drain (Results 1 – 8 of 8) sorted by relevance
136 * write and drain.138 * Calling this function implies that all future 'write' and 'drain'202 * non-blocking mode, then 'drain' must not block, instead it must return203 * quickly and completion of the drain is notified through the callback. If204 * 'setCallback' has not been called, then 'drain' must block until207 * If 'type' is 'ALL', the drain completes when all previously written data210 * If 'type' is 'EARLY_NOTIFY', the drain completes shortly before all data218 * @param type type of drain.221 drain(AudioDrain type) generates (Result retval);
31 /** drain() returns when all data has been played. */34 * drain() returns a short time before all data from the current track has
463 return mStream->drain != NULL; in supportsDrain()466 Return<Result> StreamOut::drain(AudioDrain type) { in drain() function in android::hardware::audio::V2_0::implementation::StreamOut467 return mStream->drain != NULL in drain()470 mStream->drain(mStream, in drain()
103 Return<Result> drain(AudioDrain type) override;
1112 drain = ret; in Capability()1117 bool drain = false; member1225 if (!Capability(stream).drain) { in testDrain()1229 ASSERT_RESULT(Result::OK, stream->drain(type)); in testDrain()
307 int (*drain)(struct audio_stream_out* stream, audio_drain_type_t type ); member
113 <ANCHOR id="mix-audio-stop-drain" href="MixAudio/MixAudio.html#mix-audio-stop-drain">
3791 out->stream.drain = out_drain; in adev_open_output_stream()