Home
last modified time | relevance | path

Searched refs:cons (Results 1 – 10 of 10) sorted by relevance

/art/test/042-new-instance/src/
DMain.java75 Constructor<?> cons = c.getConstructor(); in testConstructorNewInstance() local
87 Constructor<?> cons = c.getConstructor(); in testConstructorNewInstance() local
88 Object obj = cons.newInstance(); in testConstructorNewInstance()
98 Constructor<?> cons = c.getDeclaredConstructor(Main.class); in testConstructorNewInstance() local
99 Object obj = cons.newInstance(new Main()); in testConstructorNewInstance()
109 Constructor<?> cons = c.getDeclaredConstructor(); in testConstructorNewInstance() local
110 Object obj = cons.newInstance(); in testConstructorNewInstance()
120 Constructor<?> cons = c.getConstructor(); in testConstructorNewInstance() local
133 Constructor<?> cons = c.getConstructor(); in testConstructorNewInstance() local
134 Object obj = cons.newInstance(); in testConstructorNewInstance()
[all …]
/art/test/042-new-instance/src/otherpackage/
DConstructorAccess.java33 Constructor cons = c.getDeclaredConstructor(); in newConstructorInstance() local
34 Object obj = cons.newInstance(); in newConstructorInstance()
/art/test/100-reflect2/src/
DMain.java288 Constructor<?> cons = c.getConstructor(); in testPackagePrivateConstructor() local
289 cons.newInstance(); in testPackagePrivateConstructor()
302 Constructor<?> cons = c.getConstructor(); in testPackagePrivateAccessibleConstructor() local
303 cons.setAccessible(true); // ensure we prevent IllegalAccessException in testPackagePrivateAccessibleConstructor()
304 cons.newInstance(); in testPackagePrivateAccessibleConstructor()
/art/test/031-class-attributes/src/
DClassAttrs.java121 Constructor<?> cons; in main() local
122 cons = MemberClass.class.getConstructor(MemberClass.class); in main()
124 + getSignatureAttribute(cons)); in main()
/art/test/044-proxy/src/
DBasicTest.java109 Constructor<?> cons = proxyClass.getConstructor(InvocationHandler.class); in createProxy() local
111 proxy = cons.newInstance(handler); in createProxy()
/art/test/046-reflect/src/
DMain.java370 Constructor<Target> cons; in run() local
374 cons = target.getConstructor(int.class, float.class); in run()
376 System.out.println("cons modifiers=" + cons.getModifiers()); in run()
377 targ = cons.newInstance(args); in run()
/art/runtime/interpreter/
Dunstarted_runtime_test.cc1344 Handle<mirror::Constructor> cons; in TEST_F() local
1346 cons = hs.NewHandle( in TEST_F()
1348 ASSERT_TRUE(cons != nullptr); in TEST_F()
1350 cons = hs.NewHandle( in TEST_F()
1352 ASSERT_TRUE(cons != nullptr); in TEST_F()
1364 shadow_frame->SetVRegReference(0, cons.Get()); in TEST_F()
Dunstarted_runtime.cc268 auto* cons = h_klass->FindConstructor("()V", cl->GetImagePointerSize()); in UnstartedClassNewInstance() local
269 if (cons != nullptr) { in UnstartedClassNewInstance()
272 EnterInterpreterFromInvoke(self, cons, h_obj.Get(), nullptr, nullptr); in UnstartedClassNewInstance()
/art/test/046-reflect/
Dexpected.txt90 cons modifiers=1
/art/test/956-methodhandles/src/
DMain.java1569 Constructor cons = UnreflectTester.class.getConstructor(String.class, boolean.class); in testRevealDirect() local
1578 assertEquals(cons, info.reflectAs(Constructor.class, MethodHandles.lookup())); in testRevealDirect()