Home
last modified time | relevance | path

Searched refs:ConversionResult (Results 1 – 25 of 46) sorted by relevance

12

/frameworks/av/media/audioaidlconversion/include/media/
DAidlConversionCppNdk-impl.h89 ConversionResult<std::string> legacy2aidl_string(const char* legacy, size_t maxSize);
91 ConversionResult<audio_module_handle_t> aidl2legacy_int32_t_audio_module_handle_t(int32_t aidl);
92 ConversionResult<int32_t> legacy2aidl_audio_module_handle_t_int32_t(audio_module_handle_t legacy);
94 ConversionResult<audio_io_handle_t> aidl2legacy_int32_t_audio_io_handle_t(int32_t aidl);
95 ConversionResult<int32_t> legacy2aidl_audio_io_handle_t_int32_t(audio_io_handle_t legacy);
97 ConversionResult<audio_port_handle_t> aidl2legacy_int32_t_audio_port_handle_t(int32_t aidl);
98 ConversionResult<int32_t> legacy2aidl_audio_port_handle_t_int32_t(audio_port_handle_t legacy);
100 ConversionResult<audio_patch_handle_t> aidl2legacy_int32_t_audio_patch_handle_t(int32_t aidl);
101 ConversionResult<int32_t> legacy2aidl_audio_patch_handle_t_int32_t(audio_patch_handle_t legacy);
103 ConversionResult<audio_unique_id_t> aidl2legacy_int32_t_audio_unique_id_t(int32_t aidl);
[all …]
DAidlConversionEffect.h37 ConversionResult<T> getParameterSpecific(const P& u) { in getParameterSpecific()
43 ConversionResult<F> getParameterSpecificField(const P& u) { in getParameterSpecificField()
82 ConversionResult<uint32_t> aidl2legacy_Flags_Type_uint32(
84 ConversionResult<uint32_t> aidl2legacy_Flags_Insert_uint32(
86 ConversionResult<uint32_t> aidl2legacy_Flags_Volume_uint32(
88 ConversionResult<uint32_t> aidl2legacy_Flags_HardwareAccelerator_uint32(
90 ConversionResult<uint32_t> aidl2legacy_Flags_uint32(
93 ConversionResult<::aidl::android::hardware::audio::effect::Flags::Type>
95 ConversionResult<::aidl::android::hardware::audio::effect::Flags::Insert>
97 ConversionResult<::aidl::android::hardware::audio::effect::Flags::Volume>
[all …]
DAidlConversionNdk.h37 ConversionResult<buffer_config_t> aidl2legacy_AudioConfig_buffer_config_t(
39 ConversionResult<media::audio::common::AudioConfig> legacy2aidl_buffer_config_t_AudioConfig(
44 ConversionResult<std::vector<std::string>> legacy2aidl_AudioAttributesTags(const char* legacy);
46 ConversionResult<playback_track_metadata_v7>
49 ConversionResult<hardware::audio::common::PlaybackTrackMetadata>
53 ConversionResult<record_track_metadata_v7>
56 ConversionResult<hardware::audio::common::RecordTrackMetadata>
DAidlConversionUtil-impl.h51 using ConversionResult = ::android::ConversionResult<T>; variable
59 ConversionResult<To> convertIntegral(From from) { in convertIntegral()
83 ConversionResult<To> convertReinterpret(From from) { in convertReinterpret()
140 ConversionResult<OutputContainer>
155 ConversionResult<OutputContainer>
172 ConversionResult<OutputContainer>
192 ConversionResult<std::pair<OutputContainer1, OutputContainer2>>
283 ConversionResult<DestMask> convertBitmask(
284 SrcMask src, const std::function<ConversionResult<DestEnum>(SrcEnum)>& enumConversion,
323 ConversionResult<UnionFieldType<T, tag>> unionGetField(const T& u) {
DAidlConversionCore.h29 ConversionResult<audio_microphone_direction_t>
32 ConversionResult<hardware::audio::core::IStreamIn::MicrophoneDirection>
DAidlConversionNdkCpp.h39 ConversionResult<::aidl::packageName::className> \
41 ConversionResult<::packageName::className> \
/frameworks/av/media/libaudioclient/include/media/
DPolicyAidlConversion.h42 ConversionResult<product_strategy_t>
44 ConversionResult<int32_t>
47 ConversionResult<uint32_t>
49 ConversionResult<media::AudioMixType>
52 ConversionResult<uint32_t>
54 ConversionResult<media::AudioMixCallbackFlag>
57 ConversionResult<uint32_t>
59 ConversionResult<int32_t>
62 ConversionResult<uint32_t>
64 ConversionResult<media::AudioMixRouteFlag>
[all …]
DAidlConversion.h49 ConversionResult<audio_io_config_event_t> aidl2legacy_AudioIoConfigEvent_audio_io_config_event_t(
51 ConversionResult<media::AudioIoConfigEvent> legacy2aidl_audio_io_config_event_t_AudioIoConfigEvent(
54 ConversionResult<audio_port_role_t> aidl2legacy_AudioPortRole_audio_port_role_t(
56 ConversionResult<media::AudioPortRole> legacy2aidl_audio_port_role_t_AudioPortRole(
59 ConversionResult<audio_port_type_t> aidl2legacy_AudioPortType_audio_port_type_t(
61 ConversionResult<media::AudioPortType> legacy2aidl_audio_port_type_t_AudioPortType(
64 ConversionResult<audio_port_config_device_ext>
73 ConversionResult<audio_port_config_mix_ext> aidl2legacy_AudioPortMixExt(
80 ConversionResult<audio_port_config_session_ext>
82 ConversionResult<int32_t> legacy2aidl_audio_port_config_session_ext_AudioPortConfigSessionExt(
[all …]
DVolumeGroupAttributes.h70 ConversionResult<media::AudioAttributesEx>
72 ConversionResult<VolumeGroupAttributes>
DAudioVolumeGroup.h57 ConversionResult<media::AudioVolumeGroup>
59 ConversionResult<AudioVolumeGroup>
/frameworks/av/media/audioaidlconversion/
DAidlConversionEffect.cpp61 ConversionResult<uint32_t> aidl2legacy_Flags_Type_uint32(Flags::Type type) { in aidl2legacy_Flags_Type_uint32()
77 ConversionResult<Flags::Type> legacy2aidl_uint32_Flags_Type(uint32_t legacy) { in legacy2aidl_uint32_Flags_Type()
93 ConversionResult<uint32_t> aidl2legacy_Flags_Insert_uint32(Flags::Insert insert) { in aidl2legacy_Flags_Insert_uint32()
107 ConversionResult<Flags::Insert> legacy2aidl_uint32_Flags_Insert(uint32_t legacy) { in legacy2aidl_uint32_Flags_Insert()
121 ConversionResult<uint32_t> aidl2legacy_Flags_Volume_uint32(Flags::Volume volume) { in aidl2legacy_Flags_Volume_uint32()
135 ConversionResult<Flags::Volume> legacy2aidl_uint32_Flags_Volume(uint32_t legacy) { in legacy2aidl_uint32_Flags_Volume()
149 ConversionResult<uint32_t> aidl2legacy_Flags_uint32(Flags aidl) { in aidl2legacy_Flags_uint32()
174 ConversionResult<Flags> legacy2aidl_uint32_Flags(uint32_t legacy) { in legacy2aidl_uint32_Flags()
189 ConversionResult<uint32_t> aidl2legacy_Flags_HardwareAccelerator_uint32( in aidl2legacy_Flags_HardwareAccelerator_uint32()
202 ConversionResult<Flags::HardwareAccelerator> legacy2aidl_uint32_Flags_HardwareAccelerator( in legacy2aidl_uint32_Flags_HardwareAccelerator()
[all …]
DAidlConversionCppNdk.cpp123 ConversionResult<std::string> legacy2aidl_string(const char* legacy, size_t maxSize) { in legacy2aidl_string()
134 ConversionResult<audio_module_handle_t> aidl2legacy_int32_t_audio_module_handle_t(int32_t aidl) { in aidl2legacy_int32_t_audio_module_handle_t()
138 ConversionResult<int32_t> legacy2aidl_audio_module_handle_t_int32_t(audio_module_handle_t legacy) { in legacy2aidl_audio_module_handle_t_int32_t()
142 ConversionResult<audio_io_handle_t> aidl2legacy_int32_t_audio_io_handle_t(int32_t aidl) { in aidl2legacy_int32_t_audio_io_handle_t()
146 ConversionResult<int32_t> legacy2aidl_audio_io_handle_t_int32_t(audio_io_handle_t legacy) { in legacy2aidl_audio_io_handle_t_int32_t()
150 ConversionResult<audio_port_handle_t> aidl2legacy_int32_t_audio_port_handle_t(int32_t aidl) { in aidl2legacy_int32_t_audio_port_handle_t()
154 ConversionResult<int32_t> legacy2aidl_audio_port_handle_t_int32_t(audio_port_handle_t legacy) { in legacy2aidl_audio_port_handle_t_int32_t()
158 ConversionResult<audio_patch_handle_t> aidl2legacy_int32_t_audio_patch_handle_t(int32_t aidl) { in aidl2legacy_int32_t_audio_patch_handle_t()
162 ConversionResult<int32_t> legacy2aidl_audio_patch_handle_t_int32_t(audio_patch_handle_t legacy) { in legacy2aidl_audio_patch_handle_t_int32_t()
166 ConversionResult<audio_unique_id_t> aidl2legacy_int32_t_audio_unique_id_t(int32_t aidl) { in aidl2legacy_int32_t_audio_unique_id_t()
[all …]
DAidlConversionNdkCpp.cpp61 ConversionResult<NdkType> cpp2ndk(const CppType& cpp) { in cpp2ndk()
76 ConversionResult<CppType> ndk2cpp(const NdkType& ndk) { in ndk2cpp()
97 ConversionResult<OutEnum> convertEnum(const OutEnumRange& range, InEnum e) { in convertEnum()
110 ConversionResult<NdkEnum> cpp2ndk_Enum(CppEnum cpp) { in cpp2ndk_Enum()
115 ConversionResult<CppEnum> ndk2cpp_Enum(NdkEnum ndk) { in ndk2cpp_Enum()
125 ConversionResult<::aidl::packageName::className> cpp2ndk##prefix##className( \
129 ConversionResult<::packageName::className> ndk2cpp##prefix##className( \
135 ConversionResult<::aidl::packageName::className> cpp2ndk_##className( \
139 ConversionResult<::packageName::className> ndk2cpp_##className( \
167 ConversionResult<::aidl::android::media::audio::common::AudioHalEngineConfig>
[all …]
DAidlConversionNdk.cpp82 ConversionResult<buffer_config_t> aidl2legacy_AudioConfig_buffer_config_t( in aidl2legacy_AudioConfig_buffer_config_t()
102 ConversionResult<media::audio::common::AudioConfig>
132 ConversionResult<std::vector<std::string>> legacy2aidl_AudioAttributesTags(const char* legacy) { in legacy2aidl_AudioAttributesTags()
138 ConversionResult<playback_track_metadata_v7>
151 ConversionResult<PlaybackTrackMetadata>
165 ConversionResult<record_track_metadata_v7>
182 ConversionResult<RecordTrackMetadata>
DAidlConversionCore.cpp33 ConversionResult<audio_microphone_direction_t>
48 ConversionResult<MicrophoneDirection>
/frameworks/av/media/libaudioclient/
DPolicyAidlConversion.cpp30 ConversionResult<uint32_t>
41 ConversionResult<media::AudioMixType>
52 ConversionResult<uint32_t>
61 ConversionResult<media::AudioMixCallbackFlag>
70 ConversionResult<uint32_t>
79 ConversionResult<int32_t>
88 ConversionResult<uint32_t>
99 ConversionResult<media::AudioMixRouteFlag>
110 ConversionResult<uint32_t>
119 ConversionResult<int32_t>
[all …]
DAidlConversion.cpp69 ConversionResult<audio_port_role_t> aidl2legacy_AudioPortRole_audio_port_role_t( in aidl2legacy_AudioPortRole_audio_port_role_t()
82 ConversionResult<media::AudioPortRole> legacy2aidl_audio_port_role_t_AudioPortRole( in legacy2aidl_audio_port_role_t_AudioPortRole()
95 ConversionResult<audio_port_type_t> aidl2legacy_AudioPortType_audio_port_type_t( in aidl2legacy_AudioPortType_audio_port_type_t()
110 ConversionResult<media::AudioPortType> legacy2aidl_audio_port_type_t_AudioPortType( in legacy2aidl_audio_port_type_t_AudioPortType()
125 ConversionResult<AudioPortDirection> portDirection( in portDirection()
134 ConversionResult<audio_io_config_event_t> aidl2legacy_AudioIoConfigEvent_audio_io_config_event_t( in aidl2legacy_AudioIoConfigEvent_audio_io_config_event_t()
159 ConversionResult<media::AudioIoConfigEvent> legacy2aidl_audio_io_config_event_t_AudioIoConfigEvent( in legacy2aidl_audio_io_config_event_t_AudioIoConfigEvent()
183 ConversionResult<audio_port_config_mix_ext_usecase> aidl2legacy_AudioPortMixExtUseCase( in aidl2legacy_AudioPortMixExtUseCase()
202 ConversionResult<AudioPortMixExtUseCase> legacy2aidl_AudioPortMixExtUseCase( in legacy2aidl_AudioPortMixExtUseCase()
220 ConversionResult<audio_port_config_mix_ext> aidl2legacy_AudioPortMixExt( in aidl2legacy_AudioPortMixExt()
[all …]
DVolumeGroupAttributes.cpp47 ConversionResult<media::AudioAttributesEx>
58 ConversionResult<VolumeGroupAttributes>
DIAudioFlinger.cpp57 ConversionResult<media::CreateTrackRequest> IAudioFlinger::CreateTrackInput::toAidl() const { in toAidl()
77 ConversionResult<IAudioFlinger::CreateTrackInput>
100 ConversionResult<media::CreateTrackResponse>
127 ConversionResult<IAudioFlinger::CreateTrackOutput>
157 ConversionResult<media::CreateRecordRequest>
176 ConversionResult<IAudioFlinger::CreateRecordInput>
198 ConversionResult<media::CreateRecordResponse>
220 ConversionResult<IAudioFlinger::CreateRecordOutput>
261 auto result = [&]() -> ConversionResult<uint32_t> { in sampleRate()
272 auto result = [&]() -> ConversionResult<audio_format_t> { in format()
[all …]
/frameworks/av/media/libaudiofoundation/include/media/
DAudioProfile.h84 ConversionResult<Aidl> toParcelable(bool isInput) const;
85 static ConversionResult<sp<AudioProfile>> fromParcelable(
88 ConversionResult<media::audio::common::AudioProfile>
90 static ConversionResult<sp<AudioProfile>> fromCommonParcelable(
111 ConversionResult<sp<AudioProfile>>
113 ConversionResult<AudioProfile::Aidl>
116 ConversionResult<sp<AudioProfile>>
118 ConversionResult<media::audio::common::AudioProfile>
162 ConversionResult<AudioProfileVector>
164 ConversionResult<AudioProfileVector::Aidl>
DAudioGain.h75 ConversionResult<Aidl> toParcelable() const;
76 static ConversionResult<sp<AudioGain>> fromParcelable(const Aidl& aidl);
86 ConversionResult<sp<AudioGain>>
88 ConversionResult<AudioGain::Aidl>
118 ConversionResult<AudioGains>
120 ConversionResult<AudioGains::Aidl>
/frameworks/av/media/libaudiohal/impl/effectsAidlConversion/
DAidlConversionDynamicsProcessing.h40 ConversionResult<
43 ConversionResult<aidl::android::hardware::audio::effect::DynamicsProcessing::EqBandConfig>
45 ConversionResult<
48 ConversionResult<
51 ConversionResult<
DAidlConversionEq.h37 ConversionResult<::aidl::android::hardware::audio::effect::Parameter> getAidlParameter(
39 ConversionResult<int32_t> getParameterPreset();
40 ConversionResult<std::string> getParameterPresetName(utils::EffectParamWriter& param);
/frameworks/av/media/libaudiofoundation/
DAudioProfile.cpp156 ConversionResult<AudioProfile::Aidl>
166 ConversionResult<sp<AudioProfile>> AudioProfile::fromParcelable( in fromParcelable()
176 ConversionResult<media::audio::common::AudioProfile>
200 ConversionResult<sp<AudioProfile>> AudioProfile::fromCommonParcelable( in fromCommonParcelable()
220 ConversionResult<sp<AudioProfile>>
225 ConversionResult<AudioProfile::Aidl>
230 ConversionResult<sp<AudioProfile>>
235 ConversionResult<media::audio::common::AudioProfile>
396 ConversionResult<AudioProfileVector>
405 ConversionResult<AudioProfileVector::Aidl>
DAudioGain.cpp122 ConversionResult<AudioGain::Aidl> AudioGain::toParcelable() const { in toParcelable()
132 ConversionResult<sp<AudioGain>> AudioGain::fromParcelable(const AudioGain::Aidl& aidl) { in fromParcelable()
150 ConversionResult<sp<AudioGain>>
155 ConversionResult<AudioGain::Aidl>
160 ConversionResult<AudioGains>
169 ConversionResult<AudioGains::Aidl>

12