Home
last modified time | relevance | path

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

/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioPolicyConfig.cpp72 sp<DeviceDescriptor>* defaultOutputDevice) { in aidl2legacy_AudioHwModule_HwModule() argument
127 if (*defaultOutputDevice == nullptr && in aidl2legacy_AudioHwModule_HwModule()
129 *defaultOutputDevice = devicePort; in aidl2legacy_AudioHwModule_HwModule()
151 DeviceVector* attachedOutputDevices, sp<DeviceDescriptor>* defaultOutputDevice) { in aidl2legacy_AudioHwModules_HwModuleCollection() argument
155 attachedInputDevices, attachedOutputDevices, defaultOutputDevice)); in aidl2legacy_AudioHwModules_HwModuleCollection()
DSerializer.cpp754 auto defaultOutputDevice = make_xmlUnique(xmlNodeListGetString( in deserialize() local
756 if (defaultOutputDevice != nullptr) { in deserialize()
758 reinterpret_cast<const char*>(defaultOutputDevice.get())); in deserialize()
760 std::string(reinterpret_cast<const char*>(defaultOutputDevice.get()))); in deserialize()
/frameworks/av/services/audiopolicy/enginedefault/src/
DEngine.cpp547 sp<DeviceDescriptor> defaultOutputDevice = getApmObserver()->getDefaultOutputDevice(); in getDevicesForStrategyInt() local
548 if (defaultOutputDevice != nullptr) { in getDevicesForStrategyInt()
549 devices.add(defaultOutputDevice); in getDevicesForStrategyInt()
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp6477 if (const auto defaultOutputDevice = mConfig->getDefaultOutputDevice(); in initialize() local
6478 defaultOutputDevice == nullptr || in initialize()
6479 !mAvailableOutputDevices.contains(defaultOutputDevice)) { in initialize()
6480 ALOGE_IF(defaultOutputDevice != nullptr, "Default device %s is unreachable", in initialize()
6481 defaultOutputDevice->toString().c_str()); in initialize()