Home | History | Annotate | Download | only in managerdefault

Lines Matching refs:mAvailableOutputDevices

98         ssize_t index = mAvailableOutputDevices.indexOf(devDesc);
114 index = mAvailableOutputDevices.add(devDesc);
120 mAvailableOutputDevices.remove(devDesc);
123 mAvailableOutputDevices[index]->attach(module);
133 mAvailableOutputDevices.remove(devDesc);
162 mAvailableOutputDevices.remove(devDesc);
326 deviceVector = &mAvailableOutputDevices;
353 ssize_t index = mAvailableOutputDevices.indexOf(devDesc);
423 deviceList = mAvailableOutputDevices.getDevicesFromType(rxDevice);
471 deviceList = mAvailableOutputDevices.getDevicesFromType(AUDIO_DEVICE_OUT_TELEPHONY_TX);
732 if ((mAvailableOutputDevices.types() & curProfile->getSupportedDevicesType()) == 0) {
821 for (size_t i = 0; i < mAvailableOutputDevices.size(); i++) {
822 if (mAvailableOutputDevices[i]->getId() == selectedDeviceId) {
823 deviceDesc = mAvailableOutputDevices[i];
1012 DeviceVector outputDevices = mAvailableOutputDevices.getDevicesFromType(device);
2532 mAvailableOutputDevices.dump(fd, String8("Available output"));
2639 mAvailableOutputDevices.size(); i++) {
2640 if (mAvailableOutputDevices[i]->type() == AUDIO_DEVICE_OUT_STUB) {
2644 mAvailableOutputDevices[i]->toAudioPort(&ports[portsWritten++]);
2769 mAvailableOutputDevices.getDeviceFromId(patch->sinks[i].id);
2887 mAvailableOutputDevices.getDeviceFromId(patch->sinks[i].id);
3064 deviceDesc = mAvailableOutputDevices.getDeviceFromId(config->id);
3252 mAvailableOutputDevices.getDevice(sinkDevice, String8(""));
3474 AudioPolicyConfig config(mHwModules, mAvailableOutputDevices, mAvailableInputDevices,
3480 AudioPolicyConfig config(mHwModules, mAvailableOutputDevices, mAvailableInputDevices,
3508 // mAvailableOutputDevices and mAvailableInputDevices now contain all attached devices
3510 audio_devices_t outputDeviceTypes = mAvailableOutputDevices.types();
3521 // This also validates mAvailableOutputDevices list
3579 ssize_t index = mAvailableOutputDevices.indexOf(supportedDevices[k]);
3581 if (index >= 0 && !mAvailableOutputDevices[index]->isAttached()) {
3582 mAvailableOutputDevices[index]->attach(mHwModules[i]);
3663 for (size_t i = 0; i < mAvailableOutputDevices.size();) {
3664 if (!mAvailableOutputDevices[i]->isAttached()) {
3665 ALOGW("Output device %08x unreachable", mAvailableOutputDevices[i]->type());
3666 mAvailableOutputDevices.remove(mAvailableOutputDevices[i]);
3670 mEngine->setDeviceConnectionState(mAvailableOutputDevices[i],
3686 if (mDefaultOutputDevice == 0 || mAvailableOutputDevices.indexOf(mDefaultOutputDevice) < 0) {
3730 mAvailableOutputDevices.clear();
4156 } else if (!(desc->supportedDevices() & mAvailableOutputDevices.types())) {
4539 ((mAvailableOutputDevices.types() & AUDIO_DEVICE_OUT_ALL_SCO) != 0);
4970 deviceList = mAvailableOutputDevices.getDevicesFromType(device);
4972 deviceList = mAvailableOutputDevices.getDevicesFromTypeAddr(device, String8(address));