Searched refs:devDesc (Results 1 – 7 of 7) sorted by relevance
70 sp<DeviceDescriptor> devDesc = in addOutputProfile() local72 addDynamicDevice(devDesc); in addOutputProfile()74 devDesc->attach(this); in addOutputProfile()75 profile->addSupportedDevice(devDesc); in addOutputProfile()140 sp<DeviceDescriptor> devDesc = in addInputProfile() local142 addDynamicDevice(devDesc); in addInputProfile()144 devDesc->attach(this); in addInputProfile()145 profile->addSupportedDevice(devDesc); in addInputProfile()
62 status_t setDeviceConnectionState(const sp<DeviceDescriptor> devDesc,
125 virtual status_t setDeviceConnectionState(const android::sp<android::DeviceDescriptor> devDesc,
71 status_t EngineBase::setDeviceConnectionState(const sp<DeviceDescriptor> devDesc, in setDeviceConnectionState() argument74 audio_devices_t deviceType = devDesc->type(); in setDeviceConnectionState()82 mLastRemovableMediaDevices.setRemovableMediaDevices(devDesc, state); in setDeviceConnectionState()
673 if (const auto& devDesc = deviceExt.device; in initialize() local674 (devDesc.type.type == AudioDeviceType::IN_SUBMIX || in initialize()675 devDesc.type.type == AudioDeviceType::OUT_SUBMIX) && in initialize()676 devDesc.type.connection == AudioDeviceDescription::CONNECTION_VIRTUAL) { in initialize()677 if (devDesc.type.type == AudioDeviceType::IN_SUBMIX) { in initialize()
493 sp<DeviceDescriptor> devDesc = in getDeviceConnectionState() local498 if (devDesc == 0) { in getDeviceConnectionState()537 sp<DeviceDescriptor> devDesc = deviceList.itemAt(0); in handleDeviceConfigChange() local549 if (availablePrimaryOutputDevices().contains(devDesc) && in handleDeviceConfigChange()564 devDesc->setEncodedFormat(encodedFormat); in handleDeviceConfigChange()600 devDesc->getEncodedFormat()); in handleDeviceConfigChange()791 const sp<DeviceDescriptor>& devDesc, const char *moduleId) const { in isDeviceOfModule() argument795 .indexOf(devDesc) != NAME_NOT_FOUND in isDeviceOfModule()797 .indexOf(devDesc) != NAME_NOT_FOUND; in isDeviceOfModule()4100 sp<DeviceDescriptor> devDesc = mHwModules.getDeviceDescriptor( in areAllDevicesSupported() local[all …]
911 bool isDeviceOfModule(const sp<DeviceDescriptor>& devDesc, const char *moduleId) const;1093 void modifySurroundFormats(const sp<DeviceDescriptor>& devDesc, FormatVector *formatsPtr);1097 void updateAudioProfiles(const sp<DeviceDescriptor>& devDesc, audio_io_handle_t ioHandle,