Lines Matching refs:stream
130 audio_io_handle_t AudioPolicyService::getOutput(audio_stream_type_t stream, in getOutput() argument
137 if (uint32_t(stream) >= AUDIO_STREAM_PUBLIC_CNT) { in getOutput()
145 return mAudioPolicyManager->getOutput(stream, samplingRate, in getOutput()
152 audio_stream_type_t *stream, in getOutputForAttr() argument
175 return mAudioPolicyManager->getOutputForAttr(attr, output, session, stream, uid, samplingRate, in getOutputForAttr()
180 audio_stream_type_t stream, in startOutput() argument
183 if (uint32_t(stream) >= AUDIO_STREAM_CNT) { in startOutput()
197 status_t status = audioPolicyEffects->addOutputSessionEffects(output, stream, session); in startOutput()
203 return mAudioPolicyManager->startOutput(output, stream, session); in startOutput()
207 audio_stream_type_t stream, in stopOutput() argument
210 if (uint32_t(stream) >= AUDIO_STREAM_CNT) { in stopOutput()
217 mOutputCommandThread->stopOutputCommand(output, stream, session); in stopOutput()
222 audio_stream_type_t stream, in doStopOutput() argument
233 status_t status = audioPolicyEffects->releaseOutputSessionEffects(output, stream, session); in doStopOutput()
239 return mAudioPolicyManager->stopOutput(output, stream, session); in doStopOutput()
243 audio_stream_type_t stream, in releaseOutput() argument
250 mOutputCommandThread->releaseOutputCommand(output, stream, session); in releaseOutput()
254 audio_stream_type_t stream, in doReleaseOutput() argument
259 mAudioPolicyManager->releaseOutput(output, stream, session); in doReleaseOutput()
392 status_t AudioPolicyService::initStreamVolume(audio_stream_type_t stream, in initStreamVolume() argument
402 if (uint32_t(stream) >= AUDIO_STREAM_PUBLIC_CNT) { in initStreamVolume()
406 mAudioPolicyManager->initStreamVolume(stream, indexMin, indexMax); in initStreamVolume()
410 status_t AudioPolicyService::setStreamVolumeIndex(audio_stream_type_t stream, in setStreamVolumeIndex() argument
420 if (uint32_t(stream) >= AUDIO_STREAM_PUBLIC_CNT) { in setStreamVolumeIndex()
424 return mAudioPolicyManager->setStreamVolumeIndex(stream, in setStreamVolumeIndex()
429 status_t AudioPolicyService::getStreamVolumeIndex(audio_stream_type_t stream, in getStreamVolumeIndex() argument
436 if (uint32_t(stream) >= AUDIO_STREAM_PUBLIC_CNT) { in getStreamVolumeIndex()
440 return mAudioPolicyManager->getStreamVolumeIndex(stream, in getStreamVolumeIndex()
445 uint32_t AudioPolicyService::getStrategyForStream(audio_stream_type_t stream) in getStrategyForStream() argument
447 if (uint32_t(stream) >= AUDIO_STREAM_PUBLIC_CNT) { in getStrategyForStream()
453 return mAudioPolicyManager->getStrategyForStream(stream); in getStrategyForStream()
458 audio_devices_t AudioPolicyService::getDevicesForStream(audio_stream_type_t stream) in getDevicesForStream() argument
460 if (uint32_t(stream) >= AUDIO_STREAM_PUBLIC_CNT) { in getDevicesForStream()
466 return mAudioPolicyManager->getDevicesForStream(stream); in getDevicesForStream()
507 bool AudioPolicyService::isStreamActive(audio_stream_type_t stream, uint32_t inPastMs) const in isStreamActive() argument
509 if (uint32_t(stream) >= AUDIO_STREAM_PUBLIC_CNT) { in isStreamActive()
516 return mAudioPolicyManager->isStreamActive(stream, inPastMs); in isStreamActive()
519 bool AudioPolicyService::isStreamActiveRemotely(audio_stream_type_t stream, uint32_t inPastMs) const in isStreamActiveRemotely() argument
521 if (uint32_t(stream) >= AUDIO_STREAM_PUBLIC_CNT) { in isStreamActiveRemotely()
528 return mAudioPolicyManager->isStreamActiveRemotely(stream, inPastMs); in isStreamActiveRemotely()