Home
last modified time | relevance | path

Searched refs:exception (Results 1 – 25 of 183) sorted by relevance

12345678

/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
DAsyncRunner.java40 public Exception exception; field in AsyncRunner.RunnerResult
82 } catch (Exception exception) { in doInBackground()
83 result.exception = exception; in doInBackground()
90 } catch (Exception exception) { in doInBackground()
91 result.exception = exception; in doInBackground()
113 setException(result.exception); in onPostExecute()
118 } catch (Exception exception) { in onPostExecute()
120 setException(exception); in onPostExecute()
235 synchronized private void setException(Exception exception) { in setException() argument
236 mException = exception; in setException()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DAdnRecordLoader.java155 if (ar.exception != null) { in handleMessage()
157 ar.exception); in handleMessage()
168 ar.exception); in handleMessage()
175 ar.exception); in handleMessage()
187 if (ar.exception != null) { in handleMessage()
189 ar.exception); in handleMessage()
198 if (ar.exception != null) { in handleMessage()
199 throw new RuntimeException("load failed", ar.exception); in handleMessage()
230 if (ar.exception != null) { in handleMessage()
231 throw new RuntimeException("load failed", ar.exception); in handleMessage()
[all …]
DSIMRecords.java380 AsyncResult.forMessage((onComplete)).exception = in setVoiceMailNumber()
404 AsyncResult.forMessage((onComplete)).exception = in setVoiceMailNumber()
641 if (ar.exception != null) { in handleMessage()
642 loge("Exception querying IMSI, Exception:" + ar.exception); in handleMessage()
700 if (ar.exception == null) { in handleMessage()
743 if (ar.exception != null) { in handleMessage()
789 if (ar.exception != null) { in handleMessage()
806 if (ar.exception == null) { in handleMessage()
813 AsyncResult.forMessage(((Message) ar.userObj)).exception in handleMessage()
814 = ar.exception; in handleMessage()
[all …]
DUiccCardApplication.java227 if (ar.exception != null) { in onQueryFdnEnabled()
228 if (DBG) log("Error in querying facility lock:" + ar.exception); in onQueryFdnEnabled()
254 if (ar.exception == null) { in onChangeFdnDone()
260 loge("Error change facility fdn with exception " + ar.exception); in onChangeFdnDone()
264 AsyncResult.forMessage(response).exception = ar.exception; in onChangeFdnDone()
282 if(ar.exception != null) { in onQueryFacilityLock()
283 if (DBG) log("Error in querying facility lock:" + ar.exception); in onQueryFacilityLock()
334 if (ar.exception == null) { in onChangeFacilityLock()
340 loge("Error change facility lock with exception " + ar.exception); in onChangeFacilityLock()
343 AsyncResult.forMessage(response).exception = ar.exception; in onChangeFacilityLock()
[all …]
DAdnRecordCache.java125 AsyncResult.forMessage(response).exception = e; in sendErrorResponse()
290 AsyncResult.forMessage(response).exception in requestLoadAllAdnLike()
314 AsyncResult.forMessage(waiter, ar.result, ar.exception); in notifyWaiters()
337 if (ar.exception == null) { in handleMessage()
348 if (ar.exception == null) { in handleMessage()
356 AsyncResult.forMessage(response, null, ar.exception); in handleMessage()
DRuimRecords.java181 AsyncResult.forMessage((onComplete)).exception = in setVoiceMailNumber()
614 if (ar.exception != null) { in handleMessage()
615 loge("Exception querying IMSI, Exception:" + ar.exception); in handleMessage()
649 if (ar.exception != null) { in handleMessage()
667 if (ar.exception != null) { in handleMessage()
679 if (ar.exception != null) { in handleMessage()
680 Rlog.i(LOG_TAG, "RuimRecords update failed", ar.exception); in handleMessage()
699 if (ar.exception == null) { in handleMessage()
DIccCardProxy.java723 AsyncResult.forMessage(onComplete).exception = e; in supplyPin()
737 AsyncResult.forMessage(onComplete).exception = e; in supplyPuk()
751 AsyncResult.forMessage(onComplete).exception = e; in supplyPin2()
765 AsyncResult.forMessage(onComplete).exception = e; in supplyPuk2()
779 AsyncResult.forMessage(onComplete).exception = e; in supplyNetworkDepersonalization()
829 AsyncResult.forMessage(onComplete).exception = e; in setIccLockEnabled()
843 AsyncResult.forMessage(onComplete).exception = e; in setIccFdnEnabled()
857 AsyncResult.forMessage(onComplete).exception = e; in changeIccLockPassword()
871 AsyncResult.forMessage(onComplete).exception = e; in changeIccFdnPassword()
/frameworks/data-binding/compilationTests/src/test/java/android/databinding/compilationTest/
DMultiLayoutVerificationTest.java54 for (ScopedException exception : exceptions) { in testMultipleLayoutFilesWithNameMismatch()
55 ScopedErrorReport report = exception.getScopedErrorReport(); in testMultipleLayoutFilesWithNameMismatch()
72 "layout/with_class_name"), exception.getBareMessage()); in testMultipleLayoutFilesWithNameMismatch()
85 "layout-land/with_class_name"), exception.getBareMessage()); in testMultipleLayoutFilesWithNameMismatch()
112 for (ScopedException exception : exceptions) { in testMultipleLayoutFilesVariableMismatch()
113 ScopedErrorReport report = exception.getScopedErrorReport(); in testMultipleLayoutFilesVariableMismatch()
143 config + "/layout_with_variable_type"), exception.getBareMessage()); in testMultipleLayoutFilesVariableMismatch()
167 for (ScopedException exception : exceptions) { in testMultipleLayoutFilesImportMismatch()
168 ScopedErrorReport report = exception.getScopedErrorReport(); in testMultipleLayoutFilesImportMismatch()
198 config + "/layout_with_import_type"), exception.getBareMessage()); in testMultipleLayoutFilesImportMismatch()
[all …]
DSimpleCompilationTest.java102 for (ScopedException exception : bindingExceptions) { in testMultipleExceptionsInDifferentFiles()
103 ScopedErrorReport report = exception.getScopedErrorReport(); in testMultipleExceptionsInDifferentFiles()
115 fail("unexpected exception " + exception.getBareMessage()); in testMultipleExceptionsInDifferentFiles()
121 assertEquals(message, exception.getBareMessage()); in testMultipleExceptionsInDifferentFiles()
/frameworks/base/core/tests/utillib/src/android/test/
DBandwidthTestCase.java118 Throwable exception = null; in runMethod() local
124 exception = null; in runMethod()
127 exception = e.getTargetException(); in runMethod()
130 exception = e; in runMethod()
140 } while ((runCount < tolerance) && (isRepetitive || exception != null)); in runMethod()
142 if (exception != null) { in runMethod()
143 throw exception; in runMethod()
/frameworks/base/core/java/android/os/
DRegistrant.java55 notifyException(Throwable exception) in notifyException() argument
57 internalNotifyRegistrant (null, exception); in notifyException()
66 internalNotifyRegistrant (ar.result, ar.exception); in notifyRegistrant()
70 internalNotifyRegistrant (Object result, Throwable exception) in internalNotifyRegistrant() argument
81 msg.obj = new AsyncResult(userObj, result, exception); in internalNotifyRegistrant()
DRegistrantList.java74 internalNotifyRegistrants (Object result, Throwable exception) in internalNotifyRegistrants() argument
78 r.internalNotifyRegistrant(result, exception); in internalNotifyRegistrants()
89 notifyException(Throwable exception) in notifyException() argument
91 internalNotifyRegistrants (null, exception); in notifyException()
104 internalNotifyRegistrants(ar.result, ar.exception); in notifyRegistrants()
DAsyncResult.java29 public Throwable exception; field in AsyncResult
66 exception = ex; in AsyncResult()
/frameworks/base/test-runner/src/android/test/suitebuilder/
DTestSuiteBuilder.java192 } catch (Exception exception) { in build()
193 Log.i("TestSuiteBuilder", "Failed to create test.", exception); in build()
195 suite.addTest(new FailedToCreateTests(exception)); in build()
228 private final Exception exception; field in TestSuiteBuilder.FailedToCreateTests
230 public FailedToCreateTests(Exception exception) { in FailedToCreateTests() argument
232 this.exception = exception; in FailedToCreateTests()
236 throw new RuntimeException("Exception during suite construction", exception); in testSuiteConstructionFailed()
/frameworks/base/core/java/android/test/
DInstrumentationTestCase.java209 Throwable exception = null; in runMethod() local
215 exception = null; in runMethod()
218 exception = e.getTargetException(); in runMethod()
221 exception = e; in runMethod()
231 } while ((runCount < tolerance) && (isRepetitive || exception != null)); in runMethod()
233 if (exception != null) { in runMethod()
234 throw exception; in runMethod()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
DCdmaSubscriptionSourceManager.java129 if (ar.exception == null) { in handleMessage()
140 logw("EVENT_SUBSCRIPTION_STATUS_CHANGED, Exception:" + ar.exception); in handleMessage()
187 if ((ar.exception == null) && (ar.result != null)) { in handleGetCdmaSubscriptionSource()
204 logw("Unable to get CDMA Subscription Source, Exception: " + ar.exception in handleGetCdmaSubscriptionSource()
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/base/
DOutputStreamTarget.java60 } catch (IOException exception) { in process()
62 "OutputStreamTarget: Could not write to stream: " + exception.getMessage() + "!"); in process()
DInputStreamSource.java76 } catch (IOException exception) { in process()
78 "InputStreamSource: Could not read stream: " + exception.getMessage() + "!"); in process()
/frameworks/base/core/java/android/appwidget/
DAppWidgetHostView.java342 Exception exception = null; in updateAppWidget() local
386 exception = e; in updateAppWidget()
396 exception = e; in updateAppWidget()
409 Log.w(TAG, "updateAppWidget couldn't find any view, using error view", exception); in updateAppWidget()
535 Exception exception = null; in getDefaultView() local
563 exception = e; in getDefaultView()
566 if (exception != null) { in getDefaultView()
567 Log.w(TAG, "Error inflating AppWidget " + mInfo + ": " + exception.toString()); in getDefaultView()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhoneMmiCode.java993 if ((ar.exception == null) && (msg.arg1 == 1)) { in handleMessage()
1016 if (ar.exception != null) { in handleMessage()
1104 if (ar.exception != null) { in onSetComplete()
1107 if (ar.exception instanceof CommandException) { in onSetComplete()
1108 CommandException.Error err = ((CommandException)(ar.exception)).getCommandError(); in onSetComplete()
1117 ImsException error = (ImsException) ar.exception; in onSetComplete()
1250 if (ar.exception != null) { in onQueryCfComplete()
1253 if (ar.exception instanceof ImsException) { in onQueryCfComplete()
1254 ImsException error = (ImsException) ar.exception; in onQueryCfComplete()
1314 if (ar.exception != null) { in onSuppSvcQueryComplete()
[all …]
/frameworks/opt/photoviewer/src/com/android/ex/photo/util/
DImageUtils.java113 } catch (FileNotFoundException exception) { in createLocalBitmap()
115 } catch (IOException exception) { in createLocalBitmap()
117 } catch (IllegalArgumentException exception) { in createLocalBitmap()
119 } catch (SecurityException exception) { in createLocalBitmap()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDcSwitchStateMachine.java244 } else if (ar.exception != null) { in processMessage()
245 if (ar.exception instanceof CommandException) { in processMessage()
246 CommandException e = (CommandException)ar.exception; in processMessage()
255 loge("EVENT_DATA_ALLOWED failed, " + ar.exception); in processMessage()
404 } else if (ar.exception != null) { in processMessage()
408 loge("EVENT_DATA_DISALLOWED failed, " + ar.exception); in processMessage()
/frameworks/data-binding/compilerCommon/src/main/xml-gen/android/databinding/parser/
DXMLParser.java122 _localctx.exception = re; in document()
186 _localctx.exception = re; in prolog()
319 _localctx.exception = re; in content()
422 _localctx.exception = re; in element()
471 _localctx.exception = re; in reference()
518 _localctx.exception = re; in attribute()
567 _localctx.exception = re; in chardata()
617 _localctx.exception = re; in misc()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
DUsimDataDownloadHandler.java292 if (ar.exception != null) { in handleMessage()
293 Rlog.e(TAG, "UICC Send Envelope failure, exception: " + ar.exception); in handleMessage()
305 if (ar.exception == null) { in handleMessage()
309 Rlog.d(TAG, "Failed to write SMS-PP message to UICC", ar.exception); in handleMessage()
/frameworks/base/test-runner/src/android/test/
DTestPrinter.java81 public void failed(String className, Throwable exception) { in failed() argument
84 Log.i(mTag, "", exception); in failed()

12345678