Home
last modified time | relevance | path

Searched refs:iface (Results 1 – 18 of 18) sorted by relevance

/art/test/023-many-interfaces/src/
DManyInterfaces.java302 static void testIface001(Interface001 iface, int count) { in testIface001() argument
304 iface.func001(); iface.func001(); iface.func001(); iface.func001(); in testIface001()
305 iface.func001(); iface.func001(); iface.func001(); iface.func001(); in testIface001()
306 iface.func001(); iface.func001(); iface.func001(); iface.func001(); in testIface001()
307 iface.func001(); iface.func001(); iface.func001(); iface.func001(); in testIface001()
311 static void testIface049(Interface049 iface, int count) { in testIface049() argument
313 iface.func049(); iface.func049(); iface.func049(); iface.func049(); in testIface049()
314 iface.func049(); iface.func049(); iface.func049(); iface.func049(); in testIface049()
315 iface.func049(); iface.func049(); iface.func049(); iface.func049(); in testIface049()
316 iface.func049(); iface.func049(); iface.func049(); iface.func049(); in testIface049()
[all …]
/art/test/023-many-interfaces/
Dbuild21 gcc -Wall -Werror -o iface-gen iface-gen.c
22 ./iface-gen
/art/test/971-iface-super/util-src/
Dgenerate_smali.py350 for iface in self.ifaces:
351 yield self.OUTPUT_PREFIX.format(iface_name = iface.get_name(), tree = self.get_tree())
352 yield from iface.get_expected()
353 yield iface.get_response().get_output_format().format(iface_name = iface.get_name(),
364 super_calls = "\n".join(super_template.format(iface_name = iface.get_name(),
366 tree = self.get_tree()) for iface in self.ifaces)
534 for iface in self.ifaces:
536 yield self.OUTPUT_PREFIX.format(iface_name = iface.get_name(), tree = self.get_tree())
537 yield from iface.get_expected()
539 yield iface.get_response().get_output_format().format(iface_name = iface.get_name(),
[all …]
/art/test/162-method-resolution/src/
DTest7User2.java19 Test7Interface iface = new Test7Derived(); in test() local
20 iface.foo(); in test()
/art/test/961-default-iface-resolution-gen/util-src/
Dgenerate_java.py170 def __init__(self, iface): argument
174 self.iface = iface
188 iface_tree = self.iface.get_tree())
194 yield self.iface
195 yield from self.iface
202 all_ifaces = set(iface for iface in self if iface.default)
213 iface_name = self.iface.get_name(),
/art/test/968-default-partial-compile-gen/util-src/
Dgenerate_smali.py276 def __init__(self, iface): argument
280 self.iface = iface
294 iface_tree = self.iface.get_tree())
300 yield self.iface
301 yield from self.iface
308 return self.iface.get_called()
315 iface_name = self.iface.get_name(),
555 for iface in create_interface_trees(num):
556 yield TestClass(iface)
/art/test/utils/python/
Dgenerate_java_main.py255 for iface in flatten_interfaces(dat, clazz):
256 for meth in flatten_interface_methods(dat, iface):
258 i.add_func(Func(meth, iface.name, 'interface'))
286 for iface in root.find("interfaces"):
287 name = iface.attrib['name']
288 implements = [a.text for a in iface.find("implements")]
289 methods = [a.text for a in iface.find("methods")]
291 super_class = iface.attrib['super'],
/art/test/972-default-imt-collision/src/
DMain.java23 Class<?> iface = Class.forName("Iface2"); in main() local
24 Method test = c.getMethod("testMe", iface); in main()
/art/runtime/
Ddebug_print.cc168 ObjPtr<mirror::Class> iface = iftable->GetInterface(i); in DumpB77342775DebugData() local
169 CHECK(iface != nullptr); in DumpB77342775DebugData()
170 LOG(ERROR) << " iface #" << i << ": " << iface->PrettyDescriptor(); in DumpB77342775DebugData()
171 matcher(iface); in DumpB77342775DebugData()
Dclass_linker.cc4576 MutableHandle<mirror::Class> iface(hs.NewHandle<mirror::Class>(nullptr)); in VerifyClass() local
4579 iface.Assign(klass->GetIfTable()->GetInterface(i)); in VerifyClass()
4580 DCHECK(iface != nullptr); in VerifyClass()
4582 if (LIKELY(!iface->HasDefaultMethods() || iface->IsVerified())) { in VerifyClass()
4584 } else if (UNLIKELY(!AttemptSupertypeVerification(self, klass, iface))) { in VerifyClass()
4588 } else if (UNLIKELY(!iface->IsVerified())) { in VerifyClass()
4591 supertype.Assign(iface.Get()); in VerifyClass()
5118 ObjPtr<mirror::Class> iface = klass->GetIfTable()->GetInterface(i); in CanWeInitializeClass() local
5119 if (iface->HasDefaultMethods() && in CanWeInitializeClass()
5120 !CanWeInitializeClass(iface, can_init_statics, can_init_parents)) { in CanWeInitializeClass()
[all …]
/art/test/970-iface-super-resolution-gen/util-src/
Dgenerate_smali.py380 iface = a.get_name(),
388 funcs = '\n'.join(map(lambda a: self.TEST_FUNC_TEMPLATE.format(iface = a.get_name(),
391 calls = '\n'.join(map(lambda a: self.TEST_CALL_TEMPLATE.format(iface = a.get_name(),
495 all_ifaces = set(iface for iface in self if iface.default)
/art/test/068-classloader/src/
DMain.java347 IGetDoubled iface = (IGetDoubled) obj; in testInterface() local
350 DoubledExtendOkay de = iface.getDoubled(); in testInterface()
/art/test/004-JniTest/src/
DMain.java299 private static native void testInvokeLambdaMethod(LambdaInterface iface); in testInvokeLambdaMethod() argument
301 private static native void testInvokeLambdaDefaultMethod(LambdaInterface iface); in testInvokeLambdaDefaultMethod() argument
/art/runtime/mirror/
Dclass.cc459 ObjPtr<Class> iface = iftable->GetInterface(i); in FindInterfaceMethodWithSignature() local
460 for (ArtMethod& method : iface->GetVirtualMethodsSlice(pointer_size)) { in FindInterfaceMethodWithSignature()
755 MutableHandle<Class> iface(hs.NewHandle<Class>(nullptr)); in FindVirtualMethodForInterfaceSuper() local
763 iface.Assign(iftable->GetInterface(k)); in FindVirtualMethodForInterfaceSuper()
766 for (auto& method_iter : iface->GetDeclaredVirtualMethods(pointer_size)) { in FindVirtualMethodForInterfaceSuper()
778 if (iface->IsAssignableFrom(possible_override->GetDeclaringClass())) { in FindVirtualMethodForInterfaceSuper()
/art/tools/hiddenapi/
Dhiddenapi.cc537 HierarchyClass* iface = FindClass(iface_desc); in BuildClassHierarchy() local
538 CHECK(iface != nullptr); in BuildClassHierarchy()
539 klass.AddExtends(*iface); in BuildClassHierarchy()
/art/runtime/native/
Djava_lang_Class.cc419 ObjPtr<mirror::Class> iface = mirror::Class::ResolveDirectInterface(self, h_clazz, i); in GetPublicFieldRecursive() local
420 if (UNLIKELY(iface == nullptr)) { in GetPublicFieldRecursive()
424 result = GetPublicFieldRecursive(self, iface, h_name.Get()); in GetPublicFieldRecursive()
/art/oatdump/
Doatdump.cc3231 ObjPtr<mirror::Class> iface = if_table->GetInterface(i); in DumpIMTForClass() local
3233 std::cerr << " " << iface->GetDescriptor(&iface_name) << std::endl; in DumpIMTForClass()
3235 for (ArtMethod& iface_method : iface->GetVirtualMethods(pointer_size)) { in DumpIMTForClass()
3312 ObjPtr<mirror::Class> iface = if_table->GetInterface(i); in DumpIMTForMethod() local
3313 size_t num_methods = iface->NumDeclaredVirtualMethods(); in DumpIMTForMethod()
3315 for (ArtMethod& iface_method : iface->GetMethods(pointer_size)) { in DumpIMTForMethod()
/art/compiler/optimizing/
Dinstruction_builder.cc1271 ObjPtr<mirror::Class> iface = iftable->GetInterface(i); in HasTrivialInitialization() local
1272 if (!iface->HasDefaultMethods()) { in HasTrivialInitialization()
1275 if (iface->IsInitialized() && IsInBootImage(iface, compiler_options)) { in HasTrivialInitialization()
1278 if (!HasTrivialClinit(iface, pointer_size)) { in HasTrivialInitialization()