Lines Matching refs:AudioPolicyManager

100 status_t AudioPolicyManager::setDeviceConnectionState(audio_devices_t device,  in setDeviceConnectionState()
112 void AudioPolicyManager::broadcastDeviceConnectionState(const sp<DeviceDescriptor> &device, in broadcastDeviceConnectionState()
122 status_t AudioPolicyManager::setDeviceConnectionStateInt(audio_devices_t deviceType, in setDeviceConnectionStateInt()
140 status_t AudioPolicyManager::setDeviceConnectionStateInt(const sp<DeviceDescriptor> &device, in setDeviceConnectionStateInt()
372 void AudioPolicyManager::setEngineDeviceConnectionState(const sp<DeviceDescriptor> device, in setEngineDeviceConnectionState()
383 audio_policy_dev_state_t AudioPolicyManager::getDeviceConnectionState(audio_devices_t device, in getDeviceConnectionState()
413 status_t AudioPolicyManager::handleDeviceConfigChange(audio_devices_t device, in handleDeviceConfigChange()
489 status_t AudioPolicyManager::getHwOffloadEncodingFormatsSupportedForA2DP( in getHwOffloadEncodingFormatsSupportedForA2DP()
510 uint32_t AudioPolicyManager::updateCallRouting(const DeviceVector &rxDevices, uint32_t delayMs) in updateCallRouting()
603 sp<AudioPatch> AudioPolicyManager::createTelephonyPatch( in createTelephonyPatch()
633 bool AudioPolicyManager::isDeviceOfModule( in isDeviceOfModule()
645 void AudioPolicyManager::setPhoneState(audio_mode_t state) in setPhoneState()
746 audio_mode_t AudioPolicyManager::getPhoneState() { in getPhoneState()
750 void AudioPolicyManager::setForceUse(audio_policy_force_use_t usage, in setForceUse()
795 void AudioPolicyManager::setSystemProperty(const char* property, const char* value) in setSystemProperty()
802 sp<IOProfile> AudioPolicyManager::getProfileForOutput( in getProfileForOutput()
854 audio_io_handle_t AudioPolicyManager::getOutput(audio_stream_type_t stream) in getOutput()
872 status_t AudioPolicyManager::getAudioAttributes(audio_attributes_t *dstAttr, in getAudioAttributes()
902 status_t AudioPolicyManager::getOutputForAttrInt( in getOutputForAttrInt()
1053 status_t AudioPolicyManager::getOutputForAttr(const audio_attributes_t *attr, in getOutputForAttr()
1122 status_t AudioPolicyManager::openDirectOutput(audio_stream_type_t stream, in openDirectOutput()
1234 audio_io_handle_t AudioPolicyManager::getOutputForDevices( in getOutputForDevices()
1311 sp<DeviceDescriptor> AudioPolicyManager::getMsdAudioInDevice() const { in getMsdAudioInDevice()
1317 DeviceVector AudioPolicyManager::getMsdAudioOutDevices() const { in getMsdAudioOutDevices()
1322 const AudioPatchCollection AudioPolicyManager::getMsdPatches() const { in getMsdPatches()
1340 status_t AudioPolicyManager::getBestMsdAudioProfileFor(const sp<DeviceDescriptor> &outputDevice, in getBestMsdAudioProfileFor()
1419 PatchBuilder AudioPolicyManager::buildMsdPatch(const sp<DeviceDescriptor> &outputDevice) const in buildMsdPatch()
1440 status_t AudioPolicyManager::setMsdPatch(const sp<DeviceDescriptor> &outputDevice) { in setMsdPatch()
1474 audio_io_handle_t AudioPolicyManager::selectOutput(const SortedVector<audio_io_handle_t>& outputs, in selectOutput()
1602 status_t AudioPolicyManager::startOutput(audio_port_handle_t portId) in startOutput()
1635 status_t AudioPolicyManager::startSource(const sp<SwAudioOutputDescriptor>& outputDesc, in startSource()
1812 status_t AudioPolicyManager::stopOutput(audio_port_handle_t portId) in stopOutput()
1834 status_t AudioPolicyManager::stopSource(const sp<SwAudioOutputDescriptor>& outputDesc, in stopSource()
1917 void AudioPolicyManager::releaseOutput(audio_port_handle_t portId) in releaseOutput()
1952 status_t AudioPolicyManager::getInputForAttr(const audio_attributes_t *attr, in getInputForAttr()
2123 audio_io_handle_t AudioPolicyManager::getInputForDevice(const sp<DeviceDescriptor> &device, in getInputForDevice()
2252 status_t AudioPolicyManager::startInput(audio_port_handle_t portId) in startInput()
2337 status_t AudioPolicyManager::stopInput(audio_port_handle_t portId) in stopInput()
2396 void AudioPolicyManager::releaseInput(audio_port_handle_t portId) in releaseInput()
2422 void AudioPolicyManager::closeActiveClients(const sp<AudioInputDescriptor>& input) in closeActiveClients()
2431 void AudioPolicyManager::closeClient(audio_port_handle_t portId) in closeClient()
2437 void AudioPolicyManager::checkCloseInputs() { in checkCloseInputs()
2473 void AudioPolicyManager::initStreamVolume(audio_stream_type_t stream, int indexMin, int indexMax) in initStreamVolume()
2491 status_t AudioPolicyManager::setStreamVolumeIndex(audio_stream_type_t stream, in setStreamVolumeIndex()
2505 status_t AudioPolicyManager::getStreamVolumeIndex(audio_stream_type_t stream, in getStreamVolumeIndex()
2519 status_t AudioPolicyManager::setVolumeIndexForAttributes(const audio_attributes_t &attributes, in setVolumeIndexForAttributes()
2643 status_t AudioPolicyManager::setVolumeCurveIndex(int index, in setVolumeCurveIndex()
2668 status_t AudioPolicyManager::getVolumeIndexForAttributes(const audio_attributes_t &attr, in getVolumeIndexForAttributes()
2682 status_t AudioPolicyManager::getVolumeIndex(const IVolumeCurves &curves, in getVolumeIndex()
2694 status_t AudioPolicyManager::getMinVolumeIndexForAttributes(const audio_attributes_t &attr, in getMinVolumeIndexForAttributes()
2701 status_t AudioPolicyManager::getMaxVolumeIndexForAttributes(const audio_attributes_t &attr, in getMaxVolumeIndexForAttributes()
2708 audio_io_handle_t AudioPolicyManager::selectOutputForMusicEffects() in selectOutputForMusicEffects()
2774 audio_io_handle_t AudioPolicyManager::getOutputForEffect(const effect_descriptor_t *desc __unused) in getOutputForEffect()
2779 status_t AudioPolicyManager::registerEffect(const effect_descriptor_t *desc, in registerEffect()
2800 status_t AudioPolicyManager::unregisterEffect(int id) in unregisterEffect()
2812 status_t AudioPolicyManager::setEffectEnabled(int id, bool enabled) in setEffectEnabled()
2827 status_t AudioPolicyManager::moveEffectsToIo(const std::vector<int>& ids, audio_io_handle_t io) in moveEffectsToIo()
2833 bool AudioPolicyManager::isStreamActive(audio_stream_type_t stream, uint32_t inPastMs) const in isStreamActive()
2838 bool AudioPolicyManager::isStreamActiveRemotely(audio_stream_type_t stream, uint32_t inPastMs) const in isStreamActiveRemotely()
2843 bool AudioPolicyManager::isSourceActive(audio_source_t source) const in isSourceActive()
2877 status_t AudioPolicyManager::registerPolicyMixes(const Vector<AudioMix>& mixes) in registerPolicyMixes()
3014 status_t AudioPolicyManager::unregisterPolicyMixes(Vector<AudioMix> mixes) in unregisterPolicyMixes()
3071 void AudioPolicyManager::dumpManualSurroundFormats(String8 *dst) const in dumpManualSurroundFormats()
3085 bool AudioPolicyManager::areAllDevicesSupported( in areAllDevicesSupported()
3102 status_t AudioPolicyManager::setUidDeviceAffinities(uid_t uid, in setUidDeviceAffinities()
3120 status_t AudioPolicyManager::removeUidDeviceAffinities(uid_t uid) { in removeUidDeviceAffinities()
3135 status_t AudioPolicyManager::setPreferredDeviceForStrategy(product_strategy_t strategy, in setPreferredDeviceForStrategy()
3158 void AudioPolicyManager::updateCallAndOutputRouting(bool forceVolumeReeval, uint32_t delayMs) in updateCallAndOutputRouting()
3180 status_t AudioPolicyManager::removePreferredDeviceForStrategy(product_strategy_t strategy) in removePreferredDeviceForStrategy()
3196 status_t AudioPolicyManager::getPreferredDeviceForStrategy(product_strategy_t strategy, in getPreferredDeviceForStrategy()
3201 status_t AudioPolicyManager::setUserIdDeviceAffinities(int userId, in setUserIdDeviceAffinities()
3221 status_t AudioPolicyManager::removeUserIdDeviceAffinities(int userId) { in removeUserIdDeviceAffinities()
3237 void AudioPolicyManager::dump(String8 *dst) const in dump()
3282 status_t AudioPolicyManager::dump(int fd) in dump()
3290 status_t AudioPolicyManager::setAllowedCapturePolicy(uid_t uid, audio_flags_mask_t capturePolicy) in setAllowedCapturePolicy()
3299 bool AudioPolicyManager::isOffloadSupported(const audio_offload_info_t& offloadInfo) in isOffloadSupported()
3369 bool AudioPolicyManager::isDirectOutputSupported(const audio_config_base_t& config, in isDirectOutputSupported()
3387 status_t AudioPolicyManager::listAudioPorts(audio_port_role_t role, in listAudioPorts()
3456 status_t AudioPolicyManager::getAudioPort(struct audio_port *port) in getAudioPort()
3484 status_t AudioPolicyManager::createAudioPatchInternal(const struct audio_patch *patch, in createAudioPatchInternal()
3767 status_t AudioPolicyManager::releaseAudioPatch(audio_patch_handle_t handle, in releaseAudioPatch()
3786 status_t AudioPolicyManager::releaseAudioPatchInternal(audio_patch_handle_t handle, in releaseAudioPatchInternal()
3857 status_t AudioPolicyManager::listAudioPatches(unsigned int *num_patches, in listAudioPatches()
3868 status_t AudioPolicyManager::setAudioPortConfig(const struct audio_port_config *config) in setAudioPortConfig()
3932 void AudioPolicyManager::releaseResourcesForUid(uid_t uid) in releaseResourcesForUid()
3939 void AudioPolicyManager::clearAudioPatches(uid_t uid) in clearAudioPatches()
3949 void AudioPolicyManager::checkStrategyRoute(product_strategy_t ps, audio_io_handle_t ouptutToSkip) in checkStrategyRoute()
3978 void AudioPolicyManager::clearSessionRoutes(uid_t uid) in clearSessionRoutes()
4025 void AudioPolicyManager::clearAudioSources(uid_t uid) in clearAudioSources()
4035 status_t AudioPolicyManager::acquireSoundTriggerSession(audio_session_t *session, in acquireSoundTriggerSession()
4047 status_t AudioPolicyManager::startAudioSource(const struct audio_port_config *source, in startAudioSource()
4092 status_t AudioPolicyManager::connectAudioSource(const sp<SourceClientDescriptor>& sourceDesc) in connectAudioSource()
4160 status_t AudioPolicyManager::stopAudioSource(audio_port_handle_t portId) in stopAudioSource()
4174 status_t AudioPolicyManager::setMasterMono(bool mono) in setMasterMono()
4206 status_t AudioPolicyManager::getMasterMono(bool *mono) in getMasterMono()
4212 float AudioPolicyManager::getStreamVolumeDB( in getStreamVolumeDB()
4218 status_t AudioPolicyManager::getSurroundFormats(unsigned int *numSurroundFormats, in getSurroundFormats()
4281 status_t AudioPolicyManager::setSurroundFormatEnabled(audio_format_t audioFormat, bool enabled) in setSurroundFormatEnabled()
4367 void AudioPolicyManager::setAppState(audio_port_handle_t portId, app_state_t state) in setAppState()
4375 bool AudioPolicyManager::isHapticPlaybackSupported() in isHapticPlaybackSupported()
4392 bool AudioPolicyManager::isCallScreenModeSupported() in isCallScreenModeSupported()
4398 status_t AudioPolicyManager::disconnectAudioSource(const sp<SourceClientDescriptor>& sourceDesc) in disconnectAudioSource()
4419 sp<SourceClientDescriptor> AudioPolicyManager::getSourceForAttributesOnOutput( in getSourceForAttributesOnOutput()
4438 uint32_t AudioPolicyManager::nextAudioPortGeneration() in nextAudioPortGeneration()
4477 AudioPolicyManager::AudioPolicyManager(AudioPolicyClientInterface *clientInterface, in AudioPolicyManager() function in android::AudioPolicyManager
4495 AudioPolicyManager::AudioPolicyManager(AudioPolicyClientInterface *clientInterface) in AudioPolicyManager() function in android::AudioPolicyManager
4496 : AudioPolicyManager(clientInterface, false /*forTesting*/) in AudioPolicyManager()
4501 void AudioPolicyManager::loadConfig() { in loadConfig()
4508 status_t AudioPolicyManager::initialize() { in initialize()
4562 AudioPolicyManager::~AudioPolicyManager() in ~AudioPolicyManager()
4579 status_t AudioPolicyManager::initCheck() in initCheck()
4586 void AudioPolicyManager::onNewAudioModulesAvailable() in onNewAudioModulesAvailable()
4596 void AudioPolicyManager::onNewAudioModulesAvailableInt(DeviceVector *newDevices) in onNewAudioModulesAvailableInt()
4728 void AudioPolicyManager::addOutput(audio_io_handle_t output, in addOutput()
4738 void AudioPolicyManager::removeOutput(audio_io_handle_t output) in removeOutput()
4744 void AudioPolicyManager::addInput(audio_io_handle_t input, in addInput()
4751 status_t AudioPolicyManager::checkOutputsForDevice(const sp<DeviceDescriptor>& device, in checkOutputsForDevice()
4959 status_t AudioPolicyManager::checkInputsForDevice(const sp<DeviceDescriptor>& device, in checkInputsForDevice()
5084 void AudioPolicyManager::closeOutput(audio_io_handle_t output) in closeOutput()
5159 void AudioPolicyManager::closeInput(audio_io_handle_t input) in closeInput()
5191 SortedVector<audio_io_handle_t> AudioPolicyManager::getOutputsForDevices( in getOutputsForDevices()
5211 void AudioPolicyManager::checkForDeviceAndOutputChanges(std::function<bool()> onOutputsChecked) in checkForDeviceAndOutputChanges()
5225 bool AudioPolicyManager::followsSameRouting(const audio_attributes_t &lAttr, in followsSameRouting()
5232 void AudioPolicyManager::checkOutputForAttributes(const audio_attributes_t &attr) in checkOutputForAttributes()
5345 void AudioPolicyManager::checkOutputForAllStrategies() in checkOutputForAllStrategies()
5353 void AudioPolicyManager::checkSecondaryOutputs() { in checkSecondaryOutputs()
5385 void AudioPolicyManager::checkA2dpSuspend() in checkA2dpSuspend()
5434 DeviceVector AudioPolicyManager::getNewOutputDevices(const sp<SwAudioOutputDescriptor>& outputDesc, in getNewOutputDevices()
5485 sp<DeviceDescriptor> AudioPolicyManager::getNewInputDevice( in getNewInputDevice()
5521 bool AudioPolicyManager::streamsMatchForvolume(audio_stream_type_t stream1, in streamsMatchForvolume()
5526 audio_devices_t AudioPolicyManager::getDevicesForStream(audio_stream_type_t stream) { in getDevicesForStream()
5567 status_t AudioPolicyManager::getDevicesForAttributes( in getDevicesForAttributes()
5592 void AudioPolicyManager::handleNotificationRoutingForStream(audio_stream_type_t stream) { in handleNotificationRoutingForStream()
5603 uint32_t AudioPolicyManager::handleEventForBeacon(int event) { in handleEventForBeacon()
5638 uint32_t AudioPolicyManager::setBeaconMute(bool mute) { in setBeaconMute()
5661 void AudioPolicyManager::updateDevicesAndOutputs() in updateDevicesAndOutputs()
5667 uint32_t AudioPolicyManager::checkDeviceMuteStrategies(const sp<AudioOutputDescriptor>& outputDesc, in checkDeviceMuteStrategies()
5751 uint32_t AudioPolicyManager::setOutputDevices(const sp<SwAudioOutputDescriptor>& outputDesc, in setOutputDevices()
5836 status_t AudioPolicyManager::resetOutputDevice(const sp<AudioOutputDescriptor>& outputDesc, in resetOutputDevice()
5859 status_t AudioPolicyManager::setInputDevice(audio_io_handle_t input, in setInputDevice()
5889 status_t AudioPolicyManager::resetInputDevice(audio_io_handle_t input, in resetInputDevice()
5912 sp<IOProfile> AudioPolicyManager::getInputProfile(const sp<DeviceDescriptor> &device, in getInputProfile()
5967 float AudioPolicyManager::computeVolume(IVolumeCurves &curves, in computeVolume()
6084 int AudioPolicyManager::rescaleVolumeIndex(int srcIndex, in rescaleVolumeIndex()
6110 status_t AudioPolicyManager::checkAndSetVolume(IVolumeCurves &curves, in checkAndSetVolume()
6171 void AudioPolicyManager::applyStreamVolumes(const sp<AudioOutputDescriptor>& outputDesc, in applyStreamVolumes()
6185 void AudioPolicyManager::setStrategyMute(product_strategy_t strategy, in setStrategyMute()
6206 void AudioPolicyManager::setVolumeSourceMute(VolumeSource volumeSource, in setVolumeSourceMute()
6243 bool AudioPolicyManager::isValidAttributes(const audio_attributes_t *paa) in isValidAttributes()
6281 audio_policy_forced_cfg_t AudioPolicyManager::getForceUse(audio_policy_force_use_t usage) in getForceUse()
6286 bool AudioPolicyManager::isInCall() in isInCall()
6291 bool AudioPolicyManager::isStateInCall(int state) in isStateInCall()
6296 bool AudioPolicyManager::isCallAudioAccessible() in isCallAudioAccessible()
6304 void AudioPolicyManager::cleanUpForDevice(const sp<DeviceDescriptor>& deviceDesc) in cleanUpForDevice()
6342 void AudioPolicyManager::modifySurroundFormats( in modifySurroundFormats()
6396 void AudioPolicyManager::modifySurroundChannelMasks(ChannelMaskSet *channelMasksPtr) { in modifySurroundChannelMasks()
6431 void AudioPolicyManager::updateAudioProfiles(const sp<DeviceDescriptor>& devDesc, in updateAudioProfiles()
6495 status_t AudioPolicyManager::installPatch(const char *caller, in installPatch()
6513 status_t AudioPolicyManager::installPatch(const char *caller, in installPatch()