• Home
  • Raw
  • Download

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()
402 void AudioPolicyManager::setEngineDeviceConnectionState(const sp<DeviceDescriptor> device, in setEngineDeviceConnectionState()
413 audio_policy_dev_state_t AudioPolicyManager::getDeviceConnectionState(audio_devices_t device, in getDeviceConnectionState()
443 status_t AudioPolicyManager::handleDeviceConfigChange(audio_devices_t device, in handleDeviceConfigChange()
528 status_t AudioPolicyManager::getHwOffloadEncodingFormatsSupportedForA2DP( in getHwOffloadEncodingFormatsSupportedForA2DP()
549 DeviceVector AudioPolicyManager::selectBestRxSinkDevicesForCall(bool fromCache) in selectBestRxSinkDevicesForCall()
575 status_t AudioPolicyManager::updateCallRouting(bool fromCache, uint32_t delayMs, uint32_t *waitMs) in updateCallRouting()
584 status_t AudioPolicyManager::updateCallRoutingInternal( in updateCallRoutingInternal()
674 sp<AudioPatch> AudioPolicyManager::createTelephonyPatch( in createTelephonyPatch()
704 bool AudioPolicyManager::isDeviceOfModule( in isDeviceOfModule()
716 void AudioPolicyManager::connectTelephonyRxAudioSource() in connectTelephonyRxAudioSource()
728 void AudioPolicyManager::disconnectTelephonyRxAudioSource() in disconnectTelephonyRxAudioSource()
734 void AudioPolicyManager::setPhoneState(audio_mode_t state) in setPhoneState()
829 audio_mode_t AudioPolicyManager::getPhoneState() { in getPhoneState()
833 void AudioPolicyManager::setForceUse(audio_policy_force_use_t usage, in setForceUse()
869 void AudioPolicyManager::setSystemProperty(const char* property, const char* value) in setSystemProperty()
876 sp<IOProfile> AudioPolicyManager::getProfileForOutput( in getProfileForOutput()
928 audio_io_handle_t AudioPolicyManager::getOutput(audio_stream_type_t stream) in getOutput()
946 status_t AudioPolicyManager::getAudioAttributes(audio_attributes_t *dstAttr, in getAudioAttributes()
977 status_t AudioPolicyManager::getOutputForAttrInt( in getOutputForAttrInt()
1132 status_t AudioPolicyManager::getOutputForAttr(const audio_attributes_t *attr, in getOutputForAttr()
1203 status_t AudioPolicyManager::openDirectOutput(audio_stream_type_t stream, in openDirectOutput()
1300 audio_io_handle_t AudioPolicyManager::getOutputForDevices( in getOutputForDevices()
1379 sp<DeviceDescriptor> AudioPolicyManager::getMsdAudioInDevice() const { in getMsdAudioInDevice()
1385 DeviceVector AudioPolicyManager::getMsdAudioOutDevices() const { in getMsdAudioOutDevices()
1390 const AudioPatchCollection AudioPolicyManager::getMsdOutputPatches() const { in getMsdOutputPatches()
1408 status_t AudioPolicyManager::getMsdProfiles(bool hwAvSync, in getMsdProfiles()
1438 status_t AudioPolicyManager::getBestMsdConfig(bool hwAvSync, in getBestMsdConfig()
1485 PatchBuilder AudioPolicyManager::buildMsdPatch(bool msdIsSource, in buildMsdPatch()
1528 status_t AudioPolicyManager::setMsdOutputPatches(const DeviceVector *outputDevices) { in setMsdOutputPatches()
1592 void AudioPolicyManager::releaseMsdOutputPatches(const DeviceVector& devices) { in releaseMsdOutputPatches()
1607 audio_io_handle_t AudioPolicyManager::selectOutput(const SortedVector<audio_io_handle_t>& outputs, in selectOutput()
1747 status_t AudioPolicyManager::startOutput(audio_port_handle_t portId) in startOutput()
1780 status_t AudioPolicyManager::startSource(const sp<SwAudioOutputDescriptor>& outputDesc, in startSource()
1958 status_t AudioPolicyManager::stopOutput(audio_port_handle_t portId) in stopOutput()
1980 status_t AudioPolicyManager::stopSource(const sp<SwAudioOutputDescriptor>& outputDesc, in stopSource()
2063 bool AudioPolicyManager::releaseOutput(audio_port_handle_t portId) in releaseOutput()
2114 status_t AudioPolicyManager::getInputForAttr(const audio_attributes_t *attr, in getInputForAttr()
2290 audio_io_handle_t AudioPolicyManager::getInputForDevice(const sp<DeviceDescriptor> &device, in getInputForDevice()
2434 status_t AudioPolicyManager::startInput(audio_port_handle_t portId) in startInput()
2519 status_t AudioPolicyManager::stopInput(audio_port_handle_t portId) in stopInput()
2580 void AudioPolicyManager::releaseInput(audio_port_handle_t portId) in releaseInput()
2606 void AudioPolicyManager::closeActiveClients(const sp<AudioInputDescriptor>& input) in closeActiveClients()
2615 void AudioPolicyManager::closeClient(audio_port_handle_t portId) in closeClient()
2621 void AudioPolicyManager::checkCloseInputs() { in checkCloseInputs()
2657 void AudioPolicyManager::initStreamVolume(audio_stream_type_t stream, int indexMin, int indexMax) in initStreamVolume()
2675 status_t AudioPolicyManager::setStreamVolumeIndex(audio_stream_type_t stream, in setStreamVolumeIndex()
2689 status_t AudioPolicyManager::getStreamVolumeIndex(audio_stream_type_t stream, in getStreamVolumeIndex()
2703 status_t AudioPolicyManager::setVolumeIndexForAttributes(const audio_attributes_t &attributes, in setVolumeIndexForAttributes()
2827 status_t AudioPolicyManager::setVolumeCurveIndex(int index, in setVolumeCurveIndex()
2852 status_t AudioPolicyManager::getVolumeIndexForAttributes(const audio_attributes_t &attr, in getVolumeIndexForAttributes()
2866 status_t AudioPolicyManager::getVolumeIndex(const IVolumeCurves &curves, in getVolumeIndex()
2878 status_t AudioPolicyManager::getMinVolumeIndexForAttributes(const audio_attributes_t &attr, in getMinVolumeIndexForAttributes()
2885 status_t AudioPolicyManager::getMaxVolumeIndexForAttributes(const audio_attributes_t &attr, in getMaxVolumeIndexForAttributes()
2892 audio_io_handle_t AudioPolicyManager::selectOutputForMusicEffects() in selectOutputForMusicEffects()
2958 audio_io_handle_t AudioPolicyManager::getOutputForEffect(const effect_descriptor_t *desc __unused) in getOutputForEffect()
2963 status_t AudioPolicyManager::registerEffect(const effect_descriptor_t *desc, in registerEffect()
2984 status_t AudioPolicyManager::unregisterEffect(int id) in unregisterEffect()
2996 status_t AudioPolicyManager::setEffectEnabled(int id, bool enabled) in setEffectEnabled()
3011 status_t AudioPolicyManager::moveEffectsToIo(const std::vector<int>& ids, audio_io_handle_t io) in moveEffectsToIo()
3017 bool AudioPolicyManager::isStreamActive(audio_stream_type_t stream, uint32_t inPastMs) const in isStreamActive()
3022 bool AudioPolicyManager::isStreamActiveRemotely(audio_stream_type_t stream, uint32_t inPastMs) const in isStreamActiveRemotely()
3027 bool AudioPolicyManager::isSourceActive(audio_source_t source) const in isSourceActive()
3061 status_t AudioPolicyManager::registerPolicyMixes(const Vector<AudioMix>& mixes) in registerPolicyMixes()
3198 status_t AudioPolicyManager::unregisterPolicyMixes(Vector<AudioMix> mixes) in unregisterPolicyMixes()
3255 void AudioPolicyManager::dumpManualSurroundFormats(String8 *dst) const in dumpManualSurroundFormats()
3269 bool AudioPolicyManager::areAllDevicesSupported( in areAllDevicesSupported()
3286 status_t AudioPolicyManager::setUidDeviceAffinities(uid_t uid, in setUidDeviceAffinities()
3304 status_t AudioPolicyManager::removeUidDeviceAffinities(uid_t uid) { in removeUidDeviceAffinities()
3320 status_t AudioPolicyManager::setDevicesRoleForStrategy(product_strategy_t strategy, in setDevicesRoleForStrategy()
3352 void AudioPolicyManager::updateCallAndOutputRouting(bool forceVolumeReeval, uint32_t delayMs) in updateCallAndOutputRouting()
3376 void AudioPolicyManager::updateInputRouting() { in updateInputRouting()
3393 status_t AudioPolicyManager::removeDevicesRoleForStrategy(product_strategy_t strategy, in removeDevicesRoleForStrategy()
3421 status_t AudioPolicyManager::getDevicesForRoleAndStrategy(product_strategy_t strategy, in getDevicesForRoleAndStrategy()
3427 status_t AudioPolicyManager::setDevicesRoleForCapturePreset( in setDevicesRoleForCapturePreset()
3443 status_t AudioPolicyManager::addDevicesRoleForCapturePreset( in addDevicesRoleForCapturePreset()
3460 status_t AudioPolicyManager::removeDevicesRoleForCapturePreset( in removeDevicesRoleForCapturePreset()
3479 status_t AudioPolicyManager::clearDevicesRoleForCapturePreset(audio_source_t audioSource, in clearDevicesRoleForCapturePreset()
3491 status_t AudioPolicyManager::getDevicesForRoleAndCapturePreset( in getDevicesForRoleAndCapturePreset()
3496 status_t AudioPolicyManager::setUserIdDeviceAffinities(int userId, in setUserIdDeviceAffinities()
3516 status_t AudioPolicyManager::removeUserIdDeviceAffinities(int userId) { in removeUserIdDeviceAffinities()
3532 void AudioPolicyManager::dump(String8 *dst) const in dump()
3579 status_t AudioPolicyManager::dump(int fd) in dump()
3587 status_t AudioPolicyManager::setAllowedCapturePolicy(uid_t uid, audio_flags_mask_t capturePolicy) in setAllowedCapturePolicy()
3596 audio_offload_mode_t AudioPolicyManager::getOffloadSupport(const audio_offload_info_t& offloadInfo) in getOffloadSupport()
3675 bool AudioPolicyManager::isDirectOutputSupported(const audio_config_base_t& config, in isDirectOutputSupported()
3693 status_t AudioPolicyManager::listAudioPorts(audio_port_role_t role, in listAudioPorts()
3762 status_t AudioPolicyManager::getAudioPort(struct audio_port_v7 *port) in getAudioPort()
3790 status_t AudioPolicyManager::createAudioPatchInternal(const struct audio_patch *patch, in createAudioPatchInternal()
4094 status_t AudioPolicyManager::releaseAudioPatch(audio_patch_handle_t handle, in releaseAudioPatch()
4113 status_t AudioPolicyManager::releaseAudioPatchInternal(audio_patch_handle_t handle, in releaseAudioPatchInternal()
4185 status_t AudioPolicyManager::listAudioPatches(unsigned int *num_patches, in listAudioPatches()
4196 status_t AudioPolicyManager::setAudioPortConfig(const struct audio_port_config *config) in setAudioPortConfig()
4260 void AudioPolicyManager::releaseResourcesForUid(uid_t uid) in releaseResourcesForUid()
4267 void AudioPolicyManager::clearAudioPatches(uid_t uid) in clearAudioPatches()
4277 void AudioPolicyManager::checkStrategyRoute(product_strategy_t ps, audio_io_handle_t ouptutToSkip) in checkStrategyRoute()
4306 void AudioPolicyManager::clearSessionRoutes(uid_t uid) in clearSessionRoutes()
4353 void AudioPolicyManager::clearAudioSources(uid_t uid) in clearAudioSources()
4363 status_t AudioPolicyManager::acquireSoundTriggerSession(audio_session_t *session, in acquireSoundTriggerSession()
4375 status_t AudioPolicyManager::startAudioSource(const struct audio_port_config *source, in startAudioSource()
4420 status_t AudioPolicyManager::connectAudioSource(const sp<SourceClientDescriptor>& sourceDesc) in connectAudioSource()
4492 status_t AudioPolicyManager::stopAudioSource(audio_port_handle_t portId) in stopAudioSource()
4506 status_t AudioPolicyManager::setMasterMono(bool mono) in setMasterMono()
4538 status_t AudioPolicyManager::getMasterMono(bool *mono) in getMasterMono()
4544 float AudioPolicyManager::getStreamVolumeDB( in getStreamVolumeDB()
4550 status_t AudioPolicyManager::getSurroundFormats(unsigned int *numSurroundFormats, in getSurroundFormats()
4587 status_t AudioPolicyManager::getReportedSurroundFormats(unsigned int *numSurroundFormats, in getReportedSurroundFormats()
4641 status_t AudioPolicyManager::setSurroundFormatEnabled(audio_format_t audioFormat, bool enabled) in setSurroundFormatEnabled()
4727 void AudioPolicyManager::setAppState(audio_port_handle_t portId, app_state_t state) in setAppState()
4735 bool AudioPolicyManager::isHapticPlaybackSupported() in isHapticPlaybackSupported()
4752 bool AudioPolicyManager::isCallScreenModeSupported() in isCallScreenModeSupported()
4758 status_t AudioPolicyManager::disconnectAudioSource(const sp<SourceClientDescriptor>& sourceDesc) in disconnectAudioSource()
4789 sp<SourceClientDescriptor> AudioPolicyManager::getSourceForAttributesOnOutput( in getSourceForAttributesOnOutput()
4808 uint32_t AudioPolicyManager::nextAudioPortGeneration() in nextAudioPortGeneration()
4825 AudioPolicyManager::AudioPolicyManager(AudioPolicyClientInterface *clientInterface, in AudioPolicyManager() function in android::AudioPolicyManager
4843 AudioPolicyManager::AudioPolicyManager(AudioPolicyClientInterface *clientInterface) in AudioPolicyManager() function in android::AudioPolicyManager
4844 : AudioPolicyManager(clientInterface, false /*forTesting*/) in AudioPolicyManager()
4849 void AudioPolicyManager::loadConfig() { in loadConfig()
4856 status_t AudioPolicyManager::initialize() { in initialize()
4910 AudioPolicyManager::~AudioPolicyManager() in ~AudioPolicyManager()
4927 status_t AudioPolicyManager::initCheck() in initCheck()
4934 void AudioPolicyManager::onNewAudioModulesAvailable() in onNewAudioModulesAvailable()
4944 void AudioPolicyManager::onNewAudioModulesAvailableInt(DeviceVector *newDevices) in onNewAudioModulesAvailableInt()
5077 void AudioPolicyManager::addOutput(audio_io_handle_t output, in addOutput()
5087 void AudioPolicyManager::removeOutput(audio_io_handle_t output) in removeOutput()
5097 void AudioPolicyManager::addInput(audio_io_handle_t input, in addInput()
5104 status_t AudioPolicyManager::checkOutputsForDevice(const sp<DeviceDescriptor>& device, in checkOutputsForDevice()
5266 status_t AudioPolicyManager::checkInputsForDevice(const sp<DeviceDescriptor>& device, in checkInputsForDevice()
5391 void AudioPolicyManager::closeOutput(audio_io_handle_t output) in closeOutput()
5471 void AudioPolicyManager::closeInput(audio_io_handle_t input) in closeInput()
5503 SortedVector<audio_io_handle_t> AudioPolicyManager::getOutputsForDevices( in getOutputsForDevices()
5523 void AudioPolicyManager::checkForDeviceAndOutputChanges(std::function<bool()> onOutputsChecked) in checkForDeviceAndOutputChanges()
5545 bool AudioPolicyManager::followsSameRouting(const audio_attributes_t &lAttr, in followsSameRouting()
5552 void AudioPolicyManager::checkAudioSourceForAttributes(const audio_attributes_t &attr) in checkAudioSourceForAttributes()
5564 void AudioPolicyManager::clearAudioSourcesForOutput(audio_io_handle_t output) in clearAudioSourcesForOutput()
5575 void AudioPolicyManager::checkOutputForAttributes(const audio_attributes_t &attr) in checkOutputForAttributes()
5689 void AudioPolicyManager::checkOutputForAllStrategies() in checkOutputForAllStrategies()
5698 void AudioPolicyManager::checkSecondaryOutputs() { in checkSecondaryOutputs()
5743 bool AudioPolicyManager::isScoRequestedForComm() const { in isScoRequestedForComm()
5754 void AudioPolicyManager::checkA2dpSuspend() in checkA2dpSuspend()
5798 DeviceVector AudioPolicyManager::getNewOutputDevices(const sp<SwAudioOutputDescriptor>& outputDesc, in getNewOutputDevices()
5869 sp<DeviceDescriptor> AudioPolicyManager::getNewInputDevice( in getNewInputDevice()
5915 bool AudioPolicyManager::streamsMatchForvolume(audio_stream_type_t stream1, in streamsMatchForvolume()
5920 audio_devices_t AudioPolicyManager::getDevicesForStream(audio_stream_type_t stream) { in getDevicesForStream()
5961 status_t AudioPolicyManager::getDevicesForAttributes( in getDevicesForAttributes()
5986 void AudioPolicyManager::handleNotificationRoutingForStream(audio_stream_type_t stream) { in handleNotificationRoutingForStream()
5997 uint32_t AudioPolicyManager::handleEventForBeacon(int event) { in handleEventForBeacon()
6032 uint32_t AudioPolicyManager::setBeaconMute(bool mute) { in setBeaconMute()
6055 void AudioPolicyManager::updateDevicesAndOutputs() in updateDevicesAndOutputs()
6061 uint32_t AudioPolicyManager::checkDeviceMuteStrategies(const sp<AudioOutputDescriptor>& outputDesc, in checkDeviceMuteStrategies()
6145 uint32_t AudioPolicyManager::setOutputDevices(const sp<SwAudioOutputDescriptor>& outputDesc, in setOutputDevices()
6230 status_t AudioPolicyManager::resetOutputDevice(const sp<AudioOutputDescriptor>& outputDesc, in resetOutputDevice()
6253 status_t AudioPolicyManager::setInputDevice(audio_io_handle_t input, in setInputDevice()
6283 status_t AudioPolicyManager::resetInputDevice(audio_io_handle_t input, in resetInputDevice()
6306 sp<IOProfile> AudioPolicyManager::getInputProfile(const sp<DeviceDescriptor> &device, in getInputProfile()
6361 float AudioPolicyManager::computeVolume(IVolumeCurves &curves, in computeVolume()
6480 int AudioPolicyManager::rescaleVolumeIndex(int srcIndex, in rescaleVolumeIndex()
6506 status_t AudioPolicyManager::checkAndSetVolume(IVolumeCurves &curves, in checkAndSetVolume()
6567 void AudioPolicyManager::applyStreamVolumes(const sp<AudioOutputDescriptor>& outputDesc, in applyStreamVolumes()
6581 void AudioPolicyManager::setStrategyMute(product_strategy_t strategy, in setStrategyMute()
6602 void AudioPolicyManager::setVolumeSourceMute(VolumeSource volumeSource, in setVolumeSourceMute()
6639 bool AudioPolicyManager::isValidAttributes(const audio_attributes_t *paa) in isValidAttributes()
6677 audio_policy_forced_cfg_t AudioPolicyManager::getForceUse(audio_policy_force_use_t usage) in getForceUse()
6682 bool AudioPolicyManager::isInCall() in isInCall()
6687 bool AudioPolicyManager::isStateInCall(int state) in isStateInCall()
6692 bool AudioPolicyManager::isCallAudioAccessible() in isCallAudioAccessible()
6700 void AudioPolicyManager::cleanUpForDevice(const sp<DeviceDescriptor>& deviceDesc) in cleanUpForDevice()
6743 void AudioPolicyManager::modifySurroundFormats( in modifySurroundFormats()
6797 void AudioPolicyManager::modifySurroundChannelMasks(ChannelMaskSet *channelMasksPtr) { in modifySurroundChannelMasks()
6832 void AudioPolicyManager::updateAudioProfiles(const sp<DeviceDescriptor>& devDesc, in updateAudioProfiles()
6897 status_t AudioPolicyManager::installPatch(const char *caller, in installPatch()
6915 status_t AudioPolicyManager::installPatch(const char *caller, in installPatch()
6951 bool AudioPolicyManager::areAllActiveTracksRerouted(const sp<SwAudioOutputDescriptor>& output) in areAllActiveTracksRerouted()
6987 sp<SwAudioOutputDescriptor> AudioPolicyManager::openOutputWithProfileAndDevice( in openOutputWithProfileAndDevice()