Merge "Add timed out test files to tidy_timeout_srcs" am: ff54f73b4f am: fa83970b3a

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1992232

Change-Id: I26b2d04160013fec26fdaadf56caeb919ff4d5bd
This commit is contained in:
Chih-hung Hsieh 2022-02-24 01:04:34 +00:00 committed by Automerger Merge Worker
commit 581616e658
44 changed files with 136 additions and 0 deletions

View file

@ -211,6 +211,8 @@ cc_test {
name: "android.hardware.audio.common@7.0-util_tests",
defaults: ["android.hardware.audio.common-util_default"],
tidy_timeout_srcs: ["tests/hidlutils_tests.cpp"],
srcs: ["tests/hidlutils_tests.cpp"],
// Use static linking to allow running in presubmit on
@ -241,6 +243,8 @@ cc_test {
name: "android.hardware.audio.common@7.1-util_tests",
defaults: ["android.hardware.audio.common-util_default"],
tidy_timeout_srcs: ["tests/hidlutils_tests.cpp"],
srcs: ["tests/hidlutils_tests.cpp"],
// Use static linking to allow running in presubmit on

View file

@ -48,6 +48,9 @@ cc_defaults {
cc_test {
name: "VtsHalAudioV2_0TargetTest",
defaults: ["VtsHalAudioTargetTest_defaults"],
tidy_timeout_srcs: [
"2.0/AudioPrimaryHidlHalTest.cpp",
],
srcs: [
"2.0/AudioPrimaryHidlHalTest.cpp",
],
@ -74,6 +77,9 @@ cc_test {
cc_test {
name: "VtsHalAudioV4_0TargetTest",
defaults: ["VtsHalAudioTargetTest_defaults"],
tidy_timeout_srcs: [
"4.0/AudioPrimaryHidlHalTest.cpp",
],
srcs: [
"4.0/AudioPrimaryHidlHalTest.cpp",
],
@ -126,6 +132,9 @@ cc_test {
cc_test {
name: "VtsHalAudioV6_0TargetTest",
defaults: ["VtsHalAudioTargetTest_defaults"],
tidy_timeout_srcs: [
"6.0/AudioPrimaryHidlHalTest.cpp",
],
srcs: [
"6.0/AudioPrimaryHidlHalTest.cpp",
"6.0/Generators.cpp",
@ -153,6 +162,9 @@ cc_test {
cc_test {
name: "VtsHalAudioV7_0TargetTest",
defaults: ["VtsHalAudioTargetTest_defaults"],
tidy_timeout_srcs: [
"7.0/AudioPrimaryHidlHalTest.cpp",
],
srcs: [
"7.0/AudioPrimaryHidlHalTest.cpp",
"7.0/Generators.cpp",

View file

@ -26,6 +26,9 @@ package {
cc_defaults {
name: "VtsHalAudioEffectTargetTest_default",
defaults: ["VtsHalTargetTestDefaults"],
tidy_timeout_srcs: [
"VtsHalAudioEffectTargetTest.cpp",
],
srcs: [
"VtsHalAudioEffectTargetTest.cpp",
"ValidateAudioEffectsConfiguration.cpp",

View file

@ -25,6 +25,9 @@ package {
cc_test {
name: "VtsHalEvsV1_1TargetTest",
tidy_timeout_srcs: [
"VtsHalEvsV1_1TargetTest.cpp",
],
srcs: [
"FrameHandler.cpp",
"FrameHandlerUltrasonics.cpp",

View file

@ -25,6 +25,9 @@ package {
cc_test {
name: "VtsHalSurroundViewV1_0TargetTest",
tidy_timeout_srcs: [
"VtsHalSurroundViewV1_0TargetTest.cpp",
],
srcs: [
"VtsHalSurroundViewV1_0TargetTest.cpp",
"SurroundViewStreamHandler.cpp",

View file

@ -172,6 +172,9 @@ cc_test {
vendor: true,
defaults: ["vhal_v2_0_target_defaults"],
whole_static_libs: ["android.hardware.automotive.vehicle@2.0-manager-lib"],
tidy_timeout_srcs: [
"tests/VmsUtils_test.cpp",
],
srcs: [
"tests/RecurrentTimer_test.cpp",
"tests/SubscriptionManager_test.cpp",

View file

@ -39,6 +39,9 @@ cc_test {
name: "android.hardware.automotive.vehicle@2.0-utils-unit-tests",
defaults: ["vhal_v2_0_defaults"],
vendor: true,
tidy_timeout_srcs: [
"tests/UserHalHelper_test.cpp",
],
srcs: [
"tests/UserHalHelper_test.cpp",
],

View file

@ -26,6 +26,7 @@ package {
cc_test {
name: "VtsHalBiometricsFingerprintV2_1TargetTest",
defaults: ["VtsHalTargetTestDefaults"],
tidy_timeout_srcs: ["VtsHalBiometricsFingerprintV2_1TargetTest.cpp"],
srcs: ["VtsHalBiometricsFingerprintV2_1TargetTest.cpp"],
static_libs: ["android.hardware.biometrics.fingerprint@2.1"],
test_suites: ["general-tests", "vts"],

View file

@ -10,6 +10,7 @@ package {
cc_test {
name: "VtsHalBluetoothAudioV2_1TargetTest",
defaults: ["VtsHalTargetTestDefaults"],
tidy_timeout_srcs: ["VtsHalBluetoothAudioV2_1TargetTest.cpp"],
srcs: ["VtsHalBluetoothAudioV2_1TargetTest.cpp"],
static_libs: [
"android.hardware.audio.common@5.0",

View file

@ -13,6 +13,7 @@ cc_test {
"VtsHalTargetTestDefaults",
"use_libaidlvintf_gtest_helper_static",
],
tidy_timeout_srcs: ["VtsHalBluetoothAudioTargetTest.cpp"],
srcs: ["VtsHalBluetoothAudioTargetTest.cpp"],
shared_libs: [
"android.hardware.audio.common-V1-ndk",

View file

@ -26,6 +26,7 @@ package {
cc_test {
name: "VtsHalBroadcastradioV1_1TargetTest",
defaults: ["VtsHalTargetTestDefaults"],
tidy_timeout_srcs: ["VtsHalBroadcastradioV1_1TargetTest.cpp"],
srcs: ["VtsHalBroadcastradioV1_1TargetTest.cpp"],
static_libs: [
"android.hardware.broadcastradio@1.0",

View file

@ -26,6 +26,7 @@ package {
cc_test {
name: "VtsHalBroadcastradioV2_0TargetTest",
defaults: ["VtsHalTargetTestDefaults"],
tidy_timeout_srcs: ["VtsHalBroadcastradioV2_0TargetTest.cpp"],
srcs: ["VtsHalBroadcastradioV2_0TargetTest.cpp"],
static_libs: [
"android.hardware.broadcastradio@2.0",

View file

@ -26,6 +26,7 @@ package {
cc_test {
name: "VtsHalCameraProviderV2_4TargetTest",
defaults: ["VtsHalTargetTestDefaults"],
tidy_timeout_srcs: ["VtsHalCameraProviderV2_4TargetTest.cpp"],
srcs: ["VtsHalCameraProviderV2_4TargetTest.cpp"],
// TODO(b/64437680): Assume these are always available on the device.

View file

@ -44,6 +44,10 @@ cc_library_static {
local_include_dirs: [
"include",
],
tidy_timeout_srcs: [
"drm_hal_clearkey_test.cpp",
"drm_hal_vendor_test.cpp",
],
srcs: [
"drm_hal_clearkey_test.cpp",
"drm_hal_vendor_test.cpp",

View file

@ -32,6 +32,9 @@ cc_library_static {
local_include_dirs: [
"include",
],
tidy_timeout_srcs: [
"drm_hal_clearkey_test.cpp",
],
srcs: [
"drm_hal_clearkey_test.cpp",
],

View file

@ -29,6 +29,9 @@ cc_library_static {
local_include_dirs: [
"include",
],
tidy_timeout_srcs: [
"drm_hal_test.cpp",
],
srcs: [
"drm_hal_clearkey_module.cpp",
"drm_hal_common.cpp",

View file

@ -26,6 +26,7 @@ package {
cc_test {
name: "VtsHalGraphicsComposerV2_1TargetTest",
defaults: ["VtsHalTargetTestDefaults"],
tidy_timeout_srcs: ["VtsHalGraphicsComposerV2_1TargetTest.cpp"],
srcs: ["VtsHalGraphicsComposerV2_1TargetTest.cpp"],
// TODO(b/64437680): Assume these libs are always available on the device.

View file

@ -30,6 +30,10 @@ cc_test {
// Needed for librenderengine
"skia_deps",
],
tidy_timeout_srcs: [
"VtsHalGraphicsComposerV2_2ReadbackTest.cpp",
"VtsHalGraphicsComposerV2_2TargetTest.cpp",
],
srcs: [
"VtsHalGraphicsComposerV2_2ReadbackTest.cpp",
"VtsHalGraphicsComposerV2_2TargetTest.cpp",

View file

@ -26,6 +26,7 @@ package {
cc_test {
name: "VtsHalGraphicsComposerV2_3TargetTest",
defaults: ["VtsHalTargetTestDefaults"],
tidy_timeout_srcs: ["VtsHalGraphicsComposerV2_3TargetTest.cpp"],
srcs: ["VtsHalGraphicsComposerV2_3TargetTest.cpp"],
// TODO(b/64437680): Assume these libs are always available on the device.

View file

@ -26,6 +26,7 @@ package {
cc_test {
name: "VtsHalGraphicsComposerV2_4TargetTest",
defaults: ["VtsHalTargetTestDefaults"],
tidy_timeout_srcs: ["VtsHalGraphicsComposerV2_4TargetTest.cpp"],
srcs: ["VtsHalGraphicsComposerV2_4TargetTest.cpp"],
// TODO(b/64437680): Assume these libs are always available on the device.

View file

@ -26,6 +26,7 @@ package {
cc_test {
name: "VtsHalHealthV2_0TargetTest",
defaults: ["VtsHalTargetTestDefaults"],
tidy_timeout_srcs: ["VtsHalHealthV2_0TargetTest.cpp"],
srcs: ["VtsHalHealthV2_0TargetTest.cpp"],
static_libs: [
"libgflags",

View file

@ -29,6 +29,9 @@ cc_test {
"VtsHalTargetTestDefaults",
"use_libaidlvintf_gtest_helper_static",
],
tidy_timeout_srcs: [
"VtsHalHealthTargetTest.cpp",
],
srcs: [
"VtsHalHealthTargetTest.cpp",
],

View file

@ -70,6 +70,9 @@ cc_test {
"libhealthshim",
"libgmock",
],
tidy_timeout_srcs: [
"test.cpp",
],
srcs: [
"test.cpp",
],

View file

@ -86,6 +86,9 @@ cc_library {
cc_test {
name: "cppbor_test",
tidy_timeout_srcs: [
"tests/cppbor_test.cpp",
],
srcs: [
"tests/cppbor_test.cpp",
],
@ -101,6 +104,9 @@ cc_test {
cc_test_host {
name: "cppbor_host_test",
tidy_timeout_srcs: [
"tests/cppbor_test.cpp",
],
srcs: [
"tests/cppbor_test.cpp",
],

View file

@ -26,6 +26,9 @@ package {
cc_test {
name: "VtsHalKeymasterV3_0TargetTest",
defaults: ["VtsHalTargetTestDefaults"],
tidy_timeout_srcs: [
"keymaster_hidl_hal_test.cpp",
],
srcs: [
"authorization_set.cpp",
"attestation_record.cpp",

View file

@ -26,6 +26,9 @@ package {
cc_test {
name: "VtsHalKeymasterV4_0TargetTest",
defaults: ["VtsHalTargetTestDefaults"],
tidy_timeout_srcs: [
"keymaster_hidl_hal_test.cpp",
],
srcs: [
"HmacKeySharingTest.cpp",
"VerificationTokenTest.cpp",
@ -50,6 +53,9 @@ cc_test {
cc_test_library {
name: "libkeymaster4vtstest",
defaults: ["VtsHalTargetTestDefaults"],
tidy_timeout_srcs: [
"KeymasterHidlTest.cpp",
],
srcs: [
"KeymasterHidlTest.cpp",
],

View file

@ -26,6 +26,7 @@ package {
cc_test {
name: "VtsHalMediaOmxV1_0TargetComponentTest",
defaults: ["VtsHalMediaOmxV1_0Defaults"],
tidy_timeout_srcs: ["VtsHalMediaOmxV1_0TargetComponentTest.cpp"],
srcs: ["VtsHalMediaOmxV1_0TargetComponentTest.cpp"],
test_suites: [
"vts",

View file

@ -60,6 +60,10 @@ cc_library_static {
cc_test {
name: "neuralnetworks_utils_hal_1_2_test",
host_supported: true,
tidy_timeout_srcs: [
"test/DeviceTest.cpp",
"test/PreparedModelTest.cpp",
],
srcs: ["test/*.cpp"],
static_libs: [
"android.hardware.neuralnetworks@1.0",

View file

@ -44,6 +44,9 @@ cc_library_static {
cc_test {
name: "VtsHalNeuralnetworksV1_2TargetTest",
defaults: ["neuralnetworks_vts_functional_defaults"],
tidy_timeout_srcs: [
"CompilationCachingTests.cpp",
],
srcs: [
"BasicTests.cpp",
"CompilationCachingTests.cpp",

View file

@ -57,6 +57,10 @@ cc_library_static {
cc_test {
name: "neuralnetworks_utils_hal_1_3_test",
host_supported: true,
tidy_timeout_srcs: [
"test/DeviceTest.cpp",
"test/PreparedModelTest.cpp",
],
srcs: ["test/*.cpp"],
static_libs: [
"android.hardware.neuralnetworks@1.0",

View file

@ -45,6 +45,10 @@ cc_library_static {
cc_test {
name: "VtsHalNeuralnetworksV1_3TargetTest",
defaults: ["neuralnetworks_vts_functional_defaults"],
tidy_timeout_srcs: [
"CompilationCachingTests.cpp",
"MemoryDomainTests.cpp",
],
srcs: [
"BasicTests.cpp",
"CompilationCachingTests.cpp",

View file

@ -105,6 +105,10 @@ cc_test {
"neuralnetworks_use_latest_utils_hal_aidl",
"neuralnetworks_utils_defaults",
],
tidy_timeout_srcs: [
"test/DeviceTest.cpp",
"test/PreparedModelTest.cpp",
],
srcs: [
"test/*.cpp",
],

View file

@ -31,6 +31,10 @@ cc_test {
"use_libaidlvintf_gtest_helper_static",
],
host_supported: true,
tidy_timeout_srcs: [
"CompilationCachingTests.cpp",
"MemoryDomainTests.cpp",
],
srcs: [
"BasicTests.cpp",
"Callbacks.cpp",

View file

@ -36,6 +36,7 @@ cc_library_static {
cc_test {
name: "neuralnetworks_utils_hal_common_test",
host_supported: true,
tidy_timeout_srcs: ["test/ResilientDeviceTest.cpp"],
srcs: ["test/*.cpp"],
static_libs: [
"libgmock",

View file

@ -27,6 +27,12 @@ cc_test {
"VtsHalTargetTestDefaults",
"use_libaidlvintf_gtest_helper_static",
],
tidy_timeout_srcs: [
"radio_messaging_test.cpp",
"radio_network_test.cpp",
"radio_sim_test.cpp",
"radio_voice_test.cpp",
],
srcs: [
"radio_aidl_hal_utils.cpp",
"radio_config_indication.cpp",

View file

@ -50,6 +50,9 @@ cc_test {
defaults: [
"keymint_vts_defaults",
],
tidy_timeout_srcs: [
"KeyMintTest.cpp",
],
srcs: [
"AttestKeyTest.cpp",
"DeviceUniqueAttestationTest.cpp",
@ -70,6 +73,9 @@ cc_test_library {
defaults: [
"keymint_vts_defaults",
],
tidy_timeout_srcs: [
"KeyMintAidlTestBase.cpp",
],
srcs: [
"KeyMintAidlTestBase.cpp",
],

View file

@ -27,6 +27,9 @@ cc_test {
name: "VtsHalSensorsV1_0TargetTest",
cflags: ["-DLOG_TAG=\"sensors_hidl_hal_test\""],
defaults: ["VtsHalTargetTestDefaults"],
tidy_timeout_srcs: [
"VtsHalSensorsV1_0TargetTest.cpp",
],
srcs: [
"SensorsHidlEnvironmentV1_0.cpp",
"VtsHalSensorsV1_0TargetTest.cpp",

View file

@ -27,6 +27,9 @@ cc_test {
name: "VtsHalSensorsV2_0TargetTest",
cflags: ["-DLOG_TAG=\"sensors_hidl_hal_test\""],
defaults: ["VtsHalTargetTestDefaults"],
tidy_timeout_srcs: [
"VtsHalSensorsV2_0TargetTest.cpp",
],
srcs: [
"VtsHalSensorsV2_0TargetTest.cpp",
],

View file

@ -99,6 +99,9 @@ cc_test_library {
cc_test {
name: "android.hardware.sensors@2.X-halproxy-unit-tests",
tidy_timeout_srcs: [
"HalProxy_test.cpp",
],
srcs: [
"HalProxy_test.cpp",
"ScopedWakelock_test.cpp",

View file

@ -26,6 +26,7 @@ package {
cc_test {
name: "VtsHalThermalV2_0TargetTest",
defaults: ["VtsHalTargetTestDefaults"],
tidy_timeout_srcs: ["VtsHalThermalV2_0TargetTest.cpp"],
srcs: ["VtsHalThermalV2_0TargetTest.cpp"],
static_libs: [
"android.hardware.thermal@1.0",

View file

@ -13,6 +13,7 @@ cc_test {
"VtsHalTargetTestDefaults",
"use_libaidlvintf_gtest_helper_static",
],
tidy_timeout_srcs: ["VtsHalVibratorTargetTest.cpp"],
srcs: ["VtsHalVibratorTargetTest.cpp"],
shared_libs: [
"libbinder",

View file

@ -48,6 +48,9 @@ cc_library_static {
cc_test {
name: "VtsHalWifiV1_0TargetTest",
defaults: ["VtsHalTargetTestDefaults"],
tidy_timeout_srcs: [
"wifi_chip_hidl_test.cpp",
],
srcs: [
"wifi_chip_hidl_test.cpp",
"wifi_p2p_iface_hidl_test.cpp",

View file

@ -26,6 +26,9 @@ package {
cc_test {
name: "VtsHalWifiHostapdV1_3TargetTest",
defaults: ["VtsHalTargetTestDefaults"],
tidy_timeout_srcs: [
"hostapd_hidl_test.cpp",
],
srcs: [
"hostapd_hidl_test.cpp",
],

View file

@ -44,6 +44,9 @@ cc_library_static {
cc_test {
name: "VtsHalWifiSupplicantV1_0TargetTest",
defaults: ["VtsHalTargetTestDefaults"],
tidy_timeout_srcs: [
"supplicant_sta_network_hidl_test.cpp",
],
srcs: [
"supplicant_hidl_test.cpp",
"supplicant_sta_iface_hidl_test.cpp",
@ -71,6 +74,9 @@ cc_test {
cc_test {
name: "VtsHalWifiSupplicantP2pV1_0TargetTest",
defaults: ["VtsHalTargetTestDefaults"],
tidy_timeout_srcs: [
"supplicant_p2p_iface_hidl_test.cpp",
],
srcs: [
"VtsHalWifiSupplicantP2pV1_0TargetTest.cpp",
"supplicant_p2p_iface_hidl_test.cpp",