platform_hardware_interfaces/automotive/evs/1.1/IEvsDisplay.hal
Changyeon Jo 043a7a027f Add a method to support multi-display usages
- Add getDisplayIdList() and openDisplay_1_1() to IEvsEnumerator.
- Add getDisplayInfo_1_1() to IEvsDisplay.
- Update CameraToDisplayRountTrip test case to use new methods.
- Update default implementation.

Bug: 141886260
Bug: 146567078
Bug: 147553536
Test: VtsHalEvsV1_1TargetTest
Change-Id: I3c17aecc482770074159f7ccaf8e00cadf711e76
Signed-off-by: Changyeon Jo <changyeon@google.com>
2020-02-16 05:56:10 -08:00

35 lines
1.2 KiB
Text

/*
* Copyright 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.automotive.evs@1.1;
import @1.0::IEvsDisplay;
import @1.0::EvsResult;
import android.frameworks.automotive.display@1.0::HwDisplayConfig;
import android.frameworks.automotive.display@1.0::HwDisplayState;
/**
* Represents a single display.
*/
interface IEvsDisplay extends @1.0::IEvsDisplay {
/**
* Returns the description of this display.
*
* @return cfg Current configuration of this display.
* @return state Current state of this display.
*/
getDisplayInfo_1_1() generates (HwDisplayConfig cfg, HwDisplayState state);
};