Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 59cc2c1c authored by Joanne's avatar Joanne Committed by Joanne Chung
Browse files

Add TEST_MAPPING in attention service

Attention service add an entry in Hotword, we try to add TEST_MAPPING
to run a mini set of voice cts in presubmit to catch test fail earlier.

Bug: 242503165
Test: atest --test-mapping \
frameworks/base/services/core/java/com/android/server/attention

Change-Id: I043aaa787a1b157223ec73960d9390f52a7f8bc4
parent 7cbb2a39
Loading
Loading
Loading
Loading
+24 −0
Original line number Diff line number Diff line
{
  "presubmit": [
    {
      "name": "CtsVoiceInteractionTestCases",
      "options": [
        {
          "include-filter": "android.voiceinteraction.cts.AlwaysOnHotwordDetectorTest"
        },
        {
          "include-filter": "android.voiceinteraction.cts.HotwordDetectedResultTest"
        },
        {
          "include-filter": "android.voiceinteraction.cts.HotwordDetectionServiceBasicTest"
        },
        {
          "include-filter": "android.voiceinteraction.cts.HotwordDetectionServiceProximityTest"
        },
        {
          "exclude-annotation": "androidx.test.filters.FlakyTest"
        }
      ]
    }
  ]
}