Home
last modified time | relevance | path

Searched refs:ifaces (Results 1 – 10 of 10) sorted by relevance

/art/test/970-iface-super-resolution-gen/util-src/
Dgenerate_smali.py346 def __init__(self, ifaces, name = None): argument
350 self.ifaces = ifaces
361 return TestClass([i.get_initial_build_version() for i in self.ifaces], self.class_name)
376 return "[{fname} {iftree}]".format(fname = self.get_name(), iftree = print_tree(self.ifaces))
382 self.ifaces))
390 self.ifaces))
393 self.ifaces))
395 self.ifaces))
396 j_ifaces = ', '.join(map(lambda a: a.get_name(), self.ifaces))
399 ifaces = j_ifaces,
[all …]
/art/test/964-default-iface-init-gen/util-src/
Dgenerate_java.py194 def __init__(self, ifaces): argument
198 self.ifaces = ifaces
211 return "[{fname} {iftree}]".format(fname = self.get_name(), iftree = print_tree(self.ifaces))
214 return "\n".join(map(lambda i: i.get_initialize_output().strip(), dump_tree(self.ifaces)))
227 return sorted(set(dump_tree(self.ifaces)))
233 j_ifaces = ', '.join(map(lambda a: a.get_name(), self.ifaces))
238 ifaces = j_ifaces,
261 def __init__(self, ifaces, default): argument
265 self.ifaces = ifaces
277 return TestInterface(tuple(map(lambda a: a.clone(), self.ifaces)), self.default)
[all …]
/art/test/971-iface-super/util-src/
Dgenerate_smali.py321 def __init__(self, ifaces): argument
325 self.ifaces = ifaces
339 iface_tree = print_tree(self.ifaces))
345 for i in self.ifaces:
350 for iface in self.ifaces:
361 self.ifaces))
362 j_ifaces = ', '.join(map(lambda a: a.get_name(), self.ifaces))
366 tree = self.get_tree()) for iface in self.ifaces)
368 ifaces = j_ifaces,
479 def __init__(self, ifaces, iface_type, full_name = None): argument
[all …]
Dgenerate_java.py89 ifaces = set(i for i in self.sources if isinstance(i, base.TestInterface))
93 while len(ifaces) != 0:
96 …er(lambda a: iface_filter(a) and not any(map(lambda i: a in i.get_super_types(), ifaces)), ifaces))
111 ifaces -= tops
/art/test/961-default-iface-resolution-gen/util-src/
Dgenerate_java.py236 def __init__(self, ifaces, default): argument
240 self.ifaces = sorted(ifaces)
262 iftree = print_tree(self.ifaces))
269 for i in self.ifaces:
278 for i in self.ifaces:
282 funcs = self.DEFAULT_FUNC_TEMPLATE.format(ifaces = j_ifaces,
288 extends = "extends" if len(self.ifaces) else "",
289 ifaces = j_ifaces,
294 def print_tree(ifaces): argument
298 return " ".join(i.get_tree() for i in ifaces)
[all …]
/art/test/968-default-partial-compile-gen/util-src/
Dgenerate_smali.py417 def __init__(self, ifaces, iface_type, full_name = None): argument
421 self.ifaces = sorted(ifaces)
433 return TestInterface(self.ifaces, v, full_name = self.class_name)
474 if not self.is_empty() or len(self.ifaces) == 0:
478 for super_iface in self.ifaces:
504 iftree = print_tree(self.ifaces))
511 for i in self.ifaces:
521 for i in self.ifaces:
533 extends = "extends" if len(self.ifaces) else "",
534 ifaces = j_ifaces,
[all …]
Dgenerate_java.py89 ifaces = set(i for i in self.sources if isinstance(i, base.TestInterface))
90 while len(ifaces) != 0:
92 tops = set(filter(lambda a: not any(map(lambda i: a in i.get_super_types(), ifaces)), ifaces))
107 ifaces -= tops
/art/test/utils/python/
Dgenerate_java_main.py284 ifaces = dict()
290 ifaces[name] = IFace(name = name,
302 return TestData(classes, ifaces)
/art/tools/hiddenapi/
Dhiddenapi.cc124 const dex::TypeList* ifaces = dex_file_.GetInterfacesList(GetClassDef()); in GetInterfaceDescriptors() local
125 for (uint32_t i = 0; ifaces != nullptr && i < ifaces->Size(); ++i) { in GetInterfaceDescriptors()
126 list.insert(dex_file_.StringByTypeIdx(ifaces->GetTypeItem(i).type_idx_)); in GetInterfaceDescriptors()
/art/runtime/native/
Djava_lang_Class.cc260 ObjPtr<mirror::ObjectArray<mirror::Class>> ifaces = in Class_getInterfacesInternal() local
262 if (ifaces.IsNull()) { in Class_getInterfacesInternal()
275 ifaces->SetWithoutChecks<false>(i, interface); in Class_getInterfacesInternal()
278 return soa.AddLocalReference<jobjectArray>(ifaces); in Class_getInterfacesInternal()