Home
last modified time | relevance | path

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

1234567891011

/cts/tools/release-parser/tests/src/com/android/cts/releaseparser/
DFileParserTest.java57 File aFile = ClassUtils.getResrouceFile(getClass(), fileName); in testVdex()
73 File aFile = ClassUtils.getResrouceFile(getClass(), fileName); in testArt()
89 File aFile = ClassUtils.getResrouceFile(getClass(), fileName); in testOat()
105 File aFile = ClassUtils.getResrouceFile(getClass(), fileName); in testOdex()
121 File aFile = ClassUtils.getResrouceFile(getClass(), fileName); in testBuildProp()
150 File aFile = ClassUtils.getResrouceFile(getClass(), fileName); in testXmlParser()
163 ClassUtils.openResourceAsStreamReader(getClass(), txtProtobufFileName), in testFileParser()
/cts/tests/security/src/android/keystore/cts/
DAsn1Utils.java51 "Integer value expected, " + asn1Value.getClass().getName() + " found."); in getIntegerFromAsn1()
60 "Integer value expected, " + asn1Value.getClass().getName() + " found."); in getLongFromAsn1()
96 "Expected octet stream, found " + asn1Primitive.getClass().getName()); in getAsn1SequenceFromStream()
103 "Expected sequence, found " + asn1Primitive.getClass().getName()); in getAsn1SequenceFromStream()
113 "Expected set, found " + set.getClass().getName()); in getIntegersFromAsn1Set()
127 "Expected octet string, found " + encodable.getClass().getName()); in getStringFromAsn1OctetStreamAssumingUTF8()
142 "Expected boolean, found " + value.getClass().getName()); in getBooleanFromAsn1()
/cts/tests/tests/notificationlegacy/notificationlegacy27/src/android/app/notification/legacy/cts/
DPollableConditionProviderService.java32 Log.d(TAG, getClass().getName() + " Connected"); in onConnected()
38 Log.d(TAG, getClass().getName() + " Destroyed"); in onDestroy()
45 Log.d(TAG, getClass().getName() + " got subscribe"); in onSubscribe()
53 Log.d(TAG, getClass().getName() + " got unsubscribe"); in onUnsubscribe()
/cts/tests/tests/transition/src/android/transition/cts/
DCaptureValuesTest.java78 String className = transition.getClass().getSuperclass().getSimpleName().toString(); in testCaptureValues()
80 mStartCaptured.get(transition.getClass())); in testCaptureValues()
82 mEndCaptured.get(transition.getClass())); in testCaptureValues()
84 assertNotNull(mStartCaptured.get(set.getClass())); in testCaptureValues()
85 assertNotNull(mEndCaptured.get(set.getClass())); in testCaptureValues()
94 String className = transition.getClass().getSuperclass().getSimpleName().toString(); in verifyCapturedValues()
104 mStartCaptured.put(transition.getClass(), true); in verifyCapturedValues()
106 mEndCaptured.put(transition.getClass(), true); in verifyCapturedValues()
/cts/tests/tests/keystore/src/android/keystore/cts/
DKeyStoreTest.java398 assertSame(PrivateKeyEntry.class, actual.getClass()); in assertPrivateKey()
416 assertSame(SecretKeyEntry.class, actual.getClass()); in assertSecretKey()
430 assertSame(TrustedCertificateEntry.class, actual.getClass()); in assertCertificate()
478 if (e.getClass() != NullPointerException.class in test_KeyStore_getInstance()
479 && e.getClass() != KeyStoreException.class) { in test_KeyStore_getInstance()
555 if (e.getClass() != NullPointerException.class in test_KeyStore_getKey()
556 && e.getClass() != IllegalArgumentException.class) { in test_KeyStore_getKey()
564 if (e.getClass() != NullPointerException.class in test_KeyStore_getKey()
565 && e.getClass() != IllegalArgumentException.class in test_KeyStore_getKey()
566 && e.getClass() != KeyStoreException.class) { in test_KeyStore_getKey()
[all …]
/cts/hostsidetests/classloaders/useslibrary/app/src/com/android/cts/useslibrary/
DUsesLibraryTest.java42 ClassLoader loader = getClass().getClassLoader(); in testUsesLibrary()
53 ClassLoader loader = getClass().getClassLoader(); in testMissingLibrary()
70 ClassLoader loader = getClass().getClassLoader(); in testDuplicateLibrary()
99 Field dexElementsField = pathList.getClass().getDeclaredField("dexElements"); in getDexElementsFromClassLoader()
107 Field dexFileField = dexElement.getClass().getDeclaredField("dexFile"); in getDexFileFromDexElement()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/qstiles/
DInteractiveVerifierActivity.java125 logWithStack("failed " + this.getClass().getSimpleName() + in logFail()
130 Log.e(TAG, "failed " + this.getClass().getSimpleName() + in logFail()
276 Log.i(TAG, "running setup for: " + mCurrentTest.getClass().getSimpleName()); in run()
286 Log.i(TAG, "waiting for user: " + mCurrentTest.getClass().getSimpleName()); in run()
293 Log.i(TAG, "running test for: " + mCurrentTest.getClass().getSimpleName()); in run()
304 Log.e(TAG, "FAIL: " + mCurrentTest.getClass().getSimpleName(), t); in run()
313 Log.i(TAG, "FAIL: " + mCurrentTest.getClass().getSimpleName()); in run()
320 Log.i(TAG, "pass for: " + mCurrentTest.getClass().getSimpleName()); in run()
324 Log.i(TAG, "next test is: " + mCurrentTest.getClass().getSimpleName()); in run()
/cts/hostsidetests/classloaders/splits/apps/src/com/android/cts/classloadersplitapp/
DBaseReceiver.java30 final ClassLoader loader = getClass().getClassLoader(); in onReceive()
33 b.putString("loaderClassName", loader.getClass().getName()); in onReceive()
34 b.putString("parentClassName", parent.getClass().getName()); in onReceive()
DSplitAppTest.java81 context.getClassLoader().getClass().getName()); in testBaseClassLoader()
92 assertEquals("dalvik.system.DelegateLastClassLoader", cl.getClass().getName()); in testFeatureAClassLoader()
95 assertEquals("dalvik.system.PathClassLoader", cl.getParent().getClass().getName()); in testFeatureAClassLoader()
107 assertEquals("dalvik.system.PathClassLoader", cl.getClass().getName()); in testFeatureBClassLoader()
108 assertEquals("dalvik.system.DelegateLastClassLoader", cl.getParent().getClass().getName()); in testFeatureBClassLoader()
/cts/hostsidetests/classloaders/splits/apps/feature_b/src/com/android/cts/classloadersplitapp/feature_b/
DFeatureBReceiver.java31 final ClassLoader loader = getClass().getClassLoader(); in onReceive()
34 b.putString("featureB_loaderClassName", loader.getClass().getName()); in onReceive()
35 b.putString("featureB_parentClassName", parent.getClass().getName()); in onReceive()
/cts/hostsidetests/classloaders/splits/apps/feature_a/src/com/android/cts/classloadersplitapp/feature_a/
DFeatureAReceiver.java31 final ClassLoader loader = getClass().getClassLoader(); in onReceive()
34 b.putString("featureA_loaderClassName", loader.getClass().getName()); in onReceive()
35 b.putString("featureA_parentClassName", parent.getClass().getName()); in onReceive()
/cts/tools/vm-tests-tf/build/src/util/build/
DBuildStep.java58 if (getClass() == obj.getClass()) { in equals()
98 return this.getClass() == obj.getClass(); in equals()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/
DInteractiveVerifierActivity.java134 logWithStack("failed " + this.getClass().getSimpleName() + in logFail()
139 Log.e(TAG, "failed " + this.getClass().getSimpleName() + in logFail()
276 Log.i(TAG, "running setup for: " + mCurrentTest.getClass().getSimpleName()); in run()
286 Log.i(TAG, "waiting for user: " + mCurrentTest.getClass().getSimpleName()); in run()
293 Log.i(TAG, "running test for: " + mCurrentTest.getClass().getSimpleName()); in run()
304 Log.e(TAG, "FAIL: " + mCurrentTest.getClass().getSimpleName(), t); in run()
313 Log.i(TAG, "FAIL: " + mCurrentTest.getClass().getSimpleName()); in run()
320 Log.i(TAG, "pass for: " + mCurrentTest.getClass().getSimpleName()); in run()
324 Log.i(TAG, "next test is: " + mCurrentTest.getClass().getSimpleName()); in run()
/cts/tests/signature/lib/common/src/android/signature/cts/
DClassProvider.java31 public Class<?> getClass(String name) throws ClassNotFoundException { in getClass() method in ClassProvider
32 return Class.forName(name, false, this.getClass().getClassLoader()); in getClass()
DExcludingClassProvider.java35 public Class<?> getClass(String name) throws ClassNotFoundException { in getClass() method in ExcludingClassProvider
37 return base.getClass(name); in getClass()
/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.java151 assertSame(short[].class, array.getClass()); in test_returnShortArray()
163 assertSame(String[].class, array.getClass()); in test_returnStringArray()
185 assertSame(StaticNonce.class, nonce.getClass()); in test_returnInstance()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/usb/
DUtil.java39 if (e.getClass().isAssignableFrom(expectedClass)) { in runAndAssertException()
43 + e.getClass().getName()); in runAndAssertException()
/cts/hostsidetests/dumpsys/apps/ProcStatsHelperApp/src/com/android/server/cts/procstatshelper/
DProcStatsHelperServiceBase.java33 Log.e(TAG, "onCreate: " + getClass().getName()); in onCreate()
38 Log.e(TAG, "onHandleIntent: " + getClass().getName()); in onHandleIntent()
/cts/tests/app/src/android/app/cts/
DConditionTest.java88 String pkg = this.getClass().getPackage().toString(); in testIsValidId_noScheme()
94 String pkg = this.getClass().getPackage().toString(); in testIsValidId_wrongAuthority()
100 String pkg = this.getClass().getPackage().toString(); in testIsValidId()
/cts/common/device-side/util/src/com/android/compatibility/common/util/
DBusinessLogicTestCase.java71 String testName = String.format("%s#%s", this.getClass().getName(), methodName); in executeBusinessLogic()
120 for (Field f : getClass().getDeclaredFields()) { in mapPut()
134 getClass().getName())); in mapPut()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DBusinessLogicTestCase.java72 String testName = String.format("%s#%s", this.getClass().getName(), methodName); in executeBusinessLogic()
128 for (Field f : getClass().getDeclaredFields()) { in mapPut()
142 getClass().getName())); in mapPut()
/cts/tests/framework/base/windowmanager/src/android/server/wm/intent/
DPersistence.java499 if (o == null || getClass() != o.getClass()) return false; in equals()
573 if (o == null || getClass() != o.getClass()) return false; in equals()
632 if (o == null || getClass() != o.getClass()) return false; in equals()
678 if (o == null || getClass() != o.getClass()) return false; in equals()
/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/
DDeviceInfo.java76 if (!mActivityList.contains(getClass().getName())) { in testCollectDeviceInfo()
88 jsonFile = new File(dir, getClass().getSimpleName() + ".deviceinfo.json"); in testCollectDeviceInfo()
108 String message = getClass().getSimpleName() + " collection completed."; in testCollectDeviceInfo()
/cts/tests/autofillservice/src/android/autofillservice/cts/
DMyAutofillId.java43 if (getClass() != obj.getClass()) return false; in equals()

1234567891011