platform_hardware_interfaces/cas/1.2/IMediaCasService.hal
Henry Fang a9f9365551 Update cas@1.1 hal to cas@1.2.
Test: Manual
bug: 141783130
Change-Id: I0c3e9041a2057ce721a608cf3a9f0a9bb15a2305
Merged-In: I0c3e9041a2057ce721a608cf3a9f0a9bb15a2305
2019-11-06 23:00:05 +00:00

35 lines
1.3 KiB
Text

/*
* Copyright (C) 2019 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.cas@1.2;
import ICas;
import ICasListener;
import @1.1::IMediaCasService;
/**
* IMediaCasService is the main entry point for interacting with a vendor's
* cas HAL to create cas and descrambler plugin instances. A cas plugin instance
* opens cas sessions which are used to obtain keys for a descrambler session,
* which can in turn be used to descramble protected video content.
*
* The 1.2 must always create 1.2 ICas interfaces, which are
* returned via the 1.1 createPluginExt method.
*
* To use 1.2 features the caller must cast the returned interface to a
* 1.2 HAL, using V1_2::ICas::castFrom().
*/
interface IMediaCasService extends @1.1::IMediaCasService {};