Home
last modified time | relevance | path

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

/frameworks/av/services/audiopolicy/tests/
Daudiopolicymanager_tests.cpp783 audio_config_base_t directConfig = AUDIO_CONFIG_BASE_INITIALIZER; in TEST_P() local
784 directConfig.format = AUDIO_FORMAT_DTS; in TEST_P()
785 directConfig.sample_rate = 48000; in TEST_P()
786 directConfig.channel_mask = AUDIO_CHANNEL_OUT_5POINT1; in TEST_P()
813 ASSERT_TRUE(mManager->isDirectOutputSupported(directConfig, attr)); in TEST_P()
826 ASSERT_TRUE(mManager->isDirectOutputSupported(directConfig, attr)); in TEST_P()
836 ASSERT_TRUE(mManager->isDirectOutputSupported(directConfig, attr)); in TEST_P()
850 audio_config_t directConfig = AUDIO_CONFIG_INITIALIZER; in TEST_P() local
851 directConfig.format = AUDIO_FORMAT_DTS; in TEST_P()
852 directConfig.sample_rate = 48000; in TEST_P()
[all …]
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp1697 audio_config_t directConfig = *config; in getOutputForDevices() local
1698 directConfig.channel_mask = channelMask; in getOutputForDevices()
1699 status_t status = openDirectOutput(stream, session, &directConfig, *flags, devices, &output); in getOutputForDevices()
1710 if ((directConfig.offload_info.content_id || directConfig.offload_info.sync_id)) { in getOutputForDevices()