Home
last modified time | relevance | path

Searched refs:Widget (Results 1 – 11 of 11) sorted by relevance

/art/test/712-varhandle-invocations/src/
DWidget.java18 public class Widget implements WidgetInterface { class
21 public Widget(int requisitionNumber) { in Widget() method in Widget
30 if (!(o instanceof Widget)) { in equals()
33 Widget wo = (Widget) o; in equals()
39 public static final Widget ONE = new Widget(1);
40 public static final Widget TWO = new Widget(2);
DVarHandleTypeConversionTests.java1134 private static final Widget INITIAL_VALUE = Widget.ONE;
1136 private Widget w = INITIAL_VALUE;
1140 vh = MethodHandles.lookup().findVarHandle(SubtypeTest.class, "w", Widget.class);
1151 public static class WidgetChild extends Widget {
1179 Widget rw = (Widget) vh.compareAndExchange(this, null, WidgetChild.ONE); in doTest()
1186 rwc = (WidgetChild) vh.compareAndExchangeAcquire(this, WidgetChild.TWO, Widget.ONE); in doTest()
1187 assertEquals(Widget.ONE, w); in doTest()
1189 assertEquals(true, vh.compareAndSet(this, Widget.ONE, Widget.TWO)); in doTest()
1190 assertEquals(Widget.TWO, w); in doTest()
1192 assertEquals(null, (Widget) vh.get(this)); in doTest()
[all …]
/art/test/716-jli-jit-samples/src-art/
DMain.java32 public static class Widget { class in Main
33 public Widget(int id) { in Widget() method in Main.Widget
46 widgetIdVarHandle = MethodHandles.lookup().findVarHandle(Widget.class, "id", int.class);
85 Widget.class, MethodType.methodType(void.class, int.class)); in testMethodHandleCounters()
86 Widget w = (Widget) mh.invoke(3); in testMethodHandleCounters()
87 w = (Widget) mh.invokeExact(3); in testMethodHandleCounters()
98 Widget.class, "getId", MethodType.methodType(int.class)); in testMethodHandleCounters()
116 Widget w = new Widget(0); in testVarHandleCounters()
/art/test/952-invoke-custom/src/
DTestInvocationKinds.java174 static class Widget { class in TestInvocationKinds
177 public Widget(int value) {} in Widget() method in TestInvocationKinds.Widget
196 returnType = Widget.class,
199 private static Widget makeWidget(int v) { in makeWidget()
206 Widget receiver = makeWidget(3); in testConstructor()
207 assertEquals(Widget.class, receiver.getClass()); in testConstructor()
/art/test/173-missing-field-type/smali/
DBadFieldGet.smali19 # These are bad fields since there is no class Widget in this test.
DBadField.smali19 # These are bad fields since there is no class Widget in this test.
/art/test/952-invoke-custom/
Dexpected-stdout.txt29 testConstructor => class TestInvocationKinds$Widget
/art/test/dexdump/
Dinvoke-custom.lst16 0x00002acc 8 TestInvocationKinds$Widget <init> (I)V TestInvocationKinds.java 177
81 0x00002ae4 10 TestInvocationKinds makeWidget (I)LTestInvocationKinds$Widget; TestInvocationKinds.ja…
Dall-dex-files.lst125 0x00002acc 8 TestInvocationKinds$Widget <init> (I)V TestInvocationKinds.java 177
190 0x00002ae4 10 TestInvocationKinds makeWidget (I)LTestInvocationKinds$Widget; TestInvocationKinds.ja…
Dinvoke-custom.txt531 VISIBILITY_SYSTEM Ldalvik/annotation/InnerClass; accessFlags=8 name="Widget"
534 Class descriptor : 'LTestInvocationKinds$Widget;'
540 #0 : (in LTestInvocationKinds$Widget;)
545 #0 : (in LTestInvocationKinds$Widget;)
555 002abc: |[002abc] TestInvocationKinds$Widget.<init>:(I)V
562 0x0000 - 0x0004 reg=0 this LTestInvocationKinds$Widget;
2591 VISIBILITY_SYSTEM Ldalvik/annotation/MemberClasses; value={ LTestInvocationKinds$Widget; }
2609 …structor" } fieldOrMethodName="unused" parameterTypes={ I } returnType=LTestInvocationKinds$Widget;
2892 type : '(I)LTestInvocationKinds$Widget;'
2900 … |[002ad4] TestInvocationKinds.makeWidget:(I)LTestInvocationKinds$Widget;
[all …]
Dall-dex-files.txt9348 VISIBILITY_SYSTEM Ldalvik/annotation/InnerClass; accessFlags=8 name="Widget"
9351 Class descriptor : 'LTestInvocationKinds$Widget;'
9357 #0 : (in LTestInvocationKinds$Widget;)
9362 #0 : (in LTestInvocationKinds$Widget;)
9372 002abc: |[002abc] TestInvocationKinds$Widget.<init>:(I)V
9379 0x0000 - 0x0004 reg=0 this LTestInvocationKinds$Widget;
11408 VISIBILITY_SYSTEM Ldalvik/annotation/MemberClasses; value={ LTestInvocationKinds$Widget; }
11426 …structor" } fieldOrMethodName="unused" parameterTypes={ I } returnType=LTestInvocationKinds$Widget;
11709 type : '(I)LTestInvocationKinds$Widget;'
11717 … |[002ad4] TestInvocationKinds.makeWidget:(I)LTestInvocationKinds$Widget;
[all …]