Home
last modified time | relevance | path

Searched refs:audioPortConfig (Results 1 – 2 of 2) sorted by relevance

/frameworks/av/media/libaudiofoundation/tests/
Daudiofoundation_parcelable_test.cpp117 sp<AudioPortConfig> audioPortConfig = new AudioPortConfigTestStub(); in TEST() local
118 audioPortConfig->applyAudioPortConfig(&TEST_AUDIO_PORT_CONFIG); in TEST()
120 ASSERT_EQ(data.writeParcelable(*audioPortConfig), NO_ERROR); in TEST()
124 ASSERT_TRUE(audioPortConfigFromParcel->equals(audioPortConfig)); in TEST()
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp4209 sp<AudioPortConfig> audioPortConfig; in setAudioPortConfig() local
4219 audioPortConfig = outputDesc; in setAudioPortConfig()
4225 audioPortConfig = inputDesc; in setAudioPortConfig()
4241 audioPortConfig = deviceDesc; in setAudioPortConfig()
4247 status_t status = audioPortConfig->applyAudioPortConfig(config, &backupConfig); in setAudioPortConfig()
4250 audioPortConfig->toAudioPortConfig(&newConfig, config); in setAudioPortConfig()
4254 audioPortConfig->applyAudioPortConfig(&backupConfig); in setAudioPortConfig()