Home
last modified time | relevance | path

Searched refs:kind (Results 1 – 25 of 30) sorted by relevance

12

/system/media/camera/docs/
Dmetadata_model_test.py10 kind = Kind("some_root_kind", parent=None)
11 ins_outer = InnerNamespace("static", parent=kind)
12 kind._namespaces = [ins_outer]
16 entry1 = Entry(name="entry1", type="int32", kind="static",
18 entry2 = Entry(name="entry2", type="int32", kind="static",
20 entry3 = Entry(name="entry3", type="int32", kind="static",
38 self.assertEquals(kind, combined_children_namespace.parent)
62 entry1 = Entry(name="entry1", type="int32", kind="static",
64 entry2 = Entry(name="entry2", type="int32", kind="static",
96 entry1 = Entry(name="entry1", type="int32", kind="static",
[all …]
Dmetadata_model.py304 self._entry_map[e.kind][e.name] = e
323 self._entry_map[c.kind][c.name] = c
351 self._entry_map[p.kind].pop(p.name)
354 def is_entry_this_kind(self, entry, kind): argument
365 if kind not in ("static", "dynamic", "controls"):
366 assert(False), "Unknown kind value " + kind
368 return entry.name in self._entry_map[kind]
495 for kind in section.kinds:
496 kind._leafs = []
499 group_entry_by_kind = itertools.groupby(section._leafs, lambda x: x.kind)
[all …]
Dhtml.mako30 ….kind { color: #eeeeee; font-size: 1.2em; font-weight: bold; padding-left: 1.5em; background-color…
116 # Convert node name "x.y.z" of kind w to an HTML anchor of form
119 return '<a href="#%s_%s">%s</a>' % (node.kind, node.name, node.name)
182 % for kind in section.merged_kinds: # dynamic,static,controls
184 <span class="toc_kind_header">${kind.name}</span>
186 ${ insert_toc_body(kind)}\
221 % for kind in section.merged_kinds: # dynamic,static,controls
222 <tr><td colspan="7" class="kind">${kind.name}</td></tr>
253 <tr class="entry" id="${prop.kind}_${prop.name}">
389 ${insert_body(kind)}
[all …]
Dmetadata_template.mako51 % for kind in section.kinds: # dynamic,static,controls
52 <${kind.name}>
72 <clone entry="${prop.name}" kind="${prop.target_kind}"
219 ${insert_body(kind)}
221 </${kind.name}>
222 % endfor # for each kind
DCameraDeviceInfo.mako27 % if entry.kind == 'static' and entry.visibility in ("public", "java_public"):
DCaptureResultTest.mako27 % if entry.kind == 'dynamic' and entry.visibility in ("public", "java_public"):
Dcamera_device_info.mako87 % if entry.kind == 'static' and entry.visibility in ("public", "java_public"):
DACameraMetadata.mako22 …% if section.find_first(lambda x: isinstance(x, metadata_model.Entry) and x.kind == kind_name) and…
DCameraMetadataEnums.mako60 …% if section.find_first(lambda x: isinstance(x, metadata_model.Entry) and x.kind == xml_name) and \
DCameraMetadataKeys.mako78 …% if section.find_first(lambda x: isinstance(x, metadata_model.Entry) and x.kind == xml_name) and \
Dmetadata_helpers.py842 return '{@link %s#%s %s}' % (kind_mapping[node.kind],
855 text = text + '\n@see %s#%s' % (kind_mapping[node.kind],
DHidlMetadata.mako103 /** ${entry.name} [${entry.kind}, ${annotated_type(entry)}, ${entry.applied_visibility}]
/system/tools/hidl/
DConstantExpression.cpp61 static inline bool isSupported(ScalarType::Kind kind) { in isSupported() argument
62 return SK(BOOL) == kind || ScalarType(kind, nullptr /* parent */).isValidEnumStorageType(); in isSupported()
154 std::unique_ptr<ConstantExpression> ConstantExpression::Zero(ScalarType::Kind kind) { in Zero() argument
155 return ValueOf(kind, 0); in Zero()
158 std::unique_ptr<ConstantExpression> ConstantExpression::One(ScalarType::Kind kind) { in One() argument
159 return ValueOf(kind, 1); in One()
162 std::unique_ptr<ConstantExpression> ConstantExpression::ValueOf(ScalarType::Kind kind, in ValueOf() argument
164 return std::make_unique<LiteralConstantExpression>(kind, value); in ValueOf()
172 ScalarType::Kind kind, uint64_t value, const std::string& expr) { in LiteralConstantExpression() argument
175 CHECK(isSupported(kind)); in LiteralConstantExpression()
[all …]
DConstantExpression.h45 static std::unique_ptr<ConstantExpression> Zero(ScalarType::Kind kind);
46 static std::unique_ptr<ConstantExpression> One(ScalarType::Kind kind);
47 static std::unique_ptr<ConstantExpression> ValueOf(ScalarType::Kind kind, uint64_t value);
158 LiteralConstantExpression(ScalarType::Kind kind, uint64_t value);
165 LiteralConstantExpression(ScalarType::Kind kind, uint64_t value, const std::string& expr);
DScalarType.cpp23 ScalarType::ScalarType(Kind kind, Scope* parent) : Type(parent), mKind(kind) {} in ScalarType() argument
DScalarType.h40 ScalarType(Kind kind, Scope* parent);
Dhidl-gen_l.ll60 #define SCALAR_TYPE(kind) \
62 yylval->type = new ScalarType(ScalarType::kind, *scope); \
/system/tools/aidl/
Dtype_namespace.cpp73 int kind, const string& package, const string& type_name, in ValidatableType() argument
75 : kind_(kind), in ValidatableType()
Dtype_cpp.cpp81 CppArrayType(int kind, // from ValidatableType in CppArrayType() argument
91 : Type(kind, package, in CppArrayType()
99 : new CppArrayType(kind, package, underlying_aidl_type, in CppArrayType()
393 Type::Type(int kind, in Type() argument
404 : ValidatableType(kind, package, aidl_type, src_file_name, line), in Type()
Dtype_cpp.h35 Type(int kind, // from ValidatableType
Dtype_java.cpp43 Type::Type(const JavaTypeNamespace* types, const string& name, int kind, in Type() argument
45 : Type(types, "", name, kind, canWriteToParcel, canBeOut, "", -1) {} in Type()
48 const string& name, int kind, bool canWriteToParcel, in Type() argument
50 : ValidatableType(kind, package, name, declFile, declLine), in Type()
Dtype_java.h37 Type(const JavaTypeNamespace* types, const std::string& name, int kind,
40 const std::string& name, int kind, bool canWriteToParcel, bool canBeOut,
Dtype_namespace.h59 ValidatableType(int kind,
/system/update_engine/sample_images/
Dgenerate_images.sh210 local kind="$3"
233 case "${kind}" in
/system/vold/
DKeyStorage.cpp81 static bool checkSize(const std::string& kind, size_t actual, size_t expected) { in checkSize() argument
83 LOG(ERROR) << "Wrong number of bytes in " << kind << ", expected " << expected << " got " in checkSize()

12