Searched refs:defaultDevice (Results 1 – 4 of 4) sorted by relevance
120 void setDefaultOutputDevice(const sp<DeviceDescriptor> &defaultDevice) in setDefaultOutputDevice() argument122 mDefaultOutputDevice = defaultDevice; in setDefaultOutputDevice()
383 auto defaultDevice = getApmObserver()->getDefaultOutputDevice(); in getDevicesForProductStrategy() local384 ALOG_ASSERT(defaultDevice != nullptr, "no valid default device defined"); in getDevicesForProductStrategy()385 selectedDevices = DeviceVector(defaultDevice); in getDevicesForProductStrategy()399 auto defaultDevice = getApmObserver()->getDefaultOutputDevice(); in getDevicesForProductStrategy() local400 ALOG_ASSERT(defaultDevice != nullptr, "Default Output Device NOT available"); in getDevicesForProductStrategy()401 selectedDevices = DeviceVector(defaultDevice); in getDevicesForProductStrategy()
2496 AudioDeviceAttributes defaultDevice = getDefaultCommunicationDevice(); in updateCommunicationRoute() local2497 if (defaultDevice != null) { in updateCommunicationRoute()2499 mCommunicationStrategyId, Arrays.asList(defaultDevice)); in updateCommunicationRoute()2501 mAccessibilityStrategyId, Arrays.asList(defaultDevice)); in updateCommunicationRoute()
1208 AudioDevice defaultDevice; in TEST_F() local1209 defaultDevice.type.type = AudioDeviceType::IN_DEFAULT; in TEST_F()1212 ASSERT_EQ(OK, mMapper->prepareToOpenStream(43 /*ioHandle*/, defaultDevice, in TEST_F()