Home
last modified time | relevance | path

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

12345

/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/plugin/tests/log/
DLogBufferTest.kt56 val exception = createTestException("Exception message", "TestClass") in <lambda>() constant
70 val exception = in <lambda>() constant
88 val exception = RuntimeException("Root exception message") in <lambda>() constant
124 val exception = RuntimeException(message, cause) in <lambda>() constant
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/dump/
DLogEulogizerTest.kt96 val exception = RuntimeException("Something bad happened") in testFileIsCreated() constant
110 val exception = RuntimeException("Something bad happened") in testExistingFileIsOverwritten() constant
124 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
DVCardAgentNotSupportedExceptionTest.java27 VCardAgentNotSupportedException exception = new VCardAgentNotSupportedException(); in testExceptionWithoutMessage() local
32 VCardAgentNotSupportedException exception = new VCardAgentNotSupportedException( in testExceptionWithMessage() local
DVCardInvalidLineExceptionTest.java27 VCardInvalidLineException exception = new VCardInvalidLineException(); in testExceptionWithoutMessage() local
32 VCardInvalidLineException exception = new VCardInvalidLineException(TEST_MESSAGE); in testExceptionWithMessage() local
DVCardInvalidCommentLineExceptionTest.java27 VCardInvalidCommentLineException exception = new VCardInvalidCommentLineException(); in testExceptionWithoutMessage() local
32 VCardInvalidCommentLineException exception = new VCardInvalidCommentLineException( in testExceptionWithMessage() local
DVCardVersionExceptionTest.java27 VCardVersionException exception = new VCardVersionException(); in testExceptionWithoutMessage() local
32 VCardVersionException exception = new VCardVersionException(TEST_MESSAGE); in testExceptionWithMessage() local
DVCardNestedExceptionTest.java27 VCardNestedException exception = new VCardNestedException(); in testExceptionWithoutMessage() local
32 VCardNestedException exception = new VCardNestedException(TEST_MESSAGE); in testExceptionWithMessage() local
DVCardExceptionTest.java27 VCardException exception = new VCardException(); in testExceptionWithoutMessage() local
32 VCardException exception = new VCardException(TEST_MESSAGE); in testExceptionWithMessage() local
/frameworks/base/services/core/java/com/android/server/wm/
DWindowOrganizerController.java907 final Throwable exception = new IllegalArgumentException( in applyHierarchyOp() local
914 final Throwable exception = new IllegalArgumentException( in applyHierarchyOp() local
946 final Throwable exception = new IllegalArgumentException( in applyHierarchyOp() local
953 final Throwable exception = new IllegalArgumentException( in applyHierarchyOp() local
960 final Throwable exception = new SecurityException( in applyHierarchyOp() local
967 final Throwable exception = new SecurityException("The reparented activity is" in applyHierarchyOp() local
995 final Throwable exception = new IllegalArgumentException( in applyHierarchyOp() local
1003 final Throwable exception = new IllegalArgumentException( in applyHierarchyOp() local
1140 final Throwable exception = new IllegalArgumentException( in applyHierarchyOp() local
1292 final Throwable exception = new IllegalArgumentException( in applyTaskFragmentOperation() 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/packages/BackupEncryption/src/com/android/server/backup/encryption/tasks/
DEncryptedFullBackupDataProcessor.java111 Optional<Exception> exception = getTaskException(); in pushData() local
148 Optional<Exception> exception = getTaskException(); in finish() local
193 private void reportNetworkFailureIfNecessary(Exception exception) { in reportNetworkFailureIfNecessary()
/frameworks/libs/service_entitlement/tests/src/com/android/libraries/entitlement/http/
DHttpClientTest.java122 ServiceEntitlementException exception = in request_httpGetResponseBadRequest_throwsException() local
212 ServiceEntitlementException exception = expectThrows( in request_getResponseCodeFailed_expectThrowsException() local
238 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/base/keystore/tests/src/android/security/keystore/
DKeyStoreExceptionTest.java34 KeyStoreException exception = new KeyStoreException(-1, primaryMessage, keystoreMessage); in testKeystoreMessageIsIncluded() local
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
DAsyncRunner.java40 public Exception exception; field in AsyncRunner.RunnerResult
235 synchronized private void setException(Exception exception) { in setException()
/frameworks/native/libs/binder/ndk/include_cpp/android/
Dbinder_auto_utils.h281 binder_exception_t exception = getExceptionCode(); in getDescription() local
299 static ScopedAStatus fromExceptionCode(binder_exception_t exception) { in getDescription()
302 static ScopedAStatus fromExceptionCodeWithMessage(binder_exception_t exception, in getDescription()
/frameworks/base/core/tests/coretests/src/android/content/res/
DResourcesDrawableTest.java56 Exception exception = null; in testLoadColorAsDrawableFailureThrowsOriginalException() local
/frameworks/base/services/core/java/com/android/server/connectivity/
DVpnIkev2Utils.java324 public void onClosedExceptionally(@NonNull IkeException exception) { in onClosedExceptionally()
330 public void onError(@NonNull IkeProtocolException exception) { in onError()
367 public void onClosedExceptionally(@NonNull IkeException exception) { in onClosedExceptionally()
/frameworks/base/test-runner/src/android/test/suitebuilder/
DTestSuiteBuilder.java236 private final Exception exception; field in TestSuiteBuilder.FailedToCreateTests
238 public FailedToCreateTests(Exception exception) { in FailedToCreateTests()

12345