Home | History | Annotate | Download | only in audiopolicy

Lines Matching refs:mAvailableInputDevices

349         ssize_t index = mAvailableInputDevices.indexOf(devDesc);
368 index = mAvailableInputDevices.add(devDesc);
370 mAvailableInputDevices[index]->mId = nextUniqueId();
371 mAvailableInputDevices[index]->mModule = module;
392 mAvailableInputDevices.remove(devDesc);
428 deviceVector = &mAvailableInputDevices;
483 deviceList = mAvailableInputDevices.getDevicesFromType(AUDIO_DEVICE_IN_TELEPHONY_RX);
522 deviceList = mAvailableInputDevices.getDevicesFromType(txDevice);
1874 for (size_t i = 0; i < mAvailableInputDevices.size(); i++) {
1875 mAvailableInputDevices[i]->dump(fd, 2, i);
2029 i < mAvailableInputDevices.size() && portsWritten < portsMax; i++) {
2030 mAvailableInputDevices[i]->toAudioPort(&ports[portsWritten++]);
2032 *num_ports += mAvailableInputDevices.size();
2144 for (size_t i = 0; i < mAvailableInputDevices.size(); i++) {
2145 if (mAvailableInputDevices[i]->mModule->mHandle == primaryHandle) {
2146 devices |= mAvailableInputDevices[i]->mDeviceType;
2285 mAvailableInputDevices.getDeviceFromId(patch->sources[0].id);
2325 mAvailableInputDevices.getDeviceFromId(patch->sources[0].id);
2534 deviceDesc = mAvailableInputDevices.getDeviceFromId(config->id);
2672 // mAvailableOutputDevices and mAvailableInputDevices now contain all attached devices
2679 audio_devices_t inputDeviceTypes = mAvailableInputDevices.types() & ~AUDIO_DEVICE_BIT_IN;
2764 // mAvailableInputDevices list
2807 mAvailableInputDevices.indexOf(inProfile->mSupportedDevices[k]);
2809 if ((index >= 0) && (mAvailableInputDevices[index]->mId == 0)) {
2810 mAvailableInputDevices[index]->mId = nextUniqueId();
2811 mAvailableInputDevices[index]->mModule = mHwModules[i];
2831 for (size_t i = 0; i < mAvailableInputDevices.size();) {
2832 if (mAvailableInputDevices[i]->mId == 0) {
2833 ALOGW("Input device %08x unreachable", mAvailableInputDevices[i]->mDeviceType);
2834 mAvailableInputDevices.remove(mAvailableInputDevices[i]);
2885 mAvailableInputDevices.clear();
3520 if (!(desc->mProfile->mSupportedDevices.types() & mAvailableInputDevices.types())) {
3752 (mAvailableInputDevices.types() & AUDIO_DEVICE_IN_BLUETOOTH_SCO_HEADSET) != 0;
4028 if (((mAvailableInputDevices.types() &
4471 DeviceVector deviceList = mAvailableInputDevices.getDevicesFromType(device);
4579 audio_devices_t availableDeviceTypes = mAvailableInputDevices.types() &
7145 mAvailableInputDevices.loadDevicesFromName((char *)node->value,
7147 ALOGV("loadGlobalConfig() Available InputDevices %08x", mAvailableInputDevices.types());
7193 mAvailableInputDevices.add(defaultInputDevice);