Home
last modified time | relevance | path

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

12345678

/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/tests/tests/keystore/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()
DKeyStoreTest.java395 assertSame(PrivateKeyEntry.class, actual.getClass()); in assertPrivateKey()
413 assertSame(SecretKeyEntry.class, actual.getClass()); in assertSecretKey()
427 assertSame(TrustedCertificateEntry.class, actual.getClass()); in assertCertificate()
475 if (e.getClass() != NullPointerException.class in test_KeyStore_getInstance()
476 && e.getClass() != KeyStoreException.class) { in test_KeyStore_getInstance()
552 if (e.getClass() != NullPointerException.class in test_KeyStore_getKey()
553 && e.getClass() != IllegalArgumentException.class) { in test_KeyStore_getKey()
561 if (e.getClass() != NullPointerException.class in test_KeyStore_getKey()
562 && e.getClass() != IllegalArgumentException.class in test_KeyStore_getKey()
563 && e.getClass() != KeyStoreException.class) { in test_KeyStore_getKey()
[all …]
DAttestationApplicationId.java73 + asn1Encodable.getClass().getName()); in AttestationApplicationId()
143 + asn1Encodable.getClass().getName()); in parseAttestationPackageInfos()
158 + asn1Encodable.getClass().getName()); in parseSignatures()
/cts/tests/tests/transition/src/android/transition/cts/
DCaptureValuesTest.java77 String className = transition.getClass().getSuperclass().getSimpleName().toString(); in testCaptureValues()
79 mStartCaptured.get(transition.getClass())); in testCaptureValues()
81 mEndCaptured.get(transition.getClass())); in testCaptureValues()
83 assertNotNull(mStartCaptured.get(set.getClass())); in testCaptureValues()
84 assertNotNull(mEndCaptured.get(set.getClass())); in testCaptureValues()
93 String className = transition.getClass().getSuperclass().getSimpleName().toString(); in verifyCapturedValues()
103 mStartCaptured.put(transition.getClass(), true); in verifyCapturedValues()
105 mEndCaptured.put(transition.getClass(), true); in verifyCapturedValues()
/cts/hostsidetests/appsecurity/test-apps/UsesLibraryApp/src/com/android/cts/useslibrary/
DUsesLibraryTest.java38 ClassLoader loader = getClass().getClassLoader(); in testUsesLibrary()
49 ClassLoader loader = getClass().getClassLoader(); in testMissingLibrary()
66 ClassLoader loader = getClass().getClassLoader(); in testDuplicateLibrary()
90 Field dexElementsField = pathList.getClass().getDeclaredField("dexElements"); in getDexElementsFromClassLoader()
98 Field dexFileField = dexElement.getClass().getDeclaredField("dexFile"); in getDexFileFromDexElement()
/cts/tools/vm-tests-tf/src/util/build/
DBuildStep.java58 if (getClass() == obj.getClass()) { in equals()
98 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.java142 assertSame(short[].class, array.getClass()); in test_returnShortArray()
154 assertSame(String[].class, array.getClass()); in test_returnStringArray()
176 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/apps/CtsVerifier/src/com/android/cts/verifier/usb/
DUtil.java39 if (e.getClass().isAssignableFrom(expectedClass)) { in runAndAssertException()
43 + e.getClass().getName()); in runAndAssertException()
/cts/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/testtype/
DModuleDef.java236 CLog.d("Test: %s", mTest.getClass().getSimpleName()); in run()
255 CLog.d("Cleaner: %s", cleaner.getClass().getSimpleName()); in run()
278 CLog.e("Precondition class %s failed", preparer.getClass().getCanonicalName()); in prepare()
286 String preparerName = preparer.getClass().getCanonicalName(); in runPreparerSetup()
292 CLog.d("Preparer: %s", preparer.getClass().getSimpleName()); in runPreparerSetup()
301 preparer.getClass().getCanonicalName()); in runPreparerSetup()
306 preparer.getClass().getCanonicalName()); in runPreparerSetup()
/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/hostsidetests/incident/src/com/android/server/cts/
DSettingsIncidentTest.java70 return Arrays.stream(settingsProto.getClass().getDeclaredMethods()) in getSettingProtos()
93 .map((arg) -> toPrimitive(arg.getClass())) in invoke()
96 instance.getClass().getDeclaredMethod(methodName, inputParamTypes), in invoke()
/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/hostsidetests/appsecurity/test-apps/EphemeralTestApp/NormalApp/src/com/android/cts/normalapp/
DExposedService.java37 exception = t.getClass().getName(); in onBind()
58 exception = t.getClass().getName(); in onStartCommand()
/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/
DDeviceInfo.java68 if (!mActivityList.contains(getClass().getName())) { in testCollectDeviceInfo()
79 File jsonFile = new File(dir, getClass().getSimpleName() + ".deviceinfo.json"); in testCollectDeviceInfo()
94 String message = getClass().getSimpleName() + " collection completed."; in testCollectDeviceInfo()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/
DInteractiveVerifierActivity.java126 logWithStack("failed " + this.getClass().getSimpleName() + in logFail()
131 Log.e(TAG, "failed " + this.getClass().getSimpleName() + in logFail()
262 Log.i(TAG, "running setup for: " + mCurrentTest.getClass().getSimpleName()); in run()
267 Log.i(TAG, "waiting for user: " + mCurrentTest.getClass().getSimpleName()); in run()
272 Log.i(TAG, "running test for: " + mCurrentTest.getClass().getSimpleName()); in run()
277 Log.i(TAG, "FAIL: " + mCurrentTest.getClass().getSimpleName()); in run()
283 Log.i(TAG, "pass for: " + mCurrentTest.getClass().getSimpleName()); in run()
287 Log.i(TAG, "next test is: " + mCurrentTest.getClass().getSimpleName()); in run()
/cts/tests/tests/print/src/android/print/cts/
DUtils.java51 if (e.getClass().isAssignableFrom(expectedClass)) { in assertException()
55 + e.getClass().getName()); in assertException()
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/
DDexDepsXmlHandler.java77 ApiClass apiClass = apiPackage.getClass(mCurrentClassName); in endElement()
85 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()
/cts/tools/vm-tests-tf/src/dot/junit/
DDxTestCase.java36 if (!expectedErrorClass.equals(thrown.getClass())) { in checkError()
38 thrown.getClass()); in checkError()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/vr/
DVrListenerVerifierActivity.java91 Status.values()[savedState.getInt(test.getClass().getSimpleName(), 0)]); in onCreate()
112 outState.putInt(i.getClass().getSimpleName(), i.getStatus().ordinal()); in onSaveInstanceState()
168 Log.i(TAG, "Starting test: " + current.getClass().getSimpleName()); in runNext()
174 logWithStack("Failed " + current.getClass().getSimpleName() + " with: ", e); in runNext()
181 logWithStack("Failed tearDown of " + current.getClass().getSimpleName() + in runNext()
196 Log.i(TAG, "Done test: " + current.getClass().getSimpleName()); in runNext()
269 Log.i(TAG, "FAILED test: " + this.getClass().getSimpleName()); in markFailed()
280 Log.i(TAG, "PASSED test: " + this.getClass().getSimpleName()); in markPassed()
/cts/hostsidetests/inputmethodservice/deviceside/devicetest/src/android/inputmethodservice/cts/devicetest/
DInputMethodServiceDeviceTest.java59 final TestHelper helper = new TestHelper(getClass(), DeviceTestConstants.TEST_CREATE_IME1); in testCreateIme1()
81 getClass(), DeviceTestConstants.TEST_SWITCH_IME1_TO_IME2); in testSwitchIme1ToIme2()
128 new TestHelper(getClass(), DeviceTestConstants.TEST_IME1_IS_NOT_CURRENT_IME); in testIme1IsNotCurrentIme()
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DInstrumentedAccessibilityService.java41 sInstances.put(getClass(), new WeakReference<>(this)); in onServiceConnected()
49 sInstances.remove(getClass()); in onDestroy()
70 sInstances.remove(getClass()); in disableSelfAndRemove()

12345678