Home
last modified time | relevance | path

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

123

/packages/apps/VideoEditor/src/com/android/videoeditor/service/
DApiServiceListener.java40 public void onProjectsLoaded(List<VideoEditorProject> projects, Exception exception) {} in onProjectsLoaded() argument
60 List<MediaItem> mediaItems, List<AudioTrack> audioTracks, Exception exception) {} in onVideoEditorCreated() argument
72 List<MediaItem> mediaItems, List<AudioTrack> audioTracks, Exception exception) {} in onVideoEditorLoaded() argument
81 …ublic void onVideoEditorAspectRatioSet(String projectPath, int aspectRatio, Exception exception) {} in onVideoEditorAspectRatioSet() argument
90 public void onVideoEditorThemeApplied(String projectPath, String theme, Exception exception) {} in onVideoEditorThemeApplied() argument
122 Exception exception, boolean cancelled) {} in onVideoEditorExportComplete() argument
138 public void onVideoEditorSaved(String projectPath, Exception exception) {} in onVideoEditorSaved() argument
146 public void onVideoEditorReleased(String projectPath, Exception exception) {} in onVideoEditorReleased() argument
154 public void onVideoEditorDeleted(String projectPath, Exception exception) {} in onVideoEditorDeleted() argument
169 Integer aspectRatio, Exception exception) {} in onMediaItemAdded() argument
[all …]
/packages/apps/VideoEditor/src/com/android/videoeditor/
DVideoEditorBaseActivity.java90 List<MediaItem> mediaItems, List<AudioTrack> audioTracks, Exception exception) { in onVideoEditorCreated() argument
97 if (exception != null) { in onVideoEditorCreated()
115 List<MediaItem> mediaItems, List<AudioTrack> audioTracks, Exception exception) { in onVideoEditorLoaded() argument
121 if (exception != null || project == null) { in onVideoEditorLoaded()
141 Exception exception) { in onVideoEditorAspectRatioSet() argument
151 if (exception != null) { in onVideoEditorAspectRatioSet()
162 Exception exception) { in onVideoEditorThemeApplied() argument
172 if (exception != null) { in onVideoEditorThemeApplied()
237 Exception exception, boolean cancelled) { in onVideoEditorExportComplete() argument
255 if (exception != null) { in onVideoEditorExportComplete()
[all …]
/packages/apps/Email/src/com/android/email/
DRefreshManager.java125 public void onCallback(MessagingException exception, int progress, Clock clock) { in onCallback() argument
126 if (exception == null && progress == 0) { in onCallback()
129 } else if (exception != null || progress == 100) { in onCallback()
358 private String exceptionToString(MessagingException exception) { in exceptionToString() argument
359 if (exception == null) { in exceptionToString()
362 return MessagingExceptionStrings.getErrorString(mContext, exception); in exceptionToString()
370 public void updateMailboxListCallback(MessagingException exception, long accountId, in updateMailboxListCallback() argument
374 + ", " + exceptionToString(exception)); in updateMailboxListCallback()
376 mMailboxListStatus.get(accountId).onCallback(exception, progress, mClock); in updateMailboxListCallback()
377 if (exception != null) { in updateMailboxListCallback()
[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()
DSqlInjectionDetectionTest.java103 private <T extends Exception> void assertQueryThrows(Class<T> exception, final Uri uri, in assertQueryThrows() argument
105 assertThrows(exception, new Runnable() { in assertQueryThrows()
/packages/apps/Phone/src/com/android/phone/
DCallWaitingCheckBoxPreference.java90 if (ar.exception != null) { in handleGetCallWaitingResponse()
92 Log.d(LOG_TAG, "handleGetCallWaitingResponse: ar.exception=" + ar.exception); in handleGetCallWaitingResponse()
96 (CommandException)ar.exception); in handleGetCallWaitingResponse()
122 if (ar.exception != null) { in handleSetCallWaitingResponse()
124 Log.d(LOG_TAG, "handleSetCallWaitingResponse: ar.exception=" + ar.exception); in handleSetCallWaitingResponse()
131 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()
DCdmaVoicePrivacyCheckBoxPreference.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()
DUse2GOnlyCheckBoxPreference.java84 if (ar.exception == null) { in handleGetPreferredNetworkTypeResponse()
96 Log.i(LOG_TAG, "get preferred network type, exception="+ar.exception); in handleGetPreferredNetworkTypeResponse()
104 if (ar.exception != null) { in handleSetPreferredNetworkTypeResponse()
108 Log.i(LOG_TAG, "set preferred network type, exception=" + ar.exception); in handleSetPreferredNetworkTypeResponse()
DNetworkQueryService.java199 int exception = (ar.exception == null) ? QUERY_OK : QUERY_EXCEPTION; in broadcastQueryResults() local
200 if (DBG) log("AsyncResult has exception " + exception); in broadcastQueryResults()
207 cb.onQueryComplete((ArrayList<OperatorInfo>) ar.result, exception); in broadcastQueryResults() local
DCallForwardEditPreference.java195 if (ar.exception != null) { in handleGetCFResponse()
196 if (DBG) Log.d(LOG_TAG, "handleGetCFResponse: ar.exception=" + ar.exception); in handleGetCFResponse()
198 (CommandException) ar.exception); in handleGetCFResponse()
256 if (ar.exception != null) { in handleSetCFResponse()
257 if (DBG) Log.d(LOG_TAG, "handleSetCFResponse: ar.exception=" + ar.exception); in handleSetCFResponse()
262 obtainMessage(MESSAGE_GET_CF, msg.arg1, MESSAGE_SET_CF, ar.exception)); in handleSetCFResponse()
DTimeConsumingPreferenceActivity.java20 public void onException(Preference preference, CommandException exception); in onException() argument
179 public void onException(Preference preference, CommandException exception) { in onException() argument
180 if (exception.getCommandError() == CommandException.Error.FDN_CHECK_FAILURE) { in onException()
DFdnSetting.java246 if (ar.exception != null) {
248 CommandException ce = (CommandException) ar.exception;
269 if (ar.exception != null) {
270 CommandException ce = (CommandException) ar.exception;
DNetworkSetting.java98 if (ar.exception != null) {
100 displayNetworkSelectionFailed(ar.exception);
115 if (ar.exception != null) {
117 displayNetworkSelectionFailed(ar.exception);
DCallFeaturesSetting.java687 if (result != null && result.exception == null) { in switchToPreviousVoicemailProvider()
925 if (ar.exception != null) { in handleForwardingSettingsReadResult()
927 ar.exception.getMessage()); in handleForwardingSettingsReadResult()
928 error = ar.exception; in handleForwardingSettingsReadResult()
1094 if (result.exception != null) {
1096 result.exception.getMessage());
1113 if (entry.getValue().exception == null) {
1154 if (result.exception != null) {
1156 result.exception.getMessage());
1205 Throwable exception = entry.getValue().exception; in checkFwdChangeSuccess() local
[all …]
/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/Mms/src/com/android/mms/ui/
DMmsThumbnailPresenter.java67 public void onItemLoaded(ImageLoaded imageLoaded, Throwable exception) {
68 if (exception == null) {
70 mOnLoadedCallback.onItemLoaded(imageLoaded, exception);
/packages/apps/Contacts/src/com/android/contacts/editor/
DContactEditorUtils.java153 } catch (IllegalArgumentException exception) { in getDefaultAccount()
154 Log.e(TAG, "Error with retrieving default account " + exception.toString()); in getDefaultAccount()
185 } catch (IllegalArgumentException exception) { in getSavedAccounts()
186 Log.e(TAG, "Error with retrieving saved accounts " + exception.toString()); in getSavedAccounts()
/packages/apps/Contacts/src/com/android/contacts/vcard/
DImportProcessor.java26 import com.android.vcard.exception.VCardException;
27 import com.android.vcard.exception.VCardNestedException;
28 import com.android.vcard.exception.VCardNotSupportedException;
29 import com.android.vcard.exception.VCardVersionException;
DNfcImportVCardActivity.java28 import com.android.vcard.exception.VCardException;
29 import com.android.vcard.exception.VCardNestedException;
30 import com.android.vcard.exception.VCardVersionException;
/packages/apps/Browser/src/com/android/browser/search/
DSearchEngines.java63 } catch (IllegalArgumentException exception) { in getSearchEngineInfo()
64 Log.e(TAG, "Cannot load search engine " + name, exception); in getSearchEngineInfo()
/packages/apps/Contacts/src/com/android/contacts/voicemail/
DVoicemailPlaybackPresenter.java323 public void onPostExecute(Exception exception) { in postSuccessfullyFetchedContent()
324 if (exception == null) { in postSuccessfullyFetchedContent()
327 mView.playbackError(exception); in postSuccessfullyFetchedContent()
455 public void onPostExecute(Exception exception) { in resetPrepareStartPlaying()
457 if (exception == null) { in resetPrepareStartPlaying()
474 handleError(exception); in resetPrepareStartPlaying()
/packages/apps/Mms/src/com/android/mms/util/
DPduLoaderManager.java171 Throwable exception = null;
180 exception = e;
184 final Throwable resultException = exception;
DItemLoadedCallback.java31 void onItemLoaded(T result, Throwable exception); in onItemLoaded() argument
/packages/apps/Mms/src/com/android/mms/transaction/
DHttpUtils.java295 private static void handleHttpConnectionException(Exception exception, String url) in handleHttpConnectionException() argument
298 Log.e(TAG, "Url: " + url + "\n" + exception.getMessage()); in handleHttpConnectionException()
299 IOException e = new IOException(exception.getMessage()); in handleHttpConnectionException()
300 e.initCause(exception); in handleHttpConnectionException()

123