Home
last modified time | relevance | path

Searched refs:mException (Results 1 – 25 of 28) 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.java28 private Exception mException = null; field in ResultReceiver
43 mException = e; in onError()
56 return mException; in getException()
80 if (mException != null) { in getErrorMessage()
81 return mException.getClass().getSimpleName() in getErrorMessage()
82 + ": " + 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/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/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/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/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()
DCellularQualityMonitor.java529 if (ar.mException == null in handleMessage()
/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/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/AdServices/adservices/tests/unittest/framework/src/android/adservices/adselection/
DAdSelectionManagerTest.java331 private Exception mException; field in AdSelectionManagerTest.MockAdIdManager
339 mException = null; in setResult()
347 mException = exception; in setError()
352 return mException; in getError()
362 } else if (mException != null) { in getAdId()
363 callback.onError(mException); in getAdId()
/packages/modules/AdServices/sdksandbox/tests/unittest/src/com/android/server/sdksandbox/
DSerialDexLoaderUnitTest.java167 private Exception mException; field in SerialDexLoaderUnitTest.TestVerificationHandler
185 return mException; in getThrownException()
202 mException = e; in onVerificationErrorForPackage()
/packages/modules/OnDevicePersonalization/tests/servicetests/src/com/android/ondevicepersonalization/services/serviceflow/
DWebViewFlowTest.java104 assertThat(mCallback.mException).isInstanceOf(NullPointerException.class); in testNullPayload()
188 Throwable mException; field in WebViewFlowTest.FlowCallback
198 mException = t; in onFailure()
/packages/modules/Virtualization/tests/helper/src/java/com/android/microdroid/test/device/
DMicrodroidDeviceTestBase.java544 public Exception mException; field in TestResults
561 if (mException != null) { in assertNoException()
564 throw new RuntimeException(mException); in assertNoException()
626 testResults.mException = e; in runVmTestService()
635 testResults.mException = e; in runVmTestService()
643 testResults.mException = e; in runVmTestService()
/packages/modules/OnDevicePersonalization/tests/cts/endtoend/src/com/android/ondevicepersonalization/cts/e2e/
DIsolatedWorkerTest.java223 IsolatedServiceException mException = null; field in IsolatedWorkerTest.WorkerResultReceiver
230 mException = e; in onError()
/packages/modules/Virtualization/tests/testapk/src/java/com/android/microdroid/test/
DMicrodroidTests.java2062 assertThat(testResults.mException).isNull(); in testVmDescriptorParcelUnparcel_withTrustedStorage()
2091 assertThat(testResults.mException).isNull(); in testVmDescriptorParcelUnparcel_withTrustedStorage()
2272 assertThat(testResults.mException).isNull(); in dataIsMountedWithNoExec()
2298 assertThat(testResults.mException).isNull(); in encryptedStoreIsMountedWithNoExec()
2421 assertThat(testResults.mException).isNull(); in bootsWithVendorPartition()
2442 assertThat(testResults.mException).isNull(); in bootsWithCustomVendorPartitionForNonPvm()
2490 assertThat(testResults.mException).isNull(); in systemPartitionMountFlags()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DCarPropertyServiceUnitTest.java1209 private Exception mException; field in CarPropertyServiceUnitTest.EventListener
1227 mException = new Exception("timeout waiting for getReadPermission, dead lock?"); in onEvent()
1232 mException = new Exception("waiting for onEvent thread interrupted"); in onEvent()
1239 if (mException != null) { in getEvents()
1240 throw mException; in getEvents()
/packages/modules/HealthFitness/tests/cts/utils/HealthConnectTestUtils/src/android/healthconnect/cts/utils/
DTestUtils.java1371 private final AtomicReference<E> mException = new AtomicReference<>(); field in TestReceiver
1380 if (mException.get() != null) { in verifyNoExceptionOrThrow()
1381 throw mException.get(); in verifyNoExceptionOrThrow()
1393 mException.set(error); in onError()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/
DFledgeE2ETest.java5371 private Exception mException; field in ResultCapturingCallback
5378 return mException; in getException()
5389 mException = AdServicesStatusUtils.asException(responseParcel); in onFailure()
5401 private Exception mException; field in AppInstallResultCapturingCallback
5409 return mException; in getException()
5425 mException = AdServicesStatusUtils.asException(responseParcel); in onFailure()

12