Home
last modified time | relevance | path

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

/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DAudioPolicyConfig.h120 void setDefaultOutputDevice(const sp<DeviceDescriptor> &defaultDevice) in setDefaultOutputDevice() argument
122 mDefaultOutputDevice = defaultDevice; in setDefaultOutputDevice()
/frameworks/av/services/audiopolicy/engineconfigurable/src/
DEngine.cpp383 auto defaultDevice = getApmObserver()->getDefaultOutputDevice(); in getDevicesForProductStrategy() local
384 ALOG_ASSERT(defaultDevice != nullptr, "no valid default device defined"); in getDevicesForProductStrategy()
385 selectedDevices = DeviceVector(defaultDevice); in getDevicesForProductStrategy()
399 auto defaultDevice = getApmObserver()->getDefaultOutputDevice(); in getDevicesForProductStrategy() local
400 ALOG_ASSERT(defaultDevice != nullptr, "Default Output Device NOT available"); in getDevicesForProductStrategy()
401 selectedDevices = DeviceVector(defaultDevice); in getDevicesForProductStrategy()
/frameworks/base/services/core/java/com/android/server/audio/
DAudioDeviceBroker.java2496 AudioDeviceAttributes defaultDevice = getDefaultCommunicationDevice(); in updateCommunicationRoute() local
2497 if (defaultDevice != null) { in updateCommunicationRoute()
2499 mCommunicationStrategyId, Arrays.asList(defaultDevice)); in updateCommunicationRoute()
2501 mAccessibilityStrategyId, Arrays.asList(defaultDevice)); in updateCommunicationRoute()
/frameworks/av/media/libaudiohal/tests/
DCoreAudioHalAidl_test.cpp1208 AudioDevice defaultDevice; in TEST_F() local
1209 defaultDevice.type.type = AudioDeviceType::IN_DEFAULT; in TEST_F()
1212 ASSERT_EQ(OK, mMapper->prepareToOpenStream(43 /*ioHandle*/, defaultDevice, in TEST_F()