Home
last modified time | relevance | path

Searched refs:deviceProfile (Results 1 – 4 of 4) sorted by relevance

/hardware/interfaces/audio/aidl/default/alsa/
DUtils.cpp42 DeviceProxy::DeviceProxy(const DeviceProfile& deviceProfile) in DeviceProxy() argument
44 profile_init(mProfile.get(), deviceProfile.direction); in DeviceProxy()
45 mProfile->card = deviceProfile.card; in DeviceProxy()
46 mProfile->device = deviceProfile.device; in DeviceProxy()
281 DeviceProxy openProxyForAttachedDevice(const DeviceProfile& deviceProfile, in openProxyForAttachedDevice() argument
283 if (deviceProfile.isExternal) { in openProxyForAttachedDevice()
284 LOG(FATAL) << __func__ << ": called for an external device, address=" << deviceProfile; in openProxyForAttachedDevice()
286 DeviceProxy proxy(deviceProfile); in openProxyForAttachedDevice()
288 LOG(FATAL) << __func__ << ": failed to init for built-in device, address=" << deviceProfile; in openProxyForAttachedDevice()
291 LOG(FATAL) << __func__ << ": fail to prepare for device address=" << deviceProfile in openProxyForAttachedDevice()
[all …]
DUtils.h50 explicit DeviceProxy(const DeviceProfile& deviceProfile);
76 DeviceProxy openProxyForAttachedDevice(const DeviceProfile& deviceProfile,
78 DeviceProxy openProxyForExternalDevice(const DeviceProfile& deviceProfile,
80 DeviceProxy readAlsaDeviceInfo(const DeviceProfile& deviceProfile);
DModuleAlsa.cpp38 auto deviceProfile = alsa::getDeviceProfile(*audioPort); in populateConnectedDevicePort() local
39 if (!deviceProfile.has_value()) { in populateConnectedDevicePort()
42 auto proxy = alsa::readAlsaDeviceInfo(*deviceProfile); in populateConnectedDevicePort()
/hardware/interfaces/audio/aidl/default/usb/
DStreamUsb.cpp108 if (auto deviceProfile = alsa::getDeviceProfile(device, mIsInput); in setHwVolume() local
109 deviceProfile.has_value()) { in setHwVolume()
111 deviceProfile->card, in_channelVolumes); in setHwVolume()
114 << ": failed to set volume for device address=" << *deviceProfile; in setHwVolume()