Searched refs:aps (Results 1 – 2 of 2) sorted by relevance
543 const sp<IAudioPolicyService>& aps = AudioSystem::get_audio_policy_service(); in setDeviceConnectionState() local546 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() local559 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() local568 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 …]
428 const sp<IAudioPolicyService>& aps = AudioSystem::get_audio_policy_service(); in queryDefaultPreProcessing() local429 if (aps == 0) return PERMISSION_DENIED; in queryDefaultPreProcessing()430 return aps->queryDefaultPreProcessing(audioSession, descriptors, count); in queryDefaultPreProcessing()