Home
last modified time | relevance | path

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

/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DAudioPolicyConfig.h119 const sp<DeviceDescriptor>& getDefaultOutputDevice() const { return mDefaultOutputDevice; } in getDefaultOutputDevice()
122 mDefaultOutputDevice = defaultDevice; in setDefaultOutputDevice()
157 sp<DeviceDescriptor> mDefaultOutputDevice; variable
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioPolicyConfig.cpp266 &mHwModules, &mInputDevices, &mOutputDevices, &mDefaultOutputDevice)); in loadFromAidl()
297 mDefaultOutputDevice = new DeviceDescriptor(AUDIO_DEVICE_OUT_SPEAKER); in setDefault()
298 mDefaultOutputDevice->addAudioProfile(AudioProfile::createFullDynamic(gDynamicFormat)); in setDefault()
304 mOutputDevices.add(mDefaultOutputDevice); in setDefault()
314 outProfile->addSupportedDevice(mDefaultOutputDevice); in setDefault()
/frameworks/av/services/audiopolicy/tests/
Daudiopolicymanager_tests.cpp466 sp<DeviceDescriptor> mDefaultOutputDevice; member in AudioPolicyManagerTestMsd
562 mDefaultOutputDevice = mConfig->getDefaultOutputDevice(); in SetUpManagerConfig()
585 mDefaultOutputDevice.clear(); in TearDown()
601 ASSERT_TRUE(mDefaultOutputDevice); in TEST_P()
638 ASSERT_EQ(selectedDeviceId, mDefaultOutputDevice->getId()); in TEST_P()
647 ASSERT_EQ(selectedDeviceId, mDefaultOutputDevice->getId()); in TEST_P()
656 ASSERT_EQ(selectedDeviceId, mDefaultOutputDevice->getId()); in TEST_P()
661 ASSERT_EQ(selectedDeviceId, mDefaultOutputDevice->getId()); in TEST_P()
682 ASSERT_EQ(selectedDeviceId, mDefaultOutputDevice->getId()); in TEST_P()
703 ASSERT_EQ(selectedDeviceId, mDefaultOutputDevice->getId()); in TEST_P()