summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorWei Jia <wjia@google.com>2015-10-08 16:42:25 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2015-10-08 16:42:25 +0000
commit0b09da7a98d5f55674dba7b380e1b8d262f709b0 (patch)
tree3ce7f90ca36c6d7b879f73f67650622fc06fcf16 /include
parent8b713f11afc2cd5bf4252022c84bb480a8dd492b (diff)
parent04c02eeb0e5e5e4829df6946b275a770a8443330 (diff)
downloadframeworks_av-0b09da7a98d5f55674dba7b380e1b8d262f709b0.zip
frameworks_av-0b09da7a98d5f55674dba7b380e1b8d262f709b0.tar.gz
frameworks_av-0b09da7a98d5f55674dba7b380e1b8d262f709b0.tar.bz2
am 04c02eeb: Merge "DO NOT MERGE - OMX: allow only secure codec to remotely call allocateBuffer." into lmp-dev
* commit '04c02eeb0e5e5e4829df6946b275a770a8443330': DO NOT MERGE - OMX: allow only secure codec to remotely call allocateBuffer.
Diffstat (limited to 'include')
-rw-r--r--include/media/IOMX.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/media/IOMX.h b/include/media/IOMX.h
index 627f23b..595e51f 100644
--- a/include/media/IOMX.h
+++ b/include/media/IOMX.h
@@ -207,6 +207,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> {