Lines Matching refs:StreamOutHalLocal
117 StreamOutHalLocal::StreamOutHalLocal(audio_stream_out_t *stream, sp<DeviceHalLocal> device) in StreamOutHalLocal() function in android::CPP_VERSION::StreamOutHalLocal
121 StreamOutHalLocal::~StreamOutHalLocal() { in ~StreamOutHalLocal()
127 status_t StreamOutHalLocal::getFrameSize(size_t *size) { in getFrameSize()
132 status_t StreamOutHalLocal::getLatency(uint32_t *latency) { in getLatency()
137 status_t StreamOutHalLocal::setVolume(float left, float right) { in setVolume()
142 status_t StreamOutHalLocal::selectPresentation(int presentationId, int programId) { in selectPresentation()
149 status_t StreamOutHalLocal::write(const void *buffer, size_t bytes, size_t *written) { in write()
161 status_t StreamOutHalLocal::getRenderPosition(uint32_t *dspFrames) { in getRenderPosition()
165 status_t StreamOutHalLocal::getNextWriteTimestamp(int64_t *timestamp) { in getNextWriteTimestamp()
170 status_t StreamOutHalLocal::setCallback(wp<StreamOutHalInterfaceCallback> callback) { in setCallback()
172 status_t result = mStream->set_callback(mStream, StreamOutHalLocal::asyncCallback, this); in setCallback()
180 int StreamOutHalLocal::asyncCallback(stream_callback_event_t event, void*, void *cookie) { in asyncCallback()
185 wp<StreamOutHalLocal> weakSelf(static_cast<StreamOutHalLocal*>(cookie)); in asyncCallback()
186 sp<StreamOutHalLocal> self = weakSelf.promote(); in asyncCallback()
208 status_t StreamOutHalLocal::supportsPauseAndResume(bool *supportsPause, bool *supportsResume) { in supportsPauseAndResume()
214 status_t StreamOutHalLocal::pause() { in pause()
219 status_t StreamOutHalLocal::resume() { in resume()
224 status_t StreamOutHalLocal::supportsDrain(bool *supportsDrain) { in supportsDrain()
229 status_t StreamOutHalLocal::drain(bool earlyNotify) { in drain()
234 status_t StreamOutHalLocal::flush() { in flush()
239 status_t StreamOutHalLocal::getPresentationPosition(uint64_t *frames, struct timespec *timestamp) { in getPresentationPosition()
244 status_t StreamOutHalLocal::updateSourceMetadata(const SourceMetadata& sourceMetadata) { in updateSourceMetadata()
257 status_t StreamOutHalLocal::start() { in start()
262 status_t StreamOutHalLocal::stop() { in stop()
267 status_t StreamOutHalLocal::createMmapBuffer(int32_t minSizeFrames, in createMmapBuffer()
273 status_t StreamOutHalLocal::getMmapPosition(struct audio_mmap_position *position) { in getMmapPosition()
278 status_t StreamOutHalLocal::setEventCallback( in setEventCallback()
284 callback == nullptr ? nullptr : StreamOutHalLocal::asyncEventCallback; in setEventCallback()
293 int StreamOutHalLocal::asyncEventCallback( in asyncEventCallback()
299 wp<StreamOutHalLocal> weakSelf(static_cast<StreamOutHalLocal*>(cookie)); in asyncEventCallback()
300 sp<StreamOutHalLocal> self = weakSelf.promote(); in asyncEventCallback()