Searched refs:paa (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/core/jni/ |
D | android_media_AudioSystem.cpp | 771 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 …]
|
D | android_media_AudioRecord.cpp | 229 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()
|
D | android_media_AudioAttributes.cpp | 153 audio_attributes_t *paa) in nativeFromJava() argument 155 return nativeAudioAttributesFromJavaAudioAttributes(env, jAudioAttributes, paa); in nativeFromJava()
|
D | android_media_AudioTrack.cpp | 332 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/ |
D | AudioPolicyManager.h | 1229 bool isValidAttributes(const audio_attributes_t *paa);
|
D | AudioPolicyManager.cpp | 8401 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()
|