Home
last modified time | relevance | path

Searched refs:getVolumeIndexForAttributes (Results 1 – 17 of 17) sorted by relevance

/aosp12/frameworks/base/media/tests/AudioPolicyTest/src/com/android/audiopolicytest/
H A DAudioManagerTest.java193 () -> mAudioManager.getVolumeIndexForAttributes(nullAttributes)); in testSetGetVolumePerAttributesWithInvalidAttributes()
226 index = mAudioManager.getVolumeIndexForAttributes(aaForUsage); in testSetGetVolumePerAttributes()
239 index = mAudioManager.getVolumeIndexForAttributes(aaForUsage); in testSetGetVolumePerAttributes()
243 index = mAudioManager.getVolumeIndexForAttributes(aaForUsage); in testSetGetVolumePerAttributes()
282 index = mAudioManager.getVolumeIndexForAttributes(aa); in testVolumeGroupCallback()
292 int readIndex = mAudioManager.getVolumeIndexForAttributes(aa); in testVolumeGroupCallback()
H A DAudioVolumeGroupChangeHandlerTest.java101 int index = mAudioManager.getVolumeIndexForAttributes(aa); in testCallbackReceived()
113 final int readIndex = mAudioManager.getVolumeIndexForAttributes(aa); in testCallbackReceived()
155 int index = mAudioManager.getVolumeIndexForAttributes(aa); in testMultipleCallbackReceived()
171 int readIndex = mAudioManager.getVolumeIndexForAttributes(aa); in testMultipleCallbackReceived()
H A DAudioVolumesTestBase.java77 avg.getId(), mAudioManager.getVolumeIndexForAttributes(avgAttributes)); in storeAllVolumes()
/aosp12/frameworks/av/media/libaudioclient/aidl/android/media/
H A DIAudioPolicyService.aidl129 int getVolumeIndexForAttributes(in AudioAttributesInternal attr, in getVolumeIndexForAttributes() method
/aosp12/frameworks/av/services/audiopolicy/
H A DAudioPolicyInterface.h187 virtual status_t getVolumeIndexForAttributes(const audio_attributes_t &attr,
/aosp12/frameworks/base/media/java/android/media/
H A DIAudioService.aidl117 int getVolumeIndexForAttributes(in AudioAttributes aa); in getVolumeIndexForAttributes() method
H A DAudioSystem.java1561 public static native int getVolumeIndexForAttributes(@NonNull AudioAttributes attributes, in getVolumeIndexForAttributes() method in AudioSystem
H A DAudioManager.java1292 public int getVolumeIndexForAttributes(@NonNull AudioAttributes attr) { in getVolumeIndexForAttributes() method in AudioManager
1296 return service.getVolumeIndexForAttributes(attr); in getVolumeIndexForAttributes()
/aosp12/frameworks/av/media/libaudioclient/include/media/
H A DAudioSystem.h317 static status_t getVolumeIndexForAttributes(const audio_attributes_t &attr,
/aosp12/frameworks/av/services/audiopolicy/managerdefault/
H A DAudioPolicyManager.h170 virtual status_t getVolumeIndexForAttributes(const audio_attributes_t &attr,
H A DAudioPolicyManager.cpp2887 status_t AudioPolicyManager::getVolumeIndexForAttributes(const audio_attributes_t &attr, in getVolumeIndexForAttributes() function in android::AudioPolicyManager
/aosp12/frameworks/av/services/audiopolicy/service/
H A DAudioPolicyInterfaceImpl.cpp1003 Status AudioPolicyService::getVolumeIndexForAttributes( in getVolumeIndexForAttributes() function in android::AudioPolicyService
1019 mAudioPolicyManager->getVolumeIndexForAttributes(attributes, index, device))); in getVolumeIndexForAttributes()
H A DAudioPolicyService.h115 binder::Status getVolumeIndexForAttributes(const media::AudioAttributesInternal& attr,
/aosp12/frameworks/av/media/libaudioclient/
H A DAudioSystem.cpp1211 status_t AudioSystem::getVolumeIndexForAttributes(const audio_attributes_t& attr, in getVolumeIndexForAttributes() function in android::AudioSystem
1222 aps->getVolumeIndexForAttributes(attrAidl, deviceAidl, &indexAidl))); in getVolumeIndexForAttributes()
/aosp12/frameworks/base/core/jni/
H A Dandroid_media_AudioSystem.cpp704 if (AudioSystem::getVolumeIndexForAttributes(*(paa.get()), index, (audio_devices_t)device) in android_media_AudioSystem_getVolumeIndexForAttributes()
/aosp12/frameworks/base/services/core/java/com/android/server/audio/
H A DAudioService.java3275 public int getVolumeIndexForAttributes(@NonNull AudioAttributes attr) { in getVolumeIndexForAttributes() method in AudioService
/aosp12/frameworks/base/core/api/
H A Dsystem-current.txt5204 …n(android.Manifest.permission.MODIFY_AUDIO_ROUTING) public int getVolumeIndexForAttributes(@NonNul…