Home
last modified time | relevance | path

Searched refs:exception (Results 1 – 25 of 175) 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.java357 AsyncResult.forMessage((onComplete)).exception = in setVoiceMailNumber()
381 AsyncResult.forMessage((onComplete)).exception = in setVoiceMailNumber()
618 if (ar.exception != null) { in handleMessage()
619 loge("Exception querying IMSI, Exception:" + ar.exception); in handleMessage()
677 if (ar.exception == null) { in handleMessage()
720 if (ar.exception != null) { in handleMessage()
766 if (ar.exception != null) { in handleMessage()
783 if (ar.exception == null) { in handleMessage()
790 AsyncResult.forMessage(((Message) ar.userObj)).exception in handleMessage()
791 = 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()
DUiccController.java270 if (ar.exception != null) { in onGetIccCardStatusDone()
273 + "never return an error", ar.exception); in onGetIccCardStatusDone()
297 if (ar.exception != null) { in onSimRefresh()
298 Rlog.e(LOG_TAG, "Sim REFRESH with exception: " + ar.exception); in onSimRefresh()
DIccCardProxy.java716 AsyncResult.forMessage(onComplete).exception = e; in supplyPin()
730 AsyncResult.forMessage(onComplete).exception = e; in supplyPuk()
744 AsyncResult.forMessage(onComplete).exception = e; in supplyPin2()
758 AsyncResult.forMessage(onComplete).exception = e; in supplyPuk2()
772 AsyncResult.forMessage(onComplete).exception = e; in supplyNetworkDepersonalization()
822 AsyncResult.forMessage(onComplete).exception = e; in setIccLockEnabled()
836 AsyncResult.forMessage(onComplete).exception = e; in setIccFdnEnabled()
850 AsyncResult.forMessage(onComplete).exception = e; in changeIccLockPassword()
864 AsyncResult.forMessage(onComplete).exception = e; in changeIccFdnPassword()
DRuimRecords.java182 AsyncResult.forMessage((onComplete)).exception = in setVoiceMailNumber()
615 if (ar.exception != null) { in handleMessage()
616 loge("Exception querying IMSI, Exception:" + ar.exception); in handleMessage()
650 if (ar.exception != null) { in handleMessage()
668 if (ar.exception != null) { in handleMessage()
680 if (ar.exception != null) { in handleMessage()
681 Rlog.i(LOG_TAG, "RuimRecords update failed", ar.exception); in handleMessage()
700 if (ar.exception == null) { in handleMessage()
/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/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.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.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/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/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()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DIccPhoneBookInterfaceManager.java69 if (ar.exception == null) {
84 mSuccess = (ar.exception == null);
91 if (ar.exception == null) {

1234567