platform_hardware_interfaces/media/c2/1.0/IComponentInterface.hal
Pawin Vongmasa 9d1cf2ab29 Copy from the old version of Codec2 HAL
This CL makes transitioning of Codec2 HAL from private to public
smoother. The CL will be reverted later.

Test: Builds
Bug: 112362730
Change-Id: Id0e199112e968e35ed3b27413baae810f1ecb2df
2018-11-14 23:53:36 -08:00

39 lines
1.4 KiB
Text

/*
* Copyright (C) 2018 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.media.c2@1.0;
import IConfigurable;
/**
* Component interface object. This object contains all of the configuration of
* a potential or actual component. It can be created and used independently of
* an actual Codec 2.0 component instance to query support and parameters for
* various component settings and configurations for a potential component.
* Actual components also expose this interface.
*/
interface IComponentInterface extends IConfigurable {
/*
* There are no additional methods to IConfigurable interface.
*
* Component interfaces have no states.
*
* The name of the component or component interface object is a unique name
* for that component or component interface 'class'; however, multiple
* instances of that component must have the same name.
*/
};