summaryrefslogtreecommitdiff
path: root/media
diff options
context:
space:
mode:
authorTreeHugger Robot <treehugger-gerrit@google.com>2018-04-02 20:42:41 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2018-04-02 20:42:41 +0000
commit72a79cb9a951b12161d5005442f458050354e1ed (patch)
tree322aa21922826da7190f38a0be5eececa879c7d8 /media
parentfd31ce1fe2c0fa1403f244f68347ea5f33cc7a85 (diff)
parentba97ccddd863d5f0aed2e04cf70c2ccf601f594a (diff)
downloadinterfaces-72a79cb9a951b12161d5005442f458050354e1ed.tar.gz
Merge "Update type Attrib" into pi-dev
Diffstat (limited to 'media')
-rw-r--r--media/c2/1.0/types.hal30
1 files changed, 28 insertions, 2 deletions
diff --git a/media/c2/1.0/types.hal b/media/c2/1.0/types.hal
index 8454dfb..6646a0d 100644
--- a/media/c2/1.0/types.hal
+++ b/media/c2/1.0/types.hal
@@ -109,8 +109,34 @@ struct ParamDescriptor {
ParamIndex index;
enum Attrib : uint32_t {
- IS_REQUIRED = 1u << 0,
- IS_PERSISTENT = 1u << 1,
+ /**
+ * Parameter is required to be specified.
+ */
+ REQUIRED = 1u << 0,
+ /**
+ * Parameter retains its value.
+ */
+ PERSISTENT = 1u << 1,
+ /**
+ * Parameter is strict.
+ */
+ STRICT = 1u << 2,
+ /**
+ * Parameter is publicly read-only.
+ */
+ READ_ONLY = 1u << 3,
+ /**
+ * Parameter must not be visible to clients.
+ */
+ HIDDEN = 1u << 4,
+ /**
+ * Parameter must not be used by framework (other than testing).
+ */
+ INTERNAL = 1u << 5,
+ /**
+ * Parameter is publicly constant (hence read-only).
+ */
+ CONST = 1u << 6,
};
/** Parameter attributes */
bitfield<Attrib> attrib;