diff options
author | Wei Jia <wjia@google.com> | 2015-10-06 02:55:19 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2015-10-06 02:55:19 +0000 |
commit | b90b8291e36ae079ac0ccd029bb6e6a987036f7c (patch) | |
tree | 973ea7078c95ed0d8d029fd1dffa3ddbe6fd2528 /include/media | |
parent | ee481c9b172f90f507d505c9b32620cc1d062c83 (diff) | |
parent | cb70fdbe9be14002a4303a93f07a13c508c00d89 (diff) | |
download | frameworks_av-b90b8291e36ae079ac0ccd029bb6e6a987036f7c.zip frameworks_av-b90b8291e36ae079ac0ccd029bb6e6a987036f7c.tar.gz frameworks_av-b90b8291e36ae079ac0ccd029bb6e6a987036f7c.tar.bz2 |
am cb70fdbe: Merge "OMX: allow only secure codec to remotely call allocateBuffer." into mnc-dev
* commit 'cb70fdbe9be14002a4303a93f07a13c508c00d89':
OMX: allow only secure codec to remotely call allocateBuffer.
Diffstat (limited to 'include/media')
-rw-r--r-- | include/media/IOMX.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/media/IOMX.h b/include/media/IOMX.h index 3d29e4a..27ad694 100644 --- a/include/media/IOMX.h +++ b/include/media/IOMX.h @@ -249,6 +249,12 @@ public: virtual status_t onTransact( uint32_t code, const Parcel &data, Parcel *reply, uint32_t flags = 0); + +protected: + // check if the codec is secure. + virtual bool isSecure(IOMX::node_id node) { + return false; + } }; class BnOMXObserver : public BnInterface<IOMXObserver> { |