Searched refs:mDefaultOutputDevice (Results 1 – 5 of 5) sorted by relevance
/aosp12/frameworks/av/services/audiopolicy/common/managerdefinitions/include/ |
H A D | AudioPolicyConfig.h | 55 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() 227 sp<DeviceDescriptor> &mDefaultOutputDevice; variable
|
/aosp12/frameworks/av/services/audiopolicy/tests/ |
H A D | audiopolicymanager_tests.cpp | 379 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()
|
/aosp12/frameworks/av/services/audiopolicy/managerdefault/ |
H A D | AudioPolicyManager.h | 422 return mDefaultOutputDevice; in getDefaultOutputDevice() 829 sp<DeviceDescriptor> mDefaultOutputDevice; // output device selected by default at boot time variable
|
H A D | AudioPolicyManager.cpp | 5066 mConfig(mHwModulesAll, mOutputDevicesAll, mInputDevicesAll, mDefaultOutputDevice), in AudioPolicyManager() 5121 if (mDefaultOutputDevice == 0 || !mAvailableOutputDevices.contains(mDefaultOutputDevice)) { in initialize() 5122 ALOGE_IF(mDefaultOutputDevice != 0, "Default device %s is unreachable", in initialize() 5123 mDefaultOutputDevice->toString().c_str()); in initialize() 5213 if (supportedDevices.contains(mDefaultOutputDevice)) { in onNewAudioModulesAvailableInt() 5214 supportedDevice = mDefaultOutputDevice; in onNewAudioModulesAvailableInt()
|
/aosp12/hardware/libhardware_legacy/include/hardware_legacy/ |
H A D | AudioPolicyManagerBase.h | 569 audio_devices_t mDefaultOutputDevice; // output device selected by default at boot time variable
|