Home
last modified time | relevance | path

Searched refs:mException (Results 1 – 25 of 30) sorted by relevance

12

/packages/services/Iwlan/src/com/google/android/iwlan/
DIwlanError.java93 private Exception mException; field in IwlanError
101 mException = exception; in IwlanError()
124 mException = exception; in IwlanError()
130 mException = exception; in IwlanErrorIkeProtocolException()
139 mException = exception; in IwlanErrorIkeInternalException()
144 mException = exception; in IwlanErrorIkeIOException()
149 mException = exception; in IwlanErrorIkeNetworkLostException()
157 return mException; in getException()
173 if (mException == null) { in errorDetailsString()
179 sb.append("MSG: ").append(mException.getMessage()).append("\n CAUSE: "); in errorDetailsString()
[all …]
/packages/modules/OnDevicePersonalization/tests/testutils/src/com/android/ondevicepersonalization/testing/utils/
DResultReceiver.java33 private Exception mException = null; field in ResultReceiver
66 mException = e; in onError()
79 return mException; in getException()
108 if (mException != null) { in getErrorMessage()
109 return mException.getClass().getSimpleName() in getErrorMessage()
110 + ": " + mException.getMessage(); in getErrorMessage()
/packages/modules/AdServices/shared/tests/side-less/java/com/android/adservices/shared/testing/concurrency/
DSyncCallbackTimeoutExceptionTest.java31 private SyncCallbackTimeoutException mException = field in SyncCallbackTimeoutExceptionTest
46 expect.withMessage("what").that(mException.getWhat()).isEqualTo(WHAT); in testCustomGetters()
47 expect.withMessage("timeout").that(mException.getTimeout()).isEqualTo(TIMEOUT); in testCustomGetters()
48 expect.withMessage("unit").that(mException.getUnit()).isEqualTo(MILLISECONDS); in testCustomGetters()
57 expect.withMessage("getMessage()").that(mException).hasMessageThat().isEqualTo(expectMsg); in testGetMessage()
/packages/services/Car/libs/car-test-lib/src/android/car/test/mocks/
DSyncAnswer.java46 private final Throwable mException; field in SyncAnswer
50 mException = exception; in SyncAnswer()
80 if (mException != null) { in answer()
81 throw mException; in answer()
/packages/modules/HealthFitness/tests/integrationtests/src/android/healthconnect/tests/exportimport/
DTestOutcomeReceiver.java56 private final AtomicReference<E> mException = new AtomicReference<>(); field in TestOutcomeReceiver
76 return mException.get(); in assertAndGetException()
93 if (mException.get() != null) { in verifyNoExceptionOrThrow()
94 throw mException.get(); in verifyNoExceptionOrThrow()
106 mException.set(error); in onError()
/packages/modules/HealthFitness/tests/cts/utils/HealthConnectTestUtils/src/android/healthconnect/cts/utils/
DTestOutcomeReceiver.java55 private final AtomicReference<E> mException = new AtomicReference<>(); field in TestOutcomeReceiver
75 return mException.get(); in assertAndGetException()
92 if (mException.get() != null) { in verifyNoExceptionOrThrow()
93 throw mException.get(); in verifyNoExceptionOrThrow()
105 mException.set(error); in onError()
/packages/apps/Messaging/src/com/android/messaging/datamodel/media/
DMediaResourceManager.java241 private Exception mException; in scheduleAsyncMediaRequest()
252 mException = e; in scheduleAsyncMediaRequest()
260 Assert.isNull(mException); in scheduleAsyncMediaRequest()
271 } else if (mException != null) { in scheduleAsyncMediaRequest()
273 mediaRequest.getKey(), mException); in scheduleAsyncMediaRequest()
275 bindableRequest.onMediaResourceLoadError(bindableRequest, mException); in scheduleAsyncMediaRequest()
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/
DImagePersistTask.java48 private Exception mException; field in ImagePersistTask
133 mException = e; in doInBackgroundTimed()
149 mException = e; in doInBackgroundTimed()
168 Assert.notNull(mException); in onPostExecute()
169 mCallback.onMediaFailed(mException); in onPostExecute()
DCameraManager.java417 private Exception mException; in openCamera()
429 mException = e; in openCamera()
452 mListener.onCameraError(ERROR_OPENING_CAMERA, mException); in openCamera()
/packages/apps/Dialer/java/com/android/contacts/common/model/
DContact.java64 private final Exception mException; field in Contact
86 mException = exception; in Contact()
130 mException = null; in Contact()
157 mException = from.mException; in Contact()
249 return mException; in getException()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DModel.java270 private final @Nullable Exception mException; field in Model.Update
275 mException = null; in Update()
282 mException = exception; in Update()
297 && mException instanceof AuthenticationRequiredException; in hasAuthenticationException()
303 && mException instanceof CrossProfileException; in hasCrossProfileException()
307 return mException; in getException()
/packages/apps/Contacts/src/com/android/contacts/model/
DContact.java97 private final Exception mException; field in Contact
107 mException = exception; in Contact()
147 mException = null; in Contact()
174 mException = from.mException; in Contact()
283 return mException; in getException()
/packages/modules/AdServices/shared/tests/side-less/java/com/android/adservices/shared/testing/
DSafeActionTest.java33 private final Exception mException = new Exception("D'OH!"); field in SafeActionTest
67 mFakeAction.onExecuteThrows(mException); in testExecute_throws()
86 mFakeAction.onRevertThrows(mException); in testRevert_throws()
157 expect.withMessage("log entry").that(logEntry.throwable).isSameInstanceAs(mException); in expectErrorLogged()
/packages/apps/Settings/src/com/android/settings/network/
DSwitchSlotSidecar.java64 @Nullable private Exception mException; field in SwitchSlotSidecar
104 return mException; in getException()
143 mException = result.exception; in onPostExecute()
/packages/modules/Telephony/services/QualifiedNetworksService/src/com/android/telephony/qns/
DQnsAsyncResult.java22 Throwable mException; field in QnsAsyncResult
29 mException = ex; in QnsAsyncResult()
DQnsRegistrant.java57 internalNotifyRegistrant(ar.mResult, ar.mException); in notifyRegistrant()
DQnsRegistrantList.java127 internalNotifyRegistrants(ar.mResult, ar.mException); in notifyRegistrants()
/packages/services/Car/service/src/com/android/car/
DCarTestService.java149 private IOException mException = null; field in CarTestService.FdEventListener
165 mException = e; in onFileDescriptorEvents()
178 if (mException != null) { in getOutput()
179 throw mException; in getOutput()
/packages/modules/HealthFitness/tests/unittests/src/android/health/connect/
DHealthConnectManagerTest.java365 private final AtomicReference<HealthConnectException> mException = new AtomicReference<>(); field in HealthConnectManagerTest.TestOutcomeReceiver
391 if (mException.get() != null) { in verifyNoExceptionOrThrow()
392 throw mException.get(); in verifyNoExceptionOrThrow()
404 return mException.get(); in assertAndGetException()
415 mException.set(error); in onError()
/packages/modules/Virtualization/tests/helper/src/java/com/android/microdroid/test/device/
DMicrodroidDeviceTestBase.java637 public Exception mException; field in MicrodroidDeviceTestBase.TestResults
659 if (mException != null) { in assertNoException()
662 throw new RuntimeException(mException); in assertNoException()
724 testResults.mException = e; in runVmTestService()
733 testResults.mException = e; in runVmTestService()
741 testResults.mException = e; in runVmTestService()
/packages/modules/OnDevicePersonalization/tests/servicetests/src/com/android/ondevicepersonalization/services/serviceflow/
DWebViewFlowTest.java130 assertThat(mCallback.mException).isInstanceOf(NullPointerException.class); in testNullPayload()
215 Throwable mException; field in WebViewFlowTest.FlowCallback
225 mException = t; in onFailure()
/packages/modules/AdServices/sdksandbox/tests/unittest/src/com/android/server/sdksandbox/
DSerialDexLoaderUnitTest.java336 private Exception mException; field in SerialDexLoaderUnitTest.TestVerificationHandler
354 return mException; in getThrownException()
375 mException = e; in onVerificationErrorForPackage()
/packages/modules/OnDevicePersonalization/tests/cts/endtoend/src/com/android/ondevicepersonalization/cts/e2e/
DIsolatedWorkerTest.java261 IsolatedServiceException mException = null; field in IsolatedWorkerTest.WorkerResultReceiver
268 mException = e; in onError()
/packages/modules/Virtualization/tests/testapk/src/java/com/android/microdroid/test/
DMicrodroidTests.java2065 .that(testResults.mException) in rollbackProtectedDataOfPayload()
2438 assertThat(testResults.mException).isNull(); in testVmDescriptorParcelUnparcel_withTrustedStorage()
2467 assertThat(testResults.mException).isNull(); in testVmDescriptorParcelUnparcel_withTrustedStorage()
2650 assertThat(testResults.mException).isNull(); in dataIsMountedWithNoExec()
2676 assertThat(testResults.mException).isNull(); in encryptedStoreIsMountedWithNoExec()
2802 assertThat(testResults.mException).isNull(); in bootsWithVendorPartition()
2826 assertThat(testResults.mException).isNull(); in bootsWithCustomVendorPartitionForNonPvm()
2881 assertThat(testResults.mException).isNull(); in systemPartitionMountFlags()
2906 assertThat(testResults.mException).isNull(); in pageSize()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DCarPropertyServiceUnitTest.java1378 private Exception mException; field in CarPropertyServiceUnitTest.EventListener
1396 mException = new Exception("timeout waiting for getReadPermission, dead lock?"); in onEvent()
1401 mException = new Exception("waiting for onEvent thread interrupted"); in onEvent()
1408 if (mException != null) { in getEvents()
1409 throw mException; in getEvents()

12