• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// Copyright (C) 2015 The Android Open Source Project
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7//      http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15package {
16    default_team: "trendy_team_machine_learning",
17    default_applicable_licenses: ["Android-Apache-2.0"],
18}
19
20android_test {
21    name: "CtsVoiceInteractionTestCases",
22    defaults: ["cts_defaults"],
23    static_libs: [
24        "CtsAttentionServiceDevice",
25        "CtsSoundTriggerInstrumentation",
26        "CtsVoiceInteractionCommon",
27        "ctstestrunner-axt",
28        "compatibility-device-util-axt",
29        "androidx.test.ext.junit",
30        "testng",
31        "platform-compat-test-rules",
32        "android.app.wearable.flags-aconfig-java",
33        "android.permission.flags-aconfig-java",
34        "Harrier",
35        "Nene",
36        "ActivityContext",
37        "TestApp",
38        "android.multiuser.flags-aconfig-java",
39    ],
40    aidl: {
41        local_include_dirs: [
42            "service/aidl",
43        ],
44    },
45    srcs: [
46        "src/**/*.java",
47        "service/src/android/voiceinteraction/service/ProxyVoiceInteractionService.java",
48        "service/src/android/voiceinteraction/service/MainHotwordDetectionService.java",
49        "service/src/android/voiceinteraction/service/MainInteractionService.java",
50        "service/src/android/voiceinteraction/service/MainInteractionSession.java",
51        "service/src/android/voiceinteraction/service/MainInteractionSessionService.java",
52        "service/src/android/voiceinteraction/service/MainRecognitionService.java",
53        "service/src/android/voiceinteraction/service/MainWearableSensingService.java",
54        "service/src/android/voiceinteraction/service/EventPayloadParcelable.java",
55        "service/src/android/voiceinteraction/service/EventPayloadParcelable.aidl",
56        "service/src/android/voiceinteraction/service/MainVisualQueryDetectionService.java",
57        "service/src/android/voiceinteraction/service/SimpleVoiceInteractionSession.java",
58        "service/aidl/android/voiceinteraction/service/*.aidl",
59    ],
60    // Tag this module as a cts test artifact
61    test_suites: [
62        "cts",
63        "general-tests",
64    ],
65    sdk_version: "test_current",
66    // platform APIs required for CoreCompatChangeRule
67    platform_apis: true,
68    data: [
69        ":CtsNoRecognitionVoiceInteractionService",
70        ":CtsVoiceInteractionApp",
71        ":CtsVoiceInteractionService",
72    ],
73    per_testcase_directory: true,
74}
75