/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/ |
D | XmlReport.java | 87 for (ApiConstructor constructor : apiClass.getConstructors()) { in printXmlReport() 89 … constructor.getCoveredWith().stream().collect(Collectors.joining(",")); in printXmlReport() 90 out.println("<constructor name=\"" + constructor.getName() in printXmlReport() 91 + "\" deprecated=\"" + constructor.isDeprecated() in printXmlReport() 92 + "\" covered=\"" + constructor.isCovered() in printXmlReport() 95 if (constructor.isDeprecated()) { in printXmlReport() 96 if (constructor.isCovered()) { in printXmlReport() 101 for (String parameterType : constructor.getParameterTypes()) { in printXmlReport()
|
D | ApiClass.java | 102 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()
|
D | TextReport.java | 60 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/ |
D | ApiComplianceCheckerTest.java | 68 JDiffClassDescription.JDiffConstructor constructor = in testSimpleConstructor() local 70 clz.addConstructor(constructor); in testSimpleConstructor() 72 assertEquals(constructor.toSignatureString(), "public NormalClass()"); in testSimpleConstructor() 78 JDiffClassDescription.JDiffConstructor constructor = in testOneArgConstructor() local 80 constructor.addParam("java.lang.String"); in testOneArgConstructor() 81 clz.addConstructor(constructor); in testOneArgConstructor() 83 assertEquals(constructor.toSignatureString(), "private NormalClass(java.lang.String)"); in testOneArgConstructor() 89 JDiffClassDescription.JDiffConstructor constructor = in testConstructorThrowsException() local 91 constructor.addParam("java.lang.String"); in testConstructorThrowsException() 92 constructor.addParam("java.lang.String"); in testConstructorThrowsException() [all …]
|
D | AnnotationCheckerTest.java | 44 … JDiffClassDescription.JDiffConstructor constructor = new JDiffClassDescription.JDiffConstructor( in addConstructor() local 48 constructor.addParam(type); in addConstructor() 51 clz.addConstructor(constructor); in addConstructor()
|
/cts/tests/tests/voiceinteraction/service/src/android/voiceinteraction/service/ |
D | MainInteractionSessionService.java | 37 final Constructor<?> constructor = Class.forName(className) in onNewSession() local 39 return (VoiceInteractionSession) constructor.newInstance(this); in onNewSession()
|
/cts/tests/sensor/jni/ |
D | nativeTestHelper.cpp | 36 jmethodID constructor = env->GetMethodID(exClass, "<init>", in fail() local 39 jobject exception = env->NewObject(exClass, constructor, msgStr, nullptr); in fail()
|
/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/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/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_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_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/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_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/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_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/d/ |
D | T_invoke_interface_20.smali | 21 .method static constructor <clinit>()V 29 .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/sget_object/d/ |
D | T_sget_object_21.smali | 25 .method static constructor <clinit>()V 37 .method public constructor <init>()V
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/new_instance/d/ |
D | T_new_instance_3.smali | 21 .method static constructor <clinit>()V 31 .method public constructor <init>()V
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/sget_byte/d/ |
D | T_sget_byte_1.smali | 23 .method static constructor <clinit>()V 37 .method public constructor <init>()V
|