Lines Matching refs:AudioPolicyManager

83 status_t AudioPolicyManager::setDeviceConnectionState(audio_devices_t device,  in setDeviceConnectionState()
95 void AudioPolicyManager::broadcastDeviceConnectionState(const sp<DeviceDescriptor> &device, in broadcastDeviceConnectionState()
105 status_t AudioPolicyManager::setDeviceConnectionStateInt(audio_devices_t deviceType, in setDeviceConnectionStateInt()
353 void AudioPolicyManager::setEngineDeviceConnectionState(const sp<DeviceDescriptor> device, in setEngineDeviceConnectionState()
364 audio_policy_dev_state_t AudioPolicyManager::getDeviceConnectionState(audio_devices_t device, in getDeviceConnectionState()
394 status_t AudioPolicyManager::handleDeviceConfigChange(audio_devices_t device, in handleDeviceConfigChange()
470 status_t AudioPolicyManager::getHwOffloadEncodingFormatsSupportedForA2DP( in getHwOffloadEncodingFormatsSupportedForA2DP()
487 uint32_t AudioPolicyManager::updateCallRouting(const DeviceVector &rxDevices, uint32_t delayMs) in updateCallRouting()
572 sp<AudioPatch> AudioPolicyManager::createTelephonyPatch( in createTelephonyPatch()
630 sp<DeviceDescriptor> AudioPolicyManager::findDevice( in findDevice()
638 audio_devices_t AudioPolicyManager::getModuleDeviceTypes( in getModuleDeviceTypes()
644 bool AudioPolicyManager::isDeviceOfModule( in isDeviceOfModule()
656 void AudioPolicyManager::setPhoneState(audio_mode_t state) in setPhoneState()
757 audio_mode_t AudioPolicyManager::getPhoneState() { in getPhoneState()
761 void AudioPolicyManager::setForceUse(audio_policy_force_use_t usage, in setForceUse()
822 void AudioPolicyManager::setSystemProperty(const char* property, const char* value) in setSystemProperty()
829 sp<IOProfile> AudioPolicyManager::getProfileForOutput( in getProfileForOutput()
881 audio_io_handle_t AudioPolicyManager::getOutput(audio_stream_type_t stream) in getOutput()
899 status_t AudioPolicyManager::getAudioAttributes(audio_attributes_t *dstAttr, in getAudioAttributes()
929 status_t AudioPolicyManager::getOutputForAttrInt( in getOutputForAttrInt()
1048 status_t AudioPolicyManager::getOutputForAttr(const audio_attributes_t *attr, in getOutputForAttr()
1108 audio_io_handle_t AudioPolicyManager::getOutputForDevices( in getOutputForDevices()
1285 sp<DeviceDescriptor> AudioPolicyManager::getMsdAudioInDevice() const { in getMsdAudioInDevice()
1291 DeviceVector AudioPolicyManager::getMsdAudioOutDevices() const { in getMsdAudioOutDevices()
1296 const AudioPatchCollection AudioPolicyManager::getMsdPatches() const { in getMsdPatches()
1314 status_t AudioPolicyManager::getBestMsdAudioProfileFor(const sp<DeviceDescriptor> &outputDevice, in getBestMsdAudioProfileFor()
1385 PatchBuilder AudioPolicyManager::buildMsdPatch(const sp<DeviceDescriptor> &outputDevice) const in buildMsdPatch()
1406 status_t AudioPolicyManager::setMsdPatch(const sp<DeviceDescriptor> &outputDevice) { in setMsdPatch()
1440 audio_io_handle_t AudioPolicyManager::selectOutput(const SortedVector<audio_io_handle_t>& outputs, in selectOutput()
1567 status_t AudioPolicyManager::startOutput(audio_port_handle_t portId) in startOutput()
1600 status_t AudioPolicyManager::startSource(const sp<SwAudioOutputDescriptor>& outputDesc, in startSource()
1776 status_t AudioPolicyManager::stopOutput(audio_port_handle_t portId) in stopOutput()
1798 status_t AudioPolicyManager::stopSource(const sp<SwAudioOutputDescriptor>& outputDesc, in stopSource()
1880 void AudioPolicyManager::releaseOutput(audio_port_handle_t portId) in releaseOutput()
1915 status_t AudioPolicyManager::getInputForAttr(const audio_attributes_t *attr, in getInputForAttr()
2086 audio_io_handle_t AudioPolicyManager::getInputForDevice(const sp<DeviceDescriptor> &device, in getInputForDevice()
2215 status_t AudioPolicyManager::startInput(audio_port_handle_t portId) in startInput()
2289 status_t AudioPolicyManager::stopInput(audio_port_handle_t portId) in stopInput()
2348 void AudioPolicyManager::releaseInput(audio_port_handle_t portId) in releaseInput()
2374 void AudioPolicyManager::closeActiveClients(const sp<AudioInputDescriptor>& input) in closeActiveClients()
2383 void AudioPolicyManager::closeClient(audio_port_handle_t portId) in closeClient()
2389 void AudioPolicyManager::checkCloseInputs() { in checkCloseInputs()
2426 void AudioPolicyManager::initStreamVolume(audio_stream_type_t stream, int indexMin, int indexMax) in initStreamVolume()
2444 status_t AudioPolicyManager::setStreamVolumeIndex(audio_stream_type_t stream, in setStreamVolumeIndex()
2454 status_t AudioPolicyManager::getStreamVolumeIndex(audio_stream_type_t stream, in getStreamVolumeIndex()
2466 status_t AudioPolicyManager::setVolumeIndexForAttributes(const audio_attributes_t &attributes, in setVolumeIndexForAttributes()
2597 status_t AudioPolicyManager::setVolumeCurveIndex(int index, in setVolumeCurveIndex()
2622 status_t AudioPolicyManager::getVolumeIndexForAttributes(const audio_attributes_t &attr, in getVolumeIndexForAttributes()
2634 status_t AudioPolicyManager::getVolumeIndex(const IVolumeCurves &curves, in getVolumeIndex()
2647 status_t AudioPolicyManager::getMinVolumeIndexForAttributes(const audio_attributes_t &attr, in getMinVolumeIndexForAttributes()
2654 status_t AudioPolicyManager::getMaxVolumeIndexForAttributes(const audio_attributes_t &attr, in getMaxVolumeIndexForAttributes()
2661 audio_io_handle_t AudioPolicyManager::selectOutputForMusicEffects() in selectOutputForMusicEffects()
2727 audio_io_handle_t AudioPolicyManager::getOutputForEffect(const effect_descriptor_t *desc __unused) in getOutputForEffect()
2732 status_t AudioPolicyManager::registerEffect(const effect_descriptor_t *desc, in registerEffect()
2751 status_t AudioPolicyManager::unregisterEffect(int id) in unregisterEffect()
2763 void AudioPolicyManager::cleanUpEffectsForIo(audio_io_handle_t io) in cleanUpEffectsForIo()
2773 status_t AudioPolicyManager::setEffectEnabled(int id, bool enabled) in setEffectEnabled()
2788 status_t AudioPolicyManager::moveEffectsToIo(const std::vector<int>& ids, audio_io_handle_t io) in moveEffectsToIo()
2794 bool AudioPolicyManager::isStreamActive(audio_stream_type_t stream, uint32_t inPastMs) const in isStreamActive()
2799 bool AudioPolicyManager::isStreamActiveRemotely(audio_stream_type_t stream, uint32_t inPastMs) const in isStreamActiveRemotely()
2804 bool AudioPolicyManager::isSourceActive(audio_source_t source) const in isSourceActive()
2838 status_t AudioPolicyManager::registerPolicyMixes(const Vector<AudioMix>& mixes) in registerPolicyMixes()
2953 status_t AudioPolicyManager::unregisterPolicyMixes(Vector<AudioMix> mixes) in unregisterPolicyMixes()
3003 void AudioPolicyManager::dumpManualSurroundFormats(String8 *dst) const in dumpManualSurroundFormats()
3016 status_t AudioPolicyManager::setUidDeviceAffinities(uid_t uid, in setUidDeviceAffinities()
3046 status_t AudioPolicyManager::removeUidDeviceAffinities(uid_t uid) { in removeUidDeviceAffinities()
3058 void AudioPolicyManager::dump(String8 *dst) const in dump()
3103 status_t AudioPolicyManager::dump(int fd) in dump()
3111 status_t AudioPolicyManager::setAllowedCapturePolicy(uid_t uid, audio_flags_mask_t capturePolicy) in setAllowedCapturePolicy()
3120 bool AudioPolicyManager::isOffloadSupported(const audio_offload_info_t& offloadInfo) in isOffloadSupported()
3190 bool AudioPolicyManager::isDirectOutputSupported(const audio_config_base_t& config, in isDirectOutputSupported()
3208 status_t AudioPolicyManager::listAudioPorts(audio_port_role_t role, in listAudioPorts()
3277 status_t AudioPolicyManager::getAudioPort(struct audio_port *port) in getAudioPort()
3305 status_t AudioPolicyManager::createAudioPatch(const struct audio_patch *patch, in createAudioPatch()
3548 status_t AudioPolicyManager::releaseAudioPatch(audio_patch_handle_t handle, in releaseAudioPatch()
3606 status_t AudioPolicyManager::listAudioPatches(unsigned int *num_patches, in listAudioPatches()
3617 status_t AudioPolicyManager::setAudioPortConfig(const struct audio_port_config *config) in setAudioPortConfig()
3681 void AudioPolicyManager::releaseResourcesForUid(uid_t uid) in releaseResourcesForUid()
3688 void AudioPolicyManager::clearAudioPatches(uid_t uid) in clearAudioPatches()
3698 void AudioPolicyManager::checkStrategyRoute(product_strategy_t ps, audio_io_handle_t ouptutToSkip) in checkStrategyRoute()
3727 void AudioPolicyManager::clearSessionRoutes(uid_t uid) in clearSessionRoutes()
3774 void AudioPolicyManager::clearAudioSources(uid_t uid) in clearAudioSources()
3784 status_t AudioPolicyManager::acquireSoundTriggerSession(audio_session_t *session, in acquireSoundTriggerSession()
3796 status_t AudioPolicyManager::startAudioSource(const struct audio_port_config *source, in startAudioSource()
3844 status_t AudioPolicyManager::connectAudioSource(const sp<SourceClientDescriptor>& sourceDesc) in connectAudioSource()
3947 status_t AudioPolicyManager::stopAudioSource(audio_port_handle_t portId) in stopAudioSource()
3961 status_t AudioPolicyManager::setMasterMono(bool mono) in setMasterMono()
3993 status_t AudioPolicyManager::getMasterMono(bool *mono) in getMasterMono()
3999 float AudioPolicyManager::getStreamVolumeDB( in getStreamVolumeDB()
4005 status_t AudioPolicyManager::getSurroundFormats(unsigned int *numSurroundFormats, in getSurroundFormats()
4068 status_t AudioPolicyManager::setSurroundFormatEnabled(audio_format_t audioFormat, bool enabled) in setSurroundFormatEnabled()
4154 void AudioPolicyManager::setAppState(uid_t uid, app_state_t state) in setAppState()
4162 bool AudioPolicyManager::isHapticPlaybackSupported() in isHapticPlaybackSupported()
4179 status_t AudioPolicyManager::disconnectAudioSource(const sp<SourceClientDescriptor>& sourceDesc) in disconnectAudioSource()
4211 sp<SourceClientDescriptor> AudioPolicyManager::getSourceForAttributesOnOutput( in getSourceForAttributesOnOutput()
4230 uint32_t AudioPolicyManager::nextAudioPortGeneration() in nextAudioPortGeneration()
4275 AudioPolicyManager::AudioPolicyManager(AudioPolicyClientInterface *clientInterface, in AudioPolicyManager() function in android::AudioPolicyManager
4293 AudioPolicyManager::AudioPolicyManager(AudioPolicyClientInterface *clientInterface) in AudioPolicyManager() function in android::AudioPolicyManager
4294 : AudioPolicyManager(clientInterface, false /*forTesting*/) in AudioPolicyManager()
4308 void AudioPolicyManager::loadConfig() { in loadConfig()
4315 status_t AudioPolicyManager::initialize() { in initialize()
4500 AudioPolicyManager::~AudioPolicyManager() in ~AudioPolicyManager()
4517 status_t AudioPolicyManager::initCheck() in initCheck()
4524 void AudioPolicyManager::addOutput(audio_io_handle_t output, in addOutput()
4534 void AudioPolicyManager::removeOutput(audio_io_handle_t output) in removeOutput()
4540 void AudioPolicyManager::addInput(audio_io_handle_t input, in addInput()
4547 status_t AudioPolicyManager::checkOutputsForDevice(const sp<DeviceDescriptor>& device, in checkOutputsForDevice()
4755 status_t AudioPolicyManager::checkInputsForDevice(const sp<DeviceDescriptor>& device, in checkInputsForDevice()
4880 void AudioPolicyManager::closeOutput(audio_io_handle_t output) in closeOutput()
4956 void AudioPolicyManager::closeInput(audio_io_handle_t input) in closeInput()
4989 SortedVector<audio_io_handle_t> AudioPolicyManager::getOutputsForDevices( in getOutputsForDevices()
5009 void AudioPolicyManager::checkForDeviceAndOutputChanges(std::function<bool()> onOutputsChecked) in checkForDeviceAndOutputChanges()
5023 bool AudioPolicyManager::followsSameRouting(const audio_attributes_t &lAttr, in followsSameRouting()
5030 void AudioPolicyManager::checkOutputForAttributes(const audio_attributes_t &attr) in checkOutputForAttributes()
5096 void AudioPolicyManager::checkOutputForAllStrategies() in checkOutputForAllStrategies()
5104 void AudioPolicyManager::checkSecondaryOutputs() { in checkSecondaryOutputs()
5127 void AudioPolicyManager::checkA2dpSuspend() in checkA2dpSuspend()
5177 DeviceVector AudioPolicyManager::getNewOutputDevices(const sp<SwAudioOutputDescriptor>& outputDesc, in getNewOutputDevices()
5227 sp<DeviceDescriptor> AudioPolicyManager::getNewInputDevice( in getNewInputDevice()
5263 bool AudioPolicyManager::streamsMatchForvolume(audio_stream_type_t stream1, in streamsMatchForvolume()
5268 audio_devices_t AudioPolicyManager::getDevicesForStream(audio_stream_type_t stream) { in getDevicesForStream()
5308 void AudioPolicyManager::handleNotificationRoutingForStream(audio_stream_type_t stream) { in handleNotificationRoutingForStream()
5319 uint32_t AudioPolicyManager::handleEventForBeacon(int event) { in handleEventForBeacon()
5354 uint32_t AudioPolicyManager::setBeaconMute(bool mute) { in setBeaconMute()
5377 void AudioPolicyManager::updateDevicesAndOutputs() in updateDevicesAndOutputs()
5383 uint32_t AudioPolicyManager::checkDeviceMuteStrategies(const sp<AudioOutputDescriptor>& outputDesc, in checkDeviceMuteStrategies()
5467 uint32_t AudioPolicyManager::setOutputDevices(const sp<SwAudioOutputDescriptor>& outputDesc, in setOutputDevices()
5547 status_t AudioPolicyManager::resetOutputDevice(const sp<AudioOutputDescriptor>& outputDesc, in resetOutputDevice()
5570 status_t AudioPolicyManager::setInputDevice(audio_io_handle_t input, in setInputDevice()
5600 status_t AudioPolicyManager::resetInputDevice(audio_io_handle_t input, in resetInputDevice()
5623 sp<IOProfile> AudioPolicyManager::getInputProfile(const sp<DeviceDescriptor> &device, in getInputProfile()
5678 float AudioPolicyManager::computeVolume(IVolumeCurves &curves, in computeVolume()
5789 int AudioPolicyManager::rescaleVolumeIndex(int srcIndex, in rescaleVolumeIndex()
5815 status_t AudioPolicyManager::checkAndSetVolume(IVolumeCurves &curves, in checkAndSetVolume()
5873 void AudioPolicyManager::applyStreamVolumes(const sp<AudioOutputDescriptor>& outputDesc, in applyStreamVolumes()
5886 void AudioPolicyManager::setStrategyMute(product_strategy_t strategy, in setStrategyMute()
5907 void AudioPolicyManager::setVolumeSourceMute(VolumeSource volumeSource, in setVolumeSourceMute()
5944 bool AudioPolicyManager::isValidAttributes(const audio_attributes_t *paa) in isValidAttributes()
5977 audio_policy_forced_cfg_t AudioPolicyManager::getForceUse(audio_policy_force_use_t usage) in getForceUse()
5982 bool AudioPolicyManager::isInCall() in isInCall()
5987 bool AudioPolicyManager::isStateInCall(int state) in isStateInCall()
5992 void AudioPolicyManager::cleanUpForDevice(const sp<DeviceDescriptor>& deviceDesc) in cleanUpForDevice()
6030 void AudioPolicyManager::modifySurroundFormats( in modifySurroundFormats()
6084 void AudioPolicyManager::modifySurroundChannelMasks(ChannelsVector *channelMasksPtr) { in modifySurroundChannelMasks()
6119 void AudioPolicyManager::updateAudioProfiles(const sp<DeviceDescriptor>& devDesc, in updateAudioProfiles()
6182 status_t AudioPolicyManager::installPatch(const char *caller, in installPatch()
6200 status_t AudioPolicyManager::installPatch(const char *caller, in installPatch()