Home
last modified time | relevance | path

Searched refs:paa (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/core/jni/
Dandroid_media_AudioSystem.cpp771 JNIAudioAttributeHelper::UniqueAaPtr paa = JNIAudioAttributeHelper::makeUnique(); in android_media_AudioSystem_setVolumeIndexForAttributes() local
772 jint jStatus = JNIAudioAttributeHelper::nativeFromJava(env, jaa, paa.get()); in android_media_AudioSystem_setVolumeIndexForAttributes()
777 AudioSystem::setVolumeIndexForAttributes(*(paa.get()), index, in android_media_AudioSystem_setVolumeIndexForAttributes()
788 JNIAudioAttributeHelper::UniqueAaPtr paa = JNIAudioAttributeHelper::makeUnique(); in android_media_AudioSystem_getVolumeIndexForAttributes() local
789 jint jStatus = JNIAudioAttributeHelper::nativeFromJava(env, jaa, paa.get()); in android_media_AudioSystem_getVolumeIndexForAttributes()
794 if (AudioSystem::getVolumeIndexForAttributes(*(paa.get()), index, in android_media_AudioSystem_getVolumeIndexForAttributes()
808 JNIAudioAttributeHelper::UniqueAaPtr paa = JNIAudioAttributeHelper::makeUnique(); in android_media_AudioSystem_getMinVolumeIndexForAttributes() local
809 jint jStatus = JNIAudioAttributeHelper::nativeFromJava(env, jaa, paa.get()); in android_media_AudioSystem_getMinVolumeIndexForAttributes()
814 if (AudioSystem::getMinVolumeIndexForAttributes(*(paa.get()), index) in android_media_AudioSystem_getMinVolumeIndexForAttributes()
827 JNIAudioAttributeHelper::UniqueAaPtr paa = JNIAudioAttributeHelper::makeUnique(); in android_media_AudioSystem_getMaxVolumeIndexForAttributes() local
[all …]
Dandroid_media_AudioRecord.cpp229 auto paa = JNIAudioAttributeHelper::makeUnique(); in android_media_AudioRecord_setup() local
230 jint jStatus = JNIAudioAttributeHelper::nativeFromJava(env, jaa, paa.get()); in android_media_AudioRecord_setup()
234 … ALOGV("AudioRecord_setup for source=%d tags=%s flags=%08x", paa->source, paa->tags, paa->flags); in android_media_AudioRecord_setup()
243 lpRecorder->set(paa->source, sampleRateInHertz, in android_media_AudioRecord_setup()
251 paa.get(), AUDIO_PORT_HANDLE_NONE, MIC_DIRECTION_UNSPECIFIED, in android_media_AudioRecord_setup()
Dandroid_media_AudioAttributes.cpp153 audio_attributes_t *paa) in nativeFromJava() argument
155 return nativeAudioAttributesFromJavaAudioAttributes(env, jAudioAttributes, paa); in nativeFromJava()
Dandroid_media_AudioTrack.cpp332 auto paa = JNIAudioAttributeHelper::makeUnique(); in android_media_AudioTrack_setup() local
333 jint jStatus = JNIAudioAttributeHelper::nativeFromJava(env, jaa, paa.get()); in android_media_AudioTrack_setup()
338 paa->usage, paa->content_type, paa->flags, paa->tags); in android_media_AudioTrack_setup()
385 paa.get()); in android_media_AudioTrack_setup()
411 paa.get()); in android_media_AudioTrack_setup()
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.h1229 bool isValidAttributes(const audio_attributes_t *paa);
DAudioPolicyManager.cpp8401 bool AudioPolicyManager::isValidAttributes(const audio_attributes_t *paa) in isValidAttributes() argument
8404 if ((paa->flags & (AUDIO_FLAG_AUDIBILITY_ENFORCED | AUDIO_FLAG_SCO | AUDIO_FLAG_BEACON)) != 0) { in isValidAttributes()
8409 switch (paa->usage) { in isValidAttributes()