/cts/common/device-side/bedstead/testapp/src/testapps/main/java/com/android/bedstead/testapp/ |
D | TestAppAppComponentFactory.java | 58 constructor = 62 constructor = 66 constructor = "context" + ".getSystemService(android.os.UserManager.class)"), 69 constructor = 73 constructor = "context" + ".getPackageManager()"), 76 constructor = 80 constructor = 84 constructor = 86 @FrameworkClass(frameworkClass = Context.class, constructor = "context"), 89 constructor = "context" + ".getContentResolver()"), [all …]
|
/cts/tools/cts-api-coverage/src/com/android/cts/apicommon/ |
D | ApiClass.java | 105 public void addConstructor(ApiConstructor constructor) { in addConstructor() argument 106 mApiConstructors.add(constructor); in addConstructor() 125 apiConstructor.ifPresent(constructor -> constructor.setCoveredTest(testMethod)); in markConstructorCoveredTest() 155 apiConstructor.ifPresent(constructor -> constructor.setCovered(coveredbyApk)); in markConstructorCovered() 182 for (ApiConstructor constructor : mApiConstructors) { in getNumCoveredMethods() 183 if (constructor.isCovered()) { in getNumCoveredMethods() 298 for (ApiConstructor constructor : mApiConstructors) { in getConstructor() 299 if (compareParameterTypes(constructor.getParameterTypes(), parameterTypes)) { in getConstructor() 300 return Optional.of(constructor); in getConstructor()
|
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/ |
D | XmlReport.java | 95 for (ApiConstructor constructor : apiClass.getConstructors()) { in printXmlReport() 96 … List<String> coveredWithList = new ArrayList<String>(constructor.getCoveredWith()); in printXmlReport() 99 out.println("<constructor name=\"" + constructor.getName() in printXmlReport() 100 + "\" deprecated=\"" + constructor.isDeprecated() in printXmlReport() 101 + "\" covered=\"" + constructor.isCovered() in printXmlReport() 104 if (constructor.isDeprecated()) { in printXmlReport() 105 if (constructor.isCovered()) { in printXmlReport() 110 for (String parameterType : constructor.getParameterTypes()) { in printXmlReport()
|
D | TextReport.java | 67 for (ApiConstructor constructor : constructors) { in printTextReport() 68 printConstructor(constructor, out); in printTextReport() 94 private static void printConstructor(ApiConstructor constructor, PrintStream out) { in printConstructor() argument 96 .append(constructor.isCovered() ? "X" : " ") in printConstructor() 97 .append("] ").append(constructor.getName()).append("("); in printConstructor() 99 List<String> parameterTypes = constructor.getParameterTypes(); in printConstructor()
|
/cts/tools/cts-api-coverage/src/com/android/cts/apimap/ |
D | XmlWriter.java | 129 ApiConstructor constructor, ApiStatistics statistics) { in createApiConstructorElement() argument 130 if (constructor.isDeprecated()) { in createApiConstructorElement() 131 if (constructor.isCovered()) { in createApiConstructorElement() 136 List<String> coveredWithList = new ArrayList<>(constructor.getCoveredWith()); in createApiConstructorElement() 140 element.setAttribute("name", constructor.getName()); in createApiConstructorElement() 141 element.setAttribute("deprecated", String.valueOf(constructor.isDeprecated())); in createApiConstructorElement() 142 element.setAttribute("covered", String.valueOf(constructor.isCovered())); in createApiConstructorElement() 144 for (String parameterType : constructor.getParameterTypes()) { in createApiConstructorElement() 149 for (String test: constructor.getCoveredTests()) { in createApiConstructorElement() 220 for (ApiConstructor constructor : apiClass.getConstructors()) { in createApiClassElement() [all …]
|
/cts/tests/tests/telephony/current/TestExternalImsServiceApp/ |
D | Android.bp | 20 // Uncomment when ImsConferenceState constructor is not hidden 22 // remove when ImsConferenceState constructor is not hidden
|
/cts/tests/signature/tests/src/android/signature/cts/tests/ |
D | ApiComplianceCheckerTest.java | 84 JDiffClassDescription.JDiffConstructor constructor = ctor("NormalClass", Modifier.PUBLIC); in testSimpleConstructor() local 85 clz.addConstructor(constructor); in testSimpleConstructor() 87 assertEquals(constructor.toSignatureString(), "public NormalClass()"); in testSimpleConstructor() 93 JDiffClassDescription.JDiffConstructor constructor = ctor("NormalClass", Modifier.PRIVATE); 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 = ctor("NormalClass", Modifier.PROTECTED); in testConstructorThrowsException() local 104 constructor.addParam("java.lang.String"); in testConstructorThrowsException() 105 constructor.addParam("java.lang.String"); in testConstructorThrowsException() [all …]
|
/cts/tests/sensor/jni/ |
D | nativeTestHelper.cpp | 38 jmethodID constructor = env->GetMethodID(exClass, "<init>", in fail() local 41 jobject exception = env->NewObject(exClass, constructor, msgStr, nullptr); in fail()
|
/cts/tests/tests/voiceinteraction/service/src/android/voiceinteraction/service/ |
D | MainInteractionSessionService.java | 55 final Constructor<?> constructor = Class.forName(className) in onNewSession() local 57 return (VoiceInteractionSession) constructor.newInstance(this); in onNewSession()
|
/cts/common/device-side/bedstead/testapp/src/processor/main/java/com/android/bedstead/testapp/processor/annotations/ |
D | FrameworkClass.java | 21 String constructor(); in constructor() method
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/invoke_static/d/ |
D | T_invoke_static_10.smali | 21 .method static constructor <clinit>()V 27 .method public constructor <init>()V
|
D | T_invoke_static_4.smali | 21 .method static constructor <clinit>()V 29 .method public constructor <init>()V
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/iget/d/ |
D | T_iget_9.smali | 21 .method constructor static <clinit>()V 26 .method public constructor <init>()V
|
D | T_iget_2.smali | 25 .method static constructor <clinit>()V 31 .method public constructor <init>()V
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/invoke_static_range/d/ |
D | T_invoke_static_range_10.smali | 21 .method static constructor <clinit>()V 27 .method public constructor <init>()V
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/invoke_super_range/d/ |
D | T_invoke_super_range_10.smali | 19 .method static constructor <clinit>()V 24 .method public constructor <init>()V
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/invoke_virtual_range/d/ |
D | T_invoke_virtual_range_10.smali | 19 .method static constructor <clinit>()V 24 .method public constructor <init>()V
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/invoke_direct_range/d/ |
D | T_invoke_direct_range_4.smali | 21 .method static constructor <clinit>()V 27 .method public constructor <init>()V
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/invoke_direct/d/ |
D | T_invoke_direct_4.smali | 21 .method static constructor <clinit>()V 27 .method public constructor <init>()V
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/invoke_super/d/ |
D | T_invoke_super_10.smali | 19 .method static constructor <clinit>()V 24 .method public constructor <init>()V
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/invoke_virtual/d/ |
D | T_invoke_virtual_10.smali | 19 .method static constructor <clinit>()V 24 .method public constructor <init>()V
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/invoke_interface_range/d/ |
D | T_invoke_interface_range_20.smali | 21 .method static constructor <clinit>()V 29 .method public constructor <init>()V
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/sget/d/ |
D | T_sget_2.smali | 25 .method static constructor <clinit>()V 35 .method public constructor <init>()V
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/sget_wide/d/ |
D | T_sget_wide_2.smali | 21 .method static constructor <clinit>()V 28 .method public constructor <init>()V
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/invoke_interface/d/ |
D | T_invoke_interface_20.smali | 21 .method static constructor <clinit>()V 29 .method public constructor <init>()V
|