Home
last modified time | relevance | path

Searched refs:Constructor (Results 1 – 21 of 21) sorted by relevance

/cts/tests/signature/lib/common/src/android/signature/cts/
DAnnotationChecker.java19 import java.lang.reflect.Constructor;
37 private final Map<String, Set<Constructor<?>>> annotatedConstructorsMap = new HashMap<>();
56 Set<Constructor<?>> constructors = ReflectionHelper.getAnnotatedConstructors(clazz, in AnnotationChecker()
80 public boolean skip(Constructor<?> ctor); in skip()
92 for (Set<Constructor<?>> set : annotatedConstructorsMap.values()) { in checkDeferred()
93 for (Constructor<?> c : set) { in checkDeferred()
144 JDiffClassDescription.JDiffConstructor ctorDescription, Constructor<?> ctor) { in checkConstructor()
145 Set<Constructor<?>> annotatedConstructors = annotatedConstructorsMap in checkConstructor()
DReflectionHelper.java23 import java.lang.reflect.Constructor;
139 static Constructor<?> findMatchingConstructor(Class<?> runtimeClass, in findMatchingConstructor()
140 JDiffConstructor jdiffDes, Map<Constructor, String> mismatchReasons) { in findMatchingConstructor() argument
150 static Constructor<?> findMatchingConstructorImpl(Class<?> runtimeClass, in findMatchingConstructorImpl()
151 JDiffConstructor jdiffDes, Map<Constructor, String> mismatchReasons) { in findMatchingConstructorImpl() argument
152 for (Constructor<?> c : runtimeClass.getDeclaredConstructors()) { in findMatchingConstructorImpl()
495 public static Set<Constructor<?>> getAnnotatedConstructors(Class<?> clazz, in getAnnotatedConstructors()
506 private static Set<Constructor<?>> getAnnotatedConstructorsImpl(Class<?> clazz, in getAnnotatedConstructorsImpl()
508 Set<Constructor<?>> result = new HashSet<>(); in getAnnotatedConstructorsImpl()
510 for (Constructor<?> c : clazz.getDeclaredConstructors()) { in getAnnotatedConstructorsImpl()
[all …]
DApiPresenceChecker.java18 import java.lang.reflect.Constructor;
185 Map<Constructor, String> mismatchReasons = new LinkedHashMap<>(); in checkConstructorCompliance()
188 Constructor<?> c = ReflectionHelper.findMatchingConstructor(runtimeClass, con, in checkConstructorCompliance()
216 JDiffClassDescription.JDiffConstructor ctorDescription, Constructor<?> ctor) { in checkConstructor()
DApiComplianceChecker.java21 import java.lang.reflect.Constructor;
567 JDiffClassDescription.JDiffConstructor ctorDescription, Constructor<?> ctor) { in checkConstructor()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2023-21272/test-app/src/android/security/cts/CVE_2023_21272_test/
DDeviceTest.java36 import java.lang.reflect.Constructor;
52 Constructor partConstructor = in testCVE_2023_21272()
57 Constructor pathPartConstructor = in testCVE_2023_21272()
62 Constructor hierarchicalUriConstructor = in testCVE_2023_21272()
/cts/hostsidetests/jdwptunnel/sampleapps/ddmsapp/src/android/jdwptunnel/sampleapp/
DDdmsSampleDeviceActivity.java22 import java.lang.reflect.Constructor;
42 Constructor<?> chunk_cons = in onCreate()
/cts/tests/tests/security/src/android/security/cts/
DCVE_2024_34720.java35 import java.lang.reflect.Constructor;
45 Constructor<?> appZygoteConnection = in testPocCVE_2024_34720()
DVisualizerEffectTest.java28 import java.lang.reflect.Constructor;
60 Constructor ct = AudioEffect.class.getConstructor(UUID.class, UUID.class, in testVisualizer_MalformedConstructor()
DEffectBundleTest.java513 java.lang.reflect.Constructor ct = AudioEffect.class.getConstructor( in verifyZeroPVSizeRejectedForSetParameter()
/cts/tests/tests/voiceinteraction/service/src/android/voiceinteraction/service/
DMainInteractionSessionService.java27 import java.lang.reflect.Constructor;
55 final Constructor<?> constructor = Class.forName(className) in onNewSession()
/cts/tests/signature/api-check/system-annotation/src/java/android/signature/cts/api/
DAnnotationTest.java31 import java.lang.reflect.Constructor;
78 public boolean skip(Constructor<?> ctor) { in testAnnotation()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2022-20112/src/android/security/cts/CVE_2022_20112/
DDeviceTest.java38 import java.lang.reflect.Constructor;
68 Constructor<?> privateDnsPreferenceControllerCstr = in testPrivateDnsPreferenceController()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2024-0017/src/android/security/cts/CVE_2024_0017/
DDeviceTest.java37 import java.lang.reflect.Constructor;
84 Constructor CameraActivityConstructor = CameraActivityClass.getConstructor(); in testPocCVE_2024_0017()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2022-20360/src/android/security/cts/CVE_2022_20360/
DDeviceTest.java43 import java.lang.reflect.Constructor;
77 Constructor<?> targetClassCstr = in testSecureNfcPreferenceController()
/cts/tools/signature-tools/src/signature/converter/doclet/
DDocletFactory.java22 import java.lang.reflect.Constructor;
98 Constructor<Messager> c; in getRootDoc()
/cts/tests/tests/wifi/src/android/net/wifi/cts/
DWifiHotspot2Test.java32 import java.lang.reflect.Constructor;
479 Constructor<?> osuProviderClassConstructor = osuProviderClass.getConstructor(String.class, in testOsuProviderGetters()
DWifiManagerTest.java158 import java.lang.reflect.Constructor;
4668 Constructor<?> osuProviderClassConstructor = osuProviderClass.getConstructor(String.class, in testStartSubscriptionProvisioning()
/cts/tests/mediapc/common/
DREADME.md54 #### Define Constructor
/cts/tools/release-parser/tests/resources/
DCtsJniTestCases.apk.pb.txt383 name: "java.lang.reflect.Constructor"
3508 return_type: "java.lang.reflect.Constructor"
3512 return_type: "java.lang.reflect.Constructor[]"
3517 return_type: "java.lang.reflect.Constructor"
DShell.apk.pb.txt629 name: "java.lang.reflect.Constructor"
4986 return_type: "java.lang.reflect.Constructor"
4991 return_type: "java.lang.reflect.Constructor"
/cts/tests/tests/view/src/android/view/cts/
DViewTest.java136 import java.lang.reflect.Constructor;
242 Constructor<?> constructor = clazz.getConstructor(ctorSignature); in testConstructor2()