Home
last modified time | relevance | path

Searched refs:iface (Results 1 – 19 of 19) 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/162-method-resolution/src/
DTest7User2.java19 Test7Interface iface = new Test7Derived(); in test() local
20 iface.foo(); in test()
/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/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/2032-default-method-private-override/src/
DMain.java21 IFace iface = (IFace)Class.forName(klass).newInstance(); in sayHi() local
22 iface.sayHi(); in sayHi()
/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/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/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/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()
/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.cc580 ObjPtr<Class> iface = iftable->GetInterface(i); in FindInterfaceMethodWithSignature() local
581 for (ArtMethod& method : iface->GetVirtualMethodsSlice(pointer_size)) { in FindInterfaceMethodWithSignature()
876 MutableHandle<Class> iface(hs.NewHandle<Class>(nullptr)); in FindVirtualMethodForInterfaceSuper() local
884 iface.Assign(iftable->GetInterface(k)); in FindVirtualMethodForInterfaceSuper()
887 for (auto& method_iter : iface->GetDeclaredVirtualMethods(pointer_size)) { in FindVirtualMethodForInterfaceSuper()
899 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.cc456 ObjPtr<mirror::Class> iface = mirror::Class::ResolveDirectInterface(self, h_clazz, i); in GetPublicFieldRecursive() local
457 if (UNLIKELY(iface == nullptr)) { in GetPublicFieldRecursive()
461 result = GetPublicFieldRecursive(self, iface, h_name.Get()); in GetPublicFieldRecursive()
/art/dex2oat/driver/
Dcompiler_driver.cc2482 Handle<mirror::Class> iface = hs.NewHandle(klass->GetIfTable()->GetInterface(i)); in InitializeDependencies() local
2483 if (iface->HasDefaultMethods() && !iface->IsInitialized()) { in InitializeDependencies()
2484 TryInitializeClass(iface, class_loader); in InitializeDependencies()
2485 if (!iface->IsInitialized()) { in InitializeDependencies()
/art/oatdump/
Doatdump.cc3249 ObjPtr<mirror::Class> iface = if_table->GetInterface(i); in DumpIMTForClass() local
3251 std::cerr << " " << iface->GetDescriptor(&iface_name) << std::endl; in DumpIMTForClass()
3253 for (ArtMethod& iface_method : iface->GetVirtualMethods(pointer_size)) { in DumpIMTForClass()
3330 ObjPtr<mirror::Class> iface = if_table->GetInterface(i); in DumpIMTForMethod() local
3331 size_t num_methods = iface->NumDeclaredVirtualMethods(); in DumpIMTForMethod()
3333 for (ArtMethod& iface_method : iface->GetMethods(pointer_size)) { in DumpIMTForMethod()
/art/compiler/optimizing/
Dinstruction_builder.cc1288 ObjPtr<mirror::Class> iface = iftable->GetInterface(i); in HasTrivialInitialization() local
1289 if (!iface->HasDefaultMethods()) { in HasTrivialInitialization()
1292 if (iface->IsInitialized() && IsInBootImage(iface, compiler_options)) { in HasTrivialInitialization()
1295 if (!HasTrivialClinit(iface, pointer_size)) { in HasTrivialInitialization()