Home
last modified time | relevance | path

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

123456

/frameworks/base/tools/protologtool/tests/com/android/protolog/tool/
DCommandOptionsTest.kt53 val exception = assertThrows<InvalidCommandException>(InvalidCommandException::class.java) { in noCommand() constant
62 val exception = assertThrows<InvalidCommandException>(InvalidCommandException::class.java) { in invalidCommand() constant
99 val exception = assertThrows<InvalidCommandException>(InvalidCommandException::class.java) { in transformClasses_noViewerConfigFile() constant
156 val exception = assertThrows<InvalidCommandException>(InvalidCommandException::class.java) { in transformClasses_noProtoLogClass() constant
171 val exception = assertThrows<InvalidCommandException>(InvalidCommandException::class.java) { in transformClasses_noProtoLogGroupClass() constant
186 val exception = assertThrows<InvalidCommandException>(InvalidCommandException::class.java) { in transformClasses_noProtoLogGroupJar() constant
202 val exception = assertThrows<InvalidCommandException>(InvalidCommandException::class.java) { in transformClasses_noOutJar() constant
218 val exception = assertThrows<InvalidCommandException>(InvalidCommandException::class.java) { in transformClasses_noJavaInput() constant
234 val exception = assertThrows<InvalidCommandException>(InvalidCommandException::class.java) { in transformClasses_invalidProtoLogClass() constant
250 val exception = assertThrows<InvalidCommandException>(InvalidCommandException::class.java) { in transformClasses_invalidProtoLogGroupClass() constant
[all …]
/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
/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.java153 String exception = GetCredentialException.TYPE_NO_CREDENTIAL; in onFinalResponseReceived() local
169 String exception = GetCredentialException.TYPE_USER_CANCELED; in onUiCancellation() local
181 String exception = GetCredentialException.TYPE_NO_CREDENTIAL; in onUiSelectorInvocationFailure() local
207 String exception = GetCredentialException.TYPE_NO_CREDENTIAL; in onProviderStatusChanged() local
230 String exception = GetCredentialException.TYPE_NO_CREDENTIAL; in handleEmptyAuthenticationSelection() local
DCreateRequestSession.java152 String exception = CreateCredentialException.TYPE_NO_CREATE_OPTIONS; in onFinalResponseReceived() local
167 String exception = CreateCredentialException.TYPE_USER_CANCELED; in onUiCancellation() local
179 String exception = CreateCredentialException.TYPE_NO_CREATE_OPTIONS; in onUiSelectorInvocationFailure() local
197 String exception = CreateCredentialException.TYPE_NO_CREATE_OPTIONS; in onProviderStatusChanged() 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/vcard/tests/src/com/android/vcard/tests/exception/
DVCardNotSupportedExceptionTest.java27 VCardNotSupportedException exception = new VCardNotSupportedException(); in testExceptionWithoutMessage() local
32 VCardNotSupportedException exception = new VCardNotSupportedException(TEST_MESSAGE); in testExceptionWithMessage() local
DVCardInvalidCommentLineExceptionTest.java27 VCardInvalidCommentLineException exception = new VCardInvalidCommentLineException(); in testExceptionWithoutMessage() local
32 VCardInvalidCommentLineException exception = new VCardInvalidCommentLineException( in testExceptionWithMessage() local
DVCardNestedExceptionTest.java27 VCardNestedException exception = new VCardNestedException(); in testExceptionWithoutMessage() local
32 VCardNestedException exception = new VCardNestedException(TEST_MESSAGE); in testExceptionWithMessage() local
DVCardVersionExceptionTest.java27 VCardVersionException exception = new VCardVersionException(); in testExceptionWithoutMessage() local
32 VCardVersionException exception = new VCardVersionException(TEST_MESSAGE); in testExceptionWithMessage() local
DVCardInvalidLineExceptionTest.java27 VCardInvalidLineException exception = new VCardInvalidLineException(); in testExceptionWithoutMessage() local
32 VCardInvalidLineException exception = new VCardInvalidLineException(TEST_MESSAGE); in testExceptionWithMessage() local
DVCardAgentNotSupportedExceptionTest.java27 VCardAgentNotSupportedException exception = new VCardAgentNotSupportedException(); in testExceptionWithoutMessage() local
32 VCardAgentNotSupportedException exception = new VCardAgentNotSupportedException( in testExceptionWithMessage() local
DVCardExceptionTest.java27 VCardException exception = new VCardException(); in testExceptionWithoutMessage() local
32 VCardException exception = new VCardException(TEST_MESSAGE); in testExceptionWithMessage() local
/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/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/native/libs/binder/ndk/
Dstatus.cpp29 AStatus* AStatus_fromExceptionCode(binder_exception_t exception) { in AStatus_fromExceptionCode()
33 AStatus* AStatus_fromExceptionCodeWithMessage(binder_exception_t exception, const char* message) { in AStatus_fromExceptionCodeWithMessage()
134 binder_exception_t PruneException(int32_t exception) { in PruneException()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/satellite/
DSatelliteControllerTest.java3829 SatelliteException exception = (error == SATELLITE_RESULT_SUCCESS) in setUpResponseForRequestIsSatelliteEnabled() local
3842 SatelliteException exception = (error == SATELLITE_RESULT_SUCCESS) in setUpResponseForRequestIsSatelliteSupported() local
3854 SatelliteException exception = (error == SATELLITE_RESULT_SUCCESS) in setUpResponseForRequestTimeForNextSatelliteVisibility() local
3868 SatelliteException exception = (error == SATELLITE_RESULT_SUCCESS) in setUpNullResponseForRequestTimeForNextSatelliteVisibility() local
3881 SatelliteException exception = (error == SATELLITE_RESULT_SUCCESS) in setUpResponseForRequestIsSatelliteProvisioned() local
3895 SatelliteException exception = (error == SATELLITE_RESULT_SUCCESS) in setUpResponseForRequestSatelliteEnabled() local
3912 SatelliteException exception = (error == SATELLITE_RESULT_SUCCESS) in setUpResponseForRequestSetSatelliteEnabledForCarrier() local
3932 SatelliteException exception = (error == SATELLITE_RESULT_SUCCESS) in setUpResponseForProvisionSatelliteService() local
3950 SatelliteException exception = (error == SATELLITE_RESULT_SUCCESS) in setUpResponseForDeprovisionSatelliteService() local
3964 SatelliteException exception = (error == SATELLITE_RESULT_SUCCESS) in setUpResponseForRequestSatelliteCapabilities() local
[all …]
/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.java1007 final Throwable exception = new SecurityException("The requested relative bounds:" in adjustTaskFragmentRelativeBoundsForMinDimensionsIfNeeded() local
1011 errorCallbackToken, taskFragment, OP_TYPE_SET_RELATIVE_BOUNDS, exception); in adjustTaskFragmentRelativeBoundsForMinDimensionsIfNeeded() local
1375 final Throwable exception = new IllegalArgumentException( in applyTaskFragmentOperation() local
1428 final Throwable exception = new IllegalArgumentException( in applyTaskFragmentOperation() local
1435 final Throwable exception = new SecurityException( in applyTaskFragmentOperation() local
1442 final Throwable exception = new SecurityException("The reparented activity is" in applyTaskFragmentOperation() local
1466 final Throwable exception = new IllegalArgumentException( in applyTaskFragmentOperation() local
1539 final Throwable exception = new IllegalArgumentException( in applyTaskFragmentOperation() local
1697 final Throwable exception = new IllegalArgumentException( in validateTaskFragmentOperation() local
1716 final Throwable exception = new SecurityException( in validateTaskFragmentOperation() local
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/flags/
DRefactorFlagUtils.kt106 val exception = if (Build.isDebuggable()) IllegalStateException(message) else null in assertOnEngBuild() constant
/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/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/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