f533b50925
Added methods to set and validate parameters. Added test to verify multichannel to stereo conversion for STRIP type. Added test to verify multichannel to stereo conversion for FOLD type. Bug:314953788 Test: atest VtsHalDownmixTargetTest Change-Id: I31ee4df3eac6ae42e3e3cabebd1622e860581eab
171 lines
4.3 KiB
Text
171 lines
4.3 KiB
Text
package {
|
|
// See: http://go/android-license-faq
|
|
// A large-scale-change added 'default_applicable_licenses' to import
|
|
// all of the 'license_kinds' from "hardware_interfaces_license"
|
|
// to get the below license kinds:
|
|
// SPDX-license-identifier-Apache-2.0
|
|
default_applicable_licenses: ["hardware_interfaces_license"],
|
|
}
|
|
|
|
cc_defaults {
|
|
name: "VtsHalAudioTargetTestDefaults",
|
|
defaults: [
|
|
"latest_android_hardware_audio_common_ndk_static",
|
|
"latest_android_hardware_audio_effect_ndk_static",
|
|
"latest_android_media_audio_common_types_ndk_static",
|
|
"use_libaidlvintf_gtest_helper_static",
|
|
"VtsHalTargetTestDefaults",
|
|
],
|
|
shared_libs: [
|
|
"libbinder_ndk",
|
|
"libfmq",
|
|
],
|
|
static_libs: [
|
|
"android.hardware.common-V2-ndk",
|
|
"android.hardware.common.fmq-V1-ndk",
|
|
"libaudioaidlcommon",
|
|
"libaidlcommonsupport",
|
|
],
|
|
header_libs: [
|
|
"libaudioaidl_headers",
|
|
"libexpectedutils_headers",
|
|
],
|
|
cflags: [
|
|
"-Wall",
|
|
"-Wextra",
|
|
"-Werror",
|
|
"-Wthread-safety",
|
|
],
|
|
test_suites: [
|
|
"general-tests",
|
|
"vts",
|
|
],
|
|
srcs: [
|
|
":effectCommonFile",
|
|
"TestUtils.cpp",
|
|
],
|
|
}
|
|
|
|
cc_test {
|
|
name: "VtsHalAudioCoreTargetTest",
|
|
defaults: [
|
|
"VtsHalAudioTargetTestDefaults",
|
|
"latest_android_hardware_audio_core_ndk_static",
|
|
"latest_android_hardware_audio_core_sounddose_ndk_static",
|
|
],
|
|
shared_libs: [
|
|
"libcutils",
|
|
],
|
|
srcs: [
|
|
"ModuleConfig.cpp",
|
|
"VtsHalAudioCoreConfigTargetTest.cpp",
|
|
"VtsHalAudioCoreModuleTargetTest.cpp",
|
|
],
|
|
test_config: "VtsHalAudioCoreTargetTest.xml",
|
|
}
|
|
|
|
cc_test {
|
|
name: "VtsHalAudioEffectFactoryTargetTest",
|
|
defaults: ["VtsHalAudioTargetTestDefaults"],
|
|
srcs: ["VtsHalAudioEffectFactoryTargetTest.cpp"],
|
|
}
|
|
|
|
cc_test {
|
|
name: "VtsHalAudioEffectTargetTest",
|
|
defaults: ["VtsHalAudioTargetTestDefaults"],
|
|
srcs: ["VtsHalAudioEffectTargetTest.cpp"],
|
|
}
|
|
|
|
cc_test {
|
|
name: "VtsHalBassBoostTargetTest",
|
|
defaults: ["VtsHalAudioTargetTestDefaults"],
|
|
srcs: ["VtsHalBassBoostTargetTest.cpp"],
|
|
}
|
|
|
|
cc_test {
|
|
name: "VtsHalDownmixTargetTest",
|
|
defaults: ["VtsHalAudioTargetTestDefaults"],
|
|
srcs: ["VtsHalDownmixTargetTest.cpp"],
|
|
shared_libs: [
|
|
"libaudioutils",
|
|
],
|
|
}
|
|
|
|
cc_test {
|
|
name: "VtsHalDynamicsProcessingTargetTest",
|
|
defaults: ["VtsHalAudioTargetTestDefaults"],
|
|
static_libs: ["libaudioaidlranges"],
|
|
srcs: ["VtsHalDynamicsProcessingTest.cpp"],
|
|
}
|
|
|
|
cc_test {
|
|
name: "VtsHalEnvironmentalReverbTargetTest",
|
|
defaults: ["VtsHalAudioTargetTestDefaults"],
|
|
srcs: ["VtsHalEnvironmentalReverbTargetTest.cpp"],
|
|
}
|
|
|
|
cc_test {
|
|
name: "VtsHalEqualizerTargetTest",
|
|
defaults: ["VtsHalAudioTargetTestDefaults"],
|
|
srcs: ["VtsHalEqualizerTargetTest.cpp"],
|
|
}
|
|
|
|
cc_test {
|
|
name: "VtsHalHapticGeneratorTargetTest",
|
|
defaults: ["VtsHalAudioTargetTestDefaults"],
|
|
srcs: ["VtsHalHapticGeneratorTargetTest.cpp"],
|
|
}
|
|
|
|
cc_test {
|
|
name: "VtsHalLoudnessEnhancerTargetTest",
|
|
defaults: ["VtsHalAudioTargetTestDefaults"],
|
|
srcs: ["VtsHalLoudnessEnhancerTargetTest.cpp"],
|
|
}
|
|
|
|
cc_test {
|
|
name: "VtsHalPresetReverbTargetTest",
|
|
defaults: ["VtsHalAudioTargetTestDefaults"],
|
|
srcs: ["VtsHalPresetReverbTargetTest.cpp"],
|
|
}
|
|
|
|
cc_test {
|
|
name: "VtsHalVirtualizerTargetTest",
|
|
defaults: ["VtsHalAudioTargetTestDefaults"],
|
|
srcs: ["VtsHalVirtualizerTargetTest.cpp"],
|
|
}
|
|
|
|
cc_test {
|
|
name: "VtsHalVisualizerTargetTest",
|
|
defaults: ["VtsHalAudioTargetTestDefaults"],
|
|
srcs: ["VtsHalVisualizerTargetTest.cpp"],
|
|
}
|
|
|
|
cc_test {
|
|
name: "VtsHalVolumeTargetTest",
|
|
defaults: ["VtsHalAudioTargetTestDefaults"],
|
|
srcs: ["VtsHalVolumeTargetTest.cpp"],
|
|
}
|
|
|
|
cc_test {
|
|
name: "VtsHalAECTargetTest",
|
|
defaults: ["VtsHalAudioTargetTestDefaults"],
|
|
srcs: ["VtsHalAECTargetTest.cpp"],
|
|
}
|
|
|
|
cc_test {
|
|
name: "VtsHalAGC1TargetTest",
|
|
defaults: ["VtsHalAudioTargetTestDefaults"],
|
|
srcs: ["VtsHalAGC1TargetTest.cpp"],
|
|
}
|
|
|
|
cc_test {
|
|
name: "VtsHalAGC2TargetTest",
|
|
defaults: ["VtsHalAudioTargetTestDefaults"],
|
|
srcs: ["VtsHalAGC2TargetTest.cpp"],
|
|
}
|
|
|
|
cc_test {
|
|
name: "VtsHalNSTargetTest",
|
|
defaults: ["VtsHalAudioTargetTestDefaults"],
|
|
srcs: ["VtsHalNSTargetTest.cpp"],
|
|
}
|