Home
last modified time | relevance | path

Searched refs:aidl (Results 1 – 25 of 1112) sorted by relevance

12345678910>>...45

/frameworks/av/media/libaudioclient/
DAndroid.bp31 "audioflinger-aidl-cpp",
32 "audiopolicy-aidl-cpp",
33 "av-types-aidl-cpp",
34 "spatializer-aidl-cpp",
37 "audioflinger-aidl-cpp",
38 "audiopolicy-aidl-cpp",
39 "av-types-aidl-cpp",
40 "spatializer-aidl-cpp",
62 "audioclient-types-aidl-cpp",
63 "audioflinger-aidl-cpp",
[all …]
DAidlConversion.cpp70 media::AudioPortRole aidl) { in aidl2legacy_AudioPortRole_audio_port_role_t() argument
71 switch (aidl) { in aidl2legacy_AudioPortRole_audio_port_role_t()
96 media::AudioPortType aidl) { in aidl2legacy_AudioPortType_audio_port_type_t() argument
97 switch (aidl) { in aidl2legacy_AudioPortType_audio_port_type_t()
135 media::AudioIoConfigEvent aidl) { in aidl2legacy_AudioIoConfigEvent_audio_io_config_event_t() argument
136 switch (aidl) { in aidl2legacy_AudioIoConfigEvent_audio_io_config_event_t()
184 const AudioPortMixExtUseCase& aidl, media::AudioPortRole role) { in aidl2legacy_AudioPortMixExtUseCase() argument
189 VALUE_OR_RETURN(UNION_GET(aidl, unspecified)); in aidl2legacy_AudioPortMixExtUseCase()
194 aidl, false /*isInput*/); in aidl2legacy_AudioPortMixExtUseCase()
197 aidl, true /*isInput*/); in aidl2legacy_AudioPortMixExtUseCase()
[all …]
DPolicyAidlConversion.cpp31 aidl2legacy_AudioMixType_uint32_t(media::AudioMixType aidl) { in aidl2legacy_AudioMixType_uint32_t() argument
32 switch (aidl) { in aidl2legacy_AudioMixType_uint32_t()
53 aidl2legacy_AudioMixCallbackFlag_uint32_t(media::AudioMixCallbackFlag aidl) { in aidl2legacy_AudioMixCallbackFlag_uint32_t() argument
54 switch (aidl) { in aidl2legacy_AudioMixCallbackFlag_uint32_t()
71 aidl2legacy_AudioMixCallbackFlag_uint32_t_mask(int32_t aidl) { in aidl2legacy_AudioMixCallbackFlag_uint32_t_mask() argument
73 aidl, in aidl2legacy_AudioMixCallbackFlag_uint32_t_mask()
89 aidl2legacy_AudioMixRouteFlag_uint32_t(media::AudioMixRouteFlag aidl) { in aidl2legacy_AudioMixRouteFlag_uint32_t() argument
90 switch (aidl) { in aidl2legacy_AudioMixRouteFlag_uint32_t()
111 aidl2legacy_AudioMixRouteFlag_uint32_t_mask(int32_t aidl) { in aidl2legacy_AudioMixRouteFlag_uint32_t_mask() argument
113 aidl, in aidl2legacy_AudioMixRouteFlag_uint32_t_mask()
[all …]
DAudioVolumeGroup.cpp34 media::AudioVolumeGroup aidl; in readFromParcel() local
35 RETURN_STATUS_IF_ERROR(aidl.readFromParcel(parcel)); in readFromParcel()
36 *this = VALUE_OR_RETURN_STATUS(aidl2legacy_AudioVolumeGroup(aidl)); in readFromParcel()
42 media::AudioVolumeGroup aidl = VALUE_OR_RETURN_STATUS(legacy2aidl_AudioVolumeGroup(*this)); in writeToParcel() local
43 return aidl.writeToParcel(parcel); in writeToParcel()
48 media::AudioVolumeGroup aidl; in legacy2aidl_AudioVolumeGroup() local
49 aidl.groupId = VALUE_OR_RETURN(legacy2aidl_volume_group_t_int32_t(legacy.getId())); in legacy2aidl_AudioVolumeGroup()
50 aidl.name = legacy.getName(); in legacy2aidl_AudioVolumeGroup()
51 aidl.audioAttributes = VALUE_OR_RETURN( in legacy2aidl_AudioVolumeGroup()
55 aidl.streams = VALUE_OR_RETURN( in legacy2aidl_AudioVolumeGroup()
[all …]
DVolumeGroupAttributes.cpp35 media::AudioAttributesEx aidl; in readFromParcel() local
36 RETURN_STATUS_IF_ERROR(aidl.readFromParcel(parcel)); in readFromParcel()
37 *this = VALUE_OR_RETURN_STATUS(aidl2legacy_AudioAttributesEx_VolumeGroupAttributes(aidl)); in readFromParcel()
42 media::AudioAttributesEx aidl = VALUE_OR_RETURN_STATUS( in writeToParcel() local
44 return aidl.writeToParcel(parcel); in writeToParcel()
49 media::AudioAttributesEx aidl; in legacy2aidl_VolumeGroupAttributes_AudioAttributesEx() local
50 aidl.attributes = VALUE_OR_RETURN( in legacy2aidl_VolumeGroupAttributes_AudioAttributesEx()
52 aidl.streamType = VALUE_OR_RETURN( in legacy2aidl_VolumeGroupAttributes_AudioAttributesEx()
54 aidl.groupId = VALUE_OR_RETURN(legacy2aidl_volume_group_t_int32_t(legacy.getGroupId())); in legacy2aidl_VolumeGroupAttributes_AudioAttributesEx()
55 return aidl; in legacy2aidl_VolumeGroupAttributes_AudioAttributesEx()
[all …]
DAudioProductStrategy.cpp27 media::AudioProductStrategy aidl; in readFromParcel() local
28 RETURN_STATUS_IF_ERROR(aidl.readFromParcel(parcel)); in readFromParcel()
29 *this = VALUE_OR_RETURN_STATUS(aidl2legacy_AudioProductStrategy(aidl)); in readFromParcel()
34 media::AudioProductStrategy aidl = VALUE_OR_RETURN_STATUS( in writeToParcel() local
36 return aidl.writeToParcel(parcel); in writeToParcel()
41 media::AudioProductStrategy aidl; in legacy2aidl_AudioProductStrategy() local
42 aidl.name = legacy.getName(); in legacy2aidl_AudioProductStrategy()
43 aidl.audioAttributes = VALUE_OR_RETURN( in legacy2aidl_AudioProductStrategy()
47 aidl.id = VALUE_OR_RETURN(legacy2aidl_product_strategy_t_int32_t(legacy.getId())); in legacy2aidl_AudioProductStrategy()
48 return aidl; in legacy2aidl_AudioProductStrategy()
[all …]
/frameworks/base/media/tests/aidltests/src/com/android/media/
DAidlConversionUnitTests.java62 final AudioChannelLayout aidl = new AudioChannelLayout(); in testAudioChannelConversionApiDefault() local
64 aidl, false /*isInput*/); in testAudioChannelConversionApiDefault()
67 aidl, true /*isInput*/); in testAudioChannelConversionApiDefault()
73 final AudioChannelLayout aidl = AudioChannelLayout.layoutMask( in testAudioChannelConversionApiOutput() local
76 aidl, false /*isInput*/); in testAudioChannelConversionApiOutput()
82 final AudioChannelLayout aidl = AudioChannelLayout.layoutMask( in testAudioChannelConversionApiOutputMask() local
87 aidl, false /*isInput*/); in testAudioChannelConversionApiOutputMask()
95 final AudioChannelLayout aidl = AudioChannelLayout.layoutMask( in testAudioChannelConversionApiInput() local
98 aidl, true /*isInput*/); in testAudioChannelConversionApiInput()
104 final AudioChannelLayout aidl = AudioChannelLayout.layoutMask( in testAudioChannelConversionApiInputMask() local
[all …]
/frameworks/base/media/java/android/media/audio/common/
DAidlConversion.java63 @NonNull AudioChannelLayout aidl, boolean isInput) { in aidl2legacy_AudioChannelLayout_audio_channel_mask_t()
65 aidl.writeToParcel(out, 0); in aidl2legacy_AudioChannelLayout_audio_channel_mask_t()
91 @NonNull AudioFormatDescription aidl) { in aidl2legacy_AudioFormatDescription_audio_format_t()
93 aidl.writeToParcel(out, 0); in aidl2legacy_AudioFormatDescription_audio_format_t()
119 int /*AudioEncapsulationMode.* */ aidl); in aidl2legacy_AudioEncapsulationMode_audio_encapsulation_mode_t()
127 int /*AudioStreamType.* */ aidl); in aidl2legacy_AudioStreamType_audio_stream_type_t()
134 public static native int aidl2legacy_AudioUsage_audio_usage_t(int /*AudioUsage.* */ aidl); in aidl2legacy_AudioUsage_audio_usage_t() argument
424 @NonNull AudioConfig aidl, boolean isInput) { in aidl2api_AudioConfig_AudioFormat()
426 return aidl2api_AudioConfigBase_AudioFormat(aidl.base, isInput); in aidl2api_AudioConfig_AudioFormat()
431 @NonNull AudioConfigBase aidl, boolean isInput) { in aidl2api_AudioConfigBase_AudioFormat()
[all …]
/frameworks/av/services/mediaresourcemanager/
DAndroid.bp13 "aidl/android/media/IResourceManagerClient.aidl",
14 "aidl/android/media/IResourceManagerService.aidl",
15 "aidl/android/media/MediaResourceType.aidl",
16 "aidl/android/media/MediaResourceSubType.aidl",
17 "aidl/android/media/MediaResourceParcel.aidl",
18 "aidl/android/media/MediaResourcePolicyParcel.aidl",
19 "aidl/android/media/ClientInfoParcel.aidl",
20 "aidl/android/media/ClientConfigParcel.aidl",
22 path: "aidl",
28 "aidl/android/media/IResourceObserver.aidl",
[all …]
/frameworks/av/media/audioaidlconversion/include/media/
DAidlConversionEffect.h33 namespace aidl {
51 aidl::android::hardware::audio::effect::Parameter::Specific::_tag, \
55 UNION_MAKE(aidl::android::hardware::audio::effect::Parameter, specific, \
56 UNION_MAKE(aidl::android::hardware::audio::effect::Parameter::Specific, _tag, \
60 UNION_MAKE(aidl::android::hardware::audio::effect::Parameter::Id, _tag, \
64 UNION_MAKE(aidl::android::hardware::audio::effect::Parameter::Id, _tag, \
69 aidl::android::hardware::audio::effect::VendorExtension _extId = VALUE_OR_RETURN_STATUS( \
70 aidl::android::legacy2aidl_EffectParameterReader_VendorExtension(_param)); \
71 aidl::android::hardware::audio::effect::Parameter::Id _id = \
73 aidl::android::hardware::audio::effect::Parameter _aidlParam; \
[all …]
DAidlConversionCppNdk-impl.h35 #define PREFIX(f) <aidl/f>
81 namespace aidl {
88 ::android::status_t aidl2legacy_string(std::string_view aidl, char* dest, size_t maxSize);
91 ConversionResult<audio_module_handle_t> aidl2legacy_int32_t_audio_module_handle_t(int32_t aidl);
94 ConversionResult<audio_io_handle_t> aidl2legacy_int32_t_audio_io_handle_t(int32_t aidl);
97 ConversionResult<audio_port_handle_t> aidl2legacy_int32_t_audio_port_handle_t(int32_t aidl);
100 ConversionResult<audio_patch_handle_t> aidl2legacy_int32_t_audio_patch_handle_t(int32_t aidl);
103 ConversionResult<audio_unique_id_t> aidl2legacy_int32_t_audio_unique_id_t(int32_t aidl);
106 ConversionResult<audio_hw_sync_t> aidl2legacy_int32_t_audio_hw_sync_t(int32_t aidl);
109 ConversionResult<unsigned int> aidl2legacy_int32_t_config_mask(int32_t aidl);
[all …]
/frameworks/av/media/audioaidlconversion/
DAidlConversionNdk.cpp33 namespace aidl { namespace
75 ::aidl::android::hardware::audio::common::maybeVendorExtension); in filterOutNonVendorTags()
83 const media::audio::common::AudioConfig& aidl, bool isInput) { in aidl2legacy_AudioConfig_buffer_config_t() argument
86 legacy.samplingRate = VALUE_OR_RETURN(convertIntegral<uint32_t>(aidl.base.sampleRate)); in aidl2legacy_AudioConfig_buffer_config_t()
90 aidl2legacy_AudioChannelLayout_audio_channel_mask_t(aidl.base.channelMask, isInput)); in aidl2legacy_AudioConfig_buffer_config_t()
94 VALUE_OR_RETURN(aidl2legacy_AudioFormatDescription_audio_format_t(aidl.base.format)); in aidl2legacy_AudioConfig_buffer_config_t()
96 legacy.buffer.frameCount = aidl.frameCount; in aidl2legacy_AudioConfig_buffer_config_t()
104 media::audio::common::AudioConfig aidl; in legacy2aidl_buffer_config_t_AudioConfig() local
107 aidl.base.sampleRate = VALUE_OR_RETURN(convertIntegral<int32_t>(legacy.samplingRate)); in legacy2aidl_buffer_config_t_AudioConfig()
110 aidl.base.channelMask = VALUE_OR_RETURN(legacy2aidl_audio_channel_mask_t_AudioChannelLayout( in legacy2aidl_buffer_config_t_AudioConfig()
[all …]
DAidlConversionEffect.cpp33 namespace aidl { namespace
36 using ::aidl::android::hardware::audio::effect::AcousticEchoCanceler;
37 using ::aidl::android::hardware::audio::effect::AutomaticGainControlV2;
38 using ::aidl::android::hardware::audio::effect::BassBoost;
39 using ::aidl::android::hardware::audio::effect::DefaultExtension;
40 using ::aidl::android::hardware::audio::effect::Descriptor;
41 using ::aidl::android::hardware::audio::effect::Downmix;
42 using ::aidl::android::hardware::audio::effect::DynamicsProcessing;
43 using ::aidl::android::hardware::audio::effect::Flags;
44 using ::aidl::android::hardware::audio::effect::Parameter;
[all …]
DAidlConversionCppNdk.cpp39 namespace aidl { namespace
114 ::android::status_t aidl2legacy_string(std::string_view aidl, char* dest, size_t maxSize) { in aidl2legacy_string() argument
115 if (aidl.size() > maxSize - 1) { in aidl2legacy_string()
118 aidl.copy(dest, aidl.size()); in aidl2legacy_string()
119 dest[aidl.size()] = '\0'; in aidl2legacy_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() argument
135 return convertReinterpret<audio_module_handle_t>(aidl); in aidl2legacy_int32_t_audio_module_handle_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() argument
143 return convertReinterpret<audio_io_handle_t>(aidl); in aidl2legacy_int32_t_audio_io_handle_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() argument
[all …]
/frameworks/av/media/libaudiohal/impl/
DHal2AidlMapper.h50 const std::shared_ptr<::aidl::android::hardware::audio::core::IModule>& module);
54 const std::vector<::aidl::android::media::audio::common::AudioPortConfig>& sources,
55 const std::vector<::aidl::android::media::audio::common::AudioPortConfig>& sinks,
58 const ::aidl::android::media::audio::common::AudioDevice& device,
59 ::aidl::android::media::audio::common::AudioPortConfig* portConfig);
61 int32_t ioHandle, ::aidl::android::media::audio::common::AudioPort* port);
63 const ::aidl::android::media::audio::common::AudioDevice& device,
64 ::aidl::android::media::audio::common::AudioPort* port);
67 return ::aidl::android::convertContainer(mPorts, ports, in getAudioPorts()
72 return ::aidl::android::convertContainer(mRoutes, routes, converter); in getAudioRoutes()
[all …]
DEffectProxy.h41 class EffectProxy final : public ::aidl::android::hardware::audio::effect::BnEffect {
44 const ::aidl::android::media::audio::common::AudioUuid& uuid,
45 const std::vector<::aidl::android::hardware::audio::effect::Descriptor>& descriptors,
46 const std::shared_ptr<::aidl::android::hardware::audio::effect::IFactory>& factory);
60 const ::aidl::android::hardware::audio::effect::Parameter::Common& common,
61 const std::optional<::aidl::android::hardware::audio::effect::Parameter::Specific>&
63 ::aidl::android::hardware::audio::effect::IEffect::OpenEffectReturn* ret) override;
66 ::aidl::android::hardware::audio::effect::IEffect::OpenEffectReturn* ret) override;
68 ::aidl::android::hardware::audio::effect::Descriptor* desc) override;
69 ndk::ScopedAStatus command(::aidl::android::hardware::audio::effect::CommandId id) override;
[all …]
/frameworks/av/
DAndroid.bp38 name: "audio-aidl-defaults",
56 name: "av-types-aidl",
61 local_include_dir: "aidl",
63 "aidl/android/media/InterpolatorConfig.aidl",
64 "aidl/android/media/InterpolatorType.aidl",
65 "aidl/android/media/MicrophoneInfoFw.aidl",
66 "aidl/android/media/VolumeShaperConfiguration.aidl",
67 "aidl/android/media/VolumeShaperConfigurationOptionFlag.aidl",
68 "aidl/android/media/VolumeShaperConfigurationType.aidl",
69 "aidl/android/media/VolumeShaperOperation.aidl",
[all …]
/frameworks/av/media/libaudioclient/include/media/
DAidlConversion.h50 media::AudioIoConfigEvent aidl);
55 media::AudioPortRole aidl);
60 media::AudioPortType aidl);
66 const media::audio::common::AudioPortDeviceExt& aidl,
70 media::audio::common::AudioPortDeviceExt* aidl,
74 const media::audio::common::AudioPortMixExt& aidl, media::AudioPortRole role,
78 media::audio::common::AudioPortMixExt* aidl, media::AudioPortMixExtSys* aidlMixExt);
81 aidl2legacy_int32_t_audio_port_config_session_ext(int32_t aidl);
87 const media::AudioPortConfigFw& aidl, int32_t* aidlPortId = nullptr);
92 const media::AudioPatchFw& aidl);
[all …]
DPolicyAidlConversion.h43 aidl2legacy_int32_t_product_strategy_t(int32_t aidl);
48 aidl2legacy_AudioMixType_uint32_t(media::AudioMixType aidl);
53 aidl2legacy_AudioMixCallbackFlag_uint32_t(media::AudioMixCallbackFlag aidl);
58 aidl2legacy_AudioMixCallbackFlag_uint32_t_mask(int32_t aidl);
63 aidl2legacy_AudioMixRouteFlag_uint32_t(media::AudioMixRouteFlag aidl);
68 aidl2legacy_AudioMixRouteFlag_uint32_t_mask(int32_t aidl);
73 aidl2legacy_AudioMixMatchCriterion(const media::AudioMixMatchCriterion& aidl);
78 aidl2legacy_AudioMix(const media::AudioMix& aidl);
83 aidl2legacy_AudioPolicyDeviceState_audio_policy_dev_state_t(media::AudioPolicyDeviceState aidl);
88 aidl2legacy_AudioPolicyForceUse_audio_policy_force_use_t(media::AudioPolicyForceUse aidl);
[all …]
/frameworks/native/libs/gralloc/types/include/gralloctypes/
DGralloc4.h50 …GRALLOC4_STANDARD_METADATA_TYPE, static_cast<int64_t>(aidl::android::hardware::graphics::common::S…
54 …GRALLOC4_STANDARD_METADATA_TYPE, static_cast<int64_t>(aidl::android::hardware::graphics::common::S…
58 …GRALLOC4_STANDARD_METADATA_TYPE, static_cast<int64_t>(aidl::android::hardware::graphics::common::S…
62 …GRALLOC4_STANDARD_METADATA_TYPE, static_cast<int64_t>(aidl::android::hardware::graphics::common::S…
66 …GRALLOC4_STANDARD_METADATA_TYPE, static_cast<int64_t>(aidl::android::hardware::graphics::common::S…
70 …GRALLOC4_STANDARD_METADATA_TYPE, static_cast<int64_t>(aidl::android::hardware::graphics::common::S…
74 …GRALLOC4_STANDARD_METADATA_TYPE, static_cast<int64_t>(aidl::android::hardware::graphics::common::S…
78 …GRALLOC4_STANDARD_METADATA_TYPE, static_cast<int64_t>(aidl::android::hardware::graphics::common::S…
82 …GRALLOC4_STANDARD_METADATA_TYPE, static_cast<int64_t>(aidl::android::hardware::graphics::common::S…
86 …GRALLOC4_STANDARD_METADATA_TYPE, static_cast<int64_t>(aidl::android::hardware::graphics::common::S…
[all …]
/frameworks/av/media/module/libmediatranscoding/
DAndroid.bp29 "aidl/android/media/IMediaTranscodingService.aidl",
30 "aidl/android/media/ITranscodingClient.aidl",
31 "aidl/android/media/ITranscodingClientCallback.aidl",
32 "aidl/android/media/TranscodingErrorCode.aidl",
33 "aidl/android/media/TranscodingSessionPriority.aidl",
34 "aidl/android/media/TranscodingSessionStats.aidl",
35 "aidl/android/media/TranscodingType.aidl",
36 "aidl/android/media/TranscodingVideoCodecType.aidl",
37 "aidl/android/media/TranscodingVideoTrackFormat.aidl",
38 "aidl/android/media/TranscodingSessionParcel.aidl",
[all …]
/frameworks/av/services/camera/virtualcamera/
DVirtualCameraSession.h45 : public ::aidl::android::hardware::camera::device::BnCameraDeviceSession {
53 ::aidl::android::hardware::camera::device::ICameraDeviceCallback>
56 ::aidl::android::companion::virtualcamera::IVirtualCameraCallback>
64 const ::aidl::android::hardware::camera::device::StreamConfiguration&
66 std::vector<::aidl::android::hardware::camera::device::HalStream>*
70 ::aidl::android::hardware::camera::device::RequestTemplate in_type,
71 ::aidl::android::hardware::camera::device::CameraMetadata* _aidl_return)
77 ::aidl::android::hardware::common::fmq::MQDescriptor<
78 int8_t, ::aidl::android::hardware::common::fmq::SynchronizedReadWrite>*
82 ::aidl::android::hardware::common::fmq::MQDescriptor<
[all …]
/frameworks/av/media/module/aidlpersistentsurface/
DAndroid.bp2 name: "graphicbuffersource-aidl",
4 local_include_dir: "aidl",
7 "aidl/android/media/AidlColorAspects.aidl",
8 "aidl/android/media/IAidlGraphicBufferSource.aidl",
9 "aidl/android/media/IAidlBufferSource.aidl",
10 "aidl/android/media/IAidlNode.aidl",
19 "frameworks/native/aidl/gui",
60 "graphicbuffersource-aidl-ndk",
/frameworks/native/libs/gui/
DAndroid.bp92 "android/gui/DropInputMode.aidl",
93 "android/gui/StalledTransactionInfo.aidl",
94 "android/**/TouchOcclusionMode.aidl",
95 "android/gui/TrustedOverlay.aidl",
102 "android/gui/DisplayInfo.aidl",
103 "android/gui/FocusRequest.aidl",
104 "android/gui/InputApplicationInfo.aidl",
105 "android/gui/IWindowInfosListener.aidl",
106 "android/gui/IWindowInfosPublisher.aidl",
107 "android/gui/IWindowInfosReportedListener.aidl",
[all …]
/frameworks/av/camera/
DAndroid.bp73 aidl: {
75 local_include_dirs: ["aidl"],
77 "frameworks/native/aidl/gui",
84 // include libcamera_client, at the path "aidl/package/path/BnFoo.h"
170 "aidl/android/hardware/CameraExtensionSessionStats.aidl",
171 "aidl/android/hardware/CameraFeatureCombinationStats.aidl",
172 "aidl/android/hardware/ICameraService.aidl",
173 "aidl/android/hardware/ICameraServiceListener.aidl",
174 "aidl/android/hardware/ICameraServiceProxy.aidl",
175 "aidl/android/hardware/camera2/ICameraDeviceCallbacks.aidl",
[all …]

12345678910>>...45