Home
last modified time | relevance | path

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

1234567891011

/aosp12/frameworks/base/services/robotests/backup/src/com/android/server/backup/keyvalue/
H A 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
H A 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
/aosp12/frameworks/base/core/java/com/android/internal/inputmethod/
H A DCallbackUtils.java54 Throwable exception = null; in onResult() local
80 Throwable exception = null; in onResult() local
107 Throwable exception = null; in onResult() local
134 Throwable exception = null; in onResult() local
161 Throwable exception = null; in onResult() local
187 Throwable exception = null; in onResult() local
212 Throwable exception = null; in onResult() local
239 Throwable exception = null; in onResult() local
/aosp12/packages/modules/IPsec/tests/cts/src/android/ipsec/ike/cts/
H A DIkeExceptionTest.java47 final IkeInternalException exception = new IkeInternalException(cause); in testIkeInternalException() local
59 final IkeNetworkLostException exception = in testIkeNetworkLostException() local
67 final InvalidKeException exception = new InvalidKeException(DH_GROUP_1024_BIT_MODP); in testInvalidKeException() local
74 final InvalidMajorVersionException exception = in testInvalidMajorVersionException() local
85 final InvalidSelectorsException exception = new InvalidSelectorsException(spi, packetInfo); in testInvalidSelectorsException() local
/aosp12/packages/modules/IPsec/src/java/android/net/ipsec/ike/
H A DIkeSessionCallback.java69 default void onClosedExceptionally(@NonNull IkeException exception) {} in onClosedExceptionally()
77 default void onClosedWithException(@NonNull IkeException exception) { in onClosedWithException()
94 default void onError(@NonNull IkeProtocolException exception) {} in onError()
104 default void onError(@NonNull IkeException exception) { in onError()
H A DChildSessionCallback.java82 default void onClosedExceptionally(@NonNull IkeException exception) {} in onClosedExceptionally()
92 default void onClosedWithException(@NonNull IkeException exception) { in onClosedWithException()
/aosp12/art/test/412-new-array/src/
H A DMain.java243 Throwable exception = null; in testSmaliFillArrayData() local
270 Throwable exception = null; in testSmaliFillArrayData() local
309 Throwable exception = null; in testSmaliFillArrayData() local
348 Throwable exception = null; in testSmaliFillArrayData() local
387 Throwable exception = null; in testSmaliFillArrayData() local
426 Throwable exception = null; in testSmaliFillArrayData() local
465 Throwable exception = null; in testSmaliFillArrayData() local
502 Throwable exception = null; in testSmaliFillArrayData() local
/aosp12/packages/modules/IPsec/tests/iketests/src/java/android/net/ipsec/ike/
H A DIkeSessionCallbackTest.java64 public void onClosedExceptionally(IkeException exception) {} in onClosedExceptionally()
74 public void onError(IkeProtocolException exception) { in onError()
83 public void onError(IkeProtocolException exception) { in onError()
88 public void onError(IkeException exception) { in onError()
/aosp12/packages/services/Car/tests/carservice_test/src/com/android/car/audio/
H A DCarAudioZonesHelperLegacyTest.java72 RuntimeException exception = expectThrows(RuntimeException.class, in constructor_checksForNoDuplicateBusNumbers() local
86 RuntimeException exception = expectThrows(RuntimeException.class, in constructor_throwsIfLegacyContextNotAssignedToBus() local
101 NullPointerException exception = expectThrows(NullPointerException.class, in constructor_throwsIfNullInputDevices() local
115 NullPointerException exception = expectThrows(NullPointerException.class, in constructor_throwsIfNullContext() local
127 NullPointerException exception = expectThrows(NullPointerException.class, in constructor_throwsIfNullCarAudioDeviceInfo() local
141 NullPointerException exception = expectThrows(NullPointerException.class, in constructor_throwsIfNullCarAudioControl() local
155 NullPointerException exception = expectThrows(NullPointerException.class, in constructor_throwsIfNullCarAudioSettings() local
H A DCarAudioZonesValidatorTest.java50 RuntimeException exception = expectThrows(RuntimeException.class, in validate_thereIsAtLeastOneZone() local
63 IllegalArgumentException exception = expectThrows(IllegalArgumentException.class, in validate_failsOnEmptyInputDevices() local
75 NullPointerException exception = expectThrows(NullPointerException.class, in validate_failsOnNullInputDevices() local
89 RuntimeException exception = expectThrows(RuntimeException.class, in validate_failsOnMissingMicrophoneInputDevices() local
104 RuntimeException exception = expectThrows(RuntimeException.class, in validate_volumeGroupsForEachZone() local
130 RuntimeException exception = expectThrows(RuntimeException.class, in validate_eachAddressAppearsInOnlyOneZone() local
/aosp12/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
H A DPermissionHelperTest.java87 SecurityException exception = expectThrows(SecurityException.class, () -> PermissionHelper in testCheckHasAtLeastOnePermission_none() local
113 SecurityException exception = expectThrows(SecurityException.class, in testCheckHasDumpPermissionGranted_notGranted() local
127 private void assertExceptionMessageContains(Exception exception, String subString) { in assertExceptionMessageContains()
/aosp12/packages/modules/IPsec/tests/iketests/src/java/android/net/ipsec/ike/exceptions/
H A DIkeProtocolExceptionTest.java39 UnsupportedCriticalPayloadException exception = in buildNotifyPayloadWithData() local
49 NoValidProposalChosenException exception = in buildNotifyPayloadWithoutData() local
/aosp12/art/test/1929-exception-catch-exception/src/art/
H A DTest1929.java47 Executable m, long loc, Throwable exception); in exceptionOccurred()
61 Thread thr, Executable method, long location, Throwable exception) { in ExceptionCatchEvent()
90 public void exceptionOccurred(Executable m, long loc, Throwable exception) { in exceptionOccurred()
97 public void exceptionOccurred(Executable m, long loc, Throwable exception) { in exceptionOccurred()
111 public void exceptionOccurred(Executable m, long loc, Throwable exception) { in exceptionOccurred()
119 public void exceptionOccurred(Executable m, long loc, Throwable exception) { in exceptionOccurred()
/aosp12/frameworks/base/core/java/android/content/
H A 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()
/aosp12/packages/services/Iwlan/src/com/google/android/iwlan/
H A DIwlanError.java87 public IwlanError(@NonNull Exception exception) { in IwlanError()
102 private void IwlanErrorIkeProtocolException(@NonNull IkeProtocolException exception) { in IwlanErrorIkeProtocolException()
107 private void IwlanErrorIkeInternalException(@NonNull IkeInternalException exception) { in IwlanErrorIkeInternalException()
/aosp12/frameworks/native/libs/binder/ndk/
H A Dstatus.cpp30 AStatus* AStatus_fromExceptionCode(binder_exception_t exception) { in AStatus_fromExceptionCode()
34 AStatus* AStatus_fromExceptionCodeWithMessage(binder_exception_t exception, const char* message) { in AStatus_fromExceptionCodeWithMessage()
135 binder_exception_t PruneException(int32_t exception) { in PruneException()
/aosp12/frameworks/base/packages/BackupEncryption/src/com/android/server/backup/encryption/tasks/
H A 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()
/aosp12/packages/modules/Connectivity/tests/common/java/
H A DParseExceptionTest.kt38 val exception = ParseException(testMessage, base) regex
47 val exception = ParseException(testMessage) regex
/aosp12/art/test/989-method-trace-throw/src/art/
H A DTest989.java63 private static String getInfo(Object m, boolean exception, Object result) { in getInfo()
75 public void methodExited(Object m, boolean exception, Object result); in methodExited()
86 public void methodExited(Object m, boolean exception, Object result) { in methodExited()
100 public void methodExited(Object m, boolean exception, Object result) { in methodExited()
114 public void methodExited(Object m, boolean exception, Object result) { in methodExited()
133 public void methodExited(Object m, boolean exception, Object result) { in methodExited()
152 public void methodExited(Object m, boolean exception, Object result) { in methodExited()
168 public static void baseNotifyMethodExit(Object o, boolean exception, Object res) { in baseNotifyMethodExit()
/aosp12/art/test/1928-exception-event-exception/src/art/
H A DTest1928.java30 Executable m, long loc, Throwable exception, Executable catch_m, long catch_l); in exceptionOccurred()
46 Throwable exception, in ExceptionEvent()
87 Executable m, long loc, Throwable exception, Executable catch_m, long catch_l) { in exceptionOccurred()
95 Executable m, long loc, Throwable exception, Executable catch_m, long catch_l) { in exceptionOccurred()
/aosp12/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/message/
H A DIkeNotifyPayloadTest.java246 IkeProtocolException exception = payload.validateAndBuildIkeException(); in testValidateAndBuildIkeExceptionWithData() local
265 InvalidSelectorsException exception = in testValidateAndBuildInvalidSelectorsException() local
281 IkeProtocolException exception, int errorType, Class<T> exceptionClass) in verifyIkeExceptionWithoutData()
356 ChildSaNotFoundException exception = in testValidateAndBuildChildSaNotFoundException() local
369 IkeProtocolException exception = payload.validateAndBuildIkeException(); in testValidateAndBuildUnrecognizedIkeException() local
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/dump/
H A DLogEulogizerTest.kt96 val exception = RuntimeException("Something bad happened") regex
110 val exception = RuntimeException("Something bad happened") regex
124 val exception = RuntimeException("Something bad happened") regex
/aosp12/packages/apps/Messaging/src/com/android/messaging/datamodel/data/
H A DPersonItemData.java32 void onPersonDataFailed(PersonItemData data, Exception exception); in onPersonDataFailed()
57 protected void notifyDataFailed(final Exception exception) { in notifyDataFailed()
/aosp12/packages/providers/ContactsProvider/src/com/android/providers/contacts/util/
H A DLogFields.java31 private Exception exception; field in LogFields
77 private Exception exception; field in LogFields.Builder
108 public Builder setException(Exception exception) { in setException()
/aosp12/frameworks/base/core/java/android/os/
H A DRegistrant.java58 notifyException(Throwable exception) in notifyException()
74 internalNotifyRegistrant (Object result, Throwable exception) in internalNotifyRegistrant()

1234567891011