Home | History | Annotate | Download | only in audio

Lines Matching refs:AudioPolicyManagerBase

17 #define LOG_TAG "AudioPolicyManagerBase"
35 #include <hardware_legacy/AudioPolicyManagerBase.h>
49 status_t AudioPolicyManagerBase::setDeviceConnectionState(audio_devices_t device,
247 AudioSystem::device_connection_state AudioPolicyManagerBase::getDeviceConnectionState(audio_devices_t device,
281 void AudioPolicyManagerBase::setPhoneState(int state)
396 void AudioPolicyManagerBase::setForceUse(AudioSystem::force_use usage, AudioSystem::forced_config config)
483 AudioSystem::forced_config AudioPolicyManagerBase::getForceUse(AudioSystem::force_use usage)
488 void AudioPolicyManagerBase::setSystemProperty(const char* property, const char* value)
495 AudioPolicyManagerBase::IOProfile *AudioPolicyManagerBase::getProfileForDirectOutput(
530 audio_io_handle_t AudioPolicyManagerBase::getOutput(AudioSystem::stream_type stream,
687 audio_io_handle_t AudioPolicyManagerBase::selectOutput(const SortedVector<audio_io_handle_t>& outputs,
733 status_t AudioPolicyManagerBase::startOutput(audio_io_handle_t output,
801 status_t AudioPolicyManagerBase::stopOutput(audio_io_handle_t output,
858 void AudioPolicyManagerBase::releaseOutput(audio_io_handle_t output)
901 audio_io_handle_t AudioPolicyManagerBase::getInput(int inputSource,
980 status_t AudioPolicyManagerBase::startInput(audio_io_handle_t input)
1036 status_t AudioPolicyManagerBase::stopInput(audio_io_handle_t input)
1064 void AudioPolicyManagerBase::releaseInput(audio_io_handle_t input)
1078 void AudioPolicyManagerBase::initStreamVolume(AudioSystem::stream_type stream,
1091 status_t AudioPolicyManagerBase::setStreamVolumeIndex(AudioSystem::stream_type stream,
1131 status_t AudioPolicyManagerBase::getStreamVolumeIndex(AudioSystem::stream_type stream,
1153 audio_io_handle_t AudioPolicyManagerBase::selectOutputForEffects(
1194 audio_io_handle_t AudioPolicyManagerBase::getOutputForEffect(const effect_descriptor_t *desc)
1209 status_t AudioPolicyManagerBase::registerEffect(const effect_descriptor_t *desc,
1246 status_t AudioPolicyManagerBase::unregisterEffect(int id)
1273 status_t AudioPolicyManagerBase::setEffectEnabled(int id, bool enabled)
1284 status_t AudioPolicyManagerBase::setEffectEnabled(EffectDescriptor *pDesc, bool enabled)
1313 bool AudioPolicyManagerBase::isNonOffloadableEffectEnabled()
1327 bool AudioPolicyManagerBase::isStreamActive(int stream, uint32_t inPastMs) const
1339 bool AudioPolicyManagerBase::isStreamActiveRemotely(int stream, uint32_t inPastMs) const
1352 bool AudioPolicyManagerBase::isSourceActive(audio_source_t source) const
1367 status_t AudioPolicyManagerBase::dump(int fd)
1457 bool AudioPolicyManagerBase::isOffloadSupported(const audio_offload_info_t& offloadInfo)
1522 // AudioPolicyManagerBase
1525 AudioPolicyManagerBase::AudioPolicyManagerBase(AudioPolicyClientInterface *clientInterface)
1637 AudioPolicyManagerBase::~AudioPolicyManagerBase()
1655 status_t AudioPolicyManagerBase::initCheck()
1661 bool AudioPolicyManagerBase::threadLoop()
1791 void AudioPolicyManagerBase::exit()
1801 int AudioPolicyManagerBase::testOutputIndex(audio_io_handle_t output)
1812 void AudioPolicyManagerBase::addOutput(audio_io_handle_t id, AudioOutputDescriptor *outputDesc)
1819 status_t AudioPolicyManagerBase::checkOutputsForDevice(audio_devices_t device,
2022 void AudioPolicyManagerBase::closeOutput(audio_io_handle_t output)
2071 SortedVector<audio_io_handle_t> AudioPolicyManagerBase::getOutputsForDevice(audio_devices_t device,
2088 bool AudioPolicyManagerBase::vectorsEqual(SortedVector<audio_io_handle_t>& outputs1,
2102 void AudioPolicyManagerBase::checkOutputForStrategy(routing_strategy strategy)
2151 void AudioPolicyManagerBase::checkOutputForAllStrategies()
2161 audio_io_handle_t AudioPolicyManagerBase::getA2dpOutput()
2177 void AudioPolicyManagerBase::checkA2dpSuspend()
2222 audio_devices_t AudioPolicyManagerBase::getNewDevice(audio_io_handle_t output, bool fromCache)
2259 uint32_t AudioPolicyManagerBase::getStrategyForStream(AudioSystem::stream_type stream) {
2263 audio_devices_t AudioPolicyManagerBase::getDevicesForStream(AudioSystem::stream_type stream) {
2271 AudioPolicyManagerBase::routing_strategy strategy = getStrategy(stream);
2277 AudioPolicyManagerBase::routing_strategy AudioPolicyManagerBase::getStrategy(
2304 void AudioPolicyManagerBase::handleNotificationRoutingForStream(AudioSystem::stream_type stream) {
2315 audio_devices_t AudioPolicyManagerBase::getDeviceForStrategy(routing_strategy strategy,
2527 void AudioPolicyManagerBase::updateDevicesAndOutputs()
2535 uint32_t AudioPolicyManagerBase::checkDeviceMuteStrategies(AudioOutputDescriptor *outputDesc,
2608 uint32_t AudioPolicyManagerBase::setOutputDevice(audio_io_handle_t output,
2662 AudioPolicyManagerBase::IOProfile *AudioPolicyManagerBase::getInputProfile(audio_devices_t device,
2687 audio_devices_t AudioPolicyManagerBase::getDeviceForInputSource(int inputSource)
2739 bool AudioPolicyManagerBase::isVirtualInputDevice(audio_devices_t device)
2749 audio_io_handle_t AudioPolicyManagerBase::getActiveInput(bool ignoreVirtualInputs)
2762 audio_devices_t AudioPolicyManagerBase::getDeviceForVolume(audio_devices_t device)
2788 AudioPolicyManagerBase::device_category AudioPolicyManagerBase::getDeviceCategory(audio_devices_t device)
2812 float AudioPolicyManagerBase::volIndexToAmpl(audio_devices_t device, const StreamDescriptor& streamDesc,
2859 const AudioPolicyManagerBase::VolumeCurvePoint
2860 AudioPolicyManagerBase::sDefaultVolumeCurve[AudioPolicyManagerBase::VOLCNT] = {
2864 const AudioPolicyManagerBase::VolumeCurvePoint
2865 AudioPolicyManagerBase::sDefaultMediaVolumeCurve[AudioPolicyManagerBase::VOLCNT] = {
2869 const AudioPolicyManagerBase::VolumeCurvePoint
2870 AudioPolicyManagerBase::sSpeakerMediaVolumeCurve[AudioPolicyManagerBase::VOLCNT] = {
2874 const AudioPolicyManagerBase::VolumeCurvePoint
2875 AudioPolicyManagerBase::sSpeakerSonificationVolumeCurve[AudioPolicyManagerBase::VOLCNT] = {
2879 const AudioPolicyManagerBase::VolumeCurvePoint
2880 AudioPolicyManagerBase::sSpeakerSonificationVolumeCurveDrc[AudioPolicyManagerBase::VOLCNT] = {
2889 const AudioPolicyManagerBase::VolumeCurvePoint
2890 AudioPolicyManagerBase::sDefaultSystemVolumeCurve[AudioPolicyManagerBase::VOLCNT] = {
2894 const AudioPolicyManagerBase::VolumeCurvePoint
2895 AudioPolicyManagerBase::sDefaultSystemVolumeCurveDrc[AudioPolicyManagerBase::VOLCNT] = {
2899 const AudioPolicyManagerBase::VolumeCurvePoint
2900 AudioPolicyManagerBase::sHeadsetSystemVolumeCurve[AudioPolicyManagerBase::VOLCNT] = {
2904 const AudioPolicyManagerBase::VolumeCurvePoint
2905 AudioPolicyManagerBase::sDefaultVoiceVolumeCurve[AudioPolicyManagerBase::VOLCNT] = {
2909 const AudioPolicyManagerBase::VolumeCurvePoint
2910 AudioPolicyManagerBase::sSpeakerVoiceVolumeCurve[AudioPolicyManagerBase::VOLCNT] = {
2914 const AudioPolicyManagerBase::VolumeCurvePoint
2915 *AudioPolicyManagerBase::sVolumeProfiles[AUDIO_STREAM_CNT]
2916 [AudioPolicyManagerBase::DEVICE_CATEGORY_CNT] = {
2969 void AudioPolicyManagerBase::initializeVolumeCurves()
2991 float AudioPolicyManagerBase::computeVolume(int stream,
3055 status_t AudioPolicyManagerBase::checkAndSetVolume(int stream,
3113 void AudioPolicyManagerBase::applyStreamVolumes(audio_io_handle_t output,
3130 void AudioPolicyManagerBase::setStrategyMute(routing_strategy strategy,
3144 void AudioPolicyManagerBase::setStreamMute(int stream,
3184 void AudioPolicyManagerBase::handleIncallSonification(int stream, bool starting, bool stateChange)
3227 bool AudioPolicyManagerBase::isInCall()
3232 bool AudioPolicyManagerBase::isStateInCall(int state) {
3237 uint32_t AudioPolicyManagerBase::getMaxEffectsCpuLoad()
3242 uint32_t AudioPolicyManagerBase::getMaxEffectsMemory()
3249 AudioPolicyManagerBase::AudioOutputDescriptor::AudioOutputDescriptor(
3274 audio_devices_t AudioPolicyManagerBase::AudioOutputDescriptor::device() const
3283 uint32_t AudioPolicyManagerBase::AudioOutputDescriptor::latency()
3292 bool AudioPolicyManagerBase::AudioOutputDescriptor::sharesHwModuleWith(
3304 void AudioPolicyManagerBase::AudioOutputDescriptor::changeRefCount(AudioSystem::stream_type stream, int delta)
3320 audio_devices_t AudioPolicyManagerBase::AudioOutputDescriptor::supportedDevices()
3329 bool AudioPolicyManagerBase::AudioOutputDescriptor::isActive(uint32_t inPastMs) const
3334 bool AudioPolicyManagerBase::AudioOutputDescriptor::isStrategyActive(routing_strategy strategy,
3351 bool AudioPolicyManagerBase::AudioOutputDescriptor::isStreamActive(AudioSystem::stream_type stream,
3371 status_t AudioPolicyManagerBase::AudioOutputDescriptor::dump(int fd)
3402 AudioPolicyManagerBase::AudioInputDescriptor::AudioInputDescriptor(const IOProfile *profile)
3409 status_t AudioPolicyManagerBase::AudioInputDescriptor::dump(int fd)
3432 AudioPolicyManagerBase::StreamDescriptor::StreamDescriptor()
3438 int AudioPolicyManagerBase::StreamDescriptor::getVolumeIndex(audio_devices_t device)
3440 device = AudioPolicyManagerBase::getDeviceForVolume(device);
3448 void AudioPolicyManagerBase::StreamDescriptor::dump(int fd)
3470 status_t AudioPolicyManagerBase::EffectDescriptor::dump(int fd)
3493 AudioPolicyManagerBase
3498 AudioPolicyManagerBase::HwModule::~HwModule()
3509 void AudioPolicyManagerBase::HwModule::dump(int fd)
3538 AudioPolicyManagerBase::IOProfile::IOProfile(HwModule *module)
3543 AudioPolicyManagerBase::IOProfile::~IOProfile()
3550 bool AudioPolicyManagerBase::IOProfile::isCompatibleProfile(audio_devices_t device,
3597 void AudioPolicyManagerBase::IOProfile::dump(int fd)
3702 uint32_t AudioPolicyManagerBase::stringToEnum(const struct StringToEnum *table,
3715 bool AudioPolicyManagerBase::stringToBool(const char *value)
3720 audio_output_flags_t AudioPolicyManagerBase::parseFlagNames(char *name)
3745 audio_devices_t AudioPolicyManagerBase::parseDeviceNames(char *name)
3761 void AudioPolicyManagerBase::loadSamplingRates(char *name, IOProfile *profile)
3783 void AudioPolicyManagerBase::loadFormats(char *name, IOProfile *profile)
3806 void AudioPolicyManagerBase::loadInChannels(char *name, IOProfile *profile)
3831 void AudioPolicyManagerBase::loadOutChannels(char *name, IOProfile *profile)
3857 status_t AudioPolicyManagerBase::loadInput(cnode *root, HwModule *module)
3898 status_t AudioPolicyManagerBase::loadOutput(cnode *root, HwModule *module)
3942 void AudioPolicyManagerBase::loadHwModule(cnode *root)
3987 void AudioPolicyManagerBase::loadHwModules(cnode *root)
4002 void AudioPolicyManagerBase::loadGlobalConfig(cnode *root)
4033 status_t AudioPolicyManagerBase::loadAudioPolicyConfig(const char *path)
4057 void AudioPolicyManagerBase::defaultAudioPolicyConfig(void)