Lines Matching refs:mAvailableInputDevices

211         ssize_t index = mAvailableInputDevices.indexOf(devDesc);
230 index = mAvailableInputDevices.add(devDesc);
232 mAvailableInputDevices[index]->attach(module);
261 mAvailableInputDevices.remove(devDesc);
309 deviceVector = &mAvailableInputDevices;
363 deviceList = mAvailableInputDevices.getDevicesFromType(AUDIO_DEVICE_IN_TELEPHONY_RX);
402 deviceList = mAvailableInputDevices.getDevicesFromType(txDevice);
1393 for (size_t i = 0; i < mAvailableInputDevices.size(); i++) {
1394 if (mAvailableInputDevices[i]->getId() == selectedDeviceId) {
1395 deviceDesc = mAvailableInputDevices[i];
2243 mAvailableInputDevices.dump(fd, String8("Available input"));
2359 for (size_t i = 0; i < mAvailableInputDevices.size(); i++) {
2360 if (mAvailableInputDevices[i]->type() == AUDIO_DEVICE_IN_STUB) {
2364 mAvailableInputDevices[i]->toAudioPort(&ports[portsWritten++]);
2536 mAvailableInputDevices.getDeviceFromId(patch->sources[0].id);
2579 mAvailableInputDevices.getDeviceFromId(patch->sources[0].id);
2772 deviceDesc = mAvailableInputDevices.getDeviceFromId(config->id);
2928 mAvailableInputDevices.getDevice(source->ext.device.type,
3156 AudioPolicyConfig config(mHwModules, mAvailableOutputDevices, mAvailableInputDevices,
3163 AudioPolicyConfig config(mHwModules, mAvailableOutputDevices, mAvailableInputDevices,
3190 // mAvailableOutputDevices and mAvailableInputDevices now contain all attached devices
3193 audio_devices_t inputDeviceTypes = mAvailableInputDevices.types() & ~AUDIO_DEVICE_BIT_IN;
3281 // mAvailableInputDevices list
3303 DeviceVector inputDevices = mAvailableInputDevices.getDevicesFromType(profileType);
3326 ssize_t index = mAvailableInputDevices.indexOf(supportedDevices[k]);
3329 sp<DeviceDescriptor> devDesc = mAvailableInputDevices[index];
3356 for (size_t i = 0; i < mAvailableInputDevices.size();) {
3357 if (!mAvailableInputDevices[i]->isAttached()) {
3358 ALOGW("Input device %08x unreachable", mAvailableInputDevices[i]->type());
3359 mAvailableInputDevices.remove(mAvailableInputDevices[i]);
3363 mEngine->setDeviceConnectionState(mAvailableInputDevices[i],
3413 mAvailableInputDevices.clear();
3995 if (!(desc->mProfile->supportDevice(mAvailableInputDevices.types()))) {
4232 ((mAvailableInputDevices.types() & AUDIO_DEVICE_IN_BLUETOOTH_SCO_HEADSET &
4759 DeviceVector deviceList = mAvailableInputDevices.getDevicesFromType(device);
4875 audio_devices_t availableDeviceTypes = mAvailableInputDevices.types() & ~AUDIO_DEVICE_BIT_IN;