Lines Matching refs:devDesc

130     sp<DeviceDescriptor> devDesc =  in setDeviceConnectionStateInt()  local
137 ssize_t index = mAvailableOutputDevices.indexOf(devDesc); in setDeviceConnectionStateInt()
162 index = mAvailableOutputDevices.add(devDesc); in setDeviceConnectionStateInt()
171 mAvailableOutputDevices.remove(devDesc); in setDeviceConnectionStateInt()
182 mAvailableOutputDevices.remove(devDesc); in setDeviceConnectionStateInt()
190 if (checkOutputsForDevice(devDesc, state, outputs, devDesc->mAddress) != NO_ERROR) { in setDeviceConnectionStateInt()
191 mAvailableOutputDevices.remove(devDesc); in setDeviceConnectionStateInt()
195 mEngine->setDeviceConnectionState(devDesc, state); in setDeviceConnectionStateInt()
204 AudioParameter param = AudioParameter(devDesc->mAddress); in setDeviceConnectionStateInt()
228 AudioParameter param = AudioParameter(devDesc->mAddress); in setDeviceConnectionStateInt()
233 mAvailableOutputDevices.remove(devDesc); in setDeviceConnectionStateInt()
244 checkOutputsForDevice(devDesc, state, outputs, devDesc->mAddress); in setDeviceConnectionStateInt()
247 mEngine->setDeviceConnectionState(devDesc, state); in setDeviceConnectionStateInt()
325 ssize_t index = mAvailableInputDevices.indexOf(devDesc); in setDeviceConnectionStateInt()
340 if (checkInputsForDevice(devDesc, state, inputs, devDesc->mAddress) != NO_ERROR) { in setDeviceConnectionStateInt()
344 index = mAvailableInputDevices.add(devDesc); in setDeviceConnectionStateInt()
352 AudioParameter param = AudioParameter(devDesc->mAddress); in setDeviceConnectionStateInt()
357 mEngine->setDeviceConnectionState(devDesc, state); in setDeviceConnectionStateInt()
370 AudioParameter param = AudioParameter(devDesc->mAddress); in setDeviceConnectionStateInt()
374 checkInputsForDevice(devDesc, state, inputs, devDesc->mAddress); in setDeviceConnectionStateInt()
375 mAvailableInputDevices.remove(devDesc); in setDeviceConnectionStateInt()
378 mEngine->setDeviceConnectionState(devDesc, state); in setDeviceConnectionStateInt()