Home
last modified time | relevance | path

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

12345678910>>...36

/aosp12/packages/services/Telephony/src/com/android/services/telephony/rcs/
H A DUceControllerManager.java172 Throwable cause = e.getCause(); in requestCapabilities()
174 throw (ImsException) cause; in requestCapabilities()
197 Throwable cause = e.getCause(); in requestNetworkAvailability()
199 throw (ImsException) cause; in requestNetworkAvailability()
219 Throwable cause = e.getCause(); in getUcePublishState()
221 throw (ImsException) cause; in getUcePublishState()
241 Throwable cause = e.getCause(); in addUceRegistrationOverride()
243 throw (ImsException) cause; in addUceRegistrationOverride()
263 Throwable cause = e.getCause(); in removeUceRegistrationOverride()
265 throw (ImsException) cause; in removeUceRegistrationOverride()
[all …]
/aosp12/frameworks/base/services/backup/java/com/android/server/backup/keyvalue/
H A DTaskException.java37 static TaskException stateCompromised(Exception cause) { in stateCompromised() argument
38 if (cause instanceof TaskException) { in stateCompromised()
39 TaskException exception = (TaskException) cause; in stateCompromised()
40 return new TaskException(cause, /* stateCompromised */ true, exception.getStatus()); in stateCompromised()
42 return new TaskException(cause, /* stateCompromised */ true, DEFAULT_STATUS); in stateCompromised()
51 static TaskException causedBy(Exception cause) { in causedBy() argument
52 if (cause instanceof TaskException) { in causedBy()
53 return (TaskException) cause; in causedBy()
55 return new TaskException(cause, /* stateCompromised */ false, DEFAULT_STATUS); in causedBy()
65 private TaskException(Exception cause, boolean stateCompromised, int status) { in TaskException() argument
[all …]
H A DAgentException.java37 static AgentException transitory(Exception cause) { in transitory() argument
38 return new AgentException(/* transitory */ true, cause); in transitory()
45 static AgentException permanent(Exception cause) { in permanent() argument
46 return new AgentException(/* transitory */ false, cause); in permanent()
55 private AgentException(boolean transitory, Exception cause) { in AgentException() argument
56 super(cause); in AgentException()
/aosp12/hardware/knowles/athletico/sound_trigger_hal/tests/
H A Dcrash_analyzer.c72 char cause[64] = {0}; in find_exceptionin_cm4() local
90 strncpy(cause, "Reserved", sizeof(cause)); in find_exceptionin_cm4()
94 sizeof(cause)); in find_exceptionin_cm4()
106 strncat(outbuf, cause, in find_exceptionin_cm4()
118 char cause[64] = {0}; in find_fatal_assert() local
161 snprintf(cause, sizeof(cause), "%s", in find_fatal_assert()
165 strncat(cause , "+", in find_fatal_assert()
166 sizeof(cause) - strlen(cause) - 1); in find_fatal_assert()
170 strncat(cause, lineNumStr, in find_fatal_assert()
171 sizeof(cause) - strlen(cause) - 1); in find_fatal_assert()
[all …]
/aosp12/frameworks/base/services/robotests/backup/src/com/android/server/backup/keyvalue/
H A DTaskExceptionTest.java47 TaskException exception = TaskException.stateCompromised(cause); in testStateCompromised_whenCauseInstanceOfTaskException()
51 assertThat(exception.getCause()).isEqualTo(cause); in testStateCompromised_whenCauseInstanceOfTaskException()
56 Exception cause = new IOException(); in testStateCompromised_whenCauseNotInstanceOfTaskException() local
58 TaskException exception = TaskException.stateCompromised(cause); in testStateCompromised_whenCauseNotInstanceOfTaskException()
62 assertThat(exception.getCause()).isEqualTo(cause); in testStateCompromised_whenCauseNotInstanceOfTaskException()
85 TaskException exception = TaskException.causedBy(cause); in testCausedBy_whenCauseInstanceOfTaskException_returnsCause()
87 assertThat(exception).isEqualTo(cause); in testCausedBy_whenCauseInstanceOfTaskException_returnsCause()
92 Exception cause = new IOException(); in testCausedBy_whenCauseNotInstanceOfTaskException() local
94 TaskException exception = TaskException.causedBy(cause); in testCausedBy_whenCauseNotInstanceOfTaskException()
96 assertThat(exception).isNotEqualTo(cause); in testCausedBy_whenCauseNotInstanceOfTaskException()
[all …]
H A DAgentExceptionTest.java41 Exception cause = new IOException(); in testTransitory_withCause() local
43 AgentException exception = AgentException.transitory(cause); in testTransitory_withCause()
46 assertThat(exception.getCause()).isEqualTo(cause); in testTransitory_withCause()
58 Exception cause = new IOException(); in testPermanent_withCause() local
60 AgentException exception = AgentException.permanent(cause); in testPermanent_withCause()
63 assertThat(exception.getCause()).isEqualTo(cause); in testPermanent_withCause()
/aosp12/frameworks/base/keystore/java/android/security/
H A DKeyChainException.java51 public KeyChainException(String message, Throwable cause) { in KeyChainException() argument
52 super(message, cause); in KeyChainException()
62 public KeyChainException(Throwable cause) { in KeyChainException() argument
63 super((cause == null ? null : cause.toString()), cause); in KeyChainException()
/aosp12/frameworks/base/core/java/android/util/
H A DAndroidException.java30 public AndroidException(String name, Throwable cause) { in AndroidException() argument
31 super(name, cause); in AndroidException()
34 public AndroidException(Exception cause) { in AndroidException() argument
35 super(cause); in AndroidException()
39 protected AndroidException(String message, Throwable cause, boolean enableSuppression, in AndroidException() argument
41 super(message, cause, enableSuppression, writableStackTrace); in AndroidException()
H A DAndroidRuntimeException.java30 public AndroidRuntimeException(String name, Throwable cause) { in AndroidRuntimeException() argument
31 super(name, cause); in AndroidRuntimeException()
34 public AndroidRuntimeException(Exception cause) { in AndroidRuntimeException() argument
35 super(cause); in AndroidRuntimeException()
/aosp12/frameworks/base/core/java/android/view/inspector/
H A DStaticInspectionCompanionProvider.java51 Throwable cause = e.getCause(); in provide()
52 if (cause instanceof RuntimeException) throw (RuntimeException) cause; in provide()
53 if (cause instanceof Error) throw (Error) cause; in provide()
54 throw new RuntimeException(cause); in provide()
/aosp12/packages/apps/Dialer/java/com/android/incallui/disconnectdialog/
H A DDisconnectMessage.java39 private final DisconnectCause cause; field in DisconnectMessage
42 cause = call.getDisconnectCause(); in DisconnectMessage()
45 if (disconnectDialog.shouldShow(cause)) { in DisconnectMessage()
61 cause.getCode(), in toString()
62 cause.getDescription(), in toString()
63 cause.getReason(), in toString()
/aosp12/frameworks/opt/net/voip/src/java/android/net/sip/
H A DSipException.java32 public SipException(String message, Throwable cause) { in SipException() argument
34 super(message, ((cause instanceof javax.sip.SipException) in SipException()
35 && (cause.getCause() != null)) in SipException()
36 ? cause.getCause() in SipException()
37 : cause); in SipException()
/aosp12/art/runtime/gc/
H A Dscoped_gc_critical_section.cc27 const char* GCCriticalSection::Enter(GcCause cause, CollectorType type) { in Enter() argument
28 Runtime::Current()->GetHeap()->StartGC(self_, cause, type); in Enter()
51 GcCause cause, in ScopedGCCriticalSection() argument
54 old_no_suspend_reason_ = critical_section_.Enter(cause, collector_type); in ScopedGCCriticalSection()
63 GcCause cause, in ScopedInterruptibleGCCriticalSection() argument
66 Runtime::Current()->GetHeap()->StartGC(self_, cause, type); in ScopedInterruptibleGCCriticalSection()
/aosp12/frameworks/libs/service_entitlement/java/com/android/libraries/entitlement/
H A DServiceEntitlementException.java95 public ServiceEntitlementException(int error, String message, Throwable cause) { in ServiceEntitlementException() argument
96 this(error, HTTP_STATUS_UNSPECIFIED, RETRY_AFTER_UNSPECIFIED, message, cause); in ServiceEntitlementException()
99 public ServiceEntitlementException(int error, int httpStatus, String message, Throwable cause) { in ServiceEntitlementException() argument
100 this(error, httpStatus, RETRY_AFTER_UNSPECIFIED, message, cause); in ServiceEntitlementException()
104 int error, int httpStatus, String retryAfter, String message, Throwable cause) { in ServiceEntitlementException() argument
105 super(message, cause); in ServiceEntitlementException()
/aosp12/frameworks/base/core/java/android/os/
H A DRemoteException.java35 public RemoteException(String message, Throwable cause, boolean enableSuppression, in RemoteException() argument
37 super(message, cause, enableSuppression, writableStackTrace); in RemoteException()
41 public RemoteException(Throwable cause) { in RemoteException() argument
42 this(cause.getMessage(), cause, true, false); in RemoteException()
/aosp12/art/runtime/mirror/
H A Dthrowable.cc50 void Throwable::SetCause(ObjPtr<Throwable> cause) { in SetCause() argument
51 CHECK(cause != nullptr); in SetCause()
52 CHECK(cause != this); in SetCause()
57 SetFieldObject<true>(OFFSET_OF_OBJECT_MEMBER(Throwable, cause_), cause); in SetCause()
59 SetFieldObject<false>(OFFSET_OF_OBJECT_MEMBER(Throwable, cause_), cause); in SetCause()
154 ObjPtr<Throwable> cause = GetFieldObject<Throwable>(OFFSET_OF_OBJECT_MEMBER(Throwable, cause_)); in Dump() local
155 if (cause != nullptr && cause != this) { // Constructor makes cause == this by default. in Dump()
157 result += cause->Dump(); in Dump()
/aosp12/frameworks/base/core/java/android/os/strictmode/
H A DViolation.java35 final Throwable cause = getCause(); in hashCode() local
38 hashCode = hashCode * 37 + (cause != null ? cause.toString().hashCode() : 0); in hashCode()
45 public synchronized Throwable initCause(Throwable cause) { in initCause() argument
47 return super.initCause(cause); in initCause()
/aosp12/frameworks/base/core/java/android/accounts/
H A DAccountsException.java26 public AccountsException(String message, Throwable cause) { in AccountsException() argument
27 super(message, cause); in AccountsException()
29 public AccountsException(Throwable cause) { in AccountsException() argument
30 super(cause); in AccountsException()
H A DAuthenticatorException.java26 public AuthenticatorException(String message, Throwable cause) { in AuthenticatorException() argument
27 super(message, cause); in AuthenticatorException()
29 public AuthenticatorException(Throwable cause) { in AuthenticatorException() argument
30 super(cause); in AuthenticatorException()
H A DNetworkErrorException.java25 public NetworkErrorException(String message, Throwable cause) { in NetworkErrorException() argument
26 super(message, cause); in NetworkErrorException()
28 public NetworkErrorException(Throwable cause) { in NetworkErrorException() argument
29 super(cause); in NetworkErrorException()
H A DOperationCanceledException.java25 public OperationCanceledException(String message, Throwable cause) { in OperationCanceledException() argument
26 super(message, cause); in OperationCanceledException()
28 public OperationCanceledException(Throwable cause) { in OperationCanceledException() argument
29 super(cause); in OperationCanceledException()
/aosp12/frameworks/base/lowpan/java/android/net/lowpan/
H A DInterfaceDisabledException.java34 public InterfaceDisabledException(String message, Throwable cause) { in InterfaceDisabledException() argument
35 super(message, cause); in InterfaceDisabledException()
38 protected InterfaceDisabledException(Exception cause) { in InterfaceDisabledException() argument
39 super(cause); in InterfaceDisabledException()
H A DJoinFailedAtAuthException.java34 public JoinFailedAtAuthException(String message, Throwable cause) { in JoinFailedAtAuthException() argument
35 super(message, cause); in JoinFailedAtAuthException()
38 public JoinFailedAtAuthException(Exception cause) { in JoinFailedAtAuthException() argument
39 super(cause); in JoinFailedAtAuthException()
H A DJoinFailedAtScanException.java34 public JoinFailedAtScanException(String message, Throwable cause) { in JoinFailedAtScanException() argument
35 super(message, cause); in JoinFailedAtScanException()
38 public JoinFailedAtScanException(Exception cause) { in JoinFailedAtScanException() argument
39 super(cause); in JoinFailedAtScanException()
H A DJoinFailedException.java34 public JoinFailedException(String message, Throwable cause) { in JoinFailedException() argument
35 super(message, cause); in JoinFailedException()
38 protected JoinFailedException(Exception cause) { in JoinFailedException() argument
39 super(cause); in JoinFailedException()

12345678910>>...36