Home
last modified time | relevance | path

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

/aosp12/art/test/042-new-instance/src/
H A DMain.java75 Constructor<?> cons = c.getConstructor(); in testConstructorNewInstance() local
87 Constructor<?> cons = c.getConstructor(); in testConstructorNewInstance() local
88 Object obj = cons.newInstance(); in testConstructorNewInstance()
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()
147 Constructor<?> cons = c.getConstructor(); in testConstructorNewInstance() local
[all …]
/aosp12/art/test/042-new-instance/src/otherpackage/
H A DConstructorAccess.java33 Constructor cons = c.getDeclaredConstructor(); in newConstructorInstance() local
34 Object obj = cons.newInstance(); in newConstructorInstance()
/aosp12/frameworks/libs/net/common/device/com/android/net/module/util/
H A DStruct.java275 private static boolean matchConstructor(final Constructor cons, final FieldInfo[] fields) { in matchConstructor() argument
276 final Class[] paramTypes = cons.getParameterTypes(); in matchConstructor()
573 for (Constructor cons : constructors) { in parse()
574 if (matchConstructor(cons, foundFields)) constructor = cons; in parse()
575 if (cons.getParameterTypes().length == 0) defaultConstructor = cons; in parse()
/aosp12/hardware/qcom/display/msm8909w_3100/libgralloc1/
H A Dgr_utils.h49 gralloc1_consumer_usage_t cons = GRALLOC1_CONSUMER_USAGE_NONE) : width(w), height(h),
50 format(f), prod_usage(prod), cons_usage(cons) {}
/aosp12/hardware/qcom/display/msm8909/gralloc/
H A Dgr_utils.h49 gralloc1_consumer_usage_t cons = GRALLOC1_CONSUMER_USAGE_NONE) : width(w), height(h),
50 format(f), prod_usage(prod), cons_usage(cons) {}
/aosp12/art/test/100-reflect2/src/
H A 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()
/aosp12/art/test/031-class-attributes/src/
H A DClassAttrs.java126 Constructor<?> cons; in main() local
127 cons = MemberClass.class.getConstructor(MemberClass.class); in main()
129 + getSignatureAttribute(cons)); in main()
/aosp12/art/test/044-proxy/src/
H A DBasicTest.java105 Constructor<?> cons = proxyClass.getConstructor(InvocationHandler.class); in createProxy() local
107 proxy = cons.newInstance(handler); in createProxy()
/aosp12/art/test/046-reflect/src/
H A 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()
/aosp12/frameworks/layoutlib/create/tests/src/com/android/tools/layoutlib/create/
H A DDelegateClassAdapterTest.java595 Constructor<?> cons = tcvClass.getConstructor(pw.getClass()); in dumpGeneratedClass() local
596 Object tcv = cons.newInstance(pw); in dumpGeneratedClass()
/aosp12/art/runtime/interpreter/
H A Dunstarted_runtime.cc313 ArtMethod* cons = h_klass->FindConstructor("()V", cl->GetImagePointerSize()); in UnstartedClassNewInstance() local
314 if (cons != nullptr && ShouldDenyAccessToMember(cons, shadow_frame)) { in UnstartedClassNewInstance()
315 cons = nullptr; in UnstartedClassNewInstance()
317 if (cons != nullptr) { in UnstartedClassNewInstance()
320 EnterInterpreterFromInvoke(self, cons, h_obj.Get(), nullptr, nullptr); in UnstartedClassNewInstance()
H A Dunstarted_runtime_test.cc1323 Handle<mirror::Constructor> cons = hs.NewHandle((pointer_size == PointerSize::k64) in TEST_F() local
1326 ASSERT_TRUE(cons != nullptr); in TEST_F()
1337 shadow_frame->SetVRegReference(0, cons.Get()); in TEST_F()
/aosp12/art/test/046-reflect/
H A Dexpected-stdout.txt90 cons modifiers=1
/aosp12/system/chre/doc/
H A Dnanoapp_overview.md39 into a device through a few methods, each of which has pros and cons elaborated
/aosp12/art/test/956-methodhandles/src/
H A DMain.java1760 Constructor cons = UnreflectTester.class.getConstructor(String.class, boolean.class); in testRevealDirect() local
1769 assertEquals(cons, info.reflectAs(Constructor.class, MethodHandles.lookup())); in testRevealDirect()
/aosp12/frameworks/base/core/java/android/content/pm/
H A DPackageParser.java7770 final Constructor<T> cons = cls.getConstructor(Parcel.class); in createIntentsList() local
7774 intentsList.add(cons.newInstance(in)); in createIntentsList()
/aosp12/art/build/boot/hiddenapi/
H A Dhiddenapi-max-target-o-low-priority.txt1714 Ljava/io/Console;->cons:Ljava/io/Console;
2080 Ljava/io/ObjectStreamClass;->cons:Ljava/lang/reflect/Constructor;
3271 Ljava/lang/System;->cons:Ljava/io/Console;
/aosp12/packages/apps/TV/libs/m2/
H A Dauto-value-1.5.3.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/aosp12/packages/inputmethods/LatinIME/dictionaries/
H A Dfr_wordlist.combined.gz1dictionary=main:fr,locale=fr,description=Français,date=1414726264, ...
H A Dro_wordlist.combined.gz1dictionary=main:ro,locale=ro,description=Română,date=1412325511, ...
H A Dpt_BR_wordlist.combined.gz1dictionary=main:pt_br,locale=pt_BR,description=Português (Brasil),date ...
H A Dpt_PT_wordlist.combined.gz1dictionary=main:pt_pt,locale=pt_PT,description=Português (Portugal),date ...
H A Des_wordlist.combined.gz1dictionary=main:es,locale=es,description=Español,date=1414726268, ...