android.hardware.tests.lazy@1.1::ILazy

Introduce minor version increment to ILazy for testing lazy HAL
inheritance.

Bug: 157451814
Bug: 158606505
Test: hidl_lazy_test
Change-Id: Ib418bc002e834edf5eae53043875dcb351b3eaf2
This commit is contained in:
Peter Kalauskas
2020-06-01 14:29:14 -07:00
parent d2985135d6
commit f4efbd5a82
3 changed files with 36 additions and 0 deletions

View File

15
tests/lazy/1.1/Android.bp Normal file
View File

@@ -0,0 +1,15 @@
// This file is autogenerated by hidl-gen -Landroidbp.
hidl_interface {
name: "android.hardware.tests.lazy@1.1",
root: "android.hardware",
system_ext_specific: true,
srcs: [
"ILazy.hal",
],
interfaces: [
"android.hardware.tests.lazy@1.0",
"android.hidl.base@1.0",
],
gen_java: true,
}

21
tests/lazy/1.1/ILazy.hal Normal file
View File

@@ -0,0 +1,21 @@
/*
* Copyright (C) 2020 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 android.hardware.tests.lazy@1.1;
import android.hardware.tests.lazy@1.0;
interface ILazy extends @1.0::ILazy {};