Home
last modified time | relevance | path

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

123456789

/frameworks/base/core/java/android/speech/tts/
DUtteranceProgressListener.java48 public abstract void onError(String utteranceId); in onError() method in UtteranceProgressListener
60 public void onError(String utteranceId, int errorCode) { in onError() method in UtteranceProgressListener
61 onError(utteranceId); in onError()
166 public void onError(String utteranceId) { in from() method in UtteranceProgressListener
/frameworks/base/core/java/android/service/trust/
DTrustAgentService.java202 onError("calling onSetTrustAgentFeaturesEnabledCompleted()");
338 private void onError(String msg) { in onError() method in TrustAgentService
410 onError("calling enableTrust()"); in grantTrust()
437 onError("calling revokeTrust()"); in revokeTrust()
459 onError("calling setManagingTrust()"); in setManagingTrust()
487 onError("calling addEscrowToken"); in addEscrowToken()
510 onError("calling isEscrowTokenActive"); in isEscrowTokenActive()
533 onError("callling removeEscrowToken"); in removeEscrowToken()
561 onError("calling unlockUserWithToken"); in unlockUserWithToken()
614 onError("calling setManagingTrust()"); in setCallback()
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/media/
DRemotePlayer.java65 mCallback.onError();
149 public void onError(String error, int code, Bundle data) { in play() method
191 public void onError(String error, int code, Bundle data) { in getStatus() method
220 public void onError(String error, int code, Bundle data) { in pause()
246 public void onError(String error, int code, Bundle data) { in resume()
275 public void onError(String error, int code, Bundle data) { in stop()
316 public void onError(String error, int code, Bundle data) { in remove()
344 public void onError(String error, Bundle data) { in takeSnapshot()
391 public void onError(String error, int code, Bundle data) { in enqueueInternal() method
417 public void onError(String error, int code, Bundle data) { in seekInternal() method
[all …]
DSampleMediaRouteProvider.java327 callback.onError("Failed to take a snapshot", null); in onControlRequest()
396 callback.onError("Failed to open " + uri.toString(), null); in handleEnqueue()
417 callback.onError("Failed to remove" + in handleRemove()
441 callback.onError("Failed to seek" + in handleSeek()
460 callback.onError("Failed to get status" + in handleGetStatus()
476 callback.onError("Failed to pause, sid=" + sid, null); in handlePause()
491 callback.onError("Failed to resume, sid=" + sid, null); in handleResume()
506 callback.onError("Failed to stop, sid=" + sid, null); in handleStop()
526 callback.onError("Failed to start session.", null); in handleStartSession()
543 callback.onError("Failed to get session status, sid=" + sid, null); in handleGetSessionStatus()
[all …]
/frameworks/base/core/java/android/speech/
DSpeechRecognizer.java278 mListener.onError(ERROR_CLIENT); in startListening()
291 mListener.onError(ERROR_CLIENT); in startListening()
348 mListener.onError(ERROR_CLIENT); in handleStartListening()
362 mListener.onError(ERROR_CLIENT); in handleStopMessage()
376 mListener.onError(ERROR_CLIENT); in handleCancelMessage()
384 mListener.onError(ERROR_CLIENT); in checkOpenConnection()
450 mInternalListener.onError((Integer) msg.obj);
483 public void onError(final int error) { in onError() method in SpeechRecognizer.InternalListener
DRecognitionService.java116 listener.onError(SpeechRecognizer.ERROR_RECOGNIZER_BUSY); in dispatchStartListening()
127 listener.onError(SpeechRecognizer.ERROR_CLIENT); in dispatchStopListening()
130 listener.onError(SpeechRecognizer.ERROR_RECOGNIZER_BUSY); in dispatchStopListening()
183 listener.onError(SpeechRecognizer.ERROR_INSUFFICIENT_PERMISSIONS); in checkPermissions()
274 mListener.onError(error); in error()
/frameworks/support/media-compat/api23/android/support/v4/media/
DMediaBrowserCompatApi23.java37 void onError(@NonNull String itemId); in onError() method
59 public void onError(@NonNull String itemId) { in onError() method in MediaBrowserCompatApi23.ItemCallbackProxy
60 mItemCallback.onError(itemId); in onError()
/frameworks/support/media-compat/api26/android/support/v4/media/
DMediaBrowserCompatApi26.java46 void onError(@NonNull String parentId, @NonNull Bundle options); in onError() method
62 public void onError(@NonNull String parentId, @NonNull Bundle options) { in onError() method in MediaBrowserCompatApi26.SubscriptionCallbackProxy
63 mSubscriptionCallback.onError(parentId, options); in onError()
/frameworks/base/telephony/java/android/telephony/mbms/vendor/
DMbmsStreamingServiceBase.java78 public void onError(final int errorCode, final String message) { in initialize()
80 callback.onError(errorCode, message); in initialize()
165 public void onError(final int errorCode, final String message) {
167 callback.onError(errorCode, message);
/frameworks/support/media-compat/java/android/support/v4/media/
DMediaBrowserCompat.java724 public void onError(@NonNull String parentId) { in onError() method in MediaBrowserCompat.SubscriptionCallback
739 public void onError(@NonNull String parentId, @NonNull Bundle options) { in onError() method in MediaBrowserCompat.SubscriptionCallback
774 public void onError(@NonNull String parentId) { in onError() method in MediaBrowserCompat.SubscriptionCallback.StubApi21
775 SubscriptionCallback.this.onError(parentId); in onError()
814 public void onError(@NonNull String parentId, @NonNull Bundle options) { in onError() method in MediaBrowserCompat.SubscriptionCallback.StubApi26
815 SubscriptionCallback.this.onError(parentId, options); in onError()
847 public void onError(@NonNull String itemId) { in onError() method in MediaBrowserCompat.ItemCallback
868 public void onError(@NonNull String itemId) { in onError() method in MediaBrowserCompat.ItemCallback.StubApi23
869 ItemCallback.this.onError(itemId); in onError()
896 public void onError(@NonNull String query, Bundle extras) { in onError() method in MediaBrowserCompat.SearchCallback
[all …]
/frameworks/opt/net/voip/src/java/com/android/server/sip/
DSipSessionGroup.java214 s.onError(SipErrorCode.DATA_CONNECTION_LOST, in onConnectivityChanged()
376 session.onError(e); in process()
530 void onError(int errorCode, String description); in onError() method
579 onError(SipErrorCode.TIME_OUT, "Session timed out!"); in timeout()
691 onError(e); in doCommandAsync()
740 onError(SipErrorCode.IN_PROGRESS, in processCommand()
851 onError(new SipException("dialog terminated")); in processDialogTerminated()
898 onError(SipErrorCode.TRANSACTION_TERMINTED, in processTransactionTerminated()
915 onError(SipErrorCode.TIME_OUT, event.toString()); in processTimeout()
980 onError(SipErrorCode.SERVER_ERROR, in handleAuthentication()
[all …]
/frameworks/base/services/core/java/com/android/server/trust/
DTrustAgentWrapper.java215 onError(e);
234 onError(e);
247 onError(e);
418 private void onError(Exception e) { in onError() method in TrustAgentWrapper
426 onError(e); in onTrustTimeout()
441 onError(e); in onUnlockAttempt()
454 onError(e); in onUnlockLockout()
465 onError(e); in onDeviceLocked()
476 onError(e); in onDeviceUnlocked()
486 onError(e); in setCallback()
[all …]
/frameworks/base/services/core/java/com/android/server/fingerprint/
DClientMonitor.java148 public boolean onError(int error, int vendorCode) { in onError() method in ClientMonitor
151 mReceiver.onError(getHalDeviceId(), error, vendorCode); in onError()
176 onError(FingerprintManager.FINGERPRINT_ERROR_HW_UNAVAILABLE, 0 /* vendorCode */); in binderDied()
184 onError(FingerprintManager.FINGERPRINT_ERROR_HW_UNAVAILABLE, 0 /* vendorCode */); in finalize()
/frameworks/base/services/core/java/com/android/server/broadcastradio/
DTunerCallback.java74 onError(RadioTuner.ERROR_HARDWARE_FAILURE); in handleHwFailure()
79 public void onError(int status) { in onError() method in TunerCallback
80 dispatch(() -> mClientCallback.onError(status)); 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()
/frameworks/base/core/java/android/hardware/camera2/legacy/
DCameraDeviceState.java73 void onError(int errorCode, Object errorArg, RequestHolder holder); in onError() method
185 mCurrentListener.onError(captureError, captureErrorArg, request); in setCaptureResult()
282 … mCurrentListener.onError(mCurrentError, /*errorArg*/null, mCurrentRequest); in doStateTransition()
342 mCurrentListener.onError(error, /*errorArg*/null, mCurrentRequest); in doStateTransition()
/frameworks/base/telephony/java/android/telephony/mbms/
DInternalStreamingSessionCallback.java37 public void onError(final int errorCode, final String message) throws RemoteException { in onError() method in InternalStreamingSessionCallback
45 mAppCallback.onError(errorCode, message); in onError()
DInternalDownloadSessionCallback.java38 public void onError(final int errorCode, final String message) throws RemoteException { in onError() method in InternalDownloadSessionCallback
46 mAppCallback.onError(errorCode, message); in onError()
DInternalStreamingServiceCallback.java34 public void onError(final int errorCode, final String message) throws RemoteException { in onError() method in InternalStreamingServiceCallback
42 mAppCallback.onError(errorCode, message); in onError()
/frameworks/support/media-compat/api21/android/support/v4/media/
DMediaBrowserCompatApi21.java118 void onError(@NonNull String parentId); in onError() method
136 public void onError(@NonNull String parentId) { in onError() method in MediaBrowserCompatApi21.SubscriptionCallbackProxy
137 mSubscriptionCallback.onError(parentId); in onError()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/
DSipPhone.java824 protected void onError(int cause) {
1020 protected abstract void onError(int cause); in onError() method in SipPhone.SipAudioCallAdapter
1037 public void onError(SipAudioCall call, int errorCode, in onError() method in SipPhone.SipAudioCallAdapter
1045 onError(DisconnectCause.SERVER_UNREACHABLE); in onError()
1048 onError(DisconnectCause.NUMBER_UNREACHABLE); in onError()
1051 onError(DisconnectCause.INVALID_NUMBER); in onError()
1055 onError(DisconnectCause.TIMED_OUT); in onError()
1058 onError(DisconnectCause.LOST_SIGNAL); in onError()
1061 onError(DisconnectCause.INVALID_CREDENTIALS); in onError()
1064 onError(DisconnectCause.OUT_OF_NETWORK); in onError()
[all …]
/frameworks/support/v17/leanback/src/android/support/v17/leanback/media/
DMediaPlayerAdapter.java90 public boolean onError(MediaPlayer mp, int what, int extra) {
91 getCallback().onError(MediaPlayerAdapter.this, what,
93 return MediaPlayerAdapter.this.onError(what, extra);
208 protected boolean onError(int what, int extra) { in onError() method in MediaPlayerAdapter
/frameworks/base/media/java/android/media/browse/
DMediaBrowser.java446 cb.onError(mediaId); in getItem()
459 cb.onError(mediaId); in getItem()
464 cb.onError(mediaId); in getItem()
477 cb.onError(mediaId); in getItem()
679 subscriptionCallback.onError(parentId); in onLoadChildren()
685 subscriptionCallback.onError(parentId, options); in onLoadChildren()
927 public void onError(@NonNull String parentId) { in onError() method in MediaBrowser.SubscriptionCallback
942 public void onError(@NonNull String parentId, @NonNull Bundle options) { in onError() method in MediaBrowser.SubscriptionCallback
964 public void onError(@NonNull String mediaId) { in onError() method in MediaBrowser.ItemCallback
/frameworks/opt/net/voip/src/java/android/net/sip/
DSipAudioCall.java158 public void onError(SipAudioCall call, int errorCode, in onError() method in SipAudioCall.Listener
233 listener.onError(this, mErrorCode, mErrorMessage); in setListener()
501 listener.onError(SipAudioCall.this, mErrorCode, in createListener()
510 public void onError(SipSession session, int errorCode, in createListener() method in SipAudioCall
512 SipAudioCall.this.onError(errorCode, message); in createListener()
558 private void onError(int errorCode, String message) {
566 listener.onError(this, errorCode, message);
1001 onError(SipErrorCode.PEER_NOT_REACHABLE, e.getMessage());
1003 onError(SipErrorCode.CLIENT_ERROR, e.getMessage());

123456789