Lines Matching refs:AudioPolicyManager

102 status_t AudioPolicyManager::setDeviceConnectionState(audio_devices_t device,  in setDeviceConnectionState()
114 void AudioPolicyManager::broadcastDeviceConnectionState(const sp<DeviceDescriptor> &device, in broadcastDeviceConnectionState()
124 status_t AudioPolicyManager::setDeviceConnectionStateInt(audio_devices_t deviceType, in setDeviceConnectionStateInt()
142 status_t AudioPolicyManager::setDeviceConnectionStateInt(const sp<DeviceDescriptor> &device, in setDeviceConnectionStateInt()
371 void AudioPolicyManager::setEngineDeviceConnectionState(const sp<DeviceDescriptor> device, in setEngineDeviceConnectionState()
382 audio_policy_dev_state_t AudioPolicyManager::getDeviceConnectionState(audio_devices_t device, in getDeviceConnectionState()
412 status_t AudioPolicyManager::handleDeviceConfigChange(audio_devices_t device, in handleDeviceConfigChange()
488 status_t AudioPolicyManager::getHwOffloadEncodingFormatsSupportedForA2DP( in getHwOffloadEncodingFormatsSupportedForA2DP()
509 uint32_t AudioPolicyManager::updateCallRouting(const DeviceVector &rxDevices, uint32_t delayMs) in updateCallRouting()
602 sp<AudioPatch> AudioPolicyManager::createTelephonyPatch( in createTelephonyPatch()
632 bool AudioPolicyManager::isDeviceOfModule( in isDeviceOfModule()
644 void AudioPolicyManager::setPhoneState(audio_mode_t state) in setPhoneState()
745 audio_mode_t AudioPolicyManager::getPhoneState() { in getPhoneState()
749 void AudioPolicyManager::setForceUse(audio_policy_force_use_t usage, in setForceUse()
794 void AudioPolicyManager::setSystemProperty(const char* property, const char* value) in setSystemProperty()
801 sp<IOProfile> AudioPolicyManager::getProfileForOutput( in getProfileForOutput()
853 audio_io_handle_t AudioPolicyManager::getOutput(audio_stream_type_t stream) in getOutput()
871 status_t AudioPolicyManager::getAudioAttributes(audio_attributes_t *dstAttr, in getAudioAttributes()
901 status_t AudioPolicyManager::getOutputForAttrInt( in getOutputForAttrInt()
1020 status_t AudioPolicyManager::getOutputForAttr(const audio_attributes_t *attr, in getOutputForAttr()
1081 audio_io_handle_t AudioPolicyManager::getOutputForDevices( in getOutputForDevices()
1258 sp<DeviceDescriptor> AudioPolicyManager::getMsdAudioInDevice() const { in getMsdAudioInDevice()
1264 DeviceVector AudioPolicyManager::getMsdAudioOutDevices() const { in getMsdAudioOutDevices()
1269 const AudioPatchCollection AudioPolicyManager::getMsdPatches() const { in getMsdPatches()
1287 status_t AudioPolicyManager::getBestMsdAudioProfileFor(const sp<DeviceDescriptor> &outputDevice, in getBestMsdAudioProfileFor()
1366 PatchBuilder AudioPolicyManager::buildMsdPatch(const sp<DeviceDescriptor> &outputDevice) const in buildMsdPatch()
1387 status_t AudioPolicyManager::setMsdPatch(const sp<DeviceDescriptor> &outputDevice) { in setMsdPatch()
1421 audio_io_handle_t AudioPolicyManager::selectOutput(const SortedVector<audio_io_handle_t>& outputs, in selectOutput()
1549 status_t AudioPolicyManager::startOutput(audio_port_handle_t portId) in startOutput()
1582 status_t AudioPolicyManager::startSource(const sp<SwAudioOutputDescriptor>& outputDesc, in startSource()
1759 status_t AudioPolicyManager::stopOutput(audio_port_handle_t portId) in stopOutput()
1781 status_t AudioPolicyManager::stopSource(const sp<SwAudioOutputDescriptor>& outputDesc, in stopSource()
1864 void AudioPolicyManager::releaseOutput(audio_port_handle_t portId) in releaseOutput()
1899 status_t AudioPolicyManager::getInputForAttr(const audio_attributes_t *attr, in getInputForAttr()
2070 audio_io_handle_t AudioPolicyManager::getInputForDevice(const sp<DeviceDescriptor> &device, in getInputForDevice()
2199 status_t AudioPolicyManager::startInput(audio_port_handle_t portId) in startInput()
2284 status_t AudioPolicyManager::stopInput(audio_port_handle_t portId) in stopInput()
2343 void AudioPolicyManager::releaseInput(audio_port_handle_t portId) in releaseInput()
2369 void AudioPolicyManager::closeActiveClients(const sp<AudioInputDescriptor>& input) in closeActiveClients()
2378 void AudioPolicyManager::closeClient(audio_port_handle_t portId) in closeClient()
2384 void AudioPolicyManager::checkCloseInputs() { in checkCloseInputs()
2422 void AudioPolicyManager::initStreamVolume(audio_stream_type_t stream, int indexMin, int indexMax) in initStreamVolume()
2440 status_t AudioPolicyManager::setStreamVolumeIndex(audio_stream_type_t stream, in setStreamVolumeIndex()
2454 status_t AudioPolicyManager::getStreamVolumeIndex(audio_stream_type_t stream, in getStreamVolumeIndex()
2468 status_t AudioPolicyManager::setVolumeIndexForAttributes(const audio_attributes_t &attributes, in setVolumeIndexForAttributes()
2592 status_t AudioPolicyManager::setVolumeCurveIndex(int index, in setVolumeCurveIndex()
2617 status_t AudioPolicyManager::getVolumeIndexForAttributes(const audio_attributes_t &attr, in getVolumeIndexForAttributes()
2631 status_t AudioPolicyManager::getVolumeIndex(const IVolumeCurves &curves, in getVolumeIndex()
2643 status_t AudioPolicyManager::getMinVolumeIndexForAttributes(const audio_attributes_t &attr, in getMinVolumeIndexForAttributes()
2650 status_t AudioPolicyManager::getMaxVolumeIndexForAttributes(const audio_attributes_t &attr, in getMaxVolumeIndexForAttributes()
2657 audio_io_handle_t AudioPolicyManager::selectOutputForMusicEffects() in selectOutputForMusicEffects()
2723 audio_io_handle_t AudioPolicyManager::getOutputForEffect(const effect_descriptor_t *desc __unused) in getOutputForEffect()
2728 status_t AudioPolicyManager::registerEffect(const effect_descriptor_t *desc, in registerEffect()
2749 status_t AudioPolicyManager::unregisterEffect(int id) in unregisterEffect()
2761 void AudioPolicyManager::cleanUpEffectsForIo(audio_io_handle_t io) in cleanUpEffectsForIo()
2771 status_t AudioPolicyManager::setEffectEnabled(int id, bool enabled) in setEffectEnabled()
2786 status_t AudioPolicyManager::moveEffectsToIo(const std::vector<int>& ids, audio_io_handle_t io) in moveEffectsToIo()
2792 bool AudioPolicyManager::isStreamActive(audio_stream_type_t stream, uint32_t inPastMs) const in isStreamActive()
2797 bool AudioPolicyManager::isStreamActiveRemotely(audio_stream_type_t stream, uint32_t inPastMs) const in isStreamActiveRemotely()
2802 bool AudioPolicyManager::isSourceActive(audio_source_t source) const in isSourceActive()
2836 status_t AudioPolicyManager::registerPolicyMixes(const Vector<AudioMix>& mixes) in registerPolicyMixes()
2951 status_t AudioPolicyManager::unregisterPolicyMixes(Vector<AudioMix> mixes) in unregisterPolicyMixes()
3001 void AudioPolicyManager::dumpManualSurroundFormats(String8 *dst) const in dumpManualSurroundFormats()
3014 status_t AudioPolicyManager::setUidDeviceAffinities(uid_t uid, in setUidDeviceAffinities()
3044 status_t AudioPolicyManager::removeUidDeviceAffinities(uid_t uid) { in removeUidDeviceAffinities()
3056 status_t AudioPolicyManager::setPreferredDeviceForStrategy(product_strategy_t strategy, in setPreferredDeviceForStrategy()
3079 void AudioPolicyManager::updateCallAndOutputRouting(bool forceVolumeReeval, uint32_t delayMs) in updateCallAndOutputRouting()
3101 status_t AudioPolicyManager::removePreferredDeviceForStrategy(product_strategy_t strategy) in removePreferredDeviceForStrategy()
3117 status_t AudioPolicyManager::getPreferredDeviceForStrategy(product_strategy_t strategy, in getPreferredDeviceForStrategy()
3122 void AudioPolicyManager::dump(String8 *dst) const in dump()
3167 status_t AudioPolicyManager::dump(int fd) in dump()
3175 status_t AudioPolicyManager::setAllowedCapturePolicy(uid_t uid, audio_flags_mask_t capturePolicy) in setAllowedCapturePolicy()
3184 bool AudioPolicyManager::isOffloadSupported(const audio_offload_info_t& offloadInfo) in isOffloadSupported()
3254 bool AudioPolicyManager::isDirectOutputSupported(const audio_config_base_t& config, in isDirectOutputSupported()
3272 status_t AudioPolicyManager::listAudioPorts(audio_port_role_t role, in listAudioPorts()
3341 status_t AudioPolicyManager::getAudioPort(struct audio_port *port) in getAudioPort()
3369 status_t AudioPolicyManager::createAudioPatchInternal(const struct audio_patch *patch, in createAudioPatchInternal()
3652 status_t AudioPolicyManager::releaseAudioPatch(audio_patch_handle_t handle, in releaseAudioPatch()
3671 status_t AudioPolicyManager::releaseAudioPatchInternal(audio_patch_handle_t handle, in releaseAudioPatchInternal()
3738 status_t AudioPolicyManager::listAudioPatches(unsigned int *num_patches, in listAudioPatches()
3749 status_t AudioPolicyManager::setAudioPortConfig(const struct audio_port_config *config) in setAudioPortConfig()
3813 void AudioPolicyManager::releaseResourcesForUid(uid_t uid) in releaseResourcesForUid()
3820 void AudioPolicyManager::clearAudioPatches(uid_t uid) in clearAudioPatches()
3830 void AudioPolicyManager::checkStrategyRoute(product_strategy_t ps, audio_io_handle_t ouptutToSkip) in checkStrategyRoute()
3859 void AudioPolicyManager::clearSessionRoutes(uid_t uid) in clearSessionRoutes()
3906 void AudioPolicyManager::clearAudioSources(uid_t uid) in clearAudioSources()
3916 status_t AudioPolicyManager::acquireSoundTriggerSession(audio_session_t *session, in acquireSoundTriggerSession()
3928 status_t AudioPolicyManager::startAudioSource(const struct audio_port_config *source, in startAudioSource()
3973 status_t AudioPolicyManager::connectAudioSource(const sp<SourceClientDescriptor>& sourceDesc) in connectAudioSource()
4040 status_t AudioPolicyManager::stopAudioSource(audio_port_handle_t portId) in stopAudioSource()
4054 status_t AudioPolicyManager::setMasterMono(bool mono) in setMasterMono()
4086 status_t AudioPolicyManager::getMasterMono(bool *mono) in getMasterMono()
4092 float AudioPolicyManager::getStreamVolumeDB( in getStreamVolumeDB()
4098 status_t AudioPolicyManager::getSurroundFormats(unsigned int *numSurroundFormats, in getSurroundFormats()
4161 status_t AudioPolicyManager::setSurroundFormatEnabled(audio_format_t audioFormat, bool enabled) in setSurroundFormatEnabled()
4247 void AudioPolicyManager::setAppState(uid_t uid, app_state_t state) in setAppState()
4255 bool AudioPolicyManager::isHapticPlaybackSupported() in isHapticPlaybackSupported()
4272 status_t AudioPolicyManager::disconnectAudioSource(const sp<SourceClientDescriptor>& sourceDesc) in disconnectAudioSource()
4293 sp<SourceClientDescriptor> AudioPolicyManager::getSourceForAttributesOnOutput( in getSourceForAttributesOnOutput()
4312 uint32_t AudioPolicyManager::nextAudioPortGeneration() in nextAudioPortGeneration()
4351 AudioPolicyManager::AudioPolicyManager(AudioPolicyClientInterface *clientInterface, in AudioPolicyManager() function in android::AudioPolicyManager
4369 AudioPolicyManager::AudioPolicyManager(AudioPolicyClientInterface *clientInterface) in AudioPolicyManager() function in android::AudioPolicyManager
4370 : AudioPolicyManager(clientInterface, false /*forTesting*/) in AudioPolicyManager()
4375 void AudioPolicyManager::loadConfig() { in loadConfig()
4382 status_t AudioPolicyManager::initialize() { in initialize()
4436 AudioPolicyManager::~AudioPolicyManager() in ~AudioPolicyManager()
4453 status_t AudioPolicyManager::initCheck() in initCheck()
4460 void AudioPolicyManager::onNewAudioModulesAvailable() in onNewAudioModulesAvailable()
4470 void AudioPolicyManager::onNewAudioModulesAvailableInt(DeviceVector *newDevices) in onNewAudioModulesAvailableInt()
4600 void AudioPolicyManager::addOutput(audio_io_handle_t output, in addOutput()
4610 void AudioPolicyManager::removeOutput(audio_io_handle_t output) in removeOutput()
4616 void AudioPolicyManager::addInput(audio_io_handle_t input, in addInput()
4623 status_t AudioPolicyManager::checkOutputsForDevice(const sp<DeviceDescriptor>& device, in checkOutputsForDevice()
4831 status_t AudioPolicyManager::checkInputsForDevice(const sp<DeviceDescriptor>& device, in checkInputsForDevice()
4956 void AudioPolicyManager::closeOutput(audio_io_handle_t output) in closeOutput()
5033 void AudioPolicyManager::closeInput(audio_io_handle_t input) in closeInput()
5067 SortedVector<audio_io_handle_t> AudioPolicyManager::getOutputsForDevices( in getOutputsForDevices()
5087 void AudioPolicyManager::checkForDeviceAndOutputChanges(std::function<bool()> onOutputsChecked) in checkForDeviceAndOutputChanges()
5101 bool AudioPolicyManager::followsSameRouting(const audio_attributes_t &lAttr, in followsSameRouting()
5108 void AudioPolicyManager::checkOutputForAttributes(const audio_attributes_t &attr) in checkOutputForAttributes()
5175 void AudioPolicyManager::checkOutputForAllStrategies() in checkOutputForAllStrategies()
5183 void AudioPolicyManager::checkSecondaryOutputs() { in checkSecondaryOutputs()
5206 void AudioPolicyManager::checkA2dpSuspend() in checkA2dpSuspend()
5255 DeviceVector AudioPolicyManager::getNewOutputDevices(const sp<SwAudioOutputDescriptor>& outputDesc, in getNewOutputDevices()
5312 sp<DeviceDescriptor> AudioPolicyManager::getNewInputDevice( in getNewInputDevice()
5348 bool AudioPolicyManager::streamsMatchForvolume(audio_stream_type_t stream1, in streamsMatchForvolume()
5353 audio_devices_t AudioPolicyManager::getDevicesForStream(audio_stream_type_t stream) { in getDevicesForStream()
5394 void AudioPolicyManager::handleNotificationRoutingForStream(audio_stream_type_t stream) { in handleNotificationRoutingForStream()
5405 uint32_t AudioPolicyManager::handleEventForBeacon(int event) { in handleEventForBeacon()
5440 uint32_t AudioPolicyManager::setBeaconMute(bool mute) { in setBeaconMute()
5463 void AudioPolicyManager::updateDevicesAndOutputs() in updateDevicesAndOutputs()
5469 uint32_t AudioPolicyManager::checkDeviceMuteStrategies(const sp<AudioOutputDescriptor>& outputDesc, in checkDeviceMuteStrategies()
5553 uint32_t AudioPolicyManager::setOutputDevices(const sp<SwAudioOutputDescriptor>& outputDesc, in setOutputDevices()
5636 status_t AudioPolicyManager::resetOutputDevice(const sp<AudioOutputDescriptor>& outputDesc, in resetOutputDevice()
5659 status_t AudioPolicyManager::setInputDevice(audio_io_handle_t input, in setInputDevice()
5689 status_t AudioPolicyManager::resetInputDevice(audio_io_handle_t input, in resetInputDevice()
5712 sp<IOProfile> AudioPolicyManager::getInputProfile(const sp<DeviceDescriptor> &device, in getInputProfile()
5767 float AudioPolicyManager::computeVolume(IVolumeCurves &curves, in computeVolume()
5884 int AudioPolicyManager::rescaleVolumeIndex(int srcIndex, in rescaleVolumeIndex()
5910 status_t AudioPolicyManager::checkAndSetVolume(IVolumeCurves &curves, in checkAndSetVolume()
5971 void AudioPolicyManager::applyStreamVolumes(const sp<AudioOutputDescriptor>& outputDesc, in applyStreamVolumes()
5985 void AudioPolicyManager::setStrategyMute(product_strategy_t strategy, in setStrategyMute()
6006 void AudioPolicyManager::setVolumeSourceMute(VolumeSource volumeSource, in setVolumeSourceMute()
6043 bool AudioPolicyManager::isValidAttributes(const audio_attributes_t *paa) in isValidAttributes()
6076 audio_policy_forced_cfg_t AudioPolicyManager::getForceUse(audio_policy_force_use_t usage) in getForceUse()
6081 bool AudioPolicyManager::isInCall() in isInCall()
6086 bool AudioPolicyManager::isStateInCall(int state) in isStateInCall()
6091 void AudioPolicyManager::cleanUpForDevice(const sp<DeviceDescriptor>& deviceDesc) in cleanUpForDevice()
6129 void AudioPolicyManager::modifySurroundFormats( in modifySurroundFormats()
6183 void AudioPolicyManager::modifySurroundChannelMasks(ChannelMaskSet *channelMasksPtr) { in modifySurroundChannelMasks()
6218 void AudioPolicyManager::updateAudioProfiles(const sp<DeviceDescriptor>& devDesc, in updateAudioProfiles()
6282 status_t AudioPolicyManager::installPatch(const char *caller, in installPatch()
6300 status_t AudioPolicyManager::installPatch(const char *caller, in installPatch()