Home
last modified time | relevance | path

Searched refs:constructor (Results 1 – 25 of 2011) sorted by relevance

12345678910>>...81

/cts/common/device-side/bedstead/testapp/src/testapps/main/java/com/android/bedstead/testapp/
DTestAppAppComponentFactory.java45 …@FrameworkClass(frameworkClass = DevicePolicyManager.class, constructor = "context.getSystemServic…
46 …@FrameworkClass(frameworkClass = HardwarePropertiesManager.class, constructor = "context.getSystem…
47 …@FrameworkClass(frameworkClass = UserManager.class, constructor = "context.getSystemService(androi…
48 …@FrameworkClass(frameworkClass = WifiManager.class, constructor = "context.getSystemService(androi…
49 …@FrameworkClass(frameworkClass = PackageManager.class, constructor = "context.getPackageManager()"…
50 …@FrameworkClass(frameworkClass = CrossProfileApps.class, constructor = "context.getSystemService(a…
51 …@FrameworkClass(frameworkClass = LauncherApps.class, constructor = "context.getSystemService(andro…
52 …@FrameworkClass(frameworkClass = AccountManager.class, constructor = "context.getSystemService(and…
53 @FrameworkClass(frameworkClass = Context.class, constructor = "context"),
54 …@FrameworkClass(frameworkClass = ContentResolver.class, constructor = "context.getContentResolver(…
[all …]
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/
DApiClass.java102 public void addConstructor(ApiConstructor constructor) { in addConstructor() argument
103 mApiConstructors.add(constructor); in addConstructor()
121 apiConstructor.ifPresent(constructor -> constructor.setCovered(coveredbyApk)); in markConstructorCovered()
148 for (ApiConstructor constructor : mApiConstructors) { in getNumCoveredMethods()
149 if (constructor.isCovered()) { in getNumCoveredMethods()
264 for (ApiConstructor constructor : mApiConstructors) { in getConstructor()
265 if (compareParameterTypes(constructor.getParameterTypes(), parameterTypes)) { in getConstructor()
266 return Optional.of(constructor); in getConstructor()
DXmlReport.java88 for (ApiConstructor constructor : apiClass.getConstructors()) { in printXmlReport()
89 … List<String> coveredWithList = new ArrayList<String>(constructor.getCoveredWith()); in printXmlReport()
92 out.println("<constructor name=\"" + constructor.getName() in printXmlReport()
93 + "\" deprecated=\"" + constructor.isDeprecated() in printXmlReport()
94 + "\" covered=\"" + constructor.isCovered() in printXmlReport()
97 if (constructor.isDeprecated()) { in printXmlReport()
98 if (constructor.isCovered()) { in printXmlReport()
103 for (String parameterType : constructor.getParameterTypes()) { in printXmlReport()
DTextReport.java60 for (ApiConstructor constructor : constructors) { in printTextReport()
61 printConstructor(constructor, out); in printTextReport()
87 private static void printConstructor(ApiConstructor constructor, PrintStream out) { in printConstructor() argument
89 .append(constructor.isCovered() ? "X" : " ") in printConstructor()
90 .append("] ").append(constructor.getName()).append("("); in printConstructor()
92 List<String> parameterTypes = constructor.getParameterTypes(); in printConstructor()
/cts/tests/signature/tests/src/android/signature/cts/tests/
DApiComplianceCheckerTest.java82 JDiffClassDescription.JDiffConstructor constructor = in testSimpleConstructor() local
84 clz.addConstructor(constructor); in testSimpleConstructor()
86 assertEquals(constructor.toSignatureString(), "public NormalClass()"); in testSimpleConstructor()
92 JDiffClassDescription.JDiffConstructor constructor = in testOneArgConstructor() local
94 constructor.addParam("java.lang.String"); in testOneArgConstructor()
95 clz.addConstructor(constructor); in testOneArgConstructor()
97 assertEquals(constructor.toSignatureString(), "private NormalClass(java.lang.String)"); in testOneArgConstructor()
103 JDiffClassDescription.JDiffConstructor constructor = in testConstructorThrowsException() local
105 constructor.addParam("java.lang.String"); in testConstructorThrowsException()
106 constructor.addParam("java.lang.String"); in testConstructorThrowsException()
[all …]
DApiPresenceCheckerTest.java64 JDiffClassDescription.JDiffConstructor constructor = in addConstructor() local
68 constructor.addParam(type); in addConstructor()
71 clz.addConstructor(constructor); in addConstructor()
/cts/tests/tests/voiceinteraction/service/src/android/voiceinteraction/service/
DMainInteractionSessionService.java37 final Constructor<?> constructor = Class.forName(className) in onNewSession() local
39 return (VoiceInteractionSession) constructor.newInstance(this); in onNewSession()
/cts/tests/sensor/jni/
DnativeTestHelper.cpp38 jmethodID constructor = env->GetMethodID(exClass, "<init>", in fail() local
41 jobject exception = env->NewObject(exClass, constructor, msgStr, nullptr); in fail()
/cts/common/device-side/bedstead/testapp/src/processor/main/java/com/android/bedstead/testapp/processor/annotations/
DFrameworkClass.java21 String constructor(); in constructor() method
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/invoke_static/d/
DT_invoke_static_10.smali21 .method static constructor <clinit>()V
27 .method public constructor <init>()V
DT_invoke_static_4.smali21 .method static constructor <clinit>()V
29 .method public constructor <init>()V
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/invoke_super/d/
DT_invoke_super_10.smali19 .method static constructor <clinit>()V
24 .method public constructor <init>()V
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/invoke_direct/d/
DT_invoke_direct_4.smali21 .method static constructor <clinit>()V
27 .method public constructor <init>()V
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/invoke_static_range/d/
DT_invoke_static_range_10.smali21 .method static constructor <clinit>()V
27 .method public constructor <init>()V
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/invoke_virtual/d/
DT_invoke_virtual_10.smali19 .method static constructor <clinit>()V
24 .method public constructor <init>()V
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/iget/d/
DT_iget_9.smali21 .method constructor static <clinit>()V
26 .method public constructor <init>()V
DT_iget_2.smali25 .method static constructor <clinit>()V
31 .method public constructor <init>()V
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/invoke_super_range/d/
DT_invoke_super_range_10.smali19 .method static constructor <clinit>()V
24 .method public constructor <init>()V
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/invoke_direct_range/d/
DT_invoke_direct_range_4.smali21 .method static constructor <clinit>()V
27 .method public constructor <init>()V
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/invoke_virtual_range/d/
DT_invoke_virtual_range_10.smali19 .method static constructor <clinit>()V
24 .method public constructor <init>()V
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/invoke_interface_range/d/
DT_invoke_interface_range_20.smali21 .method static constructor <clinit>()V
29 .method public constructor <init>()V
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/invoke_interface/d/
DT_invoke_interface_20.smali21 .method static constructor <clinit>()V
29 .method public constructor <init>()V
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/sget/d/
DT_sget_2.smali25 .method static constructor <clinit>()V
35 .method public constructor <init>()V
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/sget_wide/d/
DT_sget_wide_2.smali21 .method static constructor <clinit>()V
28 .method public constructor <init>()V
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/sget_object/d/
DT_sget_object_21.smali25 .method static constructor <clinit>()V
37 .method public constructor <init>()V

12345678910>>...81