Home
last modified time | relevance | path

Searched refs:exc (Results 1 – 19 of 19) sorted by relevance

/cts/tests/credentials/src/android/credentials/cts/unittests/
DGetCredentialExceptionTest.java49 final GetCredentialException exc = in testConstructor_type() local
52 assertThat(exc.getType()).isEqualTo(type); in testConstructor_type()
53 assertThat(exc.getMessage()).isNull(); in testConstructor_type()
54 assertThat(exc.getCause()).isNull(); in testConstructor_type()
62 final GetCredentialException exc = in testConstructor_type_message() local
65 assertThat(exc.getType()).isEqualTo(type); in testConstructor_type_message()
66 assertThat(exc.getMessage()).isEqualTo(message); in testConstructor_type_message()
67 assertThat(exc.getCause()).isNull(); in testConstructor_type_message()
75 final GetCredentialException exc = in testConstructor_type_cause() local
78 assertThat(exc.getType()).isEqualTo(type); in testConstructor_type_cause()
[all …]
DClearCredentialStateExceptionTest.java48 final ClearCredentialStateException exc = new ClearCredentialStateException(type); in testConstructor_type() local
50 assertThat(exc.getType()).isEqualTo(type); in testConstructor_type()
51 assertThat(exc.getMessage()).isNull(); in testConstructor_type()
52 assertThat(exc.getCause()).isNull(); in testConstructor_type()
60 final ClearCredentialStateException exc = new ClearCredentialStateException(type, message); in testConstructor_type_message() local
62 assertThat(exc.getType()).isEqualTo(type); in testConstructor_type_message()
63 assertThat(exc.getMessage()).isEqualTo(message); in testConstructor_type_message()
64 assertThat(exc.getCause()).isNull(); in testConstructor_type_message()
72 final ClearCredentialStateException exc = new ClearCredentialStateException(type, cause); in testConstructor_type_cause() local
74 assertThat(exc.getType()).isEqualTo(type); in testConstructor_type_cause()
[all …]
DCreateCredentialExceptionTest.java48 final CreateCredentialException exc = in testConstructor_type() local
51 assertThat(exc.getType()).isEqualTo(type); in testConstructor_type()
52 assertThat(exc.getMessage()).isNull(); in testConstructor_type()
53 assertThat(exc.getCause()).isNull(); in testConstructor_type()
61 final CreateCredentialException exc = in testConstructor_type_message() local
64 assertThat(exc.getType()).isEqualTo(type); in testConstructor_type_message()
65 assertThat(exc.getMessage()).isEqualTo(message); in testConstructor_type_message()
66 assertThat(exc.getCause()).isNull(); in testConstructor_type_message()
74 final CreateCredentialException exc = in testConstructor_type_cause() local
77 assertThat(exc.getType()).isEqualTo(type); in testConstructor_type_cause()
[all …]
/cts/tests/tests/security/src/android/security/cts/
DIsolatedService.java53 } catch (ClassCastException | ReflectiveOperationException exc) { in getServicesCachedInServiceManager()
54 Log.w(TAG, "Unable to retrieve service manager cache via reflection ", exc); in getServicesCachedInServiceManager()
66 } catch (ClassCastException | ReflectiveOperationException exc) { in getServiceFromServiceManager()
67 Log.w(TAG, "Unable to call ServiceManager.getService() ", exc); in getServiceFromServiceManager()
/cts/tests/tests/jvmti/attaching/src/android.jvmti.attaching.cts/
DAttachingTest.java83 } catch (Exception exc) { in data()
84 throw new RuntimeException(exc); in data()
97 } catch (Exception exc) { in data()
98 throw new RuntimeException(exc); in data()
130 } catch (Exception exc) { in data()
131 throw new RuntimeException(exc); in data()
/cts/hostsidetests/content/src/android/content/cts/
DInvalidSyncAuthoritiesHostTest.java61 } catch (AssertionError exc) { in tearDown()
63 LogUtil.CLog.w("removeTestAccount failed: " + exc.getMessage()); in tearDown()
/cts/tools/vm-tests-tf/src/dot/junit/
DDxTestCase.java86 } catch (Exception exc) { in loadAndRun()
87 fail("Could not instantiate " + className + ": " + exc.getMessage()); in loadAndRun()
DDxAbstractMain.java89 } catch (Exception exc) { in loadAndRun()
90 fail("Could not instantiate " + className, exc); in loadAndRun()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/admin/tapjacking/
DDeviceAdminTapjackingTestActivity.java80 } catch(InterruptedException exc) { in isActiveAdminAfterTimeout()
94 } catch (InterruptedException exc) { in onClick()
/cts/tests/tests/gameframerate/src/
DGameFrameRateCtsActivity.java560 } catch (PreconditionViolatedException exc) { in testFrameRateOverride()
562 } catch (FrameRateTimeoutException exc) { in testFrameRateOverride()
572 exc.appRequestedFrameRate.min, in testFrameRateOverride()
573 exc.appRequestedFrameRate.max, in testFrameRateOverride()
574 exc.deviceRefreshRate), in testFrameRateOverride()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/admin/
DDeviceAdminUninstallTestActivity.java130 } catch (PackageManager.NameNotFoundException exc) { in isPackageInstalled()
132 Log.d(TAG, "getPackageInfo(" + packageName + ") failed: " + exc); in isPackageInstalled()
/cts/tests/tests/graphics/src/android/graphics/cts/
DFrameRateOverrideCtsActivity.java547 } catch (PreconditionViolatedException exc) { in testFrameRateOverride()
549 } catch (FrameRateTimeoutException exc) { in testFrameRateOverride()
559 exc.appRequestedFrameRate, exc.deviceRefreshRate), in testFrameRateOverride()
DFrameRateCtsActivity.java285 } catch (IllegalArgumentException exc) { in setInvalidFrameRate()
656 } catch (PreconditionViolatedException exc) { in runTestsWithPreconditions()
658 } catch (FrameRateTimeoutException exc) { in runTestsWithPreconditions()
661 exc.printStackTrace(printWriter); in runTestsWithPreconditions()
674 exc.expectedFrameRate, exc.deviceFrameRate), in runTestsWithPreconditions()
/cts/tests/tests/os/src/android/os/storage/cts/
DStorageCrateTest.java67 public FileVisitResult postVisitDirectory(Path dir, IOException exc) in cleanAllOfCrates()
70 return super.postVisitDirectory(dir, exc); in cleanAllOfCrates()
DStorageStatsManagerTest.java91 public FileVisitResult postVisitDirectory(Path dir, IOException exc) in cleanAllOfCrates()
94 return super.postVisitDirectory(dir, exc); in cleanAllOfCrates()
/cts/tests/jdwp/runner/device-side/src/com/android/compatibility/dalvik/
DDalvikTestRunner.java267 } catch (Throwable exc) { in isTestClass()
268 throw new RuntimeException(cls.toString(), exc); in isTestClass()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/forcestop/
DRecentTaskRemovalTestActivity.java109 } catch (PackageManager.NameNotFoundException exc) { in isPackageInstalled()
/cts/tests/admin/src/android/admin/cts/
DDevicePolicyManagerTest.java164 } catch (UnsupportedOperationException exc) { in testSetSecureSetting_failForInstallNonMarketApps()
/cts/hostsidetests/stagedinstall/app/src/com/android/tests/stagedinstall/
DStagedInstallTest.java1082 public FileVisitResult visitFileFailed(Path file, IOException exc) in testInstallStagedNoHashtreeApex_VerifyPostReboot() argument
1087 throw exc; in testInstallStagedNoHashtreeApex_VerifyPostReboot()