Home
last modified time | relevance | path

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

12345

/packages/services/Telephony/src/com/android/phone/
DPhoneInterfaceManager.java341 if (ar.exception == null && ar.result != null) { in handleMessage()
410 if (ar.exception == null && ar.result != null) { in handleMessage()
416 } else if (ar.exception instanceof CommandException) { in handleMessage()
418 ar.exception); in handleMessage()
450 if (ar.exception == null && ar.result != null) { in handleMessage()
456 } else if (ar.exception instanceof CommandException) { in handleMessage()
458 ar.exception); in handleMessage()
490 if (ar.exception == null && ar.result != null) { in handleMessage()
518 if (ar.exception == null && ar.result != null) { in handleMessage()
524 } else if (ar.exception instanceof CommandException) { in handleMessage()
[all …]
DCallWaitingSwitchPreference.java88 if (ar.exception instanceof CommandException) { in handleGetCallWaitingResponse()
91 ar.exception); in handleGetCallWaitingResponse()
95 (CommandException)ar.exception); in handleGetCallWaitingResponse()
97 } else if (ar.userObj instanceof Throwable || ar.exception != null) { in handleGetCallWaitingResponse()
100 Log.d(LOG_TAG, "handleGetCallWaitingResponse: Exception" + ar.exception); in handleGetCallWaitingResponse()
125 if (ar.exception != null) { in handleSetCallWaitingResponse()
127 Log.d(LOG_TAG, "handleSetCallWaitingResponse: ar.exception=" + ar.exception); in handleSetCallWaitingResponse()
134 MESSAGE_SET_CALL_WAITING, MESSAGE_SET_CALL_WAITING, ar.exception)); in handleSetCallWaitingResponse()
DCLIRListPreference.java137 if (ar.exception != null) { in handleGetCLIRResponse()
138 if (DBG) Log.d(LOG_TAG, "handleGetCLIRResponse: ar.exception="+ar.exception); in handleGetCLIRResponse()
139 mTcpListener.onException(CLIRListPreference.this, (CommandException) ar.exception); in handleGetCLIRResponse()
160 if (ar.exception != null) { in handleSetCLIRResponse()
161 if (DBG) Log.d(LOG_TAG, "handleSetCallWaitingResponse: ar.exception="+ar.exception); in handleSetCLIRResponse()
167 MESSAGE_SET_CLIR, MESSAGE_SET_CLIR, ar.exception)); in handleSetCLIRResponse()
DCallForwardEditPreference.java205 if (ar.exception != null) { in handleGetCFResponse()
206 if (DBG) Log.d(LOG_TAG, "handleGetCFResponse: ar.exception=" + ar.exception); in handleGetCFResponse()
207 if (ar.exception instanceof CommandException) { in handleGetCFResponse()
209 (CommandException) ar.exception); in handleGetCFResponse()
274 if (ar.exception != null) { in handleSetCFResponse()
275 if (DBG) Log.d(LOG_TAG, "handleSetCFResponse: ar.exception=" + ar.exception); in handleSetCFResponse()
280 obtainMessage(MESSAGE_GET_CF, msg.arg1, MESSAGE_SET_CF, ar.exception)); in handleSetCFResponse()
DCdmaVoicePrivacySwitchPreference.java81 if (ar.exception != null) { in handleGetVPResponse()
82 if (DBG) Log.d(LOG_TAG, "handleGetVPResponse: ar.exception=" + ar.exception); in handleGetVPResponse()
97 if (ar.exception != null) { in handleSetVPResponse()
98 if (DBG) Log.d(LOG_TAG, "handleSetVPResponse: ar.exception=" + ar.exception); in handleSetVPResponse()
DNetworkQueryService.java214 int exception = (ar.exception == null) ? QUERY_OK : QUERY_EXCEPTION; in broadcastQueryResults() local
215 if (DBG) log("AsyncResult has exception " + exception); in broadcastQueryResults()
222 cb.onQueryComplete((ArrayList<OperatorInfo>) ar.result, exception); in broadcastQueryResults() local
DTimeConsumingPreferenceActivity.java20 public void onException(Preference preference, CommandException exception); in onException() argument
195 public void onException(Preference preference, CommandException exception) { in onException() argument
196 if (exception.getCommandError() == CommandException.Error.FDN_CHECK_FAILURE) { in onException()
198 } else if (exception.getCommandError() == CommandException.Error.RADIO_NOT_AVAILABLE) { in onException()
/packages/services/Telephony/src/com/android/phone/settings/
DVoicemailSettingsActivity.java728 if (ar.exception != null) { in handleForwardingSettingsReadResult()
729 error = ar.exception; in handleForwardingSettingsReadResult()
827 if (result.exception != null) {
829 result.exception.getMessage());
843 if (entry.getValue().exception == null) {
887 if (result.exception != null) {
889 result.exception.getMessage());
956 if (result != null && result.exception == null) { in switchToPreviousVoicemailProvider()
1107 Throwable exception = result.exception; in isFwdChangeSuccess() local
1108 if (exception != null) { in isFwdChangeSuccess()
[all …]
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DEvenMoreAsserts.java39 public static <T extends Exception> void assertThrows(Class<T> exception, Runnable r) { in assertThrows() argument
40 assertThrows(null, exception, r); in assertThrows()
43 public static <T extends Exception> void assertThrows(String message, Class<T> exception, in assertThrows() argument
51 if (!exception.isInstance(caught)) { in assertThrows()
52 Assert.fail(appendUserMessage("Exception " + exception + " expected but " + in assertThrows()
58 "Exception " + exception + " expected but no exception was thrown.", in assertThrows()
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/action/
DActionTestHelpers.java128 public final Exception exception; field in ActionTestHelpers.StubActionService.StubActionServiceCallLog
134 final Exception exception, in StubActionServiceCallLog() argument
139 this.exception = exception; in StubActionServiceCallLog()
170 final Exception exception) { in handleFailureFromBackgroundWorker() argument
171 mServiceCalls.add(new StubActionServiceCallLog(null, request, null, exception, null)); in handleFailureFromBackgroundWorker()
/packages/experimental/CameraPreviewTest/src/com/example/android/videochatcameratest/
DVideoChatTestActivity.java329 } catch (IOException exception) { in TestCamera()
331 status = exception.toString(); in TestCamera()
409 } catch (RuntimeException exception) { in TestCamera()
411 status = exception.toString(); in TestCamera()
424 } catch (InterruptedException exception) { in TestCamera()
426 status = exception.toString(); in TestCamera()
453 } catch (IOException exception) { in TestCamera()
455 status = exception.toString(); in TestCamera()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DModel.java121 if (result.exception != null) { in update()
122 Log.e(TAG, "Error while loading directory contents", result.exception); in update()
123 notifyUpdateListeners(result.exception); in update()
298 public Update(Exception exception, boolean remoteActionsEnabled) { in Update() argument
299 assert(exception != null); in Update()
301 mException = exception; in Update()
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/
DCarApiUtilTest.java66 } catch (Exception exception) { in testCheckCarNotConnectedExceptionFromCarService()
67 resultException = exception; in testCheckCarNotConnectedExceptionFromCarService()
75 } catch (Exception exception) { in testCheckCarNotConnectedExceptionFromCarService()
76 resultException = exception; in testCheckCarNotConnectedExceptionFromCarService()
/packages/services/Telephony/src/com/android/phone/settings/fdn/
DFdnSetting.java250 if (ar.exception != null) {
251 if (ar.exception instanceof CommandException) {
255 ((CommandException) ar.exception).getCommandError();
286 if (ar.exception != null) {
287 if (ar.exception instanceof CommandException) {
291 CommandException ce = (CommandException) ar.exception;
/packages/apps/Dialer/java/com/android/contacts/common/model/
DContact.java81 private Contact(Uri requestedUri, Contact.Status status, Exception exception) { in Contact() argument
82 if (status == Status.ERROR && exception == null) { in Contact()
86 mException = exception; in Contact()
189 public static Contact forError(Uri requestedUri, Exception exception) { in forError() argument
190 return new Contact(requestedUri, Status.ERROR, exception); in forError()
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
DContentProviderTask.java51 public final Exception exception; field in ContentProviderTask.Result
59 private Result(Exception exception, ContentProviderResult[] results) { in Result() argument
60 this.exception = exception; in Result()
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/
DBackgroundWorkerService.java151 } catch (final Exception exception) { in doBackgroundWork()
153 LogUtil.e(TAG, "Error in background worker", exception); in doBackgroundWork()
154 if (!(exception instanceof DataModelException)) { in doBackgroundWork()
164 mHost.handleFailureFromBackgroundWorker(action, exception); in doBackgroundWork()
/packages/services/Telephony/src/com/android/services/telephony/
DTtyManager.java47 if (ar.exception != null) {
48 Log.d(TtyManager.this, "setTTYMode exception: %s", ar.exception);
56 if (ar.exception != null) {
57 Log.d(TtyManager.this, "queryTTYMode exception: %s", ar.exception);
/packages/apps/Contacts/src/com/android/contacts/model/
DContact.java102 private Contact(Uri requestedUri, Contact.Status status, Exception exception) { in Contact() argument
103 if (status == Status.ERROR && exception == null) { in Contact()
107 mException = exception; in Contact()
130 public static Contact forError(Uri requestedUri, Exception exception) { in forError() argument
131 return new Contact(requestedUri, Status.ERROR, exception); in forError()
/packages/apps/Messaging/src/com/android/messaging/ui/
DAudioAttachmentView.java207 private void onAudioReplayError(final int what, final int extra, final Exception exception) { in onAudioReplayError() argument
208 if (exception == null) { in onAudioReplayError()
212 LogUtil.e(LogUtil.BUGLE_TAG, "audio replay failed, exception=" + exception); in onAudioReplayError()
272 } catch (final Exception exception) { in setupMediaPlayer()
273 onAudioReplayError(0, 0, exception); in setupMediaPlayer()
/packages/apps/UnifiedEmail/src/org/apache/commons/io/
DFileUtils.java1044 IOException exception = null; in cleanDirectory() local
1050 exception = ioe; in cleanDirectory()
1054 if (null != exception) { in cleanDirectory()
1055 throw exception; in cleanDirectory()
1454 IOException exception = null; in cleanDirectoryOnExit() local
1460 exception = ioe; in cleanDirectoryOnExit()
1464 if (null != exception) { in cleanDirectoryOnExit()
1465 throw exception; in cleanDirectoryOnExit()
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/
DPersonItemData.java32 void onPersonDataFailed(PersonItemData data, Exception exception); in onPersonDataFailed() argument
57 protected void notifyDataFailed(final Exception exception) { in notifyDataFailed() argument
59 mListener.onPersonDataFailed(this, exception); in notifyDataFailed()
/packages/apps/Messaging/src/com/android/messaging/datamodel/
DParticipantRefresh.java279 } catch (final Exception exception) { in refreshParticipants()
283 "update participant", exception); in refreshParticipants()
477 } catch (final Exception exception) { in refreshFromSelfProfile()
481 "participant. exception=" + exception); in refreshFromSelfProfile()
555 } catch (final Exception exception) { in refreshFromContacts()
559 "participant. exception=" + exception); in refreshFromContacts()
/packages/apps/Messaging/src/com/android/messaging/datamodel/media/
DVCardRequest.java36 import com.android.vcard.exception.VCardException;
37 import com.android.vcard.exception.VCardNestedException;
38 import com.android.vcard.exception.VCardNotSupportedException;
39 import com.android.vcard.exception.VCardVersionException;
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppLauncherActivity.java158 } catch (IllegalArgumentException exception) { in onCreate()
159 showToast(exception.getMessage()); in onCreate()
389 } catch (IllegalArgumentException exception) { in sendFileInfo()
390 showToast(exception.getMessage()); in sendFileInfo()

12345