/packages/modules/OnDevicePersonalization/tests/frameworktests/src/android/adservices/ondevicepersonalization/ |
D | OnDevicePersonalizationManagerTest.java | 161 assertTrue(receiver.getException() instanceof IllegalStateException); in testExecuteUnknownError() 176 assertTrue(receiver.getException() instanceof OnDevicePersonalizationException); in testExecuteServiceError() 193 assertTrue(receiver.getException() instanceof OnDevicePersonalizationException); in testExecuteErrorWithCode() 196 ((OnDevicePersonalizationException) receiver.getException()).getErrorCode()); in testExecuteErrorWithCode() 197 assertTrue(receiver.getException().getCause() instanceof IsolatedServiceException); in testExecuteErrorWithCode() 200 ((IsolatedServiceException) receiver.getException().getCause()).getErrorCode()); in testExecuteErrorWithCode() 216 assertTrue(receiver.getException() instanceof OnDevicePersonalizationException); in testExecuteErrorWithMessage() 219 ((OnDevicePersonalizationException) receiver.getException()).getErrorCode()); in testExecuteErrorWithMessage() 220 Throwable cause = receiver.getException().getCause(); in testExecuteErrorWithMessage() 240 Throwable cause = receiver.getException().getCause(); in testExecuteManifestParsingError() [all …]
|
D | FederatedComputeSchedulerTest.java | 116 assertTrue(receiver.getException() instanceof OnDevicePersonalizationException); in testSchedule_withOutcomeReceiver_error() 119 ((OnDevicePersonalizationException) receiver.getException()).getErrorCode()); in testSchedule_withOutcomeReceiver_error() 137 assertTrue(receiver.getException() instanceof OnDevicePersonalizationException); in testSchedule_withOutcomeReceiver_manifestError() 140 ((OnDevicePersonalizationException) receiver.getException()).getErrorCode()); in testSchedule_withOutcomeReceiver_manifestError()
|
D | ModelManagerTest.java | 110 (OnDevicePersonalizationException) callback.getException(); in runInference_error() 141 (OnDevicePersonalizationException) callback.getException(); in runInference_resultMissingInferenceOutput()
|
D | OnDevicePersonalizationQueryFeatureAvailabilityManagerTest.java | 94 assertTrue(receiver.getException() instanceof IllegalStateException); in queryFeatureAvailabilityException()
|
D | OnDevicePersonalizationSystemEventManagerTest.java | 130 assertTrue(receiver.getException() instanceof IllegalStateException); in testnotifyMeasurementEventCatchesExceptions()
|
/packages/modules/DeviceLock/framework/java/android/devicelock/ |
D | DeviceLockManager.java | 115 callback.onError(parcelableException.getException()); in lockDevice() 145 callback.onError(parcelableException.getException()); in unlockDevice() 176 callback.onError(parcelableException.getException())); in isDeviceLocked() 234 callback.onError(parcelableException.getException()); in clearDeviceRestrictions() 273 callback.onError(parcelableException.getException()); in getDeviceId() 308 callback.onError(parcelableException.getException()); in getKioskApps()
|
D | ParcelableException.java | 80 public Exception getException() { in getException() method in ParcelableException
|
/packages/services/Iwlan/src/com/google/android/iwlan/ |
D | IwlanError.java | 156 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()
|
D | ErrorPolicyManager.java | 297 getDataFailCauseForIkeProtocolException(error.getException()); in getDataFailCause() 929 IkeProtocolException exception = (IkeProtocolException) iwlanError.getException(); 1086 iwlanError.getException())
|
/packages/modules/DeviceLock/tests/unittests/src/com/android/server/devicelock/ |
D | ParcelableExceptionTest.java | 40 Exception cause = parcelableException.getException(); in parcelableExceptionShouldReturnOriginalException() 57 assertThat(inParcelable.getException().getMessage()) in parcelableExceptionShouldParcelAndUnparcel() 58 .isEqualTo(outParcelable.getException().getMessage()); in parcelableExceptionShouldParcelAndUnparcel()
|
/packages/modules/OnDevicePersonalization/tests/cts/endtoend/src/com/android/ondevicepersonalization/cts/e2e/ |
D | OdpSystemEventManagerTests.java | 68 assertNotNull(receiver.getException()); in testNotifyMeasurementEventPermissionDenied() 69 assertTrue(receiver.getException().getClass().getSimpleName(), in testNotifyMeasurementEventPermissionDenied() 70 receiver.getException() instanceof SecurityException); in testNotifyMeasurementEventPermissionDenied()
|
D | CtsOdpManagerTests.java | 242 assertThat(receiver.getException()).isInstanceOf(IllegalStateException.class); in testExecuteReturnsIllegalStateIfServiceNotEnrolled() 259 assertThat(receiver.getException()).isInstanceOf(NameNotFoundException.class); in testExecuteReturnsNameNotFoundIfServiceNotInstalled() 277 assertThat(receiver.getException()).isInstanceOf(ClassNotFoundException.class); in testExecuteReturnsClassNotFoundIfServiceClassNotFound() 467 assertThat(receiver.getException()).isInstanceOf(OnDevicePersonalizationException.class); in testExecuteReturnsErrorIfServiceThrows() 469 ((OnDevicePersonalizationException) receiver.getException()).getErrorCode(), in testExecuteReturnsErrorIfServiceThrows() 490 assertThat(receiver.getException()).isInstanceOf(OnDevicePersonalizationException.class); in testExecuteReturnsErrorIfServiceReturnsError() 492 ((OnDevicePersonalizationException) receiver.getException()).getErrorCode(), in testExecuteReturnsErrorIfServiceReturnsError() 768 assertTrue(receiver.getException() instanceof IllegalStateException); in testExecuteInIsolatedServiceReturnsIllegalStateIfServiceNotEnrolled() 788 assertThat(receiver.getException()).isInstanceOf(OnDevicePersonalizationException.class); in testExecuteInIsolatedServiceReturnsNameNotFoundIfServiceNotInstalled() 790 (OnDevicePersonalizationException) receiver.getException(); in testExecuteInIsolatedServiceReturnsNameNotFoundIfServiceNotInstalled() [all …]
|
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/ |
D | Message.java | 202 (AuthenticationRequiredException) event.getException(); in updateToAuthenticationExceptionHeader() 273 CrossProfileException e = (CrossProfileException) event.getException(); in update() 277 ((CrossProfileQuietModeException) event.getException()).mUserId); in update() 278 } else if (event.getException() instanceof CrossProfileNoPermissionException) { in update()
|
D | ModelBackedDocumentsAdapter.java | 78 onModelUpdateFailed(event.getException()); in ModelBackedDocumentsAdapter()
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/ |
D | AbstractActionHandlerTest.java | 360 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/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/ |
D | TestLooper.java | 406 public RuntimeException getException() { in getException() method in TestLooper.AutoDispatchThread 433 RuntimeException e = mAutoDispatchThread.getException(); in stopAutoDispatch()
|
/packages/modules/OnDevicePersonalization/tests/testutils/src/com/android/ondevicepersonalization/testing/utils/ |
D | ResultReceiver.java | 77 public Exception getException() throws InterruptedException { in getException() method in ResultReceiver
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/util/ |
D | LogUtils.java | 87 .writeInt(getResultType(logFields.getException())) in log()
|
D | LogFields.java | 73 public Exception getException() { in getException() method in LogFields
|
/packages/apps/Car/DebuggingRestrictionController/app/src/main/java/com/android/car/debuggingrestrictioncontroller/ui/token/ |
D | TokenViewModel.java | 77 tokenResult.postValue(new TokenResult(task.getException().getMessage())); in requestAccessToken()
|
/packages/apps/Settings/src/com/android/settings/network/ |
D | SwitchSlotSidecar.java | 103 public Exception getException() { in getException() method in SwitchSlotSidecar
|
/packages/services/Iwlan/src/com/google/android/iwlan/proto/ |
D | MetricsAtom.java | 151 Throwable iwlanErrorWrapped = iwlanError.getException(); in setIwlanErrorWrappedClassnameAndStack()
|
/packages/apps/Dialer/java/com/android/contacts/common/model/ |
D | Contact.java | 248 public Exception getException() { in getException() method in Contact
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ |
D | Model.java | 306 public @Nullable Exception getException() { in getException() method in Model.Update
|
/packages/apps/Contacts/src/com/android/contacts/model/ |
D | Contact.java | 282 public Exception getException() { in getException() method in Contact
|