Searched refs:curDevice (Results 1 – 2 of 2) sorted by relevance
80 sp<DeviceDescriptor> curDevice = findPreferredDevice(desc, filter, active, devices); in findPreferredDevice() local81 if (active && curDevice == nullptr) { in findPreferredDevice()83 } else if (curDevice != nullptr) { in findPreferredDevice()84 device = curDevice; in findPreferredDevice()
6614 AudioDeviceInfo curDevice = mDeviceBroker.getCommunicationDevice(); in setCommunicationDevice() local6615 if (curDevice != null) { in setCommunicationDevice()6616 deviceType = curDevice.getPort().type(); in setCommunicationDevice()6617 deviceAddress = curDevice.getAddress(); in setCommunicationDevice()