Home | History | Annotate | Download | only in managerdefault

Lines Matching defs:AudioPolicyManager

41 #include "AudioPolicyManager.h"
59 status_t AudioPolicyManager::setDeviceConnectionState(audio_devices_t device,
67 status_t AudioPolicyManager::setDeviceConnectionStateInt(audio_devices_t device,
297 audio_policy_dev_state_t AudioPolicyManager::getDeviceConnectionState(audio_devices_t device,
325 uint32_t AudioPolicyManager::updateCallRouting(audio_devices_t rxDevice, uint32_t delayMs)
466 void AudioPolicyManager::setPhoneState(audio_mode_t state)
574 audio_mode_t AudioPolicyManager::getPhoneState() {
578 void AudioPolicyManager::setForceUse(audio_policy_force_use_t usage,
632 void AudioPolicyManager::setSystemProperty(const char* property, const char* value)
639 sp<IOProfile> AudioPolicyManager::getProfileForDirectOutput(
685 audio_io_handle_t AudioPolicyManager::getOutput(audio_stream_type_t stream,
702 status_t AudioPolicyManager::getOutputForAttr(const audio_attributes_t *attr,
784 audio_io_handle_t AudioPolicyManager::getOutputForDevice(
1012 audio_io_handle_t AudioPolicyManager::selectOutput(const SortedVector<audio_io_handle_t>& outputs,
1091 status_t AudioPolicyManager::startOutput(audio_io_handle_t output,
1151 status_t AudioPolicyManager::startSource(sp<AudioOutputDescriptor> outputDesc,
1249 status_t AudioPolicyManager::stopOutput(audio_io_handle_t output,
1289 status_t AudioPolicyManager::stopSource(sp<AudioOutputDescriptor> outputDesc,
1340 void AudioPolicyManager::releaseOutput(audio_io_handle_t output,
1389 status_t AudioPolicyManager::getInputForAttr(const audio_attributes_t *attr,
1478 audio_io_handle_t AudioPolicyManager::getInputForDevice(audio_devices_t device,
1618 status_t AudioPolicyManager::startInput(audio_io_handle_t input,
1707 ALOGV("AudioPolicyManager::startInput() input source = %d", audioSession->inputSource());
1713 status_t AudioPolicyManager::stopInput(audio_io_handle_t input,
1774 void AudioPolicyManager::releaseInput(audio_io_handle_t input,
1817 void AudioPolicyManager::closeAllInputs() {
1840 void AudioPolicyManager::initStreamVolume(audio_stream_type_t stream,
1856 status_t AudioPolicyManager::setStreamVolumeIndex(audio_stream_type_t stream,
1932 status_t AudioPolicyManager::getStreamVolumeIndex(audio_stream_type_t stream,
1954 audio_io_handle_t AudioPolicyManager::selectOutputForEffects(
1995 audio_io_handle_t AudioPolicyManager::getOutputForEffect(const effect_descriptor_t *desc)
2010 status_t AudioPolicyManager::registerEffect(const effect_descriptor_t *desc,
2027 bool AudioPolicyManager::isStreamActive(audio_stream_type_t stream, uint32_t inPastMs) const
2039 bool AudioPolicyManager::isStreamActiveRemotely(audio_stream_type_t stream, uint32_t inPastMs) const
2044 bool AudioPolicyManager::isSourceActive(audio_source_t source) const
2078 status_t AudioPolicyManager::registerPolicyMixes(Vector<AudioMix> mixes)
2181 status_t AudioPolicyManager::unregisterPolicyMixes(Vector<AudioMix> mixes)
2237 status_t AudioPolicyManager::dump(int fd)
2290 bool AudioPolicyManager::isOffloadSupported(const audio_offload_info_t& offloadInfo)
2359 status_t AudioPolicyManager::listAudioPorts(audio_port_role_t role,
2428 status_t AudioPolicyManager::getAudioPort(struct audio_port *port __unused)
2433 status_t AudioPolicyManager::createAudioPatch(const struct audio_patch *patch,
2699 status_t AudioPolicyManager::releaseAudioPatch(audio_patch_handle_t handle,
2757 status_t AudioPolicyManager::listAudioPatches(unsigned int *num_patches,
2768 status_t AudioPolicyManager::setAudioPortConfig(const struct audio_port_config *config)
2832 void AudioPolicyManager::releaseResourcesForUid(uid_t uid)
2839 void AudioPolicyManager::clearAudioPatches(uid_t uid)
2849 void AudioPolicyManager::checkStrategyRoute(routing_strategy strategy,
2878 void AudioPolicyManager::clearSessionRoutes(uid_t uid)
2920 void AudioPolicyManager::clearAudioSources(uid_t uid)
2930 status_t AudioPolicyManager::acquireSoundTriggerSession(audio_session_t *session,
2941 status_t AudioPolicyManager::startAudioSource(const struct audio_port_config *source,
2981 status_t AudioPolicyManager::connectAudioSource(const sp<AudioSourceDescriptor>& sourceDesc)
3058 status_t AudioPolicyManager::stopAudioSource(audio_io_handle_t handle __unused)
3072 status_t AudioPolicyManager::setMasterMono(bool mono)
3104 status_t AudioPolicyManager::getMasterMono(bool *mono)
3110 status_t AudioPolicyManager::disconnectAudioSource(const sp<AudioSourceDescriptor>& sourceDesc)
3139 sp<AudioSourceDescriptor> AudioPolicyManager::getSourceForStrategyOnOutput(
3157 // AudioPolicyManager
3159 uint32_t AudioPolicyManager::nextAudioPortGeneration()
3164 AudioPolicyManager::AudioPolicyManager(AudioPolicyClientInterface *clientInterface)
3434 AudioPolicyManager::~AudioPolicyManager()
3452 status_t AudioPolicyManager::initCheck()
3458 bool AudioPolicyManager::threadLoop()
3596 void AudioPolicyManager::exit()
3606 int AudioPolicyManager::testOutputIndex(audio_io_handle_t output)
3617 void AudioPolicyManager::addOutput(audio_io_handle_t output, sp<SwAudioOutputDescriptor> outputDesc)
3625 void AudioPolicyManager::removeOutput(audio_io_handle_t output)
3630 void AudioPolicyManager::addInput(audio_io_handle_t input, sp<AudioInputDescriptor> inputDesc)
3637 void AudioPolicyManager::findIoHandlesByAddress(sp<SwAudioOutputDescriptor> desc /*in*/,
3650 status_t AudioPolicyManager::checkOutputsForDevice(const sp<DeviceDescriptor> devDesc,
3896 status_t AudioPolicyManager::checkInputsForDevice(const sp<DeviceDescriptor> devDesc,
4056 void AudioPolicyManager::closeOutput(audio_io_handle_t output)
4114 void AudioPolicyManager::closeInput(audio_io_handle_t input)
4138 SortedVector<audio_io_handle_t> AudioPolicyManager::getOutputsForDevice(
4157 bool AudioPolicyManager::vectorsEqual(SortedVector<audio_io_handle_t>& outputs1,
4171 void AudioPolicyManager::checkOutputForStrategy(routing_strategy strategy)
4241 void AudioPolicyManager::checkOutputForAllStrategies()
4256 void AudioPolicyManager::checkA2dpSuspend()
4303 audio_devices_t AudioPolicyManager::getNewOutputDevice(const sp<AudioOutputDescriptor>& outputDesc,
4365 audio_devices_t AudioPolicyManager::getNewInputDevice(audio_io_handle_t input)
4384 bool AudioPolicyManager::streamsMatchForvolume(audio_stream_type_t stream1,
4391 uint32_t AudioPolicyManager::getStrategyForStream(audio_stream_type_t stream) {
4395 audio_devices_t AudioPolicyManager::getDevicesForStream(audio_stream_type_t stream) {
4429 routing_strategy AudioPolicyManager::getStrategy(audio_stream_type_t stream) const
4435 uint32_t AudioPolicyManager::getStrategyForAttr(const audio_attributes_t *attr) {
4447 void AudioPolicyManager::handleNotificationRoutingForStream(audio_stream_type_t stream) {
4458 uint32_t AudioPolicyManager::handleEventForBeacon(int event) {
4493 uint32_t AudioPolicyManager::setBeaconMute(bool mute) {
4517 audio_devices_t AudioPolicyManager::getDeviceForStrategy(routing_strategy strategy,
4543 void AudioPolicyManager::updateDevicesAndOutputs()
4551 uint32_t AudioPolicyManager::checkDeviceMuteStrategies(sp<AudioOutputDescriptor> outputDesc,
4636 uint32_t AudioPolicyManager::setOutputDevice(const sp<AudioOutputDescriptor>& outputDesc,
4763 status_t AudioPolicyManager::resetOutputDevice(const sp<AudioOutputDescriptor>& outputDesc,
4786 status_t AudioPolicyManager::setInputDevice(audio_io_handle_t input,
4849 status_t AudioPolicyManager::resetInputDevice(audio_io_handle_t input,
4872 sp<IOProfile> AudioPolicyManager::getInputProfile(audio_devices_t device,
4910 audio_devices_t AudioPolicyManager::getDeviceAndMixForInputSource(audio_source_t inputSource,
4923 audio_devices_t AudioPolicyManager::getDeviceForInputSource(audio_source_t inputSource)
4935 float AudioPolicyManager::computeVolume(audio_stream_type_t stream,
4996 status_t AudioPolicyManager::checkAndSetVolume(audio_stream_type_t stream,
5049 void AudioPolicyManager::applyStreamVolumes(const sp<AudioOutputDescriptor>& outputDesc,
5066 void AudioPolicyManager::setStrategyMute(routing_strategy strategy,
5081 void AudioPolicyManager::setStreamMute(audio_stream_type_t stream,
5119 void AudioPolicyManager::handleIncallSonification(audio_stream_type_t stream,
5168 audio_stream_type_t AudioPolicyManager::streamTypefromAttributesInt(const audio_attributes_t *attr)
5215 bool AudioPolicyManager::isValidAttributes(const audio_attributes_t *paa)
5247 bool AudioPolicyManager::isStrategyActive(const sp<AudioOutputDescriptor> outputDesc,
5264 audio_policy_forced_cfg_t AudioPolicyManager::getForceUse(audio_policy_force_use_t usage)
5269 bool AudioPolicyManager::isInCall()
5274 bool AudioPolicyManager::isStateInCall(int state)
5279 void AudioPolicyManager::cleanUpForDevice(const sp<DeviceDescriptor>& deviceDesc)
5314 void AudioPolicyManager::filterSurroundFormats(FormatVector *formatsPtr) {
5399 void AudioPolicyManager::filterSurroundChannelMasks(ChannelsVector *channelMasksPtr) {
5434 void AudioPolicyManager::updateAudioProfiles(audio_devices_t device,