From 74a5f8d1a94a4956d9b853ca1b1c6c9f7719d384 Mon Sep 17 00:00:00 2001 From: Joanne Chung Date: Wed, 4 May 2022 20:41:47 +0800 Subject: [PATCH] Re-enable the removed-from-presubmit hotword tests (framework part) Bug: 231374504 Test: atest --test-mapping frameworks/base/core/java/android/app Test: atest --test-mapping frameworks/base/services/voiceinteraction Test: atest --test-mapping \ frameworks/base/core/java/android/service/voice Change-Id: I5bba0fb61eb676ae2b096c92c70f99b6d730af96 --- core/java/android/app/TEST_MAPPING | 13 ------------- services/voiceinteraction/TEST_MAPPING | 13 ------------- 2 files changed, 26 deletions(-) diff --git a/core/java/android/app/TEST_MAPPING b/core/java/android/app/TEST_MAPPING index a8ae1913b9646..32207af22dc1a 100644 --- a/core/java/android/app/TEST_MAPPING +++ b/core/java/android/app/TEST_MAPPING @@ -110,19 +110,6 @@ "options": [ { "exclude-annotation": "androidx.test.filters.FlakyTest" - }, - // TODO(b/225076204): Remove the following four test cases after fixing the test fail. - { - "exclude-filter": "android.voiceinteraction.cts.HotwordDetectionServiceBasicTest#testHotwordDetectionService_createDetectorTwiceQuickly_triggerSuccess" - }, - { - "exclude-filter": "android.voiceinteraction.cts.HotwordDetectionServiceBasicTest#testHotwordDetectionService_onDetectFromExternalSource_success" - }, - { - "exclude-filter": "android.voiceinteraction.cts.HotwordDetectionServiceBasicTest#testHotwordDetectionService_createDetectorTwiceQuickly_triggerSuccess" - }, - { - "exclude-filter": "android.voiceinteraction.cts.HotwordDetectionServiceBasicTest#testHotwordDetectionService_onDetectFromMic_success" } ], "file_patterns": ["(/|^)VoiceInteract[^/]*"] diff --git a/services/voiceinteraction/TEST_MAPPING b/services/voiceinteraction/TEST_MAPPING index bc8c639df1c1b..22a6445843a4f 100644 --- a/services/voiceinteraction/TEST_MAPPING +++ b/services/voiceinteraction/TEST_MAPPING @@ -5,19 +5,6 @@ "options": [ { "exclude-annotation": "androidx.test.filters.FlakyTest" - }, - // TODO(b/225076204): Remove the following four test cases after fixing the test fail. - { - "exclude-filter": "android.voiceinteraction.cts.HotwordDetectionServiceBasicTest#testHotwordDetectionService_createDetectorTwiceQuickly_triggerSuccess" - }, - { - "exclude-filter": "android.voiceinteraction.cts.HotwordDetectionServiceBasicTest#testHotwordDetectionService_onDetectFromExternalSource_success" - }, - { - "exclude-filter": "android.voiceinteraction.cts.HotwordDetectionServiceBasicTest#testHotwordDetectionService_createDetectorTwiceQuickly_triggerSuccess" - }, - { - "exclude-filter": "android.voiceinteraction.cts.HotwordDetectionServiceBasicTest#testHotwordDetectionService_onDetectFromMic_success" } ] },