Searched refs:clz (Results 1 – 8 of 8) sorted by relevance
/cts/tests/signature/tests/src/android/signature/cts/tests/ |
D | AnnotationCheckerTest.java | 62 JDiffClassDescription clz = createClass("SystemApiClass"); in testExactApiMatch() local 63 addConstructor(clz); in testExactApiMatch() 64 addPublicVoidMethod(clz, "apiMethod"); in testExactApiMatch() 65 addPublicBooleanField(clz, "apiField"); in testExactApiMatch() 67 checkSignatureCompliance(clz, in testExactApiMatch() 71 clz = createClass("PublicApiClass"); in testExactApiMatch() 72 addConstructor(clz); in testExactApiMatch() 73 addPublicVoidMethod(clz, "apiMethod"); in testExactApiMatch() 74 addPublicBooleanField(clz, "apiField"); in testExactApiMatch() 76 checkSignatureCompliance(clz, in testExactApiMatch() [all …]
|
D | ApiComplianceCheckerTest.java | 66 JDiffClassDescription clz = createClass(NormalClass.class.getSimpleName()); in testNormalClassCompliance() local 67 checkSignatureCompliance(clz); in testNormalClassCompliance() 68 assertEquals(clz.toSignatureString(), "public class NormalClass"); in testNormalClassCompliance() 74 JDiffClassDescription clz = new JDiffClassDescription( in testMissingClass() local 76 clz.setType(JDiffClassDescription.JDiffType.CLASS); in testMissingClass() 77 checkSignatureCompliance(clz, observer); in testMissingClass() 83 JDiffClassDescription clz = createClass(NormalClass.class.getSimpleName()); in testSimpleConstructor() local 85 clz.addConstructor(constructor); in testSimpleConstructor() 86 checkSignatureCompliance(clz); in testSimpleConstructor() 92 JDiffClassDescription clz = createClass(NormalClass.class.getSimpleName()); in testOneArgConstructor() local [all …]
|
D | ApiPresenceCheckerTest.java | 53 JDiffClassDescription clz = new JDiffClassDescription( in createClass() local 55 clz.setType(JDiffClassDescription.JDiffType.CLASS); in createClass() 56 clz.setModifier(Modifier.PUBLIC); in createClass() 57 return clz; in createClass() 61 JDiffClassDescription clz = new JDiffClassDescription( in createAbstractClass() local 63 clz.setType(JDiffClassDescription.JDiffType.CLASS); in createAbstractClass() 64 clz.setModifier(Modifier.PUBLIC | Modifier.ABSTRACT); in createAbstractClass() 65 return clz; in createAbstractClass() 68 protected static void addConstructor(JDiffClassDescription clz, String... paramTypes) { in addConstructor() argument 70 new JDiffClassDescription.JDiffConstructor(clz.getShortClassName(), Modifier.PUBLIC); in addConstructor() [all …]
|
D | ExpectedFailuresFilterAnnotationCheckerTest.java | 60 JDiffClassDescription clz = createClass("SystemApiClass"); in testIgnoreExpectedFailures_TestPasses() local 65 checkSignatureCompliance(clz, filter, in testIgnoreExpectedFailures_TestPasses() 82 JDiffClassDescription clz = createClass("SystemApiClass"); in testIgnoreExpectedFailures_TestStillFails() local 83 addConstructor(clz); in testIgnoreExpectedFailures_TestStillFails() 87 checkSignatureCompliance(clz, filter, in testIgnoreExpectedFailures_TestStillFails()
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/generated/ |
D | TestClz.rscript | 24 return clz(inValue); 28 return clz(inValue); 32 return clz(inValue); 36 return clz(inValue); 40 return clz(inValue); 44 return clz(inValue); 48 return clz(inValue); 52 return clz(inValue); 56 return clz(inValue); 60 return clz(inValue); [all …]
|
/cts/tests/signature/api-check/system-annotation/src/java/android/signature/cts/api/ |
D | AnnotationTest.java | 58 return clz -> true; in androidAutoClassesFilter() 60 return clz -> !clz.getAbsoluteClassName().startsWith("android.car."); in androidAutoClassesFilter()
|
/cts/tests/signature/lib/common/src/android/signature/cts/ |
D | ReflectionHelper.java | 76 Class<?> clz = classProvider.getClass(outermostClassName); in searchForClass() local 77 if (clz.getCanonicalName().equals(absoluteClassName)) { in searchForClass() 78 return clz; in searchForClass() 83 clz = findInnerClassByName(clz, classNameParts[x]); in searchForClass() 84 if (clz == null) { in searchForClass() 87 if (clz.getCanonicalName().equals(absoluteClassName)) { in searchForClass() 88 return clz; in searchForClass() 122 private static Class<?> findInnerClassByName(Class<?> clz, String simpleName) { in findInnerClassByName() argument 123 for (Class<?> c : clz.getDeclaredClasses()) { in findInnerClassByName()
|
/cts/tests/tests/media/common/src/android/media/cts/ |
D | MediaCodecPlayerTestBase.java | 48 public MediaCodecPlayerTestBase(Class<T> clz) { in MediaCodecPlayerTestBase() argument 49 super(clz); in MediaCodecPlayerTestBase()
|