Home
last modified time | relevance | path

Searched refs:cause (Results 1 – 20 of 20) sorted by relevance

/cts/tests/tests/accounts/src/android/accounts/cts/
DExceptionTest.java13 private Throwable cause = new Throwable("Throwable casue"); field in ExceptionTest
24 new AccountsException(cause); in testAccountsExceptionWithThrowableCause()
28 new AccountsException(message, cause); in testAccountsExceptionWithMessageAndThrowableCause()
40 new NetworkErrorException(cause); in testNetworkErrorExceptionWithThrowableCause()
44 new NetworkErrorException(message, cause); in testNetworkErrorExceptionWithMessageAndThrowableCause()
56 new AuthenticatorException(cause); in testAuthenticatorExceptionWithThrowableCause()
60 new AuthenticatorException(message, cause); in testAuthenticatorExceptionWithMessageAndThrowableCause()
72 new OperationCanceledException(cause); in testOperationCanceledExceptionWithThrowableCause()
76 new OperationCanceledException(message, cause); in testOperationCanceledExceptionWithMessageAndThrowableCause()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
DItsException.java23 public ItsException(Throwable cause) { in ItsException() argument
24 super(cause); in ItsException()
27 public ItsException(String message, Throwable cause) { in ItsException() argument
28 super(message, cause); in ItsException()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/reporting/
DSensorTestDetails.java78 public SensorTestDetails(String name, String tag, Throwable cause) { in SensorTestDetails() argument
80 if (cause instanceof InterruptedException) { in SensorTestDetails()
84 } else if (cause instanceof SensorTestStateNotSupportedException) { in SensorTestDetails()
90 mSummary = String.format("[%s] %s", tag, cause.getMessage()); in SensorTestDetails()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/location/reporting/
DGnssTestDetails.java76 public GnssTestDetails(String name, String tag, Throwable cause) { in GnssTestDetails() argument
78 if (cause instanceof InterruptedException) { in GnssTestDetails()
85 mSummary = String.format("[%s] %s", tag, cause.getMessage()); in GnssTestDetails()
/cts/tests/tests/telecom/src/android/telecom/cts/
DDataObjectUnitTests.java167 DisconnectCause cause = new DisconnectCause( in testDisconnectCause() local
173 assertEquals(DisconnectCause.ERROR, cause.getCode()); in testDisconnectCause()
174 assertEquals(label, cause.getLabel()); in testDisconnectCause()
175 assertEquals(description, cause.getDescription()); in testDisconnectCause()
176 assertEquals(reason, cause.getReason()); in testDisconnectCause()
177 assertEquals(ToneGenerator.TONE_CDMA_CALLDROP_LITE, cause.getTone()); in testDisconnectCause()
178 assertEquals(0, cause.describeContents()); in testDisconnectCause()
183 cause.writeToParcel(p, 0); in testDisconnectCause()
192 assertEquals(cause, parcelCause); in testDisconnectCause()
DRemoteConferenceTest.java247 DisconnectCause cause = new DisconnectCause(DisconnectCause.LOCAL); in testRemoteConferenceCallbacks_Disconnect() local
248 mRemoteConference.setDisconnected(cause); in testRemoteConferenceCallbacks_Disconnect()
251 assertEquals(cause, callbackInvoker.getArgs(0)[1]); in testRemoteConferenceCallbacks_Disconnect()
DRemoteConnectionTest.java552 DisconnectCause cause = new DisconnectCause(DisconnectCause.LOCAL); in testRemoteConnectionCallbacks_Disconnect() local
553 mRemoteConnection.setDisconnected(cause); in testRemoteConnectionCallbacks_Disconnect()
556 assertEquals(cause, callbackInvoker.getArgs(0)[1]); in testRemoteConnectionCallbacks_Disconnect()
/cts/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/result/
DModuleListener.java159 public void invocationFailed(Throwable cause) { in invocationFailed() argument
160 CLog.d("ModuleListener.invocationFailed(%s)", cause.toString()); in invocationFailed()
161 mListener.invocationFailed(cause); in invocationFailed()
DResultReporter.java478 public void invocationFailed(Throwable cause) { in invocationFailed() argument
479 warn("Invocation failed: %s", cause); in invocationFailed()
/cts/tests/tests/hardware/src/android/hardware/cts/helpers/sensoroperations/
DParallelSensorOperation.java124 Throwable cause = e.getCause(); in execute()
125 hasAssertionErrors |= (cause instanceof AssertionError); in execute()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/screenpinning/
DScreenPinningTestActivity.java132 private void error(final int errorId, final Throwable cause) { in error() argument
137 Log.d(TAG, error, cause); in error()
/cts/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/util/
DNoOpTestInvocationListener.java56 public void invocationFailed(Throwable cause) {} in invocationFailed() argument
/cts/tests/tests/keystore/src/android/keystore/cts/
DKeyAttestationTest.java176 KeyStoreException cause = (KeyStoreException) e.getCause(); in testEcAttestation_TooLargeChallenge()
177 assertEquals(KM_ERROR_INVALID_INPUT_LENGTH, cause.getErrorCode()); in testEcAttestation_TooLargeChallenge()
271 KeyStoreException cause = (KeyStoreException) e.getCause(); in testRsaAttestation_TooLargeChallenge()
272 assertEquals(KM_ERROR_INVALID_INPUT_LENGTH, cause.getErrorCode()); in testRsaAttestation_TooLargeChallenge()
/cts/tools/tradefed-host/src/com/android/cts/tradefed/result/
DIssueReporter.java225 public void invocationFailed(Throwable cause) { in invocationFailed() argument
DCtsXmlResultReporter.java526 public void invocationFailed(Throwable cause) { in invocationFailed() argument
/cts/tests/tests/util/src/android/util/cts/
DArrayMapTest.java487 Throwable cause = e.getCause();
488 if (cause instanceof IllegalArgumentException) {
/cts/tests/libcore/luni/resources/expectations/
Dcts-runner-specific-failures.txt6 * (cts/tools/utils/CollectAllTests.java) filters out a lot of tests that would cause
/cts/tests/expectations/
Dknownfailures.txt327 description: "Still investigating this, root cause unknown yet",
/cts/tools/dex-tools/dex/
Dclasses0.out.dex670 private java.lang.Throwable cause
63959 private java.lang.Exception cause
100345 private java.lang.Throwable cause
Dclasses.out.dex70865 final android.server.data.ThrowableData cause
125183 com.android.internal.telephony.Connection$DisconnectCause cause
143131 protected java.lang.Throwable cause