Re-enable tests temporarily disabled for Automotive.
Bug: 214488187
Test: `atest CtsVoiceInteractionTestCases` on a raven_car build
Change-Id: I951333aadb4d48f1d5cea46d0d9806c497c956e2
diff --git a/tests/tests/voiceinteraction/src/android/voiceinteraction/cts/HotwordDetectionServiceBasicTest.java b/tests/tests/voiceinteraction/src/android/voiceinteraction/cts/HotwordDetectionServiceBasicTest.java
index 1ebad32..767143c 100644
--- a/tests/tests/voiceinteraction/src/android/voiceinteraction/cts/HotwordDetectionServiceBasicTest.java
+++ b/tests/tests/voiceinteraction/src/android/voiceinteraction/cts/HotwordDetectionServiceBasicTest.java
@@ -21,7 +21,6 @@
import static com.google.common.truth.Truth.assertThat;
import static org.junit.Assert.assertEquals;
-import static org.junit.Assume.assumeFalse;
import android.app.Instrumentation;
import android.app.compat.CompatChanges;
@@ -149,8 +148,6 @@
@RequiresDevice
public void testHotwordDetectionService_createDetectorTwiceQuickly_triggerSuccess()
throws Throwable {
- assumeFalse("TODO(b/214488187): Fix failure for Automotive", sIsAutomotive);
-
Thread.sleep(CLEAR_CHIP_MS);
final BlockingBroadcastReceiver softwareReceiver = new BlockingBroadcastReceiver(mContext,
Utils.HOTWORD_DETECTION_SERVICE_SOFTWARE_TRIGGER_RESULT_INTENT);
@@ -200,8 +197,6 @@
@RequiresDevice
public void testHotwordDetectionService_onDetectFromDsp_success()
throws Throwable {
- assumeFalse("TODO(b/214488187): Fix failure for Automotive", sIsAutomotive);
-
Thread.sleep(CLEAR_CHIP_MS);
// Create AlwaysOnHotwordDetector and wait the HotwordDetectionService ready
testHotwordDetection(Utils.HOTWORD_DETECTION_SERVICE_TRIGGER_TEST,
@@ -218,8 +213,6 @@
@RequiresDevice
public void testHotwordDetectionService_onDetectFromDsp_rejection()
throws Throwable {
- assumeFalse("TODO(b/214488187): Fix failure for Automotive", sIsAutomotive);
-
Thread.sleep(CLEAR_CHIP_MS);
// Create AlwaysOnHotwordDetector and wait the HotwordDetectionService ready
testHotwordDetection(Utils.HOTWORD_DETECTION_SERVICE_TRIGGER_TEST,
@@ -251,8 +244,6 @@
@RequiresDevice
public void testHotwordDetectionService_onDetectFromMic_success()
throws Throwable {
- assumeFalse("TODO(b/214488187): Fix failure for Automotive", sIsAutomotive);
-
Thread.sleep(CLEAR_CHIP_MS);
// Create SoftwareHotwordDetector and wait the HotwordDetectionService ready
testHotwordDetection(Utils.HOTWORD_DETECTION_SERVICE_FROM_SOFTWARE_TRIGGER_TEST,
@@ -289,8 +280,6 @@
@Test
@RequiresDevice
public void testHotwordDetectionService_concurrentCapture() throws Throwable {
- assumeFalse("TODO(b/214488187): Fix failure for Automotive", sIsAutomotive);
-
// Create SoftwareHotwordDetector and wait the HotwordDetectionService ready
testHotwordDetection(Utils.HOTWORD_DETECTION_SERVICE_FROM_SOFTWARE_TRIGGER_TEST,
Utils.HOTWORD_DETECTION_SERVICE_SOFTWARE_TRIGGER_RESULT_INTENT,