/art/test/970-iface-super-resolution-gen/util-src/ |
D | generate_smali.py | 346 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/ |
D | generate_java.py | 194 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/ |
D | generate_smali.py | 321 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 …]
|
D | generate_java.py | 89 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/ |
D | generate_java.py | 236 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/ |
D | generate_smali.py | 417 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 …]
|
D | generate_java.py | 89 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/ |
D | generate_java_main.py | 284 ifaces = dict() 290 ifaces[name] = IFace(name = name, 302 return TestData(classes, ifaces)
|
/art/tools/hiddenapi/ |
D | hiddenapi.cc | 124 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/ |
D | java_lang_Class.cc | 235 ObjPtr<mirror::ObjectArray<mirror::Class>> ifaces = in Class_getInterfacesInternal() local 237 if (ifaces.IsNull()) { in Class_getInterfacesInternal() 250 ifaces->SetWithoutChecks<false>(i, interface); in Class_getInterfacesInternal() 253 return soa.AddLocalReference<jobjectArray>(ifaces); in Class_getInterfacesInternal()
|