Home
last modified time | relevance | path

Searched refs:getException (Results 1 – 24 of 24) sorted by relevance

/packages/modules/OnDevicePersonalization/tests/frameworktests/src/android/adservices/ondevicepersonalization/
DOnDevicePersonalizationManagerTest.java121 assertTrue(receiver.getException() instanceof IllegalStateException); in testExecuteUnknownError()
138 assertTrue(receiver.getException() instanceof OnDevicePersonalizationException); in testExecuteServiceError()
156 assertTrue(receiver.getException() instanceof OnDevicePersonalizationException); in testExecuteErrorWithCode()
158 ((OnDevicePersonalizationException) receiver.getException()).getErrorCode()); in testExecuteErrorWithCode()
159 assertTrue(receiver.getException().getCause() instanceof IsolatedServiceException); in testExecuteErrorWithCode()
161 ((IsolatedServiceException) receiver.getException().getCause()).getErrorCode()); in testExecuteErrorWithCode()
179 assertEquals("TestErrorMessage", receiver.getException().getMessage()); in testExecuteErrorWithMessage()
195 assertTrue(receiver.getException() instanceof IllegalArgumentException); in testExecuteCatchesIaeFromService()
211 assertTrue(receiver.getException() instanceof NullPointerException); in testExecuteCatchesNpeFromService()
227 assertTrue(receiver.getException() instanceof IllegalStateException); in testExecuteCatchesOtherExceptions()
DOnDevicePersonalizationSystemEventManagerTest.java129 assertTrue(receiver.getException() instanceof IllegalStateException); in testnotifyMeasurementEventCatchesExceptions()
/packages/services/Iwlan/src/com/google/android/iwlan/
DIwlanError.java156 public Exception getException() { in getException() method in IwlanError
211 if (mException != null && error.getException() != null) { in equals()
212 ret = mException.getClass().equals(error.getException().getClass()); in equals()
216 == ((IkeProtocolException) error.getException()) in equals()
219 } else if (mException == null && error.getException() == null) { in equals()
DErrorPolicyManager.java291 ret = getDataFailCauseForIkeProtocolException(error.getException()); in getDataFailCause()
939 IkeProtocolException exception = (IkeProtocolException) iwlanError.getException(); in match()
1139 iwlanError.getException()) in fromIwlanError()
/packages/modules/DeviceLock/framework/java/android/devicelock/
DDeviceLockManager.java112 callback.onError(parcelableException.getException()); in lockDevice()
142 callback.onError(parcelableException.getException()); in unlockDevice()
173 callback.onError(parcelableException.getException())); in isDeviceLocked()
211 callback.onError(parcelableException.getException()); in getDeviceId()
246 callback.onError(parcelableException.getException()); in getKioskApps()
DParcelableException.java84 public Exception getException() { in getException() method in ParcelableException
/packages/modules/OnDevicePersonalization/tests/cts/endtoend/src/com/android/ondevicepersonalization/cts/e2e/
DOdpSystemEventManagerTests.java67 assertNotNull(receiver.getException()); in testNotifyMeasurementEventPermissionDenied()
68 assertTrue(receiver.getException().getClass().getSimpleName(), in testNotifyMeasurementEventPermissionDenied()
69 receiver.getException() instanceof SecurityException); in testNotifyMeasurementEventPermissionDenied()
DCtsOdpManagerTests.java227 assertTrue(receiver.getException() instanceof IllegalStateException); in testExecuteReturnsIllegalStateIfServiceNotEnrolled()
242 assertTrue(receiver.getException() instanceof NameNotFoundException); in testExecuteReturnsNameNotFoundIfServiceNotInstalled()
258 assertTrue(receiver.getException() instanceof ClassNotFoundException); in testExecuteReturnsClassNotFoundIfServiceClassNotFound()
448 assertTrue(receiver.getException() instanceof OnDevicePersonalizationException); in testExecuteReturnsErrorIfServiceThrows()
450 ((OnDevicePersonalizationException) receiver.getException()).getErrorCode(), in testExecuteReturnsErrorIfServiceThrows()
471 assertTrue(receiver.getException() instanceof OnDevicePersonalizationException); in testExecuteReturnsErrorIfServiceReturnsError()
473 ((OnDevicePersonalizationException) receiver.getException()).getErrorCode(), in testExecuteReturnsErrorIfServiceReturnsError()
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DMessage.java201 (AuthenticationRequiredException) event.getException(); in updateToAuthenticationExceptionHeader()
267 CrossProfileException e = (CrossProfileException) event.getException(); in update()
271 ((CrossProfileQuietModeException) event.getException()).mUserId); in update()
272 } else if (event.getException() instanceof CrossProfileNoPermissionException) { in update()
DModelBackedDocumentsAdapter.java77 onModelUpdateFailed(event.getException()); in ModelBackedDocumentsAdapter()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/
DAbstractActionHandlerTest.java360 assertThat(listener.getLastValue().getException()) in testLoadCrossProfileDoc_failsWithQuietModeException()
381 assertThat(listener.getLastValue().getException()) in testLoadCrossProfileDoc_failsWithNoPermissionException()
405 assertThat(listener.getLastValue().getException()) in testLoadCrossProfileDoc_bothError_showNoPermissionException()
440 assertThat(listener.getLastValue().getException()) in testCrossProfileDocuments_reloadSuccessAfterCrossProfileError()
/packages/modules/OnDevicePersonalization/tests/testutils/src/com/android/ondevicepersonalization/testing/utils/
DResultReceiver.java54 public Exception getException() throws InterruptedException { in getException() method in ResultReceiver
/packages/providers/ContactsProvider/src/com/android/providers/contacts/util/
DLogUtils.java67 .writeInt(getResultType(logFields.getException())) in log()
DLogFields.java71 public Exception getException() { in getException() method in LogFields
/packages/apps/Car/DebuggingRestrictionController/app/src/main/java/com/android/car/debuggingrestrictioncontroller/ui/token/
DTokenViewModel.java77 tokenResult.postValue(new TokenResult(task.getException().getMessage())); in requestAccessToken()
/packages/apps/Settings/src/com/android/settings/network/
DSwitchSlotSidecar.java103 public Exception getException() { in getException() method in SwitchSlotSidecar
/packages/services/Iwlan/src/com/google/android/iwlan/proto/
DMetricsAtom.java126 Throwable iwlanErrorWrapped = iwlanError.getException(); in setIwlanErrorWrappedClassnameAndStack()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/customaudience/
DCustomAudienceServiceEndToEndTest.java444 assertTrue(callback.getException() instanceof SecurityException); in testJoinCustomAudience_callerPackageNameMismatch_fail()
447 callback.getException().getMessage()); in testJoinCustomAudience_callerPackageNameMismatch_fail()
630 assertTrue(callback.getException() instanceof IllegalArgumentException); in testJoinCustomAudience_beyondMaxExpirationTime_fail()
1163 assertTrue(callback.getException() instanceof SecurityException); in testLeaveCustomAudience_callerPackageNameMismatch_fail()
1166 callback.getException().getMessage()); in testLeaveCustomAudience_callerPackageNameMismatch_fail()
3007 .that(callbackSubsequentCall.getException()) in testCustomAudience_throttledSubsequentCallFails()
3010 .that(callbackSubsequentCall.getException()) in testCustomAudience_throttledSubsequentCallFails()
3147 public Exception getException() { in getException() method in CustomAudienceServiceEndToEndTest.ResultCapturingCallback
/packages/apps/Dialer/java/com/android/contacts/common/model/
DContact.java248 public Exception getException() { in getException() method in Contact
/packages/apps/DocumentsUI/src/com/android/documentsui/
DModel.java306 public @Nullable Exception getException() { in getException() method in Model.Update
/packages/apps/Contacts/src/com/android/contacts/model/
DContact.java282 public Exception getException() { in getException() method in Contact
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/
DFledgeE2ETest.java3795 assertTrue(callback.getException() instanceof IllegalStateException); in testFledgeFlowSuccessWithAppInstallFlagOffWithMockServer()
4274 "App Install call failed with: " + appInstallCallback.getException(), in setAppInstallAdvertisers()
5377 public Exception getException() { in getException() method in ResultCapturingCallback
5408 public Exception getException() { in getException() method in AppInstallResultCapturingCallback
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/
DIkeSessionStateMachine.java3836 IkeException getException() { in getException() method in IkeSessionStateMachine.MsgValidationResult
4065 final IkeException e = authRespResult.getException(); in handleIkeAuthResponse()
4070 handleIkeFatalError(authRespResult.getException()); in handleIkeAuthResponse()
4085 final IkeException e = authRespResult.getException(); in shouldSilentlyDelete()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/
DAuctionServerE2ETest.java3924 "App Install call failed with: " + appInstallCallback.getException(), in setAppInstallAdvertisers()
4376 public Exception getException() { in getException() method in AuctionServerE2ETest.AppInstallResultCapturingCallback