Home
last modified time | relevance | path

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

/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()
91 AudioProfileVector audioProfiles = getAudioProfileVectorForTest(); in TEST() local
93 ASSERT_EQ(data.writeParcelable(audioProfiles), NO_ERROR); in TEST()
97 ASSERT_TRUE(audioProfilesFromParcel.equals(audioProfiles)); in TEST()
/frameworks/base/media/java/android/media/
DEncoderProfiles.java224 return audioProfiles; in getAudioProfiles()
335 private @NonNull List<AudioProfile> audioProfiles; field in EncoderProfiles
343 AudioProfile[] audioProfiles) { in EncoderProfiles() argument
347 this.audioProfiles = Collections.unmodifiableList(Arrays.asList(audioProfiles)); in EncoderProfiles()
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DPolicyAudioPort.cpp243 const AudioProfileVector& audioProfiles = asAudioPort()->getAudioProfiles(); in pickAudioProfile() local
244 for (size_t i = 0; i < audioProfiles.size(); i ++) { in pickAudioProfile()
245 if (!audioProfiles[i]->isValid()) { in pickAudioProfile()
248 audio_format_t formatToCompare = audioProfiles[i]->getFormat(); in pickAudioProfile()
253 pickChannelMask(pickedChannelMask, audioProfiles[i]->getChannels()); in pickAudioProfile()
254 pickSamplingRate(pickedSamplingRate, audioProfiles[i]->getSampleRates()); in pickAudioProfile()