/cts/tests/tests/accounts/src/android/accounts/cts/ |
D | ExceptionTest.java | 13 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/tests/tests/telephony/current/src/android/telephony/ims/cts/ |
D | TestImsCallSessionImpl.java | 149 Throwable cause = t.getCause(); in startInternal() 151 || (cause != null && cause instanceof DeadObjectException)) { in startInternal() 177 Throwable cause = t.getCause(); in startInternal() 179 || (cause != null && cause instanceof DeadObjectException)) { in startInternal() 196 Throwable cause = t.getCause(); in startInternal() 198 || (cause != null && cause instanceof DeadObjectException)) { in startInternal() 216 Throwable cause = t.getCause(); in startFailed() 218 || (cause != null && cause instanceof DeadObjectException)) { in startFailed() 237 Throwable cause = t.getCause(); in accept() 239 || (cause != null && cause instanceof DeadObjectException)) { in accept() [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/ |
D | ItsException.java | 23 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()
|
D | ItsRuntimeException.java | 24 public ItsRuntimeException(String message, Throwable cause) { in ItsRuntimeException() argument 25 super(message, cause); in ItsRuntimeException()
|
/cts/hostsidetests/hdmicec/src/android/hdmicec/cts/error/ |
D | CecClientWrapperException.java | 38 ErrorCodes errorCode, Throwable cause, String messageToBeAppend) { in CecClientWrapperException() argument 39 super(errorCode.getExceptionMessage() + messageToBeAppend, cause); in CecClientWrapperException() local 43 public CecClientWrapperException(ErrorCodes errorCode, Throwable cause) { in CecClientWrapperException() argument 44 super(errorCode.getExceptionMessage(), cause); in CecClientWrapperException() local
|
D | DumpsysParseException.java | 26 public DumpsysParseException(String message, Throwable cause) { in DumpsysParseException() argument 27 super(message, cause); in DumpsysParseException()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | RetryableException.java | 37 public RetryableException(Throwable cause, String format, Object...args) { in RetryableException() argument 38 this((Timeout) null, cause, String.format(format, args), cause); in RetryableException() local 51 public RetryableException(@Nullable Timeout timeout, Throwable cause, String format, in RetryableException() argument 53 super(String.format(format, args), cause); in RetryableException() local
|
D | ExceptionUtils.java | 65 …blic static @NonNull <E extends Throwable> E appendCause(@NonNull E t, @Nullable Throwable cause) { in appendCause() argument 66 if (cause != null) { in appendCause() 67 getRootCause(t).initCause(cause); in appendCause()
|
/cts/tests/credentials/src/android/credentials/cts/unittests/ |
D | GetCredentialExceptionTest.java | 73 final Throwable cause = new RuntimeException("cause"); in testConstructor_type_cause() local 76 new GetCredentialException(type, cause); in testConstructor_type_cause() 80 assertThat(exc.getCause()).isEqualTo(cause); in testConstructor_type_cause() 87 final Throwable cause = new RuntimeException("cause"); in testConstructor_type_message_cause() local 90 new GetCredentialException(type, message, cause); in testConstructor_type_message_cause() 94 assertThat(exc.getCause()).isEqualTo(cause); in testConstructor_type_message_cause()
|
D | ClearCredentialStateExceptionTest.java | 70 final Throwable cause = new RuntimeException("cause"); in testConstructor_type_cause() local 72 final ClearCredentialStateException exc = new ClearCredentialStateException(type, cause); in testConstructor_type_cause() 76 assertThat(exc.getCause()).isEqualTo(cause); in testConstructor_type_cause() 83 final Throwable cause = new RuntimeException("cause"); in testConstructor_type_message_cause() local 86 cause); in testConstructor_type_message_cause() 90 assertThat(exc.getCause()).isEqualTo(cause); in testConstructor_type_message_cause()
|
D | CreateCredentialExceptionTest.java | 72 final Throwable cause = new RuntimeException("cause"); in testConstructor_type_cause() local 75 new CreateCredentialException(type, cause); in testConstructor_type_cause() 79 assertThat(exc.getCause()).isEqualTo(cause); in testConstructor_type_cause() 86 final Throwable cause = new RuntimeException("cause"); in testConstructor_type_message_cause() local 89 new CreateCredentialException(type, message, cause); in testConstructor_type_message_cause() 93 assertThat(exc.getCause()).isEqualTo(cause); in testConstructor_type_message_cause()
|
/cts/libs/deviceutillegacy/src/android/webkit/cts/ |
D | WebkitUtils.java | 150 Throwable cause = e.getCause(); in waitForFuture() 152 if (cause instanceof Error) throw (Error) cause; in waitForFuture() 153 if (cause instanceof RuntimeException) throw (RuntimeException) cause; in waitForFuture() 156 throw new RuntimeException(cause); in waitForFuture()
|
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/ |
D | ExceptionUtils.java | 38 public static <E extends Throwable> E appendCause(E t, Throwable cause) { in appendCause() argument 39 if (cause != null) { in appendCause() 40 getRootCause(t).initCause(cause); in appendCause()
|
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/exceptions/ |
D | AdbParseException.java | 32 public AdbParseException(String message, String adbOutput, Throwable cause) { in AdbParseException() argument 33 super(message, cause); in AdbParseException() 34 if (message == null || adbOutput == null || cause == null) { in AdbParseException()
|
D | AdbException.java | 44 public AdbException(String message, String command, Throwable cause) { in AdbException() argument 45 this(message, command, /* output= */ null, cause); in AdbException() 48 public AdbException(String message, String command, String output, Throwable cause) { in AdbException() argument 49 super(message, cause); in AdbException()
|
D | NeneException.java | 26 public NeneException(Throwable cause) { in NeneException() argument 27 super(cause); in NeneException()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/reporting/ |
D | SensorTestDetails.java | 80 public SensorTestDetails(String name, String tag, Throwable cause) { in SensorTestDetails() argument 82 if (cause instanceof InterruptedException) { in SensorTestDetails() 86 } else if (cause instanceof SensorTestStateNotSupportedException) { in SensorTestDetails() 88 } else if (cause instanceof SensorTestWarningException) { in SensorTestDetails() 95 mSummary = String.format("[%s] %s", tag, cause.getMessage()); in SensorTestDetails()
|
/cts/tests/tests/telecom/src/android/telecom/cts/ |
D | DataObjectUnitTests.java | 179 DisconnectCause cause = new DisconnectCause( in testDisconnectCause() local 185 assertEquals(DisconnectCause.ERROR, cause.getCode()); in testDisconnectCause() 186 assertEquals(label, cause.getLabel()); in testDisconnectCause() 187 assertEquals(description, cause.getDescription()); in testDisconnectCause() 188 assertEquals(reason, cause.getReason()); in testDisconnectCause() 189 assertEquals(ToneGenerator.TONE_CDMA_CALLDROP_LITE, cause.getTone()); in testDisconnectCause() 190 assertEquals(0, cause.describeContents()); in testDisconnectCause() 195 cause.writeToParcel(p, 0); in testDisconnectCause() 204 assertEquals(cause, parcelCause); in testDisconnectCause() 217 DisconnectCause cause = new DisconnectCause.Builder(DisconnectCause.ERROR) in testDisconnectCauseWithTelephonyDebugInfo() local [all …]
|
/cts/tools/vm-tests-tf/src/dot/junit/ |
D | AssertionFailedException.java | 21 public AssertionFailedException(String message, Throwable cause) { in AssertionFailedException() argument 22 super(message, cause); in AssertionFailedException()
|
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/logcat/ |
D | SystemServerException.java | 29 StackTraceElement[] traceElements, Throwable cause) { in SystemServerException() argument 30 super(exceptionClass + ": " + exceptionMessage, cause); in SystemServerException()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/testcore/ |
D | WindowChangeTimeoutException.java | 24 public WindowChangeTimeoutException(@NonNull Throwable cause, long timeoutMillis) { in WindowChangeTimeoutException() argument 25 super(cause, "no window change event in %dms", timeoutMillis); in WindowChangeTimeoutException()
|
/cts/tests/tests/keystore/src/android/keystore/cts/ |
D | BackendBusyExceptionTest.java | 87 Exception cause = new Exception("My Cause"); in testCause() local 90 new BackendBusyException(1, "My test Message.", cause); in testCause() 91 assertTrue(backendBusyException.getCause() == cause); in testCause()
|
/cts/tests/tests/os/src/android/os/cts/ |
D | AbiTest.java | 85 Throwable cause = ex.getCause(); in checkElfFilesInDirectory() 86 if (cause instanceof ErrnoException) { in checkElfFilesInDirectory() 88 if (((ErrnoException) cause).errno != OsConstants.EACCES) { in checkElfFilesInDirectory()
|
/cts/tests/tests/telecom-apps/Utils/src/android/telecom/cts/apps/ |
D | CallControlExtras.java | 39 public static Bundle addDisconnectCauseExtra(Bundle extras, int cause) { in addDisconnectCauseExtra() argument 40 extras.putInt(EXTRA_TELECOM_DISCONNECT_CAUSE, cause); in addDisconnectCauseExtra()
|
/cts/hostsidetests/statsdatom/apps/statsdapp/src/com/android/server/cts/device/statsdatom/ |
D | DaveyView.java | 61 public void causeDavey(boolean cause) { in causeDavey() argument 62 mCauseDavey = cause; in causeDavey()
|