From 87ac0819304e8b8c98b1b1d01cd85c7123f65720 Mon Sep 17 00:00:00 2001 From: Kevin Rocard Date: Thu, 1 Feb 2018 14:47:23 -0800 Subject: [PATCH] Audio V4: Create audio V4.0 .hal makefiles Run update-makefiles.sh to create all HAL makefiles. Test: update-makefiles.sh Bug: 38184704 Change-Id: I2532c4b9d1f0f6252ceaffbfb0c5d0a615400c72 Signed-off-by: Kevin Rocard --- audio/4.0/Android.bp | 48 +++++++++++++++++++++++++++++++++++++ audio/common/4.0/Android.bp | 48 +++++++++++++++++++++++++++++++++++++ audio/effect/4.0/Android.bp | 47 ++++++++++++++++++++++++++++++++++++ 3 files changed, 143 insertions(+) create mode 100644 audio/4.0/Android.bp create mode 100644 audio/common/4.0/Android.bp create mode 100644 audio/effect/4.0/Android.bp diff --git a/audio/4.0/Android.bp b/audio/4.0/Android.bp new file mode 100644 index 0000000000..6e217d9572 --- /dev/null +++ b/audio/4.0/Android.bp @@ -0,0 +1,48 @@ +// This file is autogenerated by hidl-gen -Landroidbp. + +hidl_interface { + name: "android.hardware.audio@4.0", + root: "android.hardware", + vndk: { + enabled: true, + }, + srcs: [ + "types.hal", + "IDevice.hal", + "IDevicesFactory.hal", + "IPrimaryDevice.hal", + "IStream.hal", + "IStreamIn.hal", + "IStreamOut.hal", + "IStreamOutCallback.hal", + ], + interfaces: [ + "android.hardware.audio.common@4.0", + "android.hardware.audio.effect@4.0", + "android.hidl.base@1.0", + ], + types: [ + "AudioDrain", + "AudioFrequencyResponsePoint", + "AudioMicrophoneChannelMapping", + "AudioMicrophoneCoordinate", + "AudioMicrophoneDirectionality", + "AudioMicrophoneLocation", + "DeviceAddress", + "MessageQueueFlagBits", + "MicrophoneInfo", + "MmapBufferFlag", + "MmapBufferInfo", + "MmapPosition", + "ParameterValue", + "PlaybackTrackMetadata", + "RecordTrackMetadata", + "Result", + "SinkMetadata", + "SourceMetadata", + "TimeSpec", + ], + gen_java: false, + gen_java_constants: true, +} + diff --git a/audio/common/4.0/Android.bp b/audio/common/4.0/Android.bp new file mode 100644 index 0000000000..9b737dcf55 --- /dev/null +++ b/audio/common/4.0/Android.bp @@ -0,0 +1,48 @@ +// This file is autogenerated by hidl-gen -Landroidbp. + +hidl_interface { + name: "android.hardware.audio.common@4.0", + root: "android.hardware", + vndk: { + enabled: true, + }, + srcs: [ + "types.hal", + ], + types: [ + "AudioChannelMask", + "AudioConfig", + "AudioContentType", + "AudioDevice", + "AudioFormat", + "AudioGain", + "AudioGainConfig", + "AudioGainMode", + "AudioHandleConsts", + "AudioInputFlag", + "AudioMixLatencyClass", + "AudioMode", + "AudioOffloadInfo", + "AudioOutputFlag", + "AudioPort", + "AudioPortConfig", + "AudioPortConfigDeviceExt", + "AudioPortConfigMask", + "AudioPortConfigSessionExt", + "AudioPortDeviceExt", + "AudioPortMixExt", + "AudioPortRole", + "AudioPortSessionExt", + "AudioPortType", + "AudioSessionConsts", + "AudioSource", + "AudioStreamType", + "AudioUsage", + "FixedChannelCount", + "ThreadInfo", + "Uuid", + ], + gen_java: false, + gen_java_constants: true, +} + diff --git a/audio/effect/4.0/Android.bp b/audio/effect/4.0/Android.bp new file mode 100644 index 0000000000..e7676a91da --- /dev/null +++ b/audio/effect/4.0/Android.bp @@ -0,0 +1,47 @@ +// This file is autogenerated by hidl-gen -Landroidbp. + +hidl_interface { + name: "android.hardware.audio.effect@4.0", + root: "android.hardware", + vndk: { + enabled: true, + }, + srcs: [ + "types.hal", + "IAcousticEchoCancelerEffect.hal", + "IAutomaticGainControlEffect.hal", + "IBassBoostEffect.hal", + "IDownmixEffect.hal", + "IEffect.hal", + "IEffectBufferProviderCallback.hal", + "IEffectsFactory.hal", + "IEnvironmentalReverbEffect.hal", + "IEqualizerEffect.hal", + "ILoudnessEnhancerEffect.hal", + "INoiseSuppressionEffect.hal", + "IPresetReverbEffect.hal", + "IVirtualizerEffect.hal", + "IVisualizerEffect.hal", + ], + interfaces: [ + "android.hardware.audio.common@4.0", + "android.hidl.base@1.0", + ], + types: [ + "AudioBuffer", + "EffectAuxChannelsConfig", + "EffectBufferAccess", + "EffectBufferConfig", + "EffectConfig", + "EffectConfigParameters", + "EffectDescriptor", + "EffectFeature", + "EffectFlags", + "EffectOffloadParameter", + "MessageQueueFlagBits", + "Result", + ], + gen_java: false, + gen_java_constants: true, +} +