Home
last modified time | relevance | path

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

1234567

/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.java160 String exception = GetCredentialException.TYPE_NO_CREDENTIAL; in onFinalResponseReceived() local
176 String exception = GetCredentialException.TYPE_USER_CANCELED; in onUiCancellation() local
188 String exception = GetCredentialException.TYPE_NO_CREDENTIAL; in onUiSelectorInvocationFailure() local
214 String exception = GetCredentialException.TYPE_NO_CREDENTIAL; in onProviderStatusChanged() local
237 String exception = GetCredentialException.TYPE_NO_CREDENTIAL; in handleEmptyAuthenticationSelection() local
DCreateRequestSession.java156 String exception = CreateCredentialException.TYPE_NO_CREATE_OPTIONS; in onFinalResponseReceived() local
171 String exception = CreateCredentialException.TYPE_USER_CANCELED; in onUiCancellation() local
183 String exception = CreateCredentialException.TYPE_NO_CREATE_OPTIONS; in onUiSelectorInvocationFailure() local
201 String exception = CreateCredentialException.TYPE_NO_CREATE_OPTIONS; in onProviderStatusChanged() local
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/dump/
DLogEulogizerTest.kt114 val exception = RuntimeException("Something bad happened") in testFileIsCreated() constant
129 val exception = RuntimeException("Something bad happened") in testExistingFileIsOverwritten() constant
144 val exception = RuntimeException("Something bad happened") in testYoungFileIsNotOverwritten() constant
/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
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
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
/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/base/libs/appfunctions/java/com/android/extensions/appfunctions/
DSidecarConverter.java67 getPlatformAppFunctionException(@NonNull AppFunctionException exception) { in getPlatformAppFunctionException()
107 public static AppFunctionException getSidecarAppFunctionException( in getSidecarAppFunctionException()
/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.java1046 final Throwable exception = new SecurityException("The requested relative bounds:" in adjustTaskFragmentRelativeBoundsForMinDimensionsIfNeeded() local
1050 errorCallbackToken, taskFragment, OP_TYPE_SET_RELATIVE_BOUNDS, exception); in adjustTaskFragmentRelativeBoundsForMinDimensionsIfNeeded() local
1558 final Throwable exception = new IllegalArgumentException( in applyTaskFragmentOperation() local
1613 final Throwable exception = new IllegalArgumentException( in applyTaskFragmentOperation() local
1620 final Throwable exception = new SecurityException( in applyTaskFragmentOperation() local
1627 final Throwable exception = new SecurityException("The reparented activity is" in applyTaskFragmentOperation() local
1651 final Throwable exception = new IllegalArgumentException( in applyTaskFragmentOperation() local
1730 final Throwable exception = new IllegalArgumentException( in applyTaskFragmentOperation() local
1907 final Throwable exception = new IllegalArgumentException( in validateTaskFragmentOperation() local
1917 final Throwable exception = new SecurityException( in validateTaskFragmentOperation() local
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/flags/
DRefactorFlagUtils.kt107 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()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/log/
DLogWtfHandlerRuleTest.kt49 val exception = result.exceptionOrNull() in passingTestWithWtf_shouldFail() constant
111 val exception = result.exceptionOrNull() in passingTestWithOneExemptWtfOfTwo_shouldFail() constant
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/euicc/apdu/
DLogicalChannelMocker.java49 Throwable exception = isException ? (Throwable) responseObject : null; in mockOpenLogicalChannelResponse() local
93 Throwable exception = isException ? (Throwable) responseObject : null; in mockIccTransmitApduLogicalChannelResponse() local

1234567