Home
last modified time | relevance | path

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

/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DAudioPolicyConfig.h55 mDefaultOutputDevice(defaultOutputDevice) { in AudioPolicyConfig()
65 mDefaultOutputDevice.clear(); in clear()
140 mDefaultOutputDevice = defaultDevice; in setDefaultOutputDevice()
143 const sp<DeviceDescriptor> &getDefaultOutputDevice() const { return mDefaultOutputDevice; } in getDefaultOutputDevice()
149 mDefaultOutputDevice = new DeviceDescriptor(AUDIO_DEVICE_OUT_SPEAKER); in setDefault()
150 mDefaultOutputDevice->addAudioProfile(AudioProfile::createFullDynamic(gDynamicFormat)); in setDefault()
156 mOutputDevices.add(mDefaultOutputDevice); in setDefault()
165 outProfile->addSupportedDevice(mDefaultOutputDevice); in setDefault()
213 sp<DeviceDescriptor> &mDefaultOutputDevice; variable
/frameworks/av/services/audiopolicy/tests/
Daudiopolicymanager_tests.cpp379 sp<DeviceDescriptor> mDefaultOutputDevice; member in AudioPolicyManagerTestMsd
476 mDefaultOutputDevice = config.getDefaultOutputDevice(); in SetUpManagerConfig()
499 mDefaultOutputDevice.clear(); in TearDown()
508 ASSERT_TRUE(mDefaultOutputDevice); in TEST_P()
545 ASSERT_EQ(selectedDeviceId, mDefaultOutputDevice->getId()); in TEST_P()
554 ASSERT_EQ(selectedDeviceId, mDefaultOutputDevice->getId()); in TEST_P()
563 ASSERT_EQ(selectedDeviceId, mDefaultOutputDevice->getId()); in TEST_P()
568 ASSERT_EQ(selectedDeviceId, mDefaultOutputDevice->getId()); in TEST_P()
590 ASSERT_EQ(selectedDeviceId, mDefaultOutputDevice->getId()); in TEST_P()
612 ASSERT_EQ(selectedDeviceId, mDefaultOutputDevice->getId()); in TEST_P()
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.h412 return mDefaultOutputDevice; in getDefaultOutputDevice()
817 sp<DeviceDescriptor> mDefaultOutputDevice; // output device selected by default at boot time variable
DAudioPolicyManager.cpp4832 mConfig(mHwModulesAll, mOutputDevicesAll, mInputDevicesAll, mDefaultOutputDevice), in AudioPolicyManager()
4885 if (mDefaultOutputDevice == 0 || !mAvailableOutputDevices.contains(mDefaultOutputDevice)) { in initialize()
4886 ALOGE_IF(mDefaultOutputDevice != 0, "Default device %s is unreachable", in initialize()
4887 mDefaultOutputDevice->toString().c_str()); in initialize()
4977 if (supportedDevices.contains(mDefaultOutputDevice)) { in onNewAudioModulesAvailableInt()
4978 supportedDevice = mDefaultOutputDevice; in onNewAudioModulesAvailableInt()