Home
last modified time | relevance | path

Searched refs:kind (Results 1 – 25 of 27) 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]
493 for kind in section.kinds:
494 kind._leafs = []
497 group_entry_by_kind = itertools.groupby(section._leafs, lambda x: x.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}">
189 ${insert_body(kind)}
191 </${kind.name}>
192 % endfor # for each kind
Dhtml.mako30 ….kind { color: #eeeeee; font-size: 1.2em; font-weight: bold; padding-left: 1.5em; background-color…
115 # Convert node name "x.y.z" of kind w to an HTML anchor of form
118 return '<a href="#%s_%s">%s</a>' % (node.kind, node.name, node.name)
181 % for kind in section.merged_kinds: # dynamic,static,controls
183 <span class="toc_kind_header">${kind.name}</span>
185 ${ insert_toc_body(kind)}\
219 % for kind in section.merged_kinds: # dynamic,static,controls
220 <tr><td colspan="6" class="kind">${kind.name}</td></tr>
250 <tr class="entry" id="${prop.kind}_${prop.name}">
382 ${insert_body(kind)}
[all …]
DCaptureResultTest.mako27 % if entry.kind == 'dynamic' and entry.visibility in ("public", "java_public"):
DCameraDeviceInfo.mako27 % if entry.kind == 'static' 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.mako54 …% if section.find_first(lambda x: isinstance(x, metadata_model.Entry) and x.kind == xml_name) and \
DCameraMetadataKeys.mako77 …% if section.find_first(lambda x: isinstance(x, metadata_model.Entry) and x.kind == xml_name) and \
Dmetadata_helpers.py839 return '{@link %s#%s %s}' % (kind_mapping[node.kind],
852 text = text + '\n@see %s#%s' % (kind_mapping[node.kind],
/system/tools/hidl/
DConstantExpression.h57 static ConstantExpression Zero(ScalarType::Kind kind);
58 static ConstantExpression One(ScalarType::Kind kind);
59 static ConstantExpression ValueOf(ScalarType::Kind kind, uint64_t value);
DConstantExpression.cpp58 static inline bool isSupported(ScalarType::Kind kind) { in isSupported() argument
59 return SK(BOOL) == kind || ScalarType(kind).isValidEnumStorageType(); in isSupported()
156 ConstantExpression ConstantExpression::Zero(ScalarType::Kind kind) { in Zero() argument
157 ConstantExpression ce = ValueOf(kind, 0); in Zero()
163 ConstantExpression ConstantExpression::One(ScalarType::Kind kind) { in One() argument
164 ConstantExpression ce = ValueOf(kind, 1); in One()
170 ConstantExpression ConstantExpression::ValueOf(ScalarType::Kind kind, uint64_t value) { in ValueOf() argument
172 CHECK(isSupported(kind)); in ValueOf()
176 ce.mValueKind = kind; in ValueOf()
DScalarType.cpp23 ScalarType::ScalarType(Kind kind) in ScalarType() argument
24 : mKind(kind) { in ScalarType()
DScalarType.h40 ScalarType(Kind kind);
Dhidl-gen_l.ll58 #define SCALAR_TYPE(kind) \
60 yylval->type = new ScalarType(ScalarType::kind); \
/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
90 : Type(kind, package, in CppArrayType()
98 : new CppArrayType(kind, package, underlying_aidl_type, in CppArrayType()
391 Type::Type(int kind, in Type() argument
402 : 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.sh206 local kind="$2"
228 case "${kind}" in
/system/vold/
DKeyStorage.cpp82 static bool checkSize(const std::string& kind, size_t actual, size_t expected) { in checkSize() argument
84 LOG(ERROR) << "Wrong number of bytes in " << kind << ", expected " << expected << " got " in checkSize()
/system/tools/aidl/docs/
Daidl-cpp.md268 to the service, use `Status::fromServiceSpecificError()`. This kind of

12