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

123

/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.
318 response.onError(AccountManager.ERROR_CODE_NETWORK_ERROR, e.getMessage());
323 response.onError(AccountManager.ERROR_CODE_UNSUPPORTED_OPERATION,
329 response.onError(AccountManager.ERROR_CODE_BAD_ARGUMENTS,
333 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.java278 mListener.onError(ERROR_CLIENT);
291 mListener.onError(ERROR_CLIENT);
348 mListener.onError(ERROR_CLIENT);
362 mListener.onError(ERROR_CLIENT);
376 mListener.onError(ERROR_CLIENT);
384 mListener.onError(ERROR_CLIENT);
442 mInternalListener.onError((Integer) msg.obj);
475 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/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/opt/net/voip/src/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.java158 public void onError(SipAudioCall call, int errorCode, method in class:SipAudioCall.Listener
166 * not re-directed to this callback and are handled in {@link #onError}.
233 listener.onError(this, mErrorCode, mErrorMessage);
501 listener.onError(SipAudioCall.this, mErrorCode,
510 public void onError(SipSession session, int errorCode,
512 SipAudioCall.this.onError(errorCode, message);
558 private void onError(int errorCode, String message) { method in class:SipAudioCall
559 if (DBG) log("onError: "
566 listener.onError(this, errorCode, message);
568 loge("onError()
[all...]
H A DSipSession.java184 public void onError(SipSession session, int errorCode, method in class:SipSession.Listener
533 public void onError(ISipSession session, int errorCode, String message) {
535 mListener.onError(SipSession.this, errorCode, message);
/frameworks/opt/net/voip/src/java/com/android/server/sip/
H A DSipSessionGroup.java211 // SipSessionImpl removes itself from mSessionMap in onError() in the
214 s.onError(SipErrorCode.DATA_CONNECTION_LOST,
376 session.onError(e);
530 void onError(int errorCode, String description); method in interface:SipSessionGroup.KeepAliveProcessCallback
579 onError(SipErrorCode.TIME_OUT, "Session timed out!");
691 onError(e);
740 onError(SipErrorCode.IN_PROGRESS,
851 onError(new SipException("dialog terminated"));
898 onError(SipErrorCode.TRANSACTION_TERMINTED,
915 onError(SipErrorCod
1410 private void onError(int errorCode, String message) { method in class:SipSessionGroup.SipSessionImpl
1423 private void onError(Throwable exception) { method in class:SipSessionGroup.SipSessionImpl
1428 private void onError(Response response) { method in class:SipSessionGroup.SipSessionImpl
1575 public void onError(ISipSession session, int errorCode, String message) { method in class:SipSessionGroup.SipSessionImpl.SipKeepAlive
1837 public void onError(final int errorCode, final String description) { method in class:SipSessionGroup.KeepAliveProcessCallbackProxy
[all...]
H A DSipSessionListenerProxy.java171 public void onError(final ISipSession session, final int errorCode, method in class:SipSessionListenerProxy
178 mListener.onError(session, errorCode, message);
180 handle(t, "onError()");
/frameworks/ex/camera2/public/src/com/android/ex/camera2/blocking/
H A DBlockingStateListener.java147 public void onError(CameraDevice camera, int error) { method in class:BlockingStateListener
149 if (mProxy != null) mProxy.onError(camera, error);
/frameworks/base/core/java/android/hardware/camera2/
H A DCameraDevice.java758 * An error code that can be reported by {@link #onError}
765 * @see #onError
770 * An error code that can be reported by {@link #onError}
784 * @see #onError
789 * An error code that can be reported by {@link #onError}
794 * @see #onError
799 * An error code that can be reported by {@link #onError}
804 * @see #onError
809 * An error code that can be reported by {@link #onError}
819 * @see #onError
1020 public abstract void onError(CameraDevice camera, int error); // Must implement method in class:CameraDevice.StateListener
[all...]
/frameworks/base/media/java/android/media/
H A DAudioSystem.java169 void onError(int error); method in interface:AudioSystem.ErrorCallback
181 cb.onError(checkAudioFlinger());
195 errorCallback.onError(error);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/
H A DSipPhone.java800 protected void onError(DisconnectCause cause) {
801 if (SCN_DBG) log("onError: " + cause);
992 protected abstract void onError(Connection.DisconnectCause cause); method in class:SipPhone.SipAudioCallAdapter
1009 public void onError(SipAudioCall call, int errorCode, method in class:SipPhone.SipAudioCallAdapter
1012 log("onError: call=" + call + " code="+ SipErrorCode.toString(errorCode)
1017 onError(Connection.DisconnectCause.SERVER_UNREACHABLE);
1020 onError(Connection.DisconnectCause.NUMBER_UNREACHABLE);
1023 onError(Connection.DisconnectCause.INVALID_NUMBER);
1027 onError(Connection.DisconnectCause.TIMED_OUT);
1030 onError(Connectio
[all...]

Completed in 605 milliseconds

123