/hardware/interfaces/audio/aidl/default/alsa/ |
D | ModuleAlsa.cpp | 38 auto deviceProfile = alsa::getDeviceProfile(*audioPort); in populateConnectedDevicePort() 42 auto proxy = alsa::readAlsaDeviceInfo(*deviceProfile); in populateConnectedDevicePort() 48 std::vector<AudioChannelLayout> channels = alsa::getChannelMasksFromProfile(profile); in populateConnectedDevicePort() 49 std::vector<int> sampleRates = alsa::getSampleRatesFromProfile(profile); in populateConnectedDevicePort() 55 alsa::c2aidl_pcm_format_AudioFormatDescription(profile->formats[i]); in populateConnectedDevicePort()
|
D | StreamAlsa.cpp | 37 mConfig(alsa::getPcmConfig(getContext(), mIsInput)), in StreamAlsa() 74 alsa::DeviceProxy proxy; in start() 79 proxy = alsa::openProxyForExternalDevice( in start() 83 proxy = alsa::openProxyForAttachedDevice( in start() 127 alsa::resetTransferredFrames(mAlsaDeviceProxies[0], position->frames); in refinePosition()
|
D | Utils.cpp | 38 namespace aidl::android::hardware::audio::core::alsa { namespace 211 alsa::getChannelLayoutMaskFromChannelCount(profile->channel_counts[i], isInput); in getChannelMasksFromProfile() 215 auto indexMask = alsa::getChannelIndexMaskFromChannelCount(profile->channel_counts[i]); in getChannelMasksFromProfile() 225 if (audioDevice.address.getTag() != AudioDeviceAddress::Tag::alsa) { in getDeviceProfile() 229 auto& alsaAddress = audioDevice.address.get<AudioDeviceAddress::Tag::alsa>(); in getDeviceProfile() 253 config.channels = alsa::getChannelCountFromChannelMask(context.getChannelLayout(), isInput); in getPcmConfig() 258 config.format = alsa::aidl2c_AudioFormatDescription_pcm_format(context.getFormat()); in getPcmConfig()
|
D | Mixer.h | 33 namespace aidl::android::hardware::audio::core::alsa {
|
D | Utils.h | 37 namespace aidl::android::hardware::audio::core::alsa {
|
D | Mixer.cpp | 41 namespace aidl::android::hardware::audio::core::alsa { namespace
|
/hardware/interfaces/audio/aidl/default/usb/ |
D | UsbAlsaMixerControl.h | 45 std::shared_ptr<alsa::Mixer> getAlsaMixer(int card); 46 std::map<int, std::shared_ptr<alsa::Mixer>> getAlsaMixers(); 51 std::map<int, std::shared_ptr<alsa::Mixer>> mMixerControls GUARDED_BY(mLock);
|
D | StreamUsb.cpp | 45 std::vector<alsa::DeviceProfile> connectedDeviceProfiles; in setConnectedDevices() 47 auto profile = alsa::getDeviceProfile(connectedDevice, mIsInput); in setConnectedDevices() 73 std::vector<alsa::DeviceProfile> StreamUsb::getDeviceProfiles() { in getDeviceProfiles() 74 std::vector<alsa::DeviceProfile> connectedDevices; in getDeviceProfiles() 108 if (auto deviceProfile = alsa::getDeviceProfile(device, mIsInput); in setHwVolume()
|
D | UsbAlsaMixerControl.cpp | 36 auto alsaMixer = std::make_shared<alsa::Mixer>(card); in setDeviceConnectionState() 87 std::shared_ptr<alsa::Mixer> UsbAlsaMixerControl::getAlsaMixer(int card) { in getAlsaMixer() 93 std::map<int, std::shared_ptr<alsa::Mixer>> UsbAlsaMixerControl::getAlsaMixers() { in getAlsaMixers()
|
D | ModuleUsb.cpp | 120 auto profile = alsa::getDeviceProfile(audioPort); in onExternalDeviceConnectionChanged()
|
/hardware/interfaces/audio/aidl/default/primary/ |
D | PrimaryMixer.h | 31 class PrimaryMixer : public alsa::Mixer { 39 PrimaryMixer() : alsa::Mixer(kAlsaCard) {} in PrimaryMixer()
|
D | StreamPrimary.cpp | 94 std::vector<alsa::DeviceProfile> StreamPrimary::getDeviceProfiles() { in getDeviceProfiles() 95 static const std::vector<alsa::DeviceProfile> kBuiltInSource{ in getDeviceProfiles() 96 alsa::DeviceProfile{.card = primary::PrimaryMixer::kAlsaCard, in getDeviceProfiles() 100 static const std::vector<alsa::DeviceProfile> kBuiltInSink{ in getDeviceProfiles() 101 alsa::DeviceProfile{.card = primary::PrimaryMixer::kAlsaCard, in getDeviceProfiles()
|
/hardware/interfaces/audio/common/all-versions/default/tests/ |
D | hidlutils6_tests.cpp | 43 return lhs.address.alsa == rhs.address.alsa; in operator ==() 92 usbHeadset.address.alsa = {1, 2}; in TEST()
|
/hardware/interfaces/audio/aidl/default/include/core-impl/ |
D | StreamAlsa.h | 49 virtual std::vector<alsa::DeviceProfile> getDeviceProfiles() = 0; 58 std::vector<alsa::DeviceProxy> mAlsaDeviceProxies;
|
D | StreamUsb.h | 40 std::vector<alsa::DeviceProfile> getDeviceProfiles() override; 43 std::vector<alsa::DeviceProfile> mConnectedDeviceProfiles GUARDED_BY(mLock);
|
D | StreamPrimary.h | 36 std::vector<alsa::DeviceProfile> getDeviceProfiles() override;
|
/hardware/interfaces/audio/aidl/default/ |
D | Android.bp | 67 "alsa/Mixer.cpp", 68 "alsa/ModuleAlsa.cpp", 69 "alsa/StreamAlsa.cpp", 70 "alsa/Utils.cpp",
|
/hardware/qcom/audio/legacy/alsa_sound/ |
D | Android.mk | 50 LOCAL_C_INCLUDES += $(TARGET_OUT_HEADERS)/mm-audio/audio-alsa 134 LOCAL_MODULE:= alsa.msm8960
|
/hardware/interfaces/audio/common/all-versions/default/ |
D | HidlUtils.h | 216 device.address.alsa.card, device.address.alsa.device); in deviceAddressToHalImpl() 254 int status = sscanf(halDeviceAddress, "card=%d;device=%d", &device->address.alsa.card, in deviceAddressFromHalImpl() 255 &device->address.alsa.device); in deviceAddressFromHalImpl()
|
/hardware/google/graphics/common/libv4l2/ |
D | media.h | 85 } alsa; member
|
/hardware/google/gchips/include/ |
D | media.h | 85 } alsa; member
|
/hardware/interfaces/audio/common/all-versions/default/7.0/ |
D | HidlUtils.cpp | 1095 device->address.alsa({}); in audioUsageFromHal() 1097 auto& alsa = device->address.alsa(); in audioUsageFromHal() local 1098 int status = sscanf(halDeviceAddress, "card=%d;device=%d", &alsa.card, &alsa.device); in audioUsageFromHal() 1140 if (device.address.getDiscriminator() == DeviceAddress::Address::hidl_discriminator::alsa) { in audioUsageFromHal() 1141 const auto& alsa = device.address.alsa(); in audioUsageFromHal() local 1142 snprintf(halDeviceAddress, AUDIO_DEVICE_MAX_ADDRESS_LEN, "card=%d;device=%d", alsa.card, in audioUsageFromHal() 1143 alsa.device); in audioUsageFromHal()
|
/hardware/interfaces/audio/core/all-versions/vts/functional/7.1/ |
D | AudioPrimaryHidlHalTest.cpp | 31 address.address.alsa({0, 0}); in TEST_P()
|
/hardware/interfaces/audio/2.0/ |
D | types.hal | 70 } alsa; // used for USB_*
|
/hardware/interfaces/audio/core/all-versions/vts/functional/4.0/ |
D | AudioPrimaryHidlHalTest.cpp | 139 address.address.alsa({0, 0});
|