Home
last modified time | relevance | path

Searched defs:exception (Results 1 – 25 of 135) sorted by relevance

123456

/frameworks/base/services/robotests/backup/src/com/android/server/backup/keyvalue/
DTaskExceptionTest.java37 TaskException exception = TaskException.stateCompromised(); in testStateCompromised() local
47 TaskException exception = TaskException.stateCompromised(cause); in testStateCompromised_whenCauseInstanceOfTaskException() local
58 TaskException exception = TaskException.stateCompromised(cause); in testStateCompromised_whenCauseNotInstanceOfTaskException() local
74 TaskException exception = in testForStatus_whenTransportNotInitialized() local
85 TaskException exception = TaskException.causedBy(cause); in testCausedBy_whenCauseInstanceOfTaskException_returnsCause() local
94 TaskException exception = TaskException.causedBy(cause); in testCausedBy_whenCauseNotInstanceOfTaskException() local
104 TaskException exception = TaskException.create(); in testCreate() local
DAgentExceptionTest.java34 AgentException exception = AgentException.transitory(); in testTransitory_isTransitory() local
43 AgentException exception = AgentException.transitory(cause); in testTransitory_withCause() local
51 AgentException exception = AgentException.permanent(); in testPermanent_isNotTransitory() local
60 AgentException exception = AgentException.permanent(cause); in testPermanent_withCause() local
DBackupExceptionTest.java36 Exception exception = new BackupException(cause); in testConstructor_passesCause() local
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/log/
DLogBufferTest.kt58 val exception = createTestException("Exception message", "TestClass") in <lambda>() constant
73 val exception = in <lambda>() constant
92 val exception = RuntimeException("Root exception message") in <lambda>() constant
129 val exception = RuntimeException(message, cause) in <lambda>() constant
/frameworks/base/services/credentials/java/com/android/server/credentials/
DGetRequestSession.java148 String exception = GetCredentialException.TYPE_NO_CREDENTIAL; in onFinalResponseReceived() local
164 String exception = GetCredentialException.TYPE_USER_CANCELED; in onUiCancellation() local
176 String exception = GetCredentialException.TYPE_NO_CREDENTIAL; in onUiSelectorInvocationFailure() local
202 String exception = GetCredentialException.TYPE_NO_CREDENTIAL; in onProviderStatusChanged() local
225 String exception = GetCredentialException.TYPE_NO_CREDENTIAL; in handleEmptyAuthenticationSelection() local
DCreateRequestSession.java149 String exception = CreateCredentialException.TYPE_NO_CREATE_OPTIONS; in onFinalResponseReceived() local
164 String exception = CreateCredentialException.TYPE_USER_CANCELED; in onUiCancellation() local
176 String exception = CreateCredentialException.TYPE_NO_CREATE_OPTIONS; in onUiSelectorInvocationFailure() local
194 String exception = CreateCredentialException.TYPE_NO_CREATE_OPTIONS; in onProviderStatusChanged() local
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/exception/
DVCardExceptionTest.java27 VCardException exception = new VCardException(); in testExceptionWithoutMessage() local
32 VCardException exception = new VCardException(TEST_MESSAGE); in testExceptionWithMessage() local
DVCardVersionExceptionTest.java27 VCardVersionException exception = new VCardVersionException(); in testExceptionWithoutMessage() local
32 VCardVersionException exception = new VCardVersionException(TEST_MESSAGE); in testExceptionWithMessage() local
DVCardInvalidCommentLineExceptionTest.java27 VCardInvalidCommentLineException exception = new VCardInvalidCommentLineException(); in testExceptionWithoutMessage() local
32 VCardInvalidCommentLineException exception = new VCardInvalidCommentLineException( in testExceptionWithMessage() local
DVCardInvalidLineExceptionTest.java27 VCardInvalidLineException exception = new VCardInvalidLineException(); in testExceptionWithoutMessage() local
32 VCardInvalidLineException exception = new VCardInvalidLineException(TEST_MESSAGE); in testExceptionWithMessage() local
DVCardNestedExceptionTest.java27 VCardNestedException exception = new VCardNestedException(); in testExceptionWithoutMessage() local
32 VCardNestedException exception = new VCardNestedException(TEST_MESSAGE); in testExceptionWithMessage() local
DVCardAgentNotSupportedExceptionTest.java27 VCardAgentNotSupportedException exception = new VCardAgentNotSupportedException(); in testExceptionWithoutMessage() local
32 VCardAgentNotSupportedException exception = new VCardAgentNotSupportedException( in testExceptionWithMessage() local
DVCardNotSupportedExceptionTest.java27 VCardNotSupportedException exception = new VCardNotSupportedException(); in testExceptionWithoutMessage() local
32 VCardNotSupportedException exception = new VCardNotSupportedException(TEST_MESSAGE); in testExceptionWithMessage() local
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/dump/
DLogEulogizerTest.kt111 val exception = RuntimeException("Something bad happened") in testFileIsCreated() constant
126 val exception = RuntimeException("Something bad happened") in testExistingFileIsOverwritten() constant
141 val exception = RuntimeException("Something bad happened") in testYoungFileIsNotOverwritten() constant
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/satellite/
DSatelliteControllerTest.java1653 SatelliteException exception = (error == SATELLITE_ERROR_NONE) in setUpResponseForRequestIsSatelliteEnabled() local
1665 SatelliteException exception = (error == SATELLITE_ERROR_NONE) in setUpResponseForRequestIsSatelliteSupported() local
1677 SatelliteException exception = (error == SATELLITE_ERROR_NONE) in setUpResponseForRequestIsSatelliteAllowedForCurrentLocation() local
1690 SatelliteException exception = (error == SATELLITE_ERROR_NONE) in setUpNullResponseForRequestIsSatelliteAllowedForCurrentLocation() local
1703 SatelliteException exception = (error == SATELLITE_ERROR_NONE) in setUpResponseForRequestTimeForNextSatelliteVisibility() local
1717 SatelliteException exception = (error == SATELLITE_ERROR_NONE) in setUpNullResponseForRequestTimeForNextSatelliteVisibility() local
1730 SatelliteException exception = (error == SATELLITE_ERROR_NONE) in setUpResponseForRequestIsSatelliteProvisioned() local
1743 SatelliteException exception = (error == SATELLITE_ERROR_NONE) in setUpResponseForRequestSatelliteEnabled() local
1764 SatelliteException exception = (error == SATELLITE_ERROR_NONE) in setUpResponseForProvisionSatelliteService() local
1782 SatelliteException exception = (error == SATELLITE_ERROR_NONE) in setUpResponseForDeprovisionSatelliteService() local
[all …]
/frameworks/base/core/java/android/content/
DContentProviderResult.java39 public final @Nullable Throwable exception; field in ContentProviderResult
53 public ContentProviderResult(@NonNull Throwable exception) { in ContentProviderResult()
58 public ContentProviderResult(Uri uri, Integer count, Bundle extras, Throwable exception) { in ContentProviderResult()
/frameworks/native/libs/binder/ndk/
Dstatus.cpp31 AStatus* AStatus_fromExceptionCode(binder_exception_t exception) { in AStatus_fromExceptionCode()
35 AStatus* AStatus_fromExceptionCodeWithMessage(binder_exception_t exception, const char* message) { in AStatus_fromExceptionCodeWithMessage()
136 binder_exception_t PruneException(int32_t exception) { in PruneException()
/frameworks/base/services/tests/voiceinteractiontests/src/com/android/server/soundtrigger_middleware/
DSoundTriggerMiddlewareLoggingTest.java36 Exception exception = new Exception("test"); in serviceEventException_getStringContainsInfo() local
54 Exception exception = new Exception("test"); in serviceEventExceptionNoArgs_getStringContainsInfo() local
96 Exception exception = new Exception("test"); in sessionEventException_getStringContainsInfo() local
108 Exception exception = new Exception("test"); in sessionEventExceptionNoArgs_getStringContainsInfo() local
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/util/test/
DTestExceptionDeferrer.kt42 val exception = IllegalStateException(message) in <lambda>() constant
/frameworks/base/services/core/java/com/android/server/wm/
DWindowOrganizerController.java866 final Throwable exception = new SecurityException("The requested relative bounds:" in adjustTaskFragmentRelativeBoundsForMinDimensionsIfNeeded() local
870 errorCallbackToken, taskFragment, OP_TYPE_SET_RELATIVE_BOUNDS, exception); in adjustTaskFragmentRelativeBoundsForMinDimensionsIfNeeded() local
1182 final Throwable exception = new IllegalArgumentException( in applyTaskFragmentOperation() local
1235 final Throwable exception = new IllegalArgumentException( in applyTaskFragmentOperation() local
1242 final Throwable exception = new SecurityException( in applyTaskFragmentOperation() local
1249 final Throwable exception = new SecurityException("The reparented activity is" in applyTaskFragmentOperation() local
1273 final Throwable exception = new IllegalArgumentException( in applyTaskFragmentOperation() local
1346 final Throwable exception = new IllegalArgumentException( in applyTaskFragmentOperation() local
1384 final Throwable exception = new IllegalArgumentException( in validateTaskFragmentOperation() local
1411 final Throwable exception = new IllegalArgumentException( in validateTaskFragment() local
[all …]
/frameworks/libs/service_entitlement/tests/src/com/android/libraries/entitlement/eapaka/
DEapAkaApiTest.java208 ServiceEntitlementException exception = in queryEntitlementStatus_noAuthenticationToken_invalidChallenge() local
344 ServiceEntitlementException exception = in queryEntitlementStatus_noAuthenticationToken_fourthChallenge_throwException() local
393 ServiceEntitlementException exception = expectThrows( in queryEntitlementStatus_noAuthenticationToken_emptyResponseBody_throwException() local
468 ServiceEntitlementException exception = in queryEntitlementStatus_noAuthenticationToken_eapAkaSyncFailure_invalidChallenge() local
509 ServiceEntitlementException exception = in queryEntitlementStatus_noAuthenticationToken_fourthEapAkaSyncFailure() local
686 ServiceEntitlementException exception = in performEsimOdsaOperation_noAuthenticationToken_invalidChallenge() local
/frameworks/base/core/java/android/os/
DRegistrant.java58 notifyException(Throwable exception) in notifyException()
74 internalNotifyRegistrant (Object result, Throwable exception) in internalNotifyRegistrant()
DRegistrantList.java88 internalNotifyRegistrants (Object result, Throwable exception) in internalNotifyRegistrants()
104 notifyException(Throwable exception) in notifyException()
/frameworks/libs/service_entitlement/tests/src/com/android/libraries/entitlement/http/
DHttpClientTest.java123 ServiceEntitlementException exception = in request_httpGetResponseBadRequest_throwsException() local
213 ServiceEntitlementException exception = expectThrows( in request_getResponseCodeFailed_expectThrowsException() local
239 ServiceEntitlementException exception = expectThrows( in request_getResponseBodyFailed_expectThrowsException() local
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/euicc/apdu/
DLogicalChannelMocker.java49 Throwable exception = isException ? (Throwable) responseObject : null; in mockOpenLogicalChannelResponse() local
96 Throwable exception = isException ? (Throwable) responseObject : null; in mockIccTransmitApduLogicalChannelResponse() local

123456