Home
last modified time | relevance | path

Searched refs:getClass (Results 1 – 25 of 98) sorted by relevance

1234

/cts/tools/signature-tools/test/signature/converter/
DConvertAnnotationTest.java59 IClassDefinition sigClass = ModelUtil.getClass(sigPackage, "ToDo"); in convertAnnotationDefinition1()
89 IClassDefinition sigClass = ModelUtil.getClass(sigPackage, "ToDo"); in convertAnnotationDefinition2()
111 IClassDefinition sigClass = ModelUtil.getClass(sigPackage, "ToDo"); in convertAnnotationDefinition3()
139 IClassDefinition sigClass = ModelUtil.getClass(sigPackage, "A"); in testAnnotationDefaultsInt1()
164 IClassDefinition sigClass = ModelUtil.getClass(sigPackage, "A"); in testAnnotationDefaultsInt2()
173 assertSame(field.getDefaultValue().getClass(), Object[].class); in testAnnotationDefaultsInt2()
188 IClassDefinition sigClass = ModelUtil.getClass(sigPackage, "A"); in testAnnotationDefaultsInt3()
197 assertSame(field.getDefaultValue().getClass(), Object[].class); in testAnnotationDefaultsInt3()
223 IClassDefinition sigClass = ModelUtil.getClass(sigPackage, "A"); in testAnnotationDefaultsDouble1()
249 IClassDefinition sigClass = ModelUtil.getClass(sigPackage, "A"); in testAnnotationDefaultsDouble2()
[all …]
DConvertVisibilityTest.java51 IClassDefinition c = ModelUtil.getClass(p, "A"); in testVisibilityMethods1()
69 IClassDefinition c = ModelUtil.getClass(p, "A"); in testVisibilityMethods2()
87 IClassDefinition c = ModelUtil.getClass(p, "A"); in testVisibilityMethods3()
105 IClassDefinition c = ModelUtil.getClass(p, "A"); in testVisibilityMethods4()
138 assertNotNull(ModelUtil.getClass(sigPackage, "X1.X3")); in testVisibility2()
154 assertNotNull(ModelUtil.getClass(sigPackage, "X1.X2")); in testVisibility3()
170 assertNotNull(ModelUtil.getClass(sigPackage, "X1.X4")); in testVisibility4()
DConvertClassTest.java59 IClassDefinition sigClass = ModelUtil.getClass(sigPackage, "A"); in convertPackageClassTest()
70 IClassDefinition sigClass = ModelUtil.getClass(sigPackage, "A"); in convertClassClassTest()
81 IClassDefinition sigClass = ModelUtil.getClass(sigPackage, "A"); in convertClassInterfaceTest()
92 IClassDefinition sigClass = ModelUtil.getClass(sigPackage, "A"); in convertClassEnumTest()
103 IClassDefinition sigClass = ModelUtil.getClass(sigPackage, "A"); in convertClassAnnotationTest()
114 IClassDefinition sigClass = ModelUtil.getClass(sigPackage, "A"); in convertAnnotationTest()
133 IClassDefinition sigClass = ModelUtil.getClass(sigPackage, "A"); in convertAnnotationOnFieldTest()
150 IClassDefinition sigClass = ModelUtil.getClass(sigPackage, "A"); in convertGenericClass0()
169 IClassDefinition sigClass = ModelUtil.getClass(sigPackage, "A"); in convertGenericClass00()
188 IClassDefinition sigClass = ModelUtil.getClass(sigPackage, "A"); in convertGenericClass1()
[all …]
DConvertEnumTest.java59 IClassDefinition c = ModelUtil.getClass(sigPackage, "A"); in testEnum1()
96 IClassDefinition c = ModelUtil.getClass(sigPackage, "A"); in testEnum2()
121 IClassDefinition c = ModelUtil.getClass(sigPackage, "A"); in testEnum3()
164 IClassDefinition c = ModelUtil.getClass(sigPackage, "A"); in testEnum4()
DConvertParameterizedTypeTest.java52 IClassDefinition sigClass = ModelUtil.getClass(sigPackage, "A"); in convertParameterizedType()
76 IClassDefinition sigClass = ModelUtil.getClass(sigPackage, "A.Sub"); in convertWildcardLowerBound()
DConvertWildcardTest.java49 IClassDefinition sigClass = ModelUtil.getClass(sigPackage, "A"); in convertWildcardUpperBound()
78 IClassDefinition sigClass = ModelUtil.getClass(sigPackage, "A"); in convertWildcardLowerBound()
/cts/tools/dex-tools/test/dex/reader/
DDexFileReaderTests.java58 DexClass class1 = getClass(dexFile, "La/b/c/A;"); in testA()
153 DexClass T0 = getClass(dexFile, "LT0;"); in testT0_T1()
156 DexClass T1 = getClass(dexFile, "LT1;"); in testT0_T1()
177 DexClass A0 = getClass(dexFile, "LA0;"); in testA0()
198 DexClass T3 = getClass(dexFile, "LT3;"); in testA0_T3()
204 DexClass A0 = getClass(dexFile, "LA0;"); in testA0_T3()
219 DexClass G0 = getClass(dexFile, "LG0;"); in testG0()
244 DexClass G1 = getClass(dexFile, "LG1;"); in testG1()
274 DexClass I0 = getClass(dexFile, "LI0;"); in testI0()
298 DexClass Outer0 = getClass(dexFile, "LOuter0;"); in testOuter0()
[all …]
/cts/tools/signature-tools/test/signature/converter/dex/
DDexUtilTest.java74 DexClass dexClass = getClass(dexFile, "LA;"); in hasGenericSignatureTest()
78 dexClass = getClass(dexFile, "LB;"); in hasGenericSignatureTest()
85 DexClass dexClass = getClass(dexFile, "LA;"); in getGenericSignatureTest()
89 dexClass = getClass(dexFile, "LB;"); in getGenericSignatureTest()
/cts/tools/vm-tests-tf/src/util/build/
DBuildStep.java54 if (getClass() == obj.getClass()) { in equals()
93 return this.getClass() == obj.getClass(); in equals()
/cts/tests/tests/jni/src/android/jni/cts/
DClassLoaderHelper.java44 ClassLoader loader = getClass().getClassLoader(); in getHashCodeNative()
45 return nativeGetHashCode(loader, loader.getClass()); in getHashCodeNative()
DJniStaticTest.java123 assertSame(short[].class, array.getClass()); in test_returnShortArray()
135 assertSame(String[].class, array.getClass()); in test_returnStringArray()
157 assertSame(StaticNonce.class, nonce.getClass()); in test_returnInstance()
DJniInstanceTest.java116 assertSame(short[].class, array.getClass()); in test_returnShortArray()
128 assertSame(String[].class, array.getClass()); in test_returnStringArray()
/cts/tools/signature-tools/src/signature/model/impl/
DSigTypeVariableReference.java40 if (getClass() == obj.getClass()) { in equals()
/cts/tests/tests/permission/src/android/permission/cts/
DAppOpsTest.java49 Method setMode = mAppOps.getClass().getMethod("setMode", int.class, int.class, in testSetMode()
51 int writeSmsOp = mAppOps.getClass().getField("OP_WRITE_SMS").getInt(mAppOps); in testSetMode()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/
DInteractiveVerifierActivity.java123 logWithStack("failed " + this.getClass().getSimpleName() + in logFail()
254 Log.i(TAG, "running setup for: " + mCurrentTest.getClass().getSimpleName()); in run()
259 Log.i(TAG, "waiting for user: " + mCurrentTest.getClass().getSimpleName()); in run()
264 Log.i(TAG, "running test for: " + mCurrentTest.getClass().getSimpleName()); in run()
269 Log.i(TAG, "FAIL: " + mCurrentTest.getClass().getSimpleName()); in run()
274 Log.i(TAG, "pass for: " + mCurrentTest.getClass().getSimpleName()); in run()
278 Log.i(TAG, "next test is: " + mCurrentTest.getClass().getSimpleName()); in run()
/cts/tests/tests/transition/src/android/transition/cts/
DTransitionManagerTest.java46 assertEquals(TestTransition.class, mTransition.listener.transition.getClass()); in testBeginDelayedTransition()
66 assertEquals(TestTransition.class, mTransition.listener.transition.getClass()); in testGo()
95 assertEquals(TestTransition.class, mTransition.listener.transition.getClass()); in testSetTransition1()
143 assertEquals(TestTransition.class, mTransition.listener.transition.getClass()); in testSetTransition2()
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/
DDexDepsXmlHandler.java74 ApiClass apiClass = apiPackage.getClass(mCurrentClassName); in endElement()
82 ApiClass apiClass = apiPackage.getClass(mCurrentClassName); in endElement()
DApiPackage.java46 public ApiClass getClass(String name) { in getClass() method in ApiPackage
94 ApiClass superClass = apiPackage.getClass(className); in resolveSuperClasses()
DCurrentXmlHandler.java118 ApiClass apiClass = apiPackage.getClass(mCurrentClassName); in endElement()
131 ApiClass apiClass = apiPackage.getClass(mCurrentClassName); in endElement()
/cts/tools/vm-tests-tf/src/dot/junit/
DDxTestCase.java36 if (!expectedErrorClass.equals(thrown.getClass())) { in checkError()
38 thrown.getClass()); in checkError()
DDxAbstractMain.java38 if (!expectedErrorClass.equals(thrown.getClass())) { in checkError()
41 thrown.getClass()); in checkError()
/cts/tests/tests/uirendering/src/android/uirendering/cts/testinfrastructure/
DActivityTestBase.java69 BitmapDumper.createSubDirectory(this.getClass().getSimpleName()); in ActivityTestBase()
73 BitmapDumper.deleteFileInClassFolder(this.getClass().getSimpleName(), getName()); in ActivityTestBase()
193 BitmapDumper.dumpBitmaps(bitmap1, bitmap2, getName(), this.getClass().getSimpleName(), in assertBitmapsAreSimilar()
211 BitmapDumper.dumpBitmap(croppedBitmap, getName(), this.getClass().getSimpleName()); in assertBitmapIsVerified()
213 this.getClass().getSimpleName()); in assertBitmapIsVerified()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/
DPassFailButtons.java152 return getClass().getName(); in getTestId()
200 return getClass().getName(); in getTestId()
249 return getClass().getName(); in getTestId()
328 TestResultsProvider.getTestNameUri(activity.getClass().getName()), in hasSeenInfoDialog()
388 values.put(TestResultsProvider.COLUMN_TEST_NAME, activity.getClass().getName()); in markSeenInfoDialog()
391 TestResultsProvider.getTestNameUri(activity.getClass().getName()), in markSeenInfoDialog()
/cts/tests/tests/app/src/android/app/cts/
DActivityManagerRecentTaskInfoTest.java60 origActivity = new ComponentName(mContext, this.getClass()); in testWriteToParcel()
94 origActivity = new ComponentName(mContext, this.getClass()); in testReadFromParcel()
/cts/tools/signature-tools/src/signature/compare/model/impl/
DSigDelta.java82 builder.append(getClass().getSimpleName()); in toString()
87 Class<?> actualClass = getClass(); in toString()

1234