Lines Matching refs:aps
457 const sp<IAudioPolicyService>& aps = AudioSystem::get_audio_policy_service(); in queryDefaultPreProcessing() local
458 if (aps == 0) return PERMISSION_DENIED; in queryDefaultPreProcessing()
459 return aps->queryDefaultPreProcessing(audioSession, descriptors, count); in queryDefaultPreProcessing()
477 const sp<IAudioPolicyService>& aps = AudioSystem::get_audio_policy_service(); in addSourceDefaultEffect() local
478 if (aps == 0) return PERMISSION_DENIED; in addSourceDefaultEffect()
499 return aps->addSourceDefaultEffect(&type, opPackageName, &uuid, priority, source, id); in addSourceDefaultEffect()
509 const sp<IAudioPolicyService>& aps = AudioSystem::get_audio_policy_service(); in addStreamDefaultEffect() local
510 if (aps == 0) return PERMISSION_DENIED; in addStreamDefaultEffect()
531 return aps->addStreamDefaultEffect(&type, opPackageName, &uuid, priority, usage, id); in addStreamDefaultEffect()
536 const sp<IAudioPolicyService>& aps = AudioSystem::get_audio_policy_service(); in removeSourceDefaultEffect() local
537 if (aps == 0) return PERMISSION_DENIED; in removeSourceDefaultEffect()
539 return aps->removeSourceDefaultEffect(id); in removeSourceDefaultEffect()
544 const sp<IAudioPolicyService>& aps = AudioSystem::get_audio_policy_service(); in removeStreamDefaultEffect() local
545 if (aps == 0) return PERMISSION_DENIED; in removeStreamDefaultEffect()
547 return aps->removeStreamDefaultEffect(id); in removeStreamDefaultEffect()