Searched refs:onError (Results 1 - 25 of 49) sorted by relevance

12

/frameworks/base/core/java/android/accounts/
H A DIAccountAuthenticatorResponse.aidl27 void onError(int errorCode, String errorMessage);
H A DIAccountManagerResponse.aidl26 void onError(int errorCode, String errorMessage);
H A DAccountManagerResponse.java50 public void onError(int errorCode, String errorMessage) { method in class:AccountManagerResponse
52 mResponse.onError(errorCode, errorMessage);
H A DAccountAuthenticatorActivity.java76 mAccountAuthenticatorResponse.onError(AccountManager.ERROR_CODE_CANCELED,
H A DAccountAuthenticatorResponse.java69 public void onError(int errorCode, String errorMessage) { method in class:AccountAuthenticatorResponse
71 Log.v(TAG, "AccountAuthenticatorResponse.onError: " + errorCode + ", " + errorMessage);
74 mAccountAuthenticatorResponse.onError(errorCode, errorMessage);
H A DAbstractAccountAuthenticator.java92 * {@link AccountAuthenticatorResponse#onError} when it is complete.
286 response.onError(AccountManager.ERROR_CODE_NETWORK_ERROR, e.getMessage());
291 response.onError(AccountManager.ERROR_CODE_UNSUPPORTED_OPERATION,
297 response.onError(AccountManager.ERROR_CODE_BAD_ARGUMENTS,
301 response.onError(AccountManager.ERROR_CODE_REMOTE_EXCEPTION,
/frameworks/base/core/java/android/speech/tts/
H A DITextToSpeechCallback.aidl26 void onError(String utteranceId);
H A DUtteranceProgressListener.java39 * be a call to both {@link #onDone(String)} and {@link #onError(String)} for
44 public abstract void onError(String utteranceId); method in class:UtteranceProgressListener
61 public void onError(String utteranceId) {
H A DAudioPlaybackQueueItem.java63 public boolean onError(MediaPlayer mp, int what, int extra) {
H A DEventLogger.java27 * Note that {@link EventLogger#onStopped()} and {@link EventLogger#onError()}
108 public void onError() { method in class:EventLogger
/frameworks/base/core/java/android/speech/
H A DRecognitionListener.java66 void onError(int error); method in interface:RecognitionListener
H A DIRecognitionListener.aidl64 void onError(in int error);
H A DSpeechRecognizer.java272 mListener.onError(ERROR_CLIENT);
285 mListener.onError(ERROR_CLIENT);
342 mListener.onError(ERROR_CLIENT);
356 mListener.onError(ERROR_CLIENT);
370 mListener.onError(ERROR_CLIENT);
378 mListener.onError(ERROR_CLIENT);
436 mInternalListener.onError((Integer) msg.obj);
469 public void onError(final int error) { method in class:SpeechRecognizer.InternalListener
H A DRecognitionService.java101 listener.onError(SpeechRecognizer.ERROR_RECOGNIZER_BUSY);
103 Log.d(TAG, "onError call from startListening failed");
112 listener.onError(SpeechRecognizer.ERROR_CLIENT);
115 listener.onError(SpeechRecognizer.ERROR_RECOGNIZER_BUSY);
120 } catch (RemoteException e) { // occurs if onError fails
121 Log.d(TAG, "onError call from stopListening failed");
166 listener.onError(SpeechRecognizer.ERROR_INSUFFICIENT_PERMISSIONS);
255 mListener.onError(error);
/frameworks/base/voip/java/android/net/sip/
H A DSipSessionAdapter.java53 public void onError(ISipSession session, int errorCode, String message) { method in class:SipSessionAdapter
H A DISipSessionListener.aidl90 void onError(in ISipSession session, int errorCode, String errorMessage);
H A DSipAudioCall.java163 public void onError(SipAudioCall call, int errorCode, method in class:SipAudioCall.Listener
171 * not re-directed to this callback and are handled in {@link #onError}.
239 listener.onError(this, mErrorCode, mErrorMessage);
507 listener.onError(SipAudioCall.this, mErrorCode,
516 public void onError(SipSession session, int errorCode,
518 SipAudioCall.this.onError(errorCode, message);
564 private void onError(int errorCode, String message) { method in class:SipAudioCall
572 listener.onError(this, errorCode, message);
574 Log.i(TAG, "onError(): " + t);
616 * and {@link Listener#onError onErro
[all...]
H A DSipSession.java184 public void onError(SipSession session, int errorCode, method in class:SipSession.Listener
524 public void onError(ISipSession session, int errorCode, String message) {
526 mListener.onError(SipSession.this, errorCode, message);
/frameworks/ex/variablespeed/tests/src/com/android/ex/variablespeed/
H A DAwaitableErrorListener.java35 public boolean onError(MediaPlayer mp, int what, int extra) { method in class:AwaitableErrorListener
/frameworks/base/voip/java/com/android/server/sip/
H A DSipSessionGroup.java218 // SipSessionImpl removes itself from mSessionMap in onError() in the
221 s.onError(SipErrorCode.DATA_CONNECTION_LOST,
377 session.onError(e);
523 void onError(int errorCode, String description); method in interface:SipSessionGroup.KeepAliveProcessCallback
568 onError(SipErrorCode.TIME_OUT, "Session timed out!");
672 onError(e);
715 onError(SipErrorCode.IN_PROGRESS,
825 onError(new SipException("dialog terminated"));
872 onError(SipErrorCode.TRANSACTION_TERMINTED,
889 onError(SipErrorCod
1382 private void onError(int errorCode, String message) { method in class:SipSessionGroup.SipSessionImpl
1395 private void onError(Throwable exception) { method in class:SipSessionGroup.SipSessionImpl
1400 private void onError(Response response) { method in class:SipSessionGroup.SipSessionImpl
1551 public void onError(ISipSession session, int errorCode, String message) { method in class:SipSessionGroup.SipSessionImpl.KeepAliveProcess
1822 public void onError(final int errorCode, final String description) { method in class:SipSessionGroup.KeepAliveProcessCallbackProxy
[all...]
H A DSipSessionListenerProxy.java154 public void onError(final ISipSession session, final int errorCode, method in class:SipSessionListenerProxy
160 mListener.onError(session, errorCode, message);
162 handle(t, "onError()");
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/
H A DSipPhone.java684 protected void onError(DisconnectCause cause) {
887 protected abstract void onError(Connection.DisconnectCause cause); method in class:SipPhone.SipAudioCallAdapter
902 public void onError(SipAudioCall call, int errorCode, method in class:SipPhone.SipAudioCallAdapter
906 onError(Connection.DisconnectCause.SERVER_UNREACHABLE);
909 onError(Connection.DisconnectCause.NUMBER_UNREACHABLE);
912 onError(Connection.DisconnectCause.INVALID_NUMBER);
916 onError(Connection.DisconnectCause.TIMED_OUT);
919 onError(Connection.DisconnectCause.LOST_SIGNAL);
922 onError(Connection.DisconnectCause.INVALID_CREDENTIALS);
925 onError(Connectio
[all...]
/frameworks/base/core/java/android/widget/
H A DVideoView.java251 mErrorListener.onError(mMediaPlayer, MediaPlayer.MEDIA_ERROR_UNKNOWN, 0);
257 mErrorListener.onError(mMediaPlayer, MediaPlayer.MEDIA_ERROR_UNKNOWN, 0);
370 public boolean onError(MediaPlayer mp, int framework_err, int impl_err) {
380 if (mOnErrorListener.onError(mMediaPlayer, framework_err, impl_err)) {
405 /* If we get here, there is no onError listener, so
/frameworks/base/media/java/android/media/
H A DAudioSystem.java161 void onError(int error); method in interface:AudioSystem.ErrorCallback
189 errorCallback.onError(error);
H A DMediaRecorder.java763 void onError(MediaRecorder mr, int what, int extra); method in interface:MediaRecorder.OnErrorListener
928 mOnErrorListener.onError(mMediaRecorder, msg.arg1, msg.arg2);

Completed in 348 milliseconds

12