1// Copyright (C) 2019 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_aaos_framework",
17    default_applicable_licenses: ["Android-Apache-2.0"],
18}
19
20aidl_interface {
21    name: "android.automotive.watchdog",
22    vendor_available: true,
23    srcs: [
24        "android/automotive/watchdog/*.aidl",
25    ],
26    stability: "vintf",
27    backend: {
28        java: {
29            sdk_version: "module_current",
30            min_sdk_version: "31",
31            apex_available: [
32                "//apex_available:platform",
33                "com.android.car.framework",
34            ],
35            enabled: true,
36        },
37    },
38    versions: [
39        "2",
40        "3",
41    ],
42}
43
44aidl_interface {
45    name: "android.automotive.watchdog.internal",
46    vendor_available: false,
47    srcs: [
48        "android/automotive/watchdog/internal/*.aidl",
49    ],
50    backend: {
51        java: {
52            sdk_version: "module_current",
53            min_sdk_version: "31",
54            apex_available: [
55                "//apex_available:platform",
56                "com.android.car.framework",
57            ],
58            enabled: true,
59        },
60    },
61    imports: [
62        "android.automotive.watchdog-V3",
63    ],
64    versions_with_info: [
65        {
66            version: "1",
67            imports: ["android.automotive.watchdog-V3"],
68        },
69        {
70            version: "2",
71            imports: ["android.automotive.watchdog-V3"],
72        },
73        {
74            version: "3",
75            imports: ["android.automotive.watchdog-V3"],
76        },
77
78    ],
79    frozen: true,
80}
81