Lines Matching refs:AudioPolicyManager

56 status_t AudioPolicyManager::setDeviceConnectionState(audio_devices_t device,  in setDeviceConnectionState()
64 status_t AudioPolicyManager::setDeviceConnectionStateInt(audio_devices_t device, in setDeviceConnectionStateInt()
291 audio_policy_dev_state_t AudioPolicyManager::getDeviceConnectionState(audio_devices_t device, in getDeviceConnectionState()
319 void AudioPolicyManager::updateCallRouting(audio_devices_t rxDevice, int delayMs) in updateCallRouting()
457 void AudioPolicyManager::setPhoneState(audio_mode_t state) in setPhoneState()
565 audio_mode_t AudioPolicyManager::getPhoneState() { in getPhoneState()
569 void AudioPolicyManager::setForceUse(audio_policy_force_use_t usage, in setForceUse()
615 void AudioPolicyManager::setSystemProperty(const char* property, const char* value) in setSystemProperty()
622 sp<IOProfile> AudioPolicyManager::getProfileForDirectOutput( in getProfileForDirectOutput()
668 audio_io_handle_t AudioPolicyManager::getOutput(audio_stream_type_t stream, in getOutput()
685 status_t AudioPolicyManager::getOutputForAttr(const audio_attributes_t *attr, in getOutputForAttr()
767 audio_io_handle_t AudioPolicyManager::getOutputForDevice( in getOutputForDevice()
996 audio_io_handle_t AudioPolicyManager::selectOutput(const SortedVector<audio_io_handle_t>& outputs, in selectOutput()
1075 status_t AudioPolicyManager::startOutput(audio_io_handle_t output, in startOutput()
1135 status_t AudioPolicyManager::startSource(sp<AudioOutputDescriptor> outputDesc, in startSource()
1221 status_t AudioPolicyManager::stopOutput(audio_io_handle_t output, in stopOutput()
1261 status_t AudioPolicyManager::stopSource(sp<AudioOutputDescriptor> outputDesc, in stopSource()
1313 void AudioPolicyManager::releaseOutput(audio_io_handle_t output, in releaseOutput()
1362 status_t AudioPolicyManager::getInputForAttr(const audio_attributes_t *attr, in getInputForAttr()
1451 audio_io_handle_t AudioPolicyManager::getInputForDevice(audio_devices_t device, in getInputForDevice()
1589 status_t AudioPolicyManager::startInput(audio_io_handle_t input, in startInput()
1684 status_t AudioPolicyManager::stopInput(audio_io_handle_t input, in stopInput()
1745 void AudioPolicyManager::releaseInput(audio_io_handle_t input, in releaseInput()
1788 void AudioPolicyManager::closeAllInputs() { in closeAllInputs()
1811 void AudioPolicyManager::initStreamVolume(audio_stream_type_t stream, in initStreamVolume()
1827 status_t AudioPolicyManager::setStreamVolumeIndex(audio_stream_type_t stream, in setStreamVolumeIndex()
1899 status_t AudioPolicyManager::getStreamVolumeIndex(audio_stream_type_t stream, in getStreamVolumeIndex()
1921 audio_io_handle_t AudioPolicyManager::selectOutputForEffects( in selectOutputForEffects()
1962 audio_io_handle_t AudioPolicyManager::getOutputForEffect(const effect_descriptor_t *desc) in getOutputForEffect()
1977 status_t AudioPolicyManager::registerEffect(const effect_descriptor_t *desc, in registerEffect()
1994 bool AudioPolicyManager::isStreamActive(audio_stream_type_t stream, uint32_t inPastMs) const in isStreamActive()
2006 bool AudioPolicyManager::isStreamActiveRemotely(audio_stream_type_t stream, uint32_t inPastMs) const in isStreamActiveRemotely()
2011 bool AudioPolicyManager::isSourceActive(audio_source_t source) const in isSourceActive()
2045 status_t AudioPolicyManager::registerPolicyMixes(Vector<AudioMix> mixes) in registerPolicyMixes()
2148 status_t AudioPolicyManager::unregisterPolicyMixes(Vector<AudioMix> mixes) in unregisterPolicyMixes()
2204 status_t AudioPolicyManager::dump(int fd) in dump()
2257 bool AudioPolicyManager::isOffloadSupported(const audio_offload_info_t& offloadInfo) in isOffloadSupported()
2326 status_t AudioPolicyManager::listAudioPorts(audio_port_role_t role, in listAudioPorts()
2395 status_t AudioPolicyManager::getAudioPort(struct audio_port *port __unused) in getAudioPort()
2400 status_t AudioPolicyManager::createAudioPatch(const struct audio_patch *patch, in createAudioPatch()
2666 status_t AudioPolicyManager::releaseAudioPatch(audio_patch_handle_t handle, in releaseAudioPatch()
2725 status_t AudioPolicyManager::listAudioPatches(unsigned int *num_patches, in listAudioPatches()
2736 status_t AudioPolicyManager::setAudioPortConfig(const struct audio_port_config *config) in setAudioPortConfig()
2800 void AudioPolicyManager::releaseResourcesForUid(uid_t uid) in releaseResourcesForUid()
2807 void AudioPolicyManager::clearAudioPatches(uid_t uid) in clearAudioPatches()
2817 void AudioPolicyManager::checkStrategyRoute(routing_strategy strategy, in checkStrategyRoute()
2846 void AudioPolicyManager::clearSessionRoutes(uid_t uid) in clearSessionRoutes()
2888 void AudioPolicyManager::clearAudioSources(uid_t uid) in clearAudioSources()
2898 status_t AudioPolicyManager::acquireSoundTriggerSession(audio_session_t *session, in acquireSoundTriggerSession()
2909 status_t AudioPolicyManager::startAudioSource(const struct audio_port_config *source, in startAudioSource()
2949 status_t AudioPolicyManager::connectAudioSource(const sp<AudioSourceDescriptor>& sourceDesc) in connectAudioSource()
3026 status_t AudioPolicyManager::stopAudioSource(audio_io_handle_t handle __unused) in stopAudioSource()
3040 status_t AudioPolicyManager::setMasterMono(bool mono) in setMasterMono()
3072 status_t AudioPolicyManager::getMasterMono(bool *mono) in getMasterMono()
3078 status_t AudioPolicyManager::disconnectAudioSource(const sp<AudioSourceDescriptor>& sourceDesc) in disconnectAudioSource()
3107 sp<AudioSourceDescriptor> AudioPolicyManager::getSourceForStrategyOnOutput( in getSourceForStrategyOnOutput()
3127 uint32_t AudioPolicyManager::nextAudioPortGeneration() in nextAudioPortGeneration()
3132 AudioPolicyManager::AudioPolicyManager(AudioPolicyClientInterface *clientInterface) in AudioPolicyManager() function in android::AudioPolicyManager
3401 AudioPolicyManager::~AudioPolicyManager() in AudioPolicyManager()
3419 status_t AudioPolicyManager::initCheck() in AudioPolicyManager()
3425 bool AudioPolicyManager::threadLoop() in AudioPolicyManager()
3563 void AudioPolicyManager::exit() in AudioPolicyManager()
3573 int AudioPolicyManager::testOutputIndex(audio_io_handle_t output) in AudioPolicyManager()
3584 void AudioPolicyManager::addOutput(audio_io_handle_t output, sp<SwAudioOutputDescriptor> outputDesc) in AudioPolicyManager()
3592 void AudioPolicyManager::removeOutput(audio_io_handle_t output) in AudioPolicyManager()
3597 void AudioPolicyManager::addInput(audio_io_handle_t input, sp<AudioInputDescriptor> inputDesc) in AudioPolicyManager()
3604 void AudioPolicyManager::findIoHandlesByAddress(sp<SwAudioOutputDescriptor> desc /*in*/, in AudioPolicyManager()
3617 status_t AudioPolicyManager::checkOutputsForDevice(const sp<DeviceDescriptor> devDesc, in AudioPolicyManager()
3863 status_t AudioPolicyManager::checkInputsForDevice(const sp<DeviceDescriptor> devDesc, in AudioPolicyManager()
4023 void AudioPolicyManager::closeOutput(audio_io_handle_t output) in AudioPolicyManager()
4081 void AudioPolicyManager::closeInput(audio_io_handle_t input) in AudioPolicyManager()
4105 SortedVector<audio_io_handle_t> AudioPolicyManager::getOutputsForDevice( in AudioPolicyManager()
4124 bool AudioPolicyManager::vectorsEqual(SortedVector<audio_io_handle_t>& outputs1, in AudioPolicyManager()
4138 void AudioPolicyManager::checkOutputForStrategy(routing_strategy strategy) in AudioPolicyManager()
4208 void AudioPolicyManager::checkOutputForAllStrategies() in AudioPolicyManager()
4223 void AudioPolicyManager::checkA2dpSuspend() in AudioPolicyManager()
4270 audio_devices_t AudioPolicyManager::getNewOutputDevice(const sp<AudioOutputDescriptor>& outputDesc, in AudioPolicyManager()
4332 audio_devices_t AudioPolicyManager::getNewInputDevice(audio_io_handle_t input) in AudioPolicyManager()
4351 bool AudioPolicyManager::streamsMatchForvolume(audio_stream_type_t stream1, in AudioPolicyManager()
4358 uint32_t AudioPolicyManager::getStrategyForStream(audio_stream_type_t stream) { in AudioPolicyManager()
4362 audio_devices_t AudioPolicyManager::getDevicesForStream(audio_stream_type_t stream) { in AudioPolicyManager()
4396 routing_strategy AudioPolicyManager::getStrategy(audio_stream_type_t stream) const in AudioPolicyManager()
4402 uint32_t AudioPolicyManager::getStrategyForAttr(const audio_attributes_t *attr) { in AudioPolicyManager()
4414 void AudioPolicyManager::handleNotificationRoutingForStream(audio_stream_type_t stream) { in AudioPolicyManager()
4425 uint32_t AudioPolicyManager::handleEventForBeacon(int event) { in AudioPolicyManager()
4460 uint32_t AudioPolicyManager::setBeaconMute(bool mute) { in AudioPolicyManager()
4484 audio_devices_t AudioPolicyManager::getDeviceForStrategy(routing_strategy strategy, in AudioPolicyManager()
4510 void AudioPolicyManager::updateDevicesAndOutputs() in AudioPolicyManager()
4518 uint32_t AudioPolicyManager::checkDeviceMuteStrategies(sp<AudioOutputDescriptor> outputDesc, in AudioPolicyManager()
4598 uint32_t AudioPolicyManager::setOutputDevice(const sp<AudioOutputDescriptor>& outputDesc, in AudioPolicyManager()
4725 status_t AudioPolicyManager::resetOutputDevice(const sp<AudioOutputDescriptor>& outputDesc, in AudioPolicyManager()
4748 status_t AudioPolicyManager::setInputDevice(audio_io_handle_t input, in AudioPolicyManager()
4811 status_t AudioPolicyManager::resetInputDevice(audio_io_handle_t input, in AudioPolicyManager()
4834 sp<IOProfile> AudioPolicyManager::getInputProfile(audio_devices_t device, in AudioPolicyManager()
4872 audio_devices_t AudioPolicyManager::getDeviceAndMixForInputSource(audio_source_t inputSource, in AudioPolicyManager()
4885 audio_devices_t AudioPolicyManager::getDeviceForInputSource(audio_source_t inputSource) in AudioPolicyManager()
4897 float AudioPolicyManager::computeVolume(audio_stream_type_t stream, in AudioPolicyManager()
4958 status_t AudioPolicyManager::checkAndSetVolume(audio_stream_type_t stream, in AudioPolicyManager()
5011 void AudioPolicyManager::applyStreamVolumes(const sp<AudioOutputDescriptor>& outputDesc, in AudioPolicyManager()
5028 void AudioPolicyManager::setStrategyMute(routing_strategy strategy, in AudioPolicyManager()
5043 void AudioPolicyManager::setStreamMute(audio_stream_type_t stream, in AudioPolicyManager()
5081 void AudioPolicyManager::handleIncallSonification(audio_stream_type_t stream, in AudioPolicyManager()
5130 audio_stream_type_t AudioPolicyManager::streamTypefromAttributesInt(const audio_attributes_t *attr) in AudioPolicyManager()
5177 bool AudioPolicyManager::isValidAttributes(const audio_attributes_t *paa) in AudioPolicyManager()
5209 bool AudioPolicyManager::isStrategyActive(const sp<AudioOutputDescriptor> outputDesc, in AudioPolicyManager()
5226 audio_policy_forced_cfg_t AudioPolicyManager::getForceUse(audio_policy_force_use_t usage) in AudioPolicyManager()
5231 bool AudioPolicyManager::isInCall() in AudioPolicyManager()
5236 bool AudioPolicyManager::isStateInCall(int state) in AudioPolicyManager()
5241 void AudioPolicyManager::cleanUpForDevice(const sp<DeviceDescriptor>& deviceDesc) in AudioPolicyManager()
5276 void AudioPolicyManager::filterSurroundFormats(FormatVector *formatsPtr) { in AudioPolicyManager()
5361 void AudioPolicyManager::filterSurroundChannelMasks(ChannelsVector *channelMasksPtr) { in AudioPolicyManager()
5396 void AudioPolicyManager::updateAudioProfiles(audio_devices_t device, in AudioPolicyManager()