From ad1bf31b78dbbfb31fa27bade538884a905454d8 Mon Sep 17 00:00:00 2001 From: Chih-Hung Hsieh Date: Thu, 17 Feb 2022 21:56:13 -0800 Subject: [PATCH] Add timed out test files to tidy_timeout_srcs * Timed out runs do not show any warning messages. * These test files cannot finish clang-tidy runs with the following settings: TIDY_TIMEOUT=90 WITH_TIDY=1 CLANG_ANALYZER_CHECKS=1 * When TIDY_TIMEOUT is set, in Android continuous builds, tidy_timeout_srcs files will not be compiled by clang-tidy. When developers build locally without TIDY_TIMEOUT, tidy_timeout_srcs files will be compiled. * Some of these test modules may be split into smaller ones, or disable some time consuming checks, and then enable clang-tidy to run within limited time. Bug: 201099167 Test: make droid tidy-hardware-interfaces_subset Change-Id: I1de28f1572fff368f67eab512fffec9f2e5c2a9b --- audio/common/all-versions/default/Android.bp | 4 ++++ audio/core/all-versions/vts/functional/Android.bp | 12 ++++++++++++ audio/effect/all-versions/vts/functional/Android.bp | 3 +++ automotive/evs/1.1/vts/functional/Android.bp | 3 +++ automotive/sv/1.0/vts/functional/Android.bp | 3 +++ automotive/vehicle/2.0/default/Android.bp | 3 +++ automotive/vehicle/2.0/utils/Android.bp | 3 +++ biometrics/fingerprint/2.1/vts/functional/Android.bp | 1 + bluetooth/audio/2.1/vts/functional/Android.bp | 1 + bluetooth/audio/aidl/vts/Android.bp | 1 + broadcastradio/1.1/vts/functional/Android.bp | 1 + broadcastradio/2.0/vts/functional/Android.bp | 1 + camera/provider/2.4/vts/functional/Android.bp | 1 + drm/1.0/vts/functional/Android.bp | 4 ++++ drm/1.1/vts/functional/Android.bp | 3 +++ drm/1.2/vts/functional/Android.bp | 3 +++ graphics/composer/2.1/vts/functional/Android.bp | 1 + graphics/composer/2.2/vts/functional/Android.bp | 4 ++++ graphics/composer/2.3/vts/functional/Android.bp | 1 + graphics/composer/2.4/vts/functional/Android.bp | 1 + health/2.0/vts/functional/Android.bp | 1 + health/aidl/vts/functional/Android.bp | 3 +++ health/utils/libhealthshim/Android.bp | 3 +++ identity/support/Android.bp | 6 ++++++ keymaster/3.0/vts/functional/Android.bp | 3 +++ keymaster/4.0/vts/functional/Android.bp | 6 ++++++ media/omx/1.0/vts/functional/component/Android.bp | 1 + neuralnetworks/1.2/utils/Android.bp | 4 ++++ neuralnetworks/1.2/vts/functional/Android.bp | 3 +++ neuralnetworks/1.3/utils/Android.bp | 4 ++++ neuralnetworks/1.3/vts/functional/Android.bp | 4 ++++ neuralnetworks/aidl/utils/Android.bp | 4 ++++ neuralnetworks/aidl/vts/functional/Android.bp | 4 ++++ neuralnetworks/utils/common/Android.bp | 1 + radio/aidl/vts/Android.bp | 6 ++++++ security/keymint/aidl/vts/functional/Android.bp | 6 ++++++ sensors/1.0/vts/functional/Android.bp | 3 +++ sensors/2.0/vts/functional/Android.bp | 3 +++ sensors/common/default/2.X/multihal/tests/Android.bp | 3 +++ thermal/2.0/vts/functional/Android.bp | 1 + vibrator/aidl/vts/Android.bp | 1 + wifi/1.0/vts/functional/Android.bp | 3 +++ wifi/hostapd/1.3/vts/functional/Android.bp | 3 +++ wifi/supplicant/1.0/vts/functional/Android.bp | 6 ++++++ 44 files changed, 136 insertions(+) diff --git a/audio/common/all-versions/default/Android.bp b/audio/common/all-versions/default/Android.bp index a25565d40c..95436748ee 100644 --- a/audio/common/all-versions/default/Android.bp +++ b/audio/common/all-versions/default/Android.bp @@ -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 diff --git a/audio/core/all-versions/vts/functional/Android.bp b/audio/core/all-versions/vts/functional/Android.bp index 03708957e4..3007f01786 100644 --- a/audio/core/all-versions/vts/functional/Android.bp +++ b/audio/core/all-versions/vts/functional/Android.bp @@ -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", diff --git a/audio/effect/all-versions/vts/functional/Android.bp b/audio/effect/all-versions/vts/functional/Android.bp index 48d6474b41..3b15ed4658 100644 --- a/audio/effect/all-versions/vts/functional/Android.bp +++ b/audio/effect/all-versions/vts/functional/Android.bp @@ -26,6 +26,9 @@ package { cc_defaults { name: "VtsHalAudioEffectTargetTest_default", defaults: ["VtsHalTargetTestDefaults"], + tidy_timeout_srcs: [ + "VtsHalAudioEffectTargetTest.cpp", + ], srcs: [ "VtsHalAudioEffectTargetTest.cpp", "ValidateAudioEffectsConfiguration.cpp", diff --git a/automotive/evs/1.1/vts/functional/Android.bp b/automotive/evs/1.1/vts/functional/Android.bp index cbc2150811..18687bfc30 100644 --- a/automotive/evs/1.1/vts/functional/Android.bp +++ b/automotive/evs/1.1/vts/functional/Android.bp @@ -25,6 +25,9 @@ package { cc_test { name: "VtsHalEvsV1_1TargetTest", + tidy_timeout_srcs: [ + "VtsHalEvsV1_1TargetTest.cpp", + ], srcs: [ "FrameHandler.cpp", "FrameHandlerUltrasonics.cpp", diff --git a/automotive/sv/1.0/vts/functional/Android.bp b/automotive/sv/1.0/vts/functional/Android.bp index 1ff34506ee..e94893c2d0 100644 --- a/automotive/sv/1.0/vts/functional/Android.bp +++ b/automotive/sv/1.0/vts/functional/Android.bp @@ -25,6 +25,9 @@ package { cc_test { name: "VtsHalSurroundViewV1_0TargetTest", + tidy_timeout_srcs: [ + "VtsHalSurroundViewV1_0TargetTest.cpp", + ], srcs: [ "VtsHalSurroundViewV1_0TargetTest.cpp", "SurroundViewStreamHandler.cpp", diff --git a/automotive/vehicle/2.0/default/Android.bp b/automotive/vehicle/2.0/default/Android.bp index 869c0c9124..14177dd759 100644 --- a/automotive/vehicle/2.0/default/Android.bp +++ b/automotive/vehicle/2.0/default/Android.bp @@ -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", diff --git a/automotive/vehicle/2.0/utils/Android.bp b/automotive/vehicle/2.0/utils/Android.bp index a75ce49803..770d4471fe 100644 --- a/automotive/vehicle/2.0/utils/Android.bp +++ b/automotive/vehicle/2.0/utils/Android.bp @@ -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", ], diff --git a/biometrics/fingerprint/2.1/vts/functional/Android.bp b/biometrics/fingerprint/2.1/vts/functional/Android.bp index 0935bf61c2..68b3360722 100644 --- a/biometrics/fingerprint/2.1/vts/functional/Android.bp +++ b/biometrics/fingerprint/2.1/vts/functional/Android.bp @@ -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"], diff --git a/bluetooth/audio/2.1/vts/functional/Android.bp b/bluetooth/audio/2.1/vts/functional/Android.bp index 3314a8ada8..cea7326d80 100644 --- a/bluetooth/audio/2.1/vts/functional/Android.bp +++ b/bluetooth/audio/2.1/vts/functional/Android.bp @@ -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", diff --git a/bluetooth/audio/aidl/vts/Android.bp b/bluetooth/audio/aidl/vts/Android.bp index a662aaadfa..feb952edf7 100644 --- a/bluetooth/audio/aidl/vts/Android.bp +++ b/bluetooth/audio/aidl/vts/Android.bp @@ -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", diff --git a/broadcastradio/1.1/vts/functional/Android.bp b/broadcastradio/1.1/vts/functional/Android.bp index f0dfe961b9..0fb4eb0b10 100644 --- a/broadcastradio/1.1/vts/functional/Android.bp +++ b/broadcastradio/1.1/vts/functional/Android.bp @@ -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", diff --git a/broadcastradio/2.0/vts/functional/Android.bp b/broadcastradio/2.0/vts/functional/Android.bp index e26486dcc7..cb50c5ef90 100644 --- a/broadcastradio/2.0/vts/functional/Android.bp +++ b/broadcastradio/2.0/vts/functional/Android.bp @@ -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", diff --git a/camera/provider/2.4/vts/functional/Android.bp b/camera/provider/2.4/vts/functional/Android.bp index 8886ee1e8c..d2f61a5484 100644 --- a/camera/provider/2.4/vts/functional/Android.bp +++ b/camera/provider/2.4/vts/functional/Android.bp @@ -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. diff --git a/drm/1.0/vts/functional/Android.bp b/drm/1.0/vts/functional/Android.bp index 5ea6ad3c66..8ca6a656ca 100644 --- a/drm/1.0/vts/functional/Android.bp +++ b/drm/1.0/vts/functional/Android.bp @@ -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", diff --git a/drm/1.1/vts/functional/Android.bp b/drm/1.1/vts/functional/Android.bp index 656ec50894..760b67ef88 100644 --- a/drm/1.1/vts/functional/Android.bp +++ b/drm/1.1/vts/functional/Android.bp @@ -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", ], diff --git a/drm/1.2/vts/functional/Android.bp b/drm/1.2/vts/functional/Android.bp index ca90ee9e30..dd22ebe10b 100644 --- a/drm/1.2/vts/functional/Android.bp +++ b/drm/1.2/vts/functional/Android.bp @@ -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", diff --git a/graphics/composer/2.1/vts/functional/Android.bp b/graphics/composer/2.1/vts/functional/Android.bp index eb67d34b50..9ffd7d52e0 100644 --- a/graphics/composer/2.1/vts/functional/Android.bp +++ b/graphics/composer/2.1/vts/functional/Android.bp @@ -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. diff --git a/graphics/composer/2.2/vts/functional/Android.bp b/graphics/composer/2.2/vts/functional/Android.bp index 36f3c00fae..e45696dca2 100644 --- a/graphics/composer/2.2/vts/functional/Android.bp +++ b/graphics/composer/2.2/vts/functional/Android.bp @@ -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", diff --git a/graphics/composer/2.3/vts/functional/Android.bp b/graphics/composer/2.3/vts/functional/Android.bp index d27a1513f4..70384ac62e 100644 --- a/graphics/composer/2.3/vts/functional/Android.bp +++ b/graphics/composer/2.3/vts/functional/Android.bp @@ -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. diff --git a/graphics/composer/2.4/vts/functional/Android.bp b/graphics/composer/2.4/vts/functional/Android.bp index 6089e2da75..22ae7c48cf 100644 --- a/graphics/composer/2.4/vts/functional/Android.bp +++ b/graphics/composer/2.4/vts/functional/Android.bp @@ -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. diff --git a/health/2.0/vts/functional/Android.bp b/health/2.0/vts/functional/Android.bp index 0fcac190b4..597fb50b5e 100644 --- a/health/2.0/vts/functional/Android.bp +++ b/health/2.0/vts/functional/Android.bp @@ -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", diff --git a/health/aidl/vts/functional/Android.bp b/health/aidl/vts/functional/Android.bp index d315c607f6..f9da79f5e2 100644 --- a/health/aidl/vts/functional/Android.bp +++ b/health/aidl/vts/functional/Android.bp @@ -29,6 +29,9 @@ cc_test { "VtsHalTargetTestDefaults", "use_libaidlvintf_gtest_helper_static", ], + tidy_timeout_srcs: [ + "VtsHalHealthTargetTest.cpp", + ], srcs: [ "VtsHalHealthTargetTest.cpp", ], diff --git a/health/utils/libhealthshim/Android.bp b/health/utils/libhealthshim/Android.bp index 42e4ea7cc0..3a1415fbac 100644 --- a/health/utils/libhealthshim/Android.bp +++ b/health/utils/libhealthshim/Android.bp @@ -70,6 +70,9 @@ cc_test { "libhealthshim", "libgmock", ], + tidy_timeout_srcs: [ + "test.cpp", + ], srcs: [ "test.cpp", ], diff --git a/identity/support/Android.bp b/identity/support/Android.bp index db1a945964..4e3d1f75e5 100644 --- a/identity/support/Android.bp +++ b/identity/support/Android.bp @@ -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", ], diff --git a/keymaster/3.0/vts/functional/Android.bp b/keymaster/3.0/vts/functional/Android.bp index 39bec3fffa..fde32a745c 100644 --- a/keymaster/3.0/vts/functional/Android.bp +++ b/keymaster/3.0/vts/functional/Android.bp @@ -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", diff --git a/keymaster/4.0/vts/functional/Android.bp b/keymaster/4.0/vts/functional/Android.bp index 8e5a0ff6c0..f9a02baa56 100644 --- a/keymaster/4.0/vts/functional/Android.bp +++ b/keymaster/4.0/vts/functional/Android.bp @@ -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", ], diff --git a/media/omx/1.0/vts/functional/component/Android.bp b/media/omx/1.0/vts/functional/component/Android.bp index 9d4d092a52..7b8ec9ddf4 100644 --- a/media/omx/1.0/vts/functional/component/Android.bp +++ b/media/omx/1.0/vts/functional/component/Android.bp @@ -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", diff --git a/neuralnetworks/1.2/utils/Android.bp b/neuralnetworks/1.2/utils/Android.bp index 4c5f065dda..57450d9733 100644 --- a/neuralnetworks/1.2/utils/Android.bp +++ b/neuralnetworks/1.2/utils/Android.bp @@ -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", diff --git a/neuralnetworks/1.2/vts/functional/Android.bp b/neuralnetworks/1.2/vts/functional/Android.bp index 52d51e2ce9..2177924d30 100644 --- a/neuralnetworks/1.2/vts/functional/Android.bp +++ b/neuralnetworks/1.2/vts/functional/Android.bp @@ -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", diff --git a/neuralnetworks/1.3/utils/Android.bp b/neuralnetworks/1.3/utils/Android.bp index c512dda772..aa03fea01c 100644 --- a/neuralnetworks/1.3/utils/Android.bp +++ b/neuralnetworks/1.3/utils/Android.bp @@ -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", diff --git a/neuralnetworks/1.3/vts/functional/Android.bp b/neuralnetworks/1.3/vts/functional/Android.bp index 89517602d2..9fa0f0a174 100644 --- a/neuralnetworks/1.3/vts/functional/Android.bp +++ b/neuralnetworks/1.3/vts/functional/Android.bp @@ -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", diff --git a/neuralnetworks/aidl/utils/Android.bp b/neuralnetworks/aidl/utils/Android.bp index 41eae8571a..6cd95bd33e 100644 --- a/neuralnetworks/aidl/utils/Android.bp +++ b/neuralnetworks/aidl/utils/Android.bp @@ -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", ], diff --git a/neuralnetworks/aidl/vts/functional/Android.bp b/neuralnetworks/aidl/vts/functional/Android.bp index 356cdb0956..04b4a45d8f 100644 --- a/neuralnetworks/aidl/vts/functional/Android.bp +++ b/neuralnetworks/aidl/vts/functional/Android.bp @@ -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", diff --git a/neuralnetworks/utils/common/Android.bp b/neuralnetworks/utils/common/Android.bp index bfba24fc1f..91fca2fba2 100644 --- a/neuralnetworks/utils/common/Android.bp +++ b/neuralnetworks/utils/common/Android.bp @@ -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", diff --git a/radio/aidl/vts/Android.bp b/radio/aidl/vts/Android.bp index 8060e4bcc3..8f28255172 100644 --- a/radio/aidl/vts/Android.bp +++ b/radio/aidl/vts/Android.bp @@ -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", diff --git a/security/keymint/aidl/vts/functional/Android.bp b/security/keymint/aidl/vts/functional/Android.bp index 91db3c8954..079b0fe8bb 100644 --- a/security/keymint/aidl/vts/functional/Android.bp +++ b/security/keymint/aidl/vts/functional/Android.bp @@ -50,6 +50,9 @@ cc_test { defaults: [ "keymint_vts_defaults", ], + tidy_timeout_srcs: [ + "KeyMintTest.cpp", + ], srcs: [ "AttestKeyTest.cpp", "DeviceUniqueAttestationTest.cpp", @@ -69,6 +72,9 @@ cc_test_library { defaults: [ "keymint_vts_defaults", ], + tidy_timeout_srcs: [ + "KeyMintAidlTestBase.cpp", + ], srcs: [ "KeyMintAidlTestBase.cpp", ], diff --git a/sensors/1.0/vts/functional/Android.bp b/sensors/1.0/vts/functional/Android.bp index 9a92fb3150..274cfa7fd6 100644 --- a/sensors/1.0/vts/functional/Android.bp +++ b/sensors/1.0/vts/functional/Android.bp @@ -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", diff --git a/sensors/2.0/vts/functional/Android.bp b/sensors/2.0/vts/functional/Android.bp index cf7c9fae75..c4ec866fc1 100644 --- a/sensors/2.0/vts/functional/Android.bp +++ b/sensors/2.0/vts/functional/Android.bp @@ -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", ], diff --git a/sensors/common/default/2.X/multihal/tests/Android.bp b/sensors/common/default/2.X/multihal/tests/Android.bp index d8e7ce6a5c..21d1d77abf 100644 --- a/sensors/common/default/2.X/multihal/tests/Android.bp +++ b/sensors/common/default/2.X/multihal/tests/Android.bp @@ -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", diff --git a/thermal/2.0/vts/functional/Android.bp b/thermal/2.0/vts/functional/Android.bp index f26c1af3b1..29dffcb581 100644 --- a/thermal/2.0/vts/functional/Android.bp +++ b/thermal/2.0/vts/functional/Android.bp @@ -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", diff --git a/vibrator/aidl/vts/Android.bp b/vibrator/aidl/vts/Android.bp index 3f328fa736..12618707ca 100644 --- a/vibrator/aidl/vts/Android.bp +++ b/vibrator/aidl/vts/Android.bp @@ -13,6 +13,7 @@ cc_test { "VtsHalTargetTestDefaults", "use_libaidlvintf_gtest_helper_static", ], + tidy_timeout_srcs: ["VtsHalVibratorTargetTest.cpp"], srcs: ["VtsHalVibratorTargetTest.cpp"], shared_libs: [ "libbinder", diff --git a/wifi/1.0/vts/functional/Android.bp b/wifi/1.0/vts/functional/Android.bp index 6c0ebf7637..ebfa1640da 100644 --- a/wifi/1.0/vts/functional/Android.bp +++ b/wifi/1.0/vts/functional/Android.bp @@ -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", diff --git a/wifi/hostapd/1.3/vts/functional/Android.bp b/wifi/hostapd/1.3/vts/functional/Android.bp index 6eceadf774..78cd4af9d2 100644 --- a/wifi/hostapd/1.3/vts/functional/Android.bp +++ b/wifi/hostapd/1.3/vts/functional/Android.bp @@ -26,6 +26,9 @@ package { cc_test { name: "VtsHalWifiHostapdV1_3TargetTest", defaults: ["VtsHalTargetTestDefaults"], + tidy_timeout_srcs: [ + "hostapd_hidl_test.cpp", + ], srcs: [ "hostapd_hidl_test.cpp", ], diff --git a/wifi/supplicant/1.0/vts/functional/Android.bp b/wifi/supplicant/1.0/vts/functional/Android.bp index 121117c244..2d86822fc7 100644 --- a/wifi/supplicant/1.0/vts/functional/Android.bp +++ b/wifi/supplicant/1.0/vts/functional/Android.bp @@ -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",