Lines Matching defs:AudioPolicyManagerBase
17 #define LOG_TAG "AudioPolicyManagerBase"
44 #include <hardware_legacy/AudioPolicyManagerBase.h>
53 status_t AudioPolicyManagerBase::setDeviceConnectionState(audio_devices_t device,
251 AudioSystem::device_connection_state AudioPolicyManagerBase::getDeviceConnectionState(audio_devices_t device,
289 void AudioPolicyManagerBase::setPhoneState(int state)
404 void AudioPolicyManagerBase::setForceUse(AudioSystem::force_use usage, AudioSystem::forced_config config)
491 AudioSystem::forced_config AudioPolicyManagerBase::getForceUse(AudioSystem::force_use usage)
496 void AudioPolicyManagerBase::setSystemProperty(const char* property, const char* value)
503 AudioPolicyManagerBase::IOProfile *AudioPolicyManagerBase::getProfileForDirectOutput(
538 audio_io_handle_t AudioPolicyManagerBase::getOutput(AudioSystem::stream_type stream,
695 audio_io_handle_t AudioPolicyManagerBase::selectOutput(const SortedVector<audio_io_handle_t>& outputs,
741 status_t AudioPolicyManagerBase::startOutput(audio_io_handle_t output,
809 status_t AudioPolicyManagerBase::stopOutput(audio_io_handle_t output,
866 void AudioPolicyManagerBase::releaseOutput(audio_io_handle_t output)
909 audio_io_handle_t AudioPolicyManagerBase::getInput(int inputSource,
990 status_t AudioPolicyManagerBase::startInput(audio_io_handle_t input)
1046 status_t AudioPolicyManagerBase::stopInput(audio_io_handle_t input)
1074 void AudioPolicyManagerBase::releaseInput(audio_io_handle_t input)
1089 void AudioPolicyManagerBase::closeAllInputs() {
1096 void AudioPolicyManagerBase::initStreamVolume(AudioSystem::stream_type stream,
1109 status_t AudioPolicyManagerBase::setStreamVolumeIndex(AudioSystem::stream_type stream,
1149 status_t AudioPolicyManagerBase::getStreamVolumeIndex(AudioSystem::stream_type stream,
1171 audio_io_handle_t AudioPolicyManagerBase::selectOutputForEffects(
1212 audio_io_handle_t AudioPolicyManagerBase::getOutputForEffect(const effect_descriptor_t *desc)
1227 status_t AudioPolicyManagerBase::registerEffect(const effect_descriptor_t *desc,
1264 status_t AudioPolicyManagerBase::unregisterEffect(int id)
1291 status_t AudioPolicyManagerBase::setEffectEnabled(int id, bool enabled)
1302 status_t AudioPolicyManagerBase::setEffectEnabled(EffectDescriptor *pDesc, bool enabled)
1331 bool AudioPolicyManagerBase::isNonOffloadableEffectEnabled()
1345 bool AudioPolicyManagerBase::isStreamActive(int stream, uint32_t inPastMs) const
1357 bool AudioPolicyManagerBase::isStreamActiveRemotely(int stream, uint32_t inPastMs) const
1370 bool AudioPolicyManagerBase::isSourceActive(audio_source_t source) const
1385 status_t AudioPolicyManagerBase::dump(int fd)
1475 bool AudioPolicyManagerBase::isOffloadSupported(const audio_offload_info_t& offloadInfo)
1540 // AudioPolicyManagerBase
1543 AudioPolicyManagerBase::AudioPolicyManagerBase(AudioPolicyClientInterface *clientInterface)
1655 AudioPolicyManagerBase::~AudioPolicyManagerBase()
1673 status_t AudioPolicyManagerBase::initCheck()
1679 bool AudioPolicyManagerBase::threadLoop()
1809 void AudioPolicyManagerBase::exit()
1819 int AudioPolicyManagerBase::testOutputIndex(audio_io_handle_t output)
1830 void AudioPolicyManagerBase::addOutput(audio_io_handle_t id, AudioOutputDescriptor *outputDesc)
1836 void AudioPolicyManagerBase::addInput(audio_io_handle_t id, AudioInputDescriptor *inputDesc)
1842 status_t AudioPolicyManagerBase::checkOutputsForDevice(audio_devices_t device,
2065 status_t AudioPolicyManagerBase::checkInputsForDevice(audio_devices_t device,
2243 void AudioPolicyManagerBase::closeOutput(audio_io_handle_t output)
2292 SortedVector<audio_io_handle_t> AudioPolicyManagerBase::getOutputsForDevice(audio_devices_t device,
2309 bool AudioPolicyManagerBase::vectorsEqual(SortedVector<audio_io_handle_t>& outputs1,
2323 void AudioPolicyManagerBase::checkOutputForStrategy(routing_strategy strategy)
2370 void AudioPolicyManagerBase::checkOutputForAllStrategies()
2380 audio_io_handle_t AudioPolicyManagerBase::getA2dpOutput()
2396 void AudioPolicyManagerBase::checkA2dpSuspend()
2441 audio_devices_t AudioPolicyManagerBase::getNewDevice(audio_io_handle_t output, bool fromCache)
2478 uint32_t AudioPolicyManagerBase::getStrategyForStream(AudioSystem::stream_type stream) {
2482 audio_devices_t AudioPolicyManagerBase::getDevicesForStream(AudioSystem::stream_type stream) {
2490 AudioPolicyManagerBase::routing_strategy strategy = getStrategy(stream);
2496 AudioPolicyManagerBase::routing_strategy AudioPolicyManagerBase::getStrategy(
2523 void AudioPolicyManagerBase::handleNotificationRoutingForStream(AudioSystem::stream_type stream) {
2534 audio_devices_t AudioPolicyManagerBase::getDeviceForStrategy(routing_strategy strategy,
2746 void AudioPolicyManagerBase::updateDevicesAndOutputs()
2754 uint32_t AudioPolicyManagerBase::checkDeviceMuteStrategies(AudioOutputDescriptor *outputDesc,
2827 uint32_t AudioPolicyManagerBase::setOutputDevice(audio_io_handle_t output,
2896 AudioPolicyManagerBase::IOProfile *AudioPolicyManagerBase::getInputProfile(audio_devices_t device,
2921 audio_devices_t AudioPolicyManagerBase::getDeviceForInputSource(int inputSource)
2981 bool AudioPolicyManagerBase::isVirtualInputDevice(audio_devices_t device)
2991 audio_io_handle_t AudioPolicyManagerBase::getActiveInput(bool ignoreVirtualInputs)
3004 audio_devices_t AudioPolicyManagerBase::getDeviceForVolume(audio_devices_t device)
3030 AudioPolicyManagerBase::device_category AudioPolicyManagerBase::getDeviceCategory(audio_devices_t device)
3054 float AudioPolicyManagerBase
3101 const AudioPolicyManagerBase::VolumeCurvePoint
3102 AudioPolicyManagerBase::sDefaultVolumeCurve[AudioPolicyManagerBase::VOLCNT] = {
3106 const AudioPolicyManagerBase::VolumeCurvePoint
3107 AudioPolicyManagerBase::sDefaultMediaVolumeCurve[AudioPolicyManagerBase::VOLCNT] = {
3111 const AudioPolicyManagerBase::VolumeCurvePoint
3112 AudioPolicyManagerBase::sSpeakerMediaVolumeCurve[AudioPolicyManagerBase::VOLCNT] = {
3116 const AudioPolicyManagerBase::VolumeCurvePoint
3117 AudioPolicyManagerBase::sSpeakerSonificationVolumeCurve[AudioPolicyManagerBase::VOLCNT] = {
3121 const AudioPolicyManagerBase::VolumeCurvePoint
3122 AudioPolicyManagerBase::sSpeakerSonificationVolumeCurveDrc[AudioPolicyManagerBase::VOLCNT] = {
3131 const AudioPolicyManagerBase::VolumeCurvePoint
3132 AudioPolicyManagerBase::sDefaultSystemVolumeCurve[AudioPolicyManagerBase::VOLCNT] = {
3136 const AudioPolicyManagerBase::VolumeCurvePoint
3137 AudioPolicyManagerBase::sDefaultSystemVolumeCurveDrc[AudioPolicyManagerBase::VOLCNT] = {
3141 const AudioPolicyManagerBase::VolumeCurvePoint
3142 AudioPolicyManagerBase::sHeadsetSystemVolumeCurve[AudioPolicyManagerBase::VOLCNT] = {
3146 const AudioPolicyManagerBase::VolumeCurvePoint
3147 AudioPolicyManagerBase::sDefaultVoiceVolumeCurve[AudioPolicyManagerBase::VOLCNT] = {
3151 const AudioPolicyManagerBase::VolumeCurvePoint
3152 AudioPolicyManagerBase::sSpeakerVoiceVolumeCurve[AudioPolicyManagerBase::VOLCNT] = {
3156 const AudioPolicyManagerBase::VolumeCurvePoint
3157 *AudioPolicyManagerBase::sVolumeProfiles[AudioSystem::NUM_STREAM_TYPES]
3158 [AudioPolicyManagerBase::DEVICE_CATEGORY_CNT] = {
3211 void AudioPolicyManagerBase::initializeVolumeCurves()
3233 float AudioPolicyManagerBase::computeVolume(int stream,
3295 status_t AudioPolicyManagerBase::checkAndSetVolume(int stream,
3353 void AudioPolicyManagerBase::applyStreamVolumes(audio_io_handle_t output,
3370 void AudioPolicyManagerBase::setStrategyMute(routing_strategy strategy,
3384 void AudioPolicyManagerBase::setStreamMute(int stream,
3424 void AudioPolicyManagerBase::handleIncallSonification(int stream, bool starting, bool stateChange)
3467 bool AudioPolicyManagerBase::isInCall()
3472 bool AudioPolicyManagerBase::isStateInCall(int state) {
3477 uint32_t AudioPolicyManagerBase::getMaxEffectsCpuLoad()
3482 uint32_t AudioPolicyManagerBase::getMaxEffectsMemory()
3489 AudioPolicyManagerBase::AudioOutputDescriptor::AudioOutputDescriptor(
3515 audio_devices_t AudioPolicyManagerBase::AudioOutputDescriptor::device() const
3524 uint32_t AudioPolicyManagerBase::AudioOutputDescriptor::latency()
3533 bool AudioPolicyManagerBase::AudioOutputDescriptor::sharesHwModuleWith(
3545 void AudioPolicyManagerBase::AudioOutputDescriptor::changeRefCount(AudioSystem::stream_type stream, int delta)
3561 audio_devices_t AudioPolicyManagerBase::AudioOutputDescriptor::supportedDevices()
3570 bool AudioPolicyManagerBase::AudioOutputDescriptor::isActive(uint32_t inPastMs) const
3575 bool AudioPolicyManagerBase::AudioOutputDescriptor::isStrategyActive(routing_strategy strategy,
3592 bool AudioPolicyManagerBase::AudioOutputDescriptor::isStreamActive(AudioSystem::stream_type stream,
3612 status_t AudioPolicyManagerBase::AudioOutputDescriptor::dump(int fd)
3643 AudioPolicyManagerBase::AudioInputDescriptor::AudioInputDescriptor(const IOProfile *profile)
3655 status_t AudioPolicyManagerBase::AudioInputDescriptor::dump(int fd)
3678 AudioPolicyManagerBase::StreamDescriptor::StreamDescriptor()
3684 int AudioPolicyManagerBase::StreamDescriptor::getVolumeIndex(audio_devices_t device)
3686 device = AudioPolicyManagerBase::getDeviceForVolume(device);
3694 void AudioPolicyManagerBase::StreamDescriptor::dump(int fd)
3716 status_t AudioPolicyManagerBase::EffectDescriptor::dump(int fd)
3739 AudioPolicyManagerBase::HwModule::HwModule(const char *name)
3744 AudioPolicyManagerBase::HwModule::~HwModule()
3755 void AudioPolicyManagerBase::HwModule::dump(int fd)
3784 AudioPolicyManagerBase::IOProfile::IOProfile(HwModule *module)
3789 AudioPolicyManagerBase::IOProfile::~IOProfile()
3796 bool AudioPolicyManagerBase::IOProfile::isCompatibleProfile(audio_devices_t device,
3843 void AudioPolicyManagerBase::IOProfile::dump(int fd)
3881 void AudioPolicyManagerBase::IOProfile::log()
3984 uint32_t AudioPolicyManagerBase::stringToEnum(const struct StringToEnum *table,
3997 bool AudioPolicyManagerBase::stringToBool(const char *value)
4002 audio_output_flags_t AudioPolicyManagerBase::parseFlagNames(char *name)
4027 audio_devices_t AudioPolicyManagerBase::parseDeviceNames(char *name)
4043 void AudioPolicyManagerBase::loadSamplingRates(char *name, IOProfile *profile)
4065 void AudioPolicyManagerBase::loadFormats(char *name, IOProfile *profile)
4088 void AudioPolicyManagerBase::loadInChannels(char *name, IOProfile *profile)
4113 void AudioPolicyManagerBase::loadOutChannels(char *name, IOProfile *profile)
4139 status_t AudioPolicyManagerBase::loadInput(cnode *root, HwModule *module)
4180 status_t AudioPolicyManagerBase::loadOutput(cnode *root, HwModule *module)
4224 void AudioPolicyManagerBase::loadHwModule(cnode *root)
4269 void AudioPolicyManagerBase::loadHwModules(cnode *root)
4284 void AudioPolicyManagerBase::loadGlobalConfig(cnode *root)
4315 status_t AudioPolicyManagerBase::loadAudioPolicyConfig(const char *path)
4339 void AudioPolicyManagerBase::defaultAudioPolicyConfig(void)