Home
last modified time | relevance | path

Searched refs:aps (Results 1 – 2 of 2) sorted by relevance

/frameworks/av/media/libmedia/
DAudioSystem.cpp543 const sp<IAudioPolicyService>& aps = AudioSystem::get_audio_policy_service(); in setDeviceConnectionState() local
546 if (aps == 0) return PERMISSION_DENIED; in setDeviceConnectionState()
552 return aps->setDeviceConnectionState(device, state, address); in setDeviceConnectionState()
558 const sp<IAudioPolicyService>& aps = AudioSystem::get_audio_policy_service(); in getDeviceConnectionState() local
559 if (aps == 0) return AUDIO_POLICY_DEVICE_STATE_UNAVAILABLE; in getDeviceConnectionState()
561 return aps->getDeviceConnectionState(device, device_address); in getDeviceConnectionState()
567 const sp<IAudioPolicyService>& aps = AudioSystem::get_audio_policy_service(); in setPhoneState() local
568 if (aps == 0) return PERMISSION_DENIED; in setPhoneState()
570 return aps->setPhoneState(state); in setPhoneState()
575 const sp<IAudioPolicyService>& aps = AudioSystem::get_audio_policy_service(); in setForceUse() local
[all …]
DAudioEffect.cpp428 const sp<IAudioPolicyService>& aps = AudioSystem::get_audio_policy_service(); in queryDefaultPreProcessing() local
429 if (aps == 0) return PERMISSION_DENIED; in queryDefaultPreProcessing()
430 return aps->queryDefaultPreProcessing(audioSession, descriptors, count); in queryDefaultPreProcessing()