/frameworks/av/services/audiopolicy/tests/ |
D | AudioPolicyManagerTestClient.h | 223 struct audio_port_v7 *mixPort) override { in getAudioMixPort() argument 224 mixPort->num_audio_profiles = 0; in getAudioMixPort() 226 const int i = mixPort->num_audio_profiles; in getAudioMixPort() 227 mixPort->audio_profiles[i].format = format; in getAudioMixPort() 228 mixPort->audio_profiles[i].num_sample_rates = 1; in getAudioMixPort() 229 mixPort->audio_profiles[i].sample_rates[0] = 48000; in getAudioMixPort() 230 mixPort->audio_profiles[i].num_channel_masks = 0; in getAudioMixPort() 233 mixPort->audio_profiles[i].channel_masks[ in getAudioMixPort() 234 mixPort->audio_profiles[i].num_channel_masks++] = cm; in getAudioMixPort() 237 mixPort->num_audio_profiles++; in getAudioMixPort()
|
D | AudioPolicyTestClient.h | 110 struct audio_port_v7 *mixPort __unused) override { in getAudioMixPort()
|
/frameworks/base/media/java/android/media/ |
D | AudioMixPortConfig.java | 33 AudioMixPortConfig(AudioMixPort mixPort, int samplingRate, int channelMask, int format, in AudioMixPortConfig() argument 35 super((AudioPort)mixPort, samplingRate, channelMask, format, gain); in AudioMixPortConfig()
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
D | AudioPolicyConfig.cpp | 92 auto mixPort = sp<IOProfile>::make("", AUDIO_PORT_ROLE_NONE); in aidl2legacy_AudioHwModule_HwModule() local 93 RETURN_STATUS_IF_ERROR(mixPort->readFromParcelable(fwPort)); in aidl2legacy_AudioHwModule_HwModule() 94 auto& profiles = mixPort->getAudioProfiles(); in aidl2legacy_AudioHwModule_HwModule() 98 sortAudioProfiles(mixPort->getAudioProfiles()); in aidl2legacy_AudioHwModule_HwModule() 100 mixPorts.add(mixPort); in aidl2legacy_AudioHwModule_HwModule() 101 ports.emplace(aidlPort.id, mixPort); in aidl2legacy_AudioHwModule_HwModule()
|
D | Serializer.cpp | 467 MixPortTraits::Element mixPort = new IOProfile(name, portRole); in deserialize() local 480 mixPort->setAudioProfiles(profiles); in deserialize() 493 mixPort->setFlags(intFlags); in deserialize() 496 mixPort->setFlags(InputFlagConverter::maskFromString(flags, mFlagsSeparator.c_str())); in deserialize() 501 convertTo(maxOpenCount, mixPort->maxOpenCount); in deserialize() 505 convertTo(maxActiveCount, mixPort->maxActiveCount); in deserialize() 511 convertTo(recommendedmuteDurationMsLiteral, mixPort->recommendedMuteDurationMs); in deserialize() 520 mixPort->setGains(gains); in deserialize() 522 return mixPort; in deserialize()
|
/frameworks/av/services/audioflinger/datapath/ |
D | AudioHwDevice.cpp | 189 struct audio_port_v7 *mixPort) const { in getAudioMixPort() 190 return mHwDevice->getAudioMixPort(devicePort, mixPort); in getAudioMixPort()
|
D | AudioHwDevice.h | 116 struct audio_port_v7 *mixPort) const;
|
/frameworks/av/media/libaudiohal/impl/ |
D | DeviceHalHidl.cpp | 748 struct audio_port_v7 *mixPort) { in getAudioMixPort() argument 764 auto streamIt = mStreams.find(mixPort->ext.mix.handle); in getAudioMixPort() 782 mixPort->num_audio_profiles = 0; in getAudioMixPort() 784 if (mixPort->num_audio_profiles >= AUDIO_PORT_MAX_AUDIO_PROFILES) { in getAudioMixPort() 828 sampleRatesFromStream, mixPort->audio_profiles, in getAudioMixPort() 829 &mixPort->num_audio_profiles); in getAudioMixPort()
|
D | DeviceHalAidl.cpp | 717 struct audio_port_v7 *mixPort) { in getAudioMixPort() argument 721 if (devicePort == nullptr || mixPort == nullptr || in getAudioMixPort() 722 devicePort->type != AUDIO_PORT_TYPE_DEVICE || mixPort->type != AUDIO_PORT_TYPE_MIX) { in getAudioMixPort() 726 ::aidl::android::legacy2aidl_audio_io_handle_t_int32_t(mixPort->ext.mix.handle)); in getAudioMixPort() 733 mixPort->role, mixPort->type)) == ::aidl::android::AudioPortDirection::INPUT; in getAudioMixPort() 734 *mixPort = VALUE_OR_RETURN_STATUS(::aidl::android::aidl2legacy_AudioPort_audio_port_v7( in getAudioMixPort()
|
D | DeviceHalHidl.h | 150 struct audio_port_v7* mixPort) override;
|
D | DeviceHalAidl.h | 183 struct audio_port_v7* mixPort) override;
|
/frameworks/av/services/audioflinger/ |
D | PatchPanel.h | 79 status_t getAudioMixPort_l(const audio_port_v7* devicePort, audio_port_v7* mixPort) final
|
D | PatchPanel.cpp | 485 audio_port_v7 *mixPort) { in getAudioMixPort_l() argument 490 if (mixPort->type != AUDIO_PORT_TYPE_MIX) { in getAudioMixPort_l() 499 return hwDevice->getAudioMixPort(devicePort, mixPort); in getAudioMixPort_l()
|
D | IAfPatchPanel.h | 311 struct audio_port_v7* mixPort) REQUIRES(audio_utils::AudioFlinger_Mutex) = 0;
|
D | AudioFlinger.h | 263 struct audio_port_v7* mixPort) const final EXCLUDES_AudioFlinger_Mutex;
|
D | AudioFlinger.cpp | 4966 struct audio_port_v7 *mixPort) const { in getAudioMixPort() 4971 if (status_t status = AudioValidator::validateAudioPort(*mixPort); status != NO_ERROR) { in getAudioMixPort() 4977 return mPatchPanel->getAudioMixPort_l(devicePort, mixPort); in getAudioMixPort()
|
/frameworks/av/media/libaudiohal/include/media/audiohal/ |
D | DeviceHalInterface.h | 165 struct audio_port_v7* mixPort) = 0;
|
/frameworks/av/media/libaudioclient/aidl/android/media/ |
D | IAudioFlingerService.aidl | 295 AudioPortFw getAudioMixPort(in AudioPortFw devicePort, in AudioPortFw mixPort); in getAudioMixPort() argument
|
/frameworks/av/media/libaudioclient/ |
D | IAudioFlinger.cpp | 906 struct audio_port_v7 *mixPort) const { in getAudioMixPort() 907 if (devicePort == nullptr || mixPort == nullptr) { in getAudioMixPort() 913 legacy2aidl_audio_port_v7_AudioPortFw(*mixPort)); in getAudioMixPort() 917 *mixPort = VALUE_OR_RETURN_STATUS(aidl2legacy_AudioPortFw_audio_port_v7(aidlRet)); in getAudioMixPort() 1479 const media::AudioPortFw &mixPort, in getAudioMixPort() argument 1484 aidl2legacy_AudioPortFw_audio_port_v7(mixPort)); in getAudioMixPort()
|
/frameworks/av/media/libaudioclient/include/media/ |
D | IAudioFlinger.h | 391 struct audio_port_v7 *mixPort) const = 0; 512 struct audio_port_v7 *mixPort) const override; 755 const media::AudioPortFw& mixPort,
|
/frameworks/av/services/audiopolicy/managerdefault/ |
D | AudioPolicyManager.cpp | 8606 audio_port_v7 mixPort; in updateAudioProfiles() local 8607 profile->toAudioPort(&mixPort); in updateAudioProfiles() 8608 mixPort.ext.mix.handle = ioHandle; in updateAudioProfiles() 8610 status_t status = mpClientInterface->getAudioMixPort(&devicePort, &mixPort); in updateAudioProfiles() 8617 for (size_t i = 0; i < mixPort.num_audio_profiles; ++i) { in updateAudioProfiles() 8618 supportedFormats.insert(mixPort.audio_profiles[i].format); in updateAudioProfiles() 8627 for (size_t i = 0; i < mixPort.num_audio_profiles; ++i) { in updateAudioProfiles() 8628 if (std::find(formats.begin(), formats.end(), mixPort.audio_profiles[i].format) == in updateAudioProfiles() 8633 memcpy(&mixPort.audio_profiles[modifiedNumProfiles], &mixPort.audio_profiles[i], in updateAudioProfiles() 8635 ChannelMaskSet channels(mixPort.audio_profiles[modifiedNumProfiles].channel_masks, in updateAudioProfiles() [all …]
|
/frameworks/av/services/audiopolicy/ |
D | AudioPolicyInterface.h | 593 struct audio_port_v7 *mixPort) = 0;
|