Home
last modified time | relevance | path

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

123

/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/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/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/services/Telephony/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()
DCallFeaturesSetting.java700 if (result != null && result.exception == null) { in switchToPreviousVoicemailProvider()
945 if (ar.exception != null) { in handleForwardingSettingsReadResult()
947 ar.exception.getMessage()); in handleForwardingSettingsReadResult()
948 error = ar.exception; in handleForwardingSettingsReadResult()
1114 if (result.exception != null) {
1116 result.exception.getMessage());
1133 if (entry.getValue().exception == null) {
1174 if (result.exception != null) {
1176 result.exception.getMessage());
1225 Throwable exception = entry.getValue().exception; in checkFwdChangeSuccess() local
[all …]
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()
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()
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
DFdnSetting.java246 if (ar.exception != null && ar.exception instanceof CommandException) {
250 ((CommandException) ar.exception).getCommandError();
278 if (ar.exception != null) {
282 CommandException ce = (CommandException) ar.exception;
DNetworkSetting.java98 if (ar.exception != null) {
100 displayNetworkSelectionFailed(ar.exception);
122 if (ar.exception != null) {
124 displayNetworkSelectionFailed(ar.exception);
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()
/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/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/Dialer/src/com/android/dialer/voicemail/
DVoicemailPlaybackPresenter.java323 public void onPostExecute(Exception exception) { in postSuccessfullyFetchedContent()
324 if (exception == null) { in postSuccessfullyFetchedContent()
327 mView.playbackError(exception); in postSuccessfullyFetchedContent()
462 public void onPostExecute(Exception exception) { in onPostExecute() argument
464 if (exception == null) { in onPostExecute()
488 handleError(exception); in onPostExecute()
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/
DContact.java98 private Contact(Uri requestedUri, Contact.Status status, Exception exception) { in Contact() argument
99 if (status == Status.ERROR && exception == null) { in Contact()
103 mException = exception; in Contact()
127 public static Contact forError(Uri requestedUri, Exception exception) { in forError() argument
128 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/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/ContactsCommon/src/com/android/contacts/common/vcard/
DImportProcessor.java31 import com.android.vcard.exception.VCardException;
32 import com.android.vcard.exception.VCardNestedException;
33 import com.android.vcard.exception.VCardNotSupportedException;
34 import com.android.vcard.exception.VCardVersionException;
DNfcImportVCardActivity.java43 import com.android.vcard.exception.VCardException;
44 import com.android.vcard.exception.VCardNestedException;
45 import com.android.vcard.exception.VCardVersionException;
/packages/apps/Mms/src/com/android/mms/transaction/
DHttpUtils.java292 private static void handleHttpConnectionException(Exception exception, String url) in handleHttpConnectionException() argument
295 Log.e(TAG, "Url: " + url + "\n" + exception.getMessage()); in handleHttpConnectionException()
296 IOException e = new IOException(exception.getMessage()); in handleHttpConnectionException()
297 e.initCause(exception); in handleHttpConnectionException()
/packages/apps/Mms/src/com/android/mms/ui/
DMmsThumbnailPresenter.java64 public void onItemLoaded(ImageLoaded imageLoaded, Throwable exception) {
65 if (exception == null) {
72 mOnLoadedCallback.onItemLoaded(imageLoaded, exception);
/packages/apps/Mms/src/com/android/mms/util/
DPduLoaderManager.java182 Throwable exception = null; in run() local
191 exception = e; in run()
195 final Throwable resultException = exception; in run()
/packages/apps/LegacyCamera/src/com/android/camera/
DEffectsRecorder.java300 public void onEffectsError(Exception exception, String filePath); in onEffectsError() argument
870 private void raiseError(final Exception exception) { in raiseError() argument
875 mEffectsListener.onEffectsError(exception, null); in raiseError()
877 mEffectsListener.onEffectsError(exception, mOutputFile); in raiseError()
/packages/apps/Settings/src/com/android/settings/
DRadioInfo.java195 if (ar.exception == null) {
209 if (ar.exception != null) {
216 if (ar.exception == null) {
224 if (ar.exception != null) {
233 if (ar.exception != null) {

123