Home
last modified time | relevance | path

Searched refs:onError (Results 1 – 25 of 43) sorted by relevance

12

/frameworks/base/core/java/android/speech/
DSpeechRecognizer.java272 mListener.onError(ERROR_CLIENT); in startListening()
285 mListener.onError(ERROR_CLIENT); in startListening()
342 mListener.onError(ERROR_CLIENT); in handleStartListening()
356 mListener.onError(ERROR_CLIENT); in handleStopMessage()
370 mListener.onError(ERROR_CLIENT); in handleCancelMessage()
378 mListener.onError(ERROR_CLIENT); in checkOpenConnection()
436 mInternalListener.onError((Integer) msg.obj);
469 public void onError(final int error) { in onError() method in SpeechRecognizer.InternalListener
DRecognitionService.java101 listener.onError(SpeechRecognizer.ERROR_RECOGNIZER_BUSY); in dispatchStartListening()
112 listener.onError(SpeechRecognizer.ERROR_CLIENT); in dispatchStopListening()
115 listener.onError(SpeechRecognizer.ERROR_RECOGNIZER_BUSY); in dispatchStopListening()
166 listener.onError(SpeechRecognizer.ERROR_INSUFFICIENT_PERMISSIONS); in checkPermissions()
255 mListener.onError(error); in error()
DRecognitionListener.java66 void onError(int error); in onError() method
DIRecognitionListener.aidl64 void onError(in int error); in onError() method
/frameworks/base/voip/java/com/android/server/sip/
DSipSessionGroup.java202 s.onError(SipErrorCode.DATA_CONNECTION_LOST, in onConnectivityChanged()
366 session.onError(e); in process()
501 void onError(int errorCode, String description); in onError() method
546 onError(SipErrorCode.TIME_OUT, "Session timed out!"); in timeout()
650 onError(e); in doCommandAsync()
693 onError(SipErrorCode.IN_PROGRESS, in processCommand()
803 onError(new SipException("dialog terminated")); in processDialogTerminated()
850 onError(SipErrorCode.TRANSACTION_TERMINTED, in processTransactionTerminated()
867 onError(SipErrorCode.TIME_OUT, event.toString()); in processTimeout()
930 onError(SipErrorCode.SERVER_ERROR, in handleAuthentication()
[all …]
DSipSessionListenerProxy.java154 public void onError(final ISipSession session, final int errorCode, in onError() method in SipSessionListenerProxy
160 mListener.onError(session, errorCode, message); in onError()
/frameworks/base/core/java/android/accounts/
DAccountManagerResponse.java50 public void onError(int errorCode, String errorMessage) { in onError() method in AccountManagerResponse
52 mResponse.onError(errorCode, errorMessage); in onError()
DAccountAuthenticatorResponse.java69 public void onError(int errorCode, String errorMessage) { in onError() method in AccountAuthenticatorResponse
74 mAccountAuthenticatorResponse.onError(errorCode, errorMessage); in onError()
DAbstractAccountAuthenticator.java286 response.onError(AccountManager.ERROR_CODE_NETWORK_ERROR, e.getMessage()); in handleException()
291 response.onError(AccountManager.ERROR_CODE_UNSUPPORTED_OPERATION, in handleException()
297 response.onError(AccountManager.ERROR_CODE_BAD_ARGUMENTS, in handleException()
301 response.onError(AccountManager.ERROR_CODE_REMOTE_EXCEPTION, in handleException()
DIAccountManagerResponse.aidl26 void onError(int errorCode, String errorMessage); in onError() method
DIAccountAuthenticatorResponse.aidl27 void onError(int errorCode, String errorMessage); in onError() method
DAccountAuthenticatorActivity.java76 mAccountAuthenticatorResponse.onError(AccountManager.ERROR_CODE_CANCELED, in finish()
DGrantCredentialsPermissionActivity.java112 public void onError(int code, String message) { in onCreate()
178 response.onError(AccountManager.ERROR_CODE_CANCELED, "canceled"); in finish()
DAccountManagerService.java493 onError(AccountManager.ERROR_CODE_REMOTE_EXCEPTION, "remote exception"); in run()
502 response.onError(AccountManager.ERROR_CODE_INVALID_RESPONSE, "null bundle"); in onResult()
997 onError(AccountManager.ERROR_CODE_INVALID_RESPONSE, in getAuthToken()
1300 onError(AccountManager.ERROR_CODE_REMOTE_EXCEPTION, "remote exception"); in checkAccount()
1307 onError(AccountManager.ERROR_CODE_INVALID_RESPONSE, "null bundle"); in onResult()
1510 onError(AccountManager.ERROR_CODE_REMOTE_EXCEPTION, "bind failure"); in bind()
1535 onError(AccountManager.ERROR_CODE_REMOTE_EXCEPTION, in onServiceConnected()
1545 response.onError(AccountManager.ERROR_CODE_REMOTE_EXCEPTION, in onServiceDisconnected()
1562 response.onError(AccountManager.ERROR_CODE_REMOTE_EXCEPTION, in onTimedOut()
1597 response.onError(AccountManager.ERROR_CODE_INVALID_RESPONSE, in onResult()
[all …]
/frameworks/base/telephony/java/com/android/internal/telephony/sip/
DSipPhone.java683 protected void onError(DisconnectCause cause) {
886 protected abstract void onError(Connection.DisconnectCause cause); in onError() method in SipPhone.SipAudioCallAdapter
901 public void onError(SipAudioCall call, int errorCode, in onError() method in SipPhone.SipAudioCallAdapter
905 onError(Connection.DisconnectCause.SERVER_UNREACHABLE); in onError()
908 onError(Connection.DisconnectCause.NUMBER_UNREACHABLE); in onError()
911 onError(Connection.DisconnectCause.INVALID_NUMBER); in onError()
915 onError(Connection.DisconnectCause.TIMED_OUT); in onError()
918 onError(Connection.DisconnectCause.LOST_SIGNAL); in onError()
921 onError(Connection.DisconnectCause.INVALID_CREDENTIALS); in onError()
924 onError(Connection.DisconnectCause.OUT_OF_NETWORK); in onError()
[all …]
/frameworks/base/voip/java/android/net/sip/
DSipAudioCall.java156 public void onError(SipAudioCall call, int errorCode, in onError() method in SipAudioCall.Listener
232 listener.onError(this, mErrorCode, mErrorMessage); in setListener()
500 listener.onError(SipAudioCall.this, mErrorCode, in createListener()
509 public void onError(SipSession session, int errorCode, in createListener() method in SipAudioCall
511 SipAudioCall.this.onError(errorCode, message); in createListener()
557 private void onError(int errorCode, String message) {
565 listener.onError(this, errorCode, message);
986 onError(SipErrorCode.PEER_NOT_REACHABLE, e.getMessage());
988 onError(SipErrorCode.CLIENT_ERROR, e.getMessage());
DSipSession.java184 public void onError(SipSession session, int errorCode, in onError() method in SipSession.Listener
524 public void onError(ISipSession session, int errorCode, String message) { in createListener() method
526 mListener.onError(SipSession.this, errorCode, message); in createListener()
DSipSessionAdapter.java53 public void onError(ISipSession session, int errorCode, String message) { in onError() method in SipSessionAdapter
DISipSessionListener.aidl90 void onError(in ISipSession session, int errorCode, String errorMessage); in onError() method
/frameworks/base/media/java/android/media/
DAudioSystem.java154 void onError(int error); in onError() method
182 errorCallback.onError(error); in errorCallbackFromNative()
DMediaRecorder.java722 void onError(MediaRecorder mr, int what, int extra); in onError() method
887 mOnErrorListener.onError(mMediaRecorder, msg.arg1, msg.arg2); in handleMessage()
/frameworks/base/core/java/android/widget/
DVideoView.java234 mErrorListener.onError(mMediaPlayer, MediaPlayer.MEDIA_ERROR_UNKNOWN, 0); in openVideo()
240 mErrorListener.onError(mMediaPlayer, MediaPlayer.MEDIA_ERROR_UNKNOWN, 0); in openVideo()
352 public boolean onError(MediaPlayer mp, int framework_err, int impl_err) {
362 if (mOnErrorListener.onError(mMediaPlayer, framework_err, impl_err)) {
/frameworks/ex/variablespeed/tests/src/com/android/ex/variablespeed/
DAwaitableErrorListener.java35 public boolean onError(MediaPlayer mp, int what, int extra) { in onError() method in AwaitableErrorListener
/frameworks/base/core/java/android/speech/tts/
DEventLogger.java106 public void onError() { in onError() method in EventLogger
DBlockingMediaPlayer.java112 public boolean onError(MediaPlayer mp, int what, int extra) { in startPlaying()

12