diff --git a/cas/aidl/aidl_api/android.hardware.cas/current/android/hardware/cas/AidlCasPluginDescriptor.aidl b/cas/aidl/aidl_api/android.hardware.cas/current/android/hardware/cas/AidlCasPluginDescriptor.aidl index 7b8099f756..89d8625307 100644 --- a/cas/aidl/aidl_api/android.hardware.cas/current/android/hardware/cas/AidlCasPluginDescriptor.aidl +++ b/cas/aidl/aidl_api/android.hardware.cas/current/android/hardware/cas/AidlCasPluginDescriptor.aidl @@ -32,6 +32,7 @@ // later when a module using the interface is updated, e.g., Mainline modules. package android.hardware.cas; +/* @hide */ @VintfStability parcelable AidlCasPluginDescriptor { int caSystemId; diff --git a/cas/aidl/aidl_api/android.hardware.cas/current/android/hardware/cas/DestinationBuffer.aidl b/cas/aidl/aidl_api/android.hardware.cas/current/android/hardware/cas/DestinationBuffer.aidl index dd355afed0..b69cc33a92 100644 --- a/cas/aidl/aidl_api/android.hardware.cas/current/android/hardware/cas/DestinationBuffer.aidl +++ b/cas/aidl/aidl_api/android.hardware.cas/current/android/hardware/cas/DestinationBuffer.aidl @@ -32,6 +32,7 @@ // later when a module using the interface is updated, e.g., Mainline modules. package android.hardware.cas; +/* @hide */ @VintfStability union DestinationBuffer { android.hardware.cas.SharedBuffer nonsecureMemory; diff --git a/cas/aidl/aidl_api/android.hardware.cas/current/android/hardware/cas/ICas.aidl b/cas/aidl/aidl_api/android.hardware.cas/current/android/hardware/cas/ICas.aidl index e169beb4ff..28c9eb0213 100644 --- a/cas/aidl/aidl_api/android.hardware.cas/current/android/hardware/cas/ICas.aidl +++ b/cas/aidl/aidl_api/android.hardware.cas/current/android/hardware/cas/ICas.aidl @@ -32,6 +32,7 @@ // later when a module using the interface is updated, e.g., Mainline modules. package android.hardware.cas; +/* @hide */ @VintfStability interface ICas { void closeSession(in byte[] sessionId); diff --git a/cas/aidl/aidl_api/android.hardware.cas/current/android/hardware/cas/ICasListener.aidl b/cas/aidl/aidl_api/android.hardware.cas/current/android/hardware/cas/ICasListener.aidl index ebc13ce760..db75062568 100644 --- a/cas/aidl/aidl_api/android.hardware.cas/current/android/hardware/cas/ICasListener.aidl +++ b/cas/aidl/aidl_api/android.hardware.cas/current/android/hardware/cas/ICasListener.aidl @@ -32,6 +32,7 @@ // later when a module using the interface is updated, e.g., Mainline modules. package android.hardware.cas; +/* @hide */ @VintfStability interface ICasListener { void onEvent(in int event, in int arg, in byte[] data); diff --git a/cas/aidl/aidl_api/android.hardware.cas/current/android/hardware/cas/IDescrambler.aidl b/cas/aidl/aidl_api/android.hardware.cas/current/android/hardware/cas/IDescrambler.aidl index 9bf7903e59..411891b6b1 100644 --- a/cas/aidl/aidl_api/android.hardware.cas/current/android/hardware/cas/IDescrambler.aidl +++ b/cas/aidl/aidl_api/android.hardware.cas/current/android/hardware/cas/IDescrambler.aidl @@ -32,6 +32,7 @@ // later when a module using the interface is updated, e.g., Mainline modules. package android.hardware.cas; +/* @hide */ @VintfStability interface IDescrambler { int descramble(in android.hardware.cas.ScramblingControl scramblingControl, in android.hardware.cas.SubSample[] subSamples, in android.hardware.cas.SharedBuffer srcBuffer, in long srcOffset, in android.hardware.cas.DestinationBuffer dstBuffer, in long dstOffset); diff --git a/cas/aidl/aidl_api/android.hardware.cas/current/android/hardware/cas/IMediaCasService.aidl b/cas/aidl/aidl_api/android.hardware.cas/current/android/hardware/cas/IMediaCasService.aidl index f5c80187b8..1f945a7c94 100644 --- a/cas/aidl/aidl_api/android.hardware.cas/current/android/hardware/cas/IMediaCasService.aidl +++ b/cas/aidl/aidl_api/android.hardware.cas/current/android/hardware/cas/IMediaCasService.aidl @@ -32,6 +32,7 @@ // later when a module using the interface is updated, e.g., Mainline modules. package android.hardware.cas; +/* @hide */ @VintfStability interface IMediaCasService { android.hardware.cas.IDescrambler createDescrambler(in int CA_system_id); diff --git a/cas/aidl/aidl_api/android.hardware.cas/current/android/hardware/cas/SharedBuffer.aidl b/cas/aidl/aidl_api/android.hardware.cas/current/android/hardware/cas/SharedBuffer.aidl index a18aa57424..9200b1dbf3 100644 --- a/cas/aidl/aidl_api/android.hardware.cas/current/android/hardware/cas/SharedBuffer.aidl +++ b/cas/aidl/aidl_api/android.hardware.cas/current/android/hardware/cas/SharedBuffer.aidl @@ -32,6 +32,7 @@ // later when a module using the interface is updated, e.g., Mainline modules. package android.hardware.cas; +/* @hide */ @VintfStability parcelable SharedBuffer { android.hardware.common.Ashmem heapBase; diff --git a/cas/aidl/aidl_api/android.hardware.cas/current/android/hardware/cas/Status.aidl b/cas/aidl/aidl_api/android.hardware.cas/current/android/hardware/cas/Status.aidl index 3d3a8a01f2..343c810ed6 100644 --- a/cas/aidl/aidl_api/android.hardware.cas/current/android/hardware/cas/Status.aidl +++ b/cas/aidl/aidl_api/android.hardware.cas/current/android/hardware/cas/Status.aidl @@ -32,6 +32,7 @@ // later when a module using the interface is updated, e.g., Mainline modules. package android.hardware.cas; +/* @hide */ @VintfStability parcelable Status { const int OK = 0; diff --git a/cas/aidl/aidl_api/android.hardware.cas/current/android/hardware/cas/StatusEvent.aidl b/cas/aidl/aidl_api/android.hardware.cas/current/android/hardware/cas/StatusEvent.aidl index 178cabc979..165c0d4769 100644 --- a/cas/aidl/aidl_api/android.hardware.cas/current/android/hardware/cas/StatusEvent.aidl +++ b/cas/aidl/aidl_api/android.hardware.cas/current/android/hardware/cas/StatusEvent.aidl @@ -32,6 +32,7 @@ // later when a module using the interface is updated, e.g., Mainline modules. package android.hardware.cas; +/* @hide */ @Backing(type="byte") @VintfStability enum StatusEvent { PLUGIN_PHYSICAL_MODULE_CHANGED = 0, diff --git a/cas/aidl/aidl_api/android.hardware.cas/current/android/hardware/cas/SubSample.aidl b/cas/aidl/aidl_api/android.hardware.cas/current/android/hardware/cas/SubSample.aidl index d9ee3b4873..5bd1a1e196 100644 --- a/cas/aidl/aidl_api/android.hardware.cas/current/android/hardware/cas/SubSample.aidl +++ b/cas/aidl/aidl_api/android.hardware.cas/current/android/hardware/cas/SubSample.aidl @@ -32,6 +32,7 @@ // later when a module using the interface is updated, e.g., Mainline modules. package android.hardware.cas; +/* @hide */ @VintfStability parcelable SubSample { int numBytesOfClearData; diff --git a/cas/aidl/android/hardware/cas/AidlCasPluginDescriptor.aidl b/cas/aidl/android/hardware/cas/AidlCasPluginDescriptor.aidl index 55b328a841..1dc7ac69ce 100644 --- a/cas/aidl/android/hardware/cas/AidlCasPluginDescriptor.aidl +++ b/cas/aidl/android/hardware/cas/AidlCasPluginDescriptor.aidl @@ -18,6 +18,7 @@ package android.hardware.cas; /** * Describes a CAS plugin with its system ID and name. + * @hide */ @VintfStability parcelable AidlCasPluginDescriptor { diff --git a/cas/aidl/android/hardware/cas/DestinationBuffer.aidl b/cas/aidl/android/hardware/cas/DestinationBuffer.aidl index 068f29d644..74336c2a43 100644 --- a/cas/aidl/android/hardware/cas/DestinationBuffer.aidl +++ b/cas/aidl/android/hardware/cas/DestinationBuffer.aidl @@ -19,6 +19,9 @@ package android.hardware.cas; import android.hardware.cas.SharedBuffer; import android.hardware.common.NativeHandle; +/** + * @hide + */ @VintfStability union DestinationBuffer { /** diff --git a/cas/aidl/android/hardware/cas/ICas.aidl b/cas/aidl/android/hardware/cas/ICas.aidl index 4c938c7b4a..e6494ae747 100644 --- a/cas/aidl/android/hardware/cas/ICas.aidl +++ b/cas/aidl/android/hardware/cas/ICas.aidl @@ -23,6 +23,7 @@ import android.hardware.cas.SessionIntent; * ICas is the API to control the CAS. It is used to manage sessions, provision/refresh the cas * system, and process the EMM/ECM messages. It also allows bi-directional, scheme-specific * communications between the client and the cas system. + * @hide */ @VintfStability interface ICas { diff --git a/cas/aidl/android/hardware/cas/ICasListener.aidl b/cas/aidl/android/hardware/cas/ICasListener.aidl index 32d843f6d6..21cd257bc6 100644 --- a/cas/aidl/android/hardware/cas/ICasListener.aidl +++ b/cas/aidl/android/hardware/cas/ICasListener.aidl @@ -18,6 +18,9 @@ package android.hardware.cas; import android.hardware.cas.StatusEvent; +/** + * @hide + */ @VintfStability interface ICasListener { /** diff --git a/cas/aidl/android/hardware/cas/IDescrambler.aidl b/cas/aidl/android/hardware/cas/IDescrambler.aidl index 33fbe75483..0ac995cc9e 100644 --- a/cas/aidl/android/hardware/cas/IDescrambler.aidl +++ b/cas/aidl/android/hardware/cas/IDescrambler.aidl @@ -23,6 +23,7 @@ import android.hardware.cas.SubSample; /** * IDescrambler is the API to control the descrambling operations. + * @hide */ @VintfStability interface IDescrambler { diff --git a/cas/aidl/android/hardware/cas/IMediaCasService.aidl b/cas/aidl/android/hardware/cas/IMediaCasService.aidl index 8bc31f65f4..641c4a9066 100644 --- a/cas/aidl/android/hardware/cas/IMediaCasService.aidl +++ b/cas/aidl/android/hardware/cas/IMediaCasService.aidl @@ -26,6 +26,7 @@ import android.hardware.cas.IDescrambler; * 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. + * @hide */ @VintfStability interface IMediaCasService { diff --git a/cas/aidl/android/hardware/cas/SharedBuffer.aidl b/cas/aidl/android/hardware/cas/SharedBuffer.aidl index 8a94ff7f00..0c89cfe9cd 100644 --- a/cas/aidl/android/hardware/cas/SharedBuffer.aidl +++ b/cas/aidl/android/hardware/cas/SharedBuffer.aidl @@ -22,6 +22,7 @@ import android.hardware.common.Ashmem; * SharedBuffer describes a shared buffer which is defined by a heapBase, an * offset and a size. The offset is relative to the shared memory base for the * memory region identified by heapBase. + * @hide */ @VintfStability parcelable SharedBuffer { diff --git a/cas/aidl/android/hardware/cas/Status.aidl b/cas/aidl/android/hardware/cas/Status.aidl index b2be34b02f..e7ae8ffe27 100644 --- a/cas/aidl/android/hardware/cas/Status.aidl +++ b/cas/aidl/android/hardware/cas/Status.aidl @@ -16,6 +16,9 @@ package android.hardware.cas; +/** + * @hide + */ @VintfStability parcelable Status { /** diff --git a/cas/aidl/android/hardware/cas/StatusEvent.aidl b/cas/aidl/android/hardware/cas/StatusEvent.aidl index 0f6263443f..1fe732e50b 100644 --- a/cas/aidl/android/hardware/cas/StatusEvent.aidl +++ b/cas/aidl/android/hardware/cas/StatusEvent.aidl @@ -18,6 +18,7 @@ package android.hardware.cas; /** * The Event Type for status change. + * @hide */ @VintfStability @Backing(type="byte") diff --git a/cas/aidl/android/hardware/cas/SubSample.aidl b/cas/aidl/android/hardware/cas/SubSample.aidl index c1353cbb0e..8e1ff77d8e 100644 --- a/cas/aidl/android/hardware/cas/SubSample.aidl +++ b/cas/aidl/android/hardware/cas/SubSample.aidl @@ -19,6 +19,7 @@ package android.hardware.cas; /** * A subsample consists of some number of bytes of clear (unscrambled) * data followed by a number of bytes of scrambled data. + * @hide */ @VintfStability parcelable SubSample {