Home
last modified time | relevance | path

Searched refs:interface (Results 1 – 25 of 114) sorted by relevance

12345

/art/test/960-default-smali/
Dexpected.txt3 A-interface Greeter.SayHi()='Hi '
5 A-interface Greeter.SayHiTwice()='Hi Hi '
9 B-interface Greeter.SayHi()='Hello '
10 B-interface Greeter2.SayHi()='Hello '
12 B-interface Greeter.SayHiTwice()='I say Hello Hello '
13 B-interface Greeter2.SayHiTwice()='I say Hello Hello '
18 C-interface Greeter.SayHi()='Hi '
21 C-interface Greeter.SayHiTwice()='You don't control me'
25 D-interface Greeter3.GetName()='Alex '
27 D-interface Greeter.SayHi()='Hello Alex '
[all …]
/art/test/005-annotations/
Dexpected.txt13 interface android.test.anno.AnnoSimpleType
15 interface android.test.anno.AnnoSimpleType2
19 interface android.test.anno.AnnoSimpleConstructor
23 interface android.test.anno.AnnoSimpleConstructor
26 interface android.test.anno.AnnoSimpleParameter
29 interface android.test.anno.AnnoSimpleMethod
33 interface android.test.anno.AnnoSimpleField
36 interface android.test.anno.AnnoSimpleField
38 annotations on TYPE interface android.test.anno.INoted(1):
40 interface android.test.anno.AnnoSimpleType2
[all …]
/art/test/969-iface-super/
Dexpected.txt3 A-interface Iface.SayHi()='Hello '
7 B-interface Iface.SayHi()='Hello Hello '
8 B-interface Iface2.SayHi()='Hello Hello '
12 C-interface Iface.SayHi()='Hello and welcome '
16 D-interface Iface.SayHi()='Hello Hello and welcome '
17 D-interface Iface2.SayHi()='Hello Hello and welcome '
21 E-interface Iface.SayHi()='Hello there!'
22 E-interface Iface3.SayHi()='Hello there!'
27 F-interface Iface.SayHi()='Hello there!'
28 F-interface Iface3.SayHi()='Hello there!'
[all …]
/art/runtime/mirror/
Diftable-inl.h30 ObjPtr<Class> interface = in GetInterface() local
32 DCHECK(interface != nullptr); in GetInterface()
33 return interface; in GetInterface()
36 inline void IfTable::SetInterface(int32_t i, ObjPtr<Class> interface) { in SetInterface() argument
37 DCHECK(interface != nullptr); in SetInterface()
38 DCHECK(interface->IsInterface()); in SetInterface()
41 SetWithoutChecks<false>(idx, interface); in SetInterface()
/art/test/800-smali/smali/
Db_21869691A.smali4 # When using invoke-interface on a method id that is not from an interface class, we should throw
5 # an IncompatibleClassChangeError. FindInterfaceMethod assumes that the given type is an interface,
8 # interface I {
19 # Then calling invoke-interface C.a() will go wrong if there is no explicit check: a can't be found
20 # in C, but in the interface table, so we will find an interface method and pass ICCE checks.
45 invoke-interface {p1}, LB21869691C;->a()V
Db_29778499_2.smali4 # Test invoking an interface method on an object that doesn't implement any interface.
5 # This is testing an edge case (not implementing any interface) for b/18116999.
11 invoke-interface {v0}, Ljava/lang/Runnable;->run()V
Db_20224106.smali3 # Test that a hard + soft verifier failure in invoke-interface does not lead to
13 # 2) The receiver is not an interface or Object
14 invoke-interface {v2, v3}, Ljava/net/DatagramSocket;->checkPort(I)V
Db_21869691I.smali4 # This is the interface class that has an "a" method.
6 .class public abstract interface LB21869691I;
Db_29778499_1.smali4 # Test returning an object that doesn't implement the declared output interface.
10 invoke-interface {v0}, Ljava/lang/Runnable;->run()V
/art/test/1945-proxy-method-arguments/
Dexpected.txt3 Proxy for interface TestInterface.method0
5 Proxy for interface TestInterface.method1
8 Proxy for interface TestInterface.method10
20 Proxy for interface TestInterface.method10Even
/art/test/912-classes/
Dexpected.txt15 int interface=false array=false modifiable=false
16 $Proxy20 interface=false array=false modifiable=false
17 java.lang.Runnable interface=true array=false modifiable=false
18 java.lang.String interface=false array=false modifiable=false
19 java.util.ArrayList interface=false array=false modifiable=true
20 [I interface=false array=true modifiable=false
21 [Ljava.lang.Runnable; interface=false array=true modifiable=false
22 [Ljava.lang.String; interface=false array=true modifiable=false
37 interface art.Test912$InfA []
38 interface art.Test912$InfB [interface art.Test912$InfA]
[all …]
/art/test/423-invoke-interface/
Dinfo.txt1 invoke-interface test with hopefully enough interface methods to trigger
/art/test/913-heaps/
Dexpected.txt8 1002@0 --(interface)--> 2001@0 [size=123456780004, length=-1]
13 2001@0 --(interface)--> 2000@0 [size=123456780003, length=-1]
27 1002@0 --(interface)--> 2001@0 [size=123456780004, length=-1]
32 2001@0 --(interface)--> 2000@0 [size=123456780003, length=-1]
56 1002@0 --(interface)--> 2001@0 [size=123456780009, length=-1]
61 2001@0 --(interface)--> 2000@0 [size=123456780008, length=-1]
75 1002@0 --(interface)--> 2001@0 [size=123456780009, length=-1]
80 2001@0 --(interface)--> 2000@0 [size=123456780008, length=-1]
206 1002@0 --(interface)--> 2001@0 [size=123456780054, length=-1]
211 2001@0 --(interface)--> 2000@0 [size=123456780053, length=-1]
[all …]
/art/test/972-default-imt-collision/smali/
DKlass.smali291 invoke-interface {p0}, LIface2;->notImplementedMethod0()V
302 invoke-interface {p0}, LIface2;->notImplementedMethod1()V
313 invoke-interface {p0}, LIface2;->notImplementedMethod2()V
324 invoke-interface {p0}, LIface2;->notImplementedMethod3()V
335 invoke-interface {p0}, LIface2;->notImplementedMethod4()V
346 invoke-interface {p0}, LIface2;->notImplementedMethod5()V
357 invoke-interface {p0}, LIface2;->notImplementedMethod6()V
368 invoke-interface {p0}, LIface2;->notImplementedMethod7()V
379 invoke-interface {p0}, LIface2;->notImplementedMethod8()V
390 invoke-interface {p0}, LIface2;->notImplementedMethod9()V
[all …]
/art/test/031-class-attributes/
Dexpected.txt13 public abstract interface java.io.Serializable
15 public abstract static interface ClassAttrs$PublicInnerInterface
17 protected abstract static interface ClassAttrs$ProtectedInnerInterface
19 private abstract static interface ClassAttrs$PrivateInnerInterface
21 abstract static interface ClassAttrs$PackagePrivateInnerInterface
36interface ClassAttrs$PackagePrivateInnerInterface, interface ClassAttrs$PrivateInnerInterface, in…
37 … class ClassAttrs$PublicInnerClass, class ClassAttrs$PublicMemberClass, interface ClassAttrs$Publi…
/art/test/973-default-multidex/smali-multidex/
Diface.smali17 .class public abstract interface LIface;
20 # public interface Iface {
30 invoke-interface {p0}, LIface;->getString()Ljava/lang/String;
32 invoke-interface {p0}, LIface;->getString()Ljava/lang/String;
/art/test/967-default-ame/
Dexpected.txt9 Calling functions on interface Iface
16 Calling functions on interface Iface2
/art/test/966-default-conflict/
Dexpected.txt10 Calling functions on interface Iface
17 Calling functions on interface Iface2
/art/runtime/
Dproxy_test.h59 for (Handle<mirror::Class> interface : interfaces) { in GenerateProxyClass()
60 methods_count += interface->NumVirtualMethods(); in GenerateProxyClass()
96 for (Handle<mirror::Class> interface : interfaces) { in GenerateProxyClass()
97 for (auto& m : interface->GetDeclaredVirtualMethods(kRuntimePointerSize)) { in GenerateProxyClass()
/art/test/992-source-data/
Dexpected.txt13 interface java.lang.Runnable is defined in file "Runnable.java"
14 interface java.lang.Runnable does not have a known source file extension because java.lang.RuntimeE…
21 Proxy of [interface java.lang.Runnable] does not have a known source file because java.lang.Runtime…
22 Proxy of [interface java.lang.Runnable] does not have a known source file extension because java.la…
/art/test/135-MirandaDispatch/smali/
Db_21646347.smali5 # declaring class is an interface.
12 # instead of letting this pass as the declaring class is an interface.
/art/test/004-JniTest/smali/
DAbstractInterface.smali17 .class public interface LAbstractInterface;
20 # public interface AbstractInterface {
/art/test/972-iface-super-multidex/smali-multidex/
Dconflictinterface.smali17 .class public abstract interface LConflictInterface;
22 # public interface ConflictInterface extends OneConflict, TwoConflict {
/art/test/048-reflect-v8/
Dexpected.txt11 No error thrown for class interface DefaultDeclared$DefaultInterface
12 No error thrown for class interface DefaultDeclared$RegularInterface
37 Declared annotations by class class SingleUser, annotation interface Calendar: @Calendar(dayOfMonth…
38 Declared annotations by class class SingleUser, annotation interface Calendars: <null>
39 Declared annotations by class class User, annotation interface Calendar: <null>
40 Declared annotations by class class User, annotation interface Calendars: @Calendars(value=[@Calend…
41 Declared annotations by class class UserComplex, annotation interface Calendar: @Calendar(dayOfMont…
42 Declared annotations by class class UserComplex, annotation interface Calendars: @Calendars(value=[…
43 Declared annotations by class class UserSub, annotation interface Calendar: <null>
44 Declared annotations by class class UserSub, annotation interface Calendars: <null>
[all …]
/art/test/961-default-iface-resolution-gen/
Dinfo.txt1 Smali-based tests for experimental interface default methods.
3 This tests that interface method resolution order is correct.

12345