Home
last modified time | relevance | path

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

1234567

/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.java143 if (ar.exception != null) { in handleMessage()
145 ar.exception); in handleMessage()
156 ar.exception); in handleMessage()
163 ar.exception); in handleMessage()
174 if (ar.exception != null) { in handleMessage()
176 ar.exception); in handleMessage()
185 if (ar.exception != null) { in handleMessage()
186 throw new RuntimeException("load failed", ar.exception); in handleMessage()
217 if (ar.exception != null) { in handleMessage()
218 throw new RuntimeException("load failed", ar.exception); in handleMessage()
[all …]
DSIMRecords.java360 AsyncResult.forMessage((onComplete)).exception = in setVoiceMailNumber()
384 AsyncResult.forMessage((onComplete)).exception = in setVoiceMailNumber()
604 if (ar.exception != null) { in handleMessage()
605 loge("Exception querying IMSI, Exception:" + ar.exception); in handleMessage()
663 if (ar.exception == null) { in handleMessage()
706 if (ar.exception != null) { in handleMessage()
752 if (ar.exception != null) { in handleMessage()
770 AsyncResult.forMessage(((Message) ar.userObj)).exception in handleMessage()
771 = ar.exception; in handleMessage()
782 if (ar.exception != null) { in handleMessage()
[all …]
DUiccCardApplication.java223 if (ar.exception != null) { in onQueryFdnEnabled()
224 if (DBG) log("Error in querying facility lock:" + ar.exception); in onQueryFdnEnabled()
250 if (ar.exception == null) { in onChangeFdnDone()
256 loge("Error change facility fdn with exception " + ar.exception); in onChangeFdnDone()
260 AsyncResult.forMessage(response).exception = ar.exception; in onChangeFdnDone()
278 if(ar.exception != null) { in onQueryFacilityLock()
279 if (DBG) log("Error in querying facility lock:" + ar.exception); in onQueryFacilityLock()
330 if (ar.exception == null) { in onChangeFacilityLock()
336 loge("Error change facility lock with exception " + ar.exception); in onChangeFacilityLock()
339 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.java177 AsyncResult.forMessage((onComplete)).exception = in setVoiceMailNumber()
485 if (ar.exception != null) { in handleMessage()
486 loge("Exception querying IMSI, Exception:" + ar.exception); in handleMessage()
520 if (ar.exception != null) { in handleMessage()
538 if (ar.exception != null) { in handleMessage()
550 if (ar.exception != null) { in handleMessage()
551 Rlog.i(LOG_TAG, "RuimRecords update failed", ar.exception); in handleMessage()
570 if (ar.exception == null) { in handleMessage()
DIccCardProxy.java697 AsyncResult.forMessage(onComplete).exception = e; in supplyPin()
711 AsyncResult.forMessage(onComplete).exception = e; in supplyPuk()
725 AsyncResult.forMessage(onComplete).exception = e; in supplyPin2()
739 AsyncResult.forMessage(onComplete).exception = e; in supplyPuk2()
753 AsyncResult.forMessage(onComplete).exception = e; in supplyNetworkDepersonalization()
803 AsyncResult.forMessage(onComplete).exception = e; in setIccLockEnabled()
817 AsyncResult.forMessage(onComplete).exception = e; in setIccFdnEnabled()
831 AsyncResult.forMessage(onComplete).exception = e; in changeIccLockPassword()
845 AsyncResult.forMessage(onComplete).exception = e; in changeIccFdnPassword()
/frameworks/base/core/java/android/net/http/
DConnection.java161 Exception exception = null; in processRequests() local
236 exception = e; in processRequests()
239 exception = e; in processRequests()
242 exception = e; in processRequests()
245 if (exception != null) { in processRequests()
246 if (httpFailure(req, error, exception) && in processRequests()
252 exception = null; in processRequests()
284 exception = e; in processRequests()
287 exception = e; in processRequests()
290 exception = e; in processRequests()
[all …]
/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/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/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/testing/espresso/espresso-lib/src/main/java/com/google/android/apps/common/testing/ui/espresso/
DNoMatchingViewException.java94 public Builder from(NoMatchingViewException exception) { in from() argument
95 this.viewMatcher = exception.viewMatcher; in from()
96 this.rootView = exception.rootView; in from()
97 this.adapterViews = exception.adapterViews; in from()
98 this.adapterViewWarning = exception.adapterViewWarning; in from()
99 this.includeViewHierarchy = exception.includeViewHierarchy; in from()
DAmbiguousViewMatcherException.java92 public Builder from(AmbiguousViewMatcherException exception) { in from() argument
93 this.viewMatcher = exception.viewMatcher; in from()
94 this.rootView = exception.rootView; in from()
95 this.view1 = exception.view1; in from()
96 this.view2 = exception.view2; in from()
97 this.others = exception.others; in from()
/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/base/tools/layoutlib/bridge/src/android/view/
DBridgeInflater.java114 ClassNotFoundException exception = new ClassNotFoundException("onCreateView", e); in onCreateView()
115 throw exception; in onCreateView()
136 InflateException exception = new InflateException(); in createViewFromTag()
138 exception.initCause(e2); in createViewFromTag()
140 exception.initCause(e); in createViewFromTag()
142 throw exception; in createViewFromTag()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
DCdmaSubscriptionSourceManager.java128 if (ar.exception == null) { in handleMessage()
139 logw("EVENT_SUBSCRIPTION_STATUS_CHANGED, Exception:" + ar.exception); in handleMessage()
184 if ((ar.exception == null) && (ar.result != null)) { in handleGetCdmaSubscriptionSource()
201 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/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/base/core/java/android/appwidget/
DAppWidgetHostView.java344 Exception exception = null; in updateAppWidget() local
388 exception = e; in updateAppWidget()
398 exception = e; in updateAppWidget()
411 Log.w(TAG, "updateAppWidget couldn't find any view, using error view", exception); in updateAppWidget()
537 Exception exception = null; in getDefaultView() local
565 exception = e; in getDefaultView()
568 if (exception != null) { in getDefaultView()
569 Log.w(TAG, "Error inflating AppWidget " + mInfo + ": " + exception.toString()); in getDefaultView()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhoneMmiCode.java992 if ((ar.exception == null) && (msg.arg1 == 1)) { in handleMessage()
1015 if (ar.exception != null) { in handleMessage()
1103 if (ar.exception != null) { in onSetComplete()
1106 if (ar.exception instanceof CommandException) { in onSetComplete()
1107 CommandException.Error err = ((CommandException)(ar.exception)).getCommandError(); in onSetComplete()
1116 ImsException error = (ImsException) ar.exception; in onSetComplete()
1249 if (ar.exception != null) { in onQueryCfComplete()
1252 if (ar.exception instanceof ImsException) { in onQueryCfComplete()
1253 ImsException error = (ImsException) ar.exception; in onQueryCfComplete()
1313 if (ar.exception != null) { in onSuppSvcQueryComplete()
[all …]
/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()

1234567