Home
last modified time | relevance | path

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

/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DPolicyAudioPort.cpp233 const AudioProfileVector& audioProfiles = asAudioPort()->getAudioProfiles(); in pickAudioProfile() local
234 for (size_t i = 0; i < audioProfiles.size(); i ++) { in pickAudioProfile()
235 if (!audioProfiles[i]->isValid()) { in pickAudioProfile()
238 audio_format_t formatToCompare = audioProfiles[i]->getFormat(); in pickAudioProfile()
243 pickChannelMask(pickedChannelMask, audioProfiles[i]->getChannels()); in pickAudioProfile()
244 pickSamplingRate(pickedSamplingRate, audioProfiles[i]->getSampleRates()); in pickAudioProfile()
/frameworks/base/media/java/android/media/
DEncoderProfiles.java362 return audioProfiles; in getAudioProfiles()
473 private @NonNull List<AudioProfile> audioProfiles; field in EncoderProfiles
481 AudioProfile[] audioProfiles) { in EncoderProfiles() argument
485 this.audioProfiles = Collections.unmodifiableList(Arrays.asList(audioProfiles)); in EncoderProfiles()
/frameworks/av/media/libaudiofoundation/
DAudioContainers.cpp174 audio_profile audioProfiles[], in populateAudioProfiles() argument
203 &audioProfiles[(*numAudioProfiles)++]); in populateAudioProfiles()
216 &audioProfiles[(*numAudioProfiles)++]); in populateAudioProfiles()
228 &audioProfiles[(*numAudioProfiles)++]); in populateAudioProfiles()
DAudioProfile.cpp378 void AudioProfileVector::addAllValidProfiles(const AudioProfileVector& audioProfiles) { in addAllValidProfiles() argument
379 for (const auto& audioProfile : audioProfiles) { in addAllValidProfiles()
/frameworks/av/media/libaudiofoundation/tests/
Daudiofoundation_parcelable_test.cpp70 AudioProfileVector audioProfiles; in getAudioProfileVectorForTest() local
74 audioProfiles.add(audioProfile); in getAudioProfileVectorForTest()
75 return audioProfiles; in getAudioProfileVectorForTest()
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/panel/component/spatial/domain/interactor/
DSpatialAudioComponentInteractor.kt198 it.profileId in audioProfiles && it.isEnabled(cachedBluetoothDevice.device) in <lambda>()
238 val audioProfiles = in <lambda>() constant
/frameworks/av/media/libaudiofoundation/include/media/
DAudioContainers.h181 audio_profile audioProfiles[],
DAudioProfile.h150 void addAllValidProfiles(const AudioProfileVector& audioProfiles);
/frameworks/av/media/libaudioclient/tests/
Daudiosystem_tests.cpp346 std::vector<audio_profile> audioProfiles; in TEST_F() local
351 EXPECT_EQ(BAD_VALUE, AudioSystem::getDirectProfilesForAttributes(nullptr, &audioProfiles)); in TEST_F()
353 EXPECT_EQ(NO_ERROR, AudioSystem::getDirectProfilesForAttributes(&attributes, &audioProfiles)); in TEST_F()
/frameworks/av/services/audiopolicy/
DAudioPolicyInterface.h431 AudioProfileVector& audioProfiles) = 0;
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.h417 AudioProfileVector& audioProfiles);
1365 AudioProfileVector& audioProfiles,
DAudioPolicyManager.cpp8921 AudioProfileVector& audioProfiles, in getProfilesForDevices() argument
8937 audioProfiles.addAllValidProfiles(profile->asAudioPort()->getAudioProfiles()); in getProfilesForDevices()
8951 audioProfiles.addAllValidProfiles(profile->asAudioPort()->getAudioProfiles()); in getProfilesForDevices()
/frameworks/av/services/audiopolicy/fuzzer/
Daudiopolicy_fuzzer.cpp941 AudioProfileVector audioProfiles; in fuzzGetDirectProfilesForAttributes() local
947 mManager->getDirectProfilesForAttributes(&attr, audioProfiles); in fuzzGetDirectProfilesForAttributes()
/frameworks/av/media/libaudioclient/include/media/
DAudioSystem.h668 std::vector<audio_profile>* audioProfiles);
/frameworks/av/services/audiopolicy/service/
DAudioPolicyInterfaceImpl.cpp2521 AudioProfileVector audioProfiles; in getDirectProfilesForAttributes() local
2525 mAudioPolicyManager->getDirectProfilesForAttributes(&attr, audioProfiles))); in getDirectProfilesForAttributes()
2528 audioProfiles, legacy2aidl_AudioProfile_common, false /*isInput*/)); in getDirectProfilesForAttributes()
/frameworks/av/media/libaudioclient/
DAudioSystem.cpp2567 std::vector<audio_profile>* audioProfiles) { in getDirectProfilesForAttributes() argument
2568 if (attr == nullptr || audioProfiles == nullptr) { in getDirectProfilesForAttributes()
2583 *audioProfiles = VALUE_OR_RETURN_STATUS(convertContainer<std::vector<audio_profile>>( in getDirectProfilesForAttributes()
/frameworks/base/core/jni/
Dandroid_media_AudioSystem.cpp3183 std::vector<audio_profile> audioProfiles; in android_media_AudioSystem_getDirectProfilesForAttributes() local
3184 status_t status = AudioSystem::getDirectProfilesForAttributes(paa.get(), &audioProfiles); in android_media_AudioSystem_getDirectProfilesForAttributes()
3191 for (const auto &audioProfile : audioProfiles) { in android_media_AudioSystem_getDirectProfilesForAttributes()