Merge "Split VHAL property into a separate AIDL interface."

This commit is contained in:
Yu Shan
2023-01-13 21:27:43 +00:00
committed by Android (Google) Code Review
261 changed files with 62 additions and 2 deletions

View File

@@ -22,5 +22,6 @@ cc_defaults {
name: "VehicleHalInterfaceDefaults",
static_libs: [
"android.hardware.automotive.vehicle-V2-ndk",
"android.hardware.automotive.vehicle.property-V2-ndk",
],
}

View File

@@ -25,7 +25,7 @@ aidl_interface {
name: "android.hardware.automotive.vehicle",
vendor_available: true,
srcs: [
"android/hardware/automotive/vehicle/**/*.aidl",
"android/hardware/automotive/vehicle/*.aidl",
],
frozen: false,
stability: "vintf",

View File

@@ -1 +1,2 @@
8610b651e162c614a97542d6f4ed039c969823e5
0678e142246842695c1ba0524592fe2c3b789fc6

View File

@@ -52,6 +52,7 @@ android_test {
],
static_libs: [
"android.hardware.automotive.vehicle-V2-java",
"android.hardware.automotive.vehicle.property-V2-java",
"androidx.test.runner",
"truth-prebuilt",
],

View File

@@ -0,0 +1,53 @@
// Copyright (C) 2023 The Android Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
package {
// See: http://go/android-license-faq
// A large-scale-change added 'default_applicable_licenses' to import
// all of the 'license_kinds' from "hardware_interfaces_license"
// to get the below license kinds:
// SPDX-license-identifier-Apache-2.0
default_applicable_licenses: ["hardware_interfaces_license"],
}
aidl_interface {
name: "android.hardware.automotive.vehicle.property",
vendor_available: true,
srcs: [
// This HAL was originally part of android.hardware.automotive.vehicle
"android/hardware/automotive/vehicle/*.aidl",
],
frozen: false,
stability: "vintf",
backend: {
cpp: {
enabled: false,
},
java: {
sdk_version: "module_current",
min_sdk_version: "31",
apex_available: [
"//apex_available:platform",
"com.android.car.framework",
],
},
},
versions_with_info: [
{
version: "1",
imports: [],
},
],
}

View File

@@ -0,0 +1,2 @@
8610b651e162c614a97542d6f4ed039c969823e5
d80c4423311162bf7e4fdda8c7be2bad2371cc00

Some files were not shown because too many files have changed in this diff Show More