Home
last modified time | relevance | path

Searched refs:onFailed (Results 1 – 25 of 34) sorted by relevance

12

/frameworks/support/emoji/core/src/androidTest/java/androidx/emoji/text/
DInitCallbackTest.java71 verify(initCallback1, times(1)).onFailed(nullable(Throwable.class)); in testRegisterInitCallback_callsFailCallback()
72 verify(initCallback2, times(1)).onFailed(nullable(Throwable.class)); in testRegisterInitCallback_callsFailCallback()
82 loaderCallback.onFailed(new RuntimeException("")); in testRegisterInitCallback_callsFailCallback_whenOnFailCalledByLoader()
91 verify(initCallback, times(1)).onFailed(nullable(Throwable.class)); in testRegisterInitCallback_callsFailCallback_whenOnFailCalledByLoader()
110 verify(initCallback, times(1)).onFailed(nullable(Throwable.class)); in testRegisterInitCallback_callsFailCallback_whenMetadataRepoIsNull()
147 verify(callbackUnregister, times(0)).onFailed(any(Throwable.class)); in testUnregisterInitCallback_doesNotInteractWithCallback()
148 verify(callbackConfigUnregister, times(0)).onFailed(nullable(Throwable.class)); in testUnregisterInitCallback_doesNotInteractWithCallback()
149 verify(callback, times(1)).onFailed(nullable(Throwable.class)); in testUnregisterInitCallback_doesNotInteractWithCallback()
150 verify(callbackConfig, times(1)).onFailed(nullable(Throwable.class)); in testUnregisterInitCallback_doesNotInteractWithCallback()
DFontRequestEmojiCompatConfigTest.java113 verify(callback, times(1)).onFailed(same(exception)); in testLoad_whenGetFontThrowsException()
129 verify(callback, times(1)).onFailed(argumentCaptor.capture()); in testLoad_providerNotFound()
224 verify(callback, times(1)).onFailed(any(Throwable.class)); in testLoad_retryPolicy()
246 verify(callback, never()).onFailed(any(Throwable.class)); in testLoad_keepRetryingAndGiveUp()
251 verify(callback, times(1)).onFailed(any(Throwable.class)); in testLoad_keepRetryingAndGiveUp()
281 verify(callback, never()).onFailed(any(Throwable.class)); in testLoad_keepRetryingAndFail()
305 verify(callback, times(1)).onFailed(any(Throwable.class)); in testLoad_keepRetryingAndFail()
338 verify(callback, never()).onFailed(any(Throwable.class)); in testLoad_keepRetryingAndSuccess()
362 verify(callback, never()).onFailed(any(Throwable.class)); in testLoad_keepRetryingAndSuccess()
396 verify(callback, never()).onFailed(any(Throwable.class)); in testLoad_ObserverNotifyAndSuccess()
[all …]
DTestConfigBuilder.java76 loaderCallback.onFailed(null); in load()
108 loaderCallback.onFailed(e); in load()
DConfigTest.java114 verify(initCallback1, times(1)).onFailed(any(Throwable.class)); in testInitCallback_callsFailCallback()
115 verify(initCallback2, times(1)).onFailed(any(Throwable.class)); in testInitCallback_callsFailCallback()
/frameworks/base/core/java/com/android/internal/app/
DIVoiceInteractionSessionShowCallback.aidl20 void onFailed(); in onFailed() method
/frameworks/support/samples/SupportEmojiDemos/src/main/java/com/example/android/support/text/emoji/
DConfig.java114 loaderCallback.onFailed(new RuntimeException("Disable")); in resetEmojiCompat()
129 public void onFailed(@Nullable Throwable throwable) { in resetEmojiCompat()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSMSDispatcher.java318 tracker.onFailed(mContext, in handleMessage()
323 tracker.onFailed(mContext, in handleMessage()
329 tracker.onFailed(mContext, RESULT_ERROR_LIMIT_EXCEEDED, 0/*errorCode*/); in handleMessage()
633 tracker.onFailed(mContext, SmsManager.RESULT_ERROR_NO_SERVICE, 0/*errorCode*/); in sendSubmitPdu()
692 tracker.onFailed(mContext, getNotInServiceError(ss), 0/*errorCode*/); in handleSendComplete()
717 tracker.onFailed(mContext, error, errorCode); in handleSendComplete()
1132 tracker.onFailed(mContext, RESULT_ERROR_NO_SERVICE, 0/*errorCode*/); in sendRawPdu()
1138 tracker.onFailed(mContext, RESULT_ERROR_NULL_PDU, 0/*errorCode*/); in sendRawPdu()
1149 tracker.onFailed(mContext, RESULT_ERROR_GENERIC_FAILURE, 0/*errorCode*/); in sendRawPdu()
1161 tracker.onFailed(mContext, RESULT_ERROR_GENERIC_FAILURE, 0/*errorCode*/); in sendRawPdu()
[all …]
DImsSmsDispatcher.java120 tracker.onFailed(mContext, reason, 0 /* errorCode */);
/frameworks/support/emoji/bundled/src/main/java/androidx/emoji/bundled/
DBundledEmojiCompatConfig.java84 mLoaderCallback.onFailed(t); in run()
/frameworks/support/emoji/core/src/main/java/androidx/emoji/text/
DEmojiCompat.java827 public void onFailed(@Nullable Throwable throwable) {
863 public abstract void onFailed(@Nullable Throwable throwable);
1077 mInitCallbacks.get(i).onFailed(mThrowable);
1157 public void onFailed(@Nullable Throwable throwable) {
DFontRequestEmojiCompatConfig.java320 mCallback.onFailed(t); in createMetadata()
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
DVoiceInteractionSessionConnection.java102 public void onFailed() throws RemoteException {
230 showCallback.onFailed(); in showLocked()
440 mPendingShowCallbacks.get(i).onFailed(); in notifyPendingShowCallbacksFailedLocked()
/frameworks/base/wifi/java/android/net/wifi/
DWifiManager.java2389 public abstract void onFailed(int reason);
2608 public void onFailed(int reason) { }; in onFailed() method in LocalOnlyHotspotCallback
2650 callback.onFailed(LocalOnlyHotspotCallback.ERROR_GENERIC); in LocalOnlyHotspotCallbackProxy()
2663 callback.onFailed(reasonCode); in LocalOnlyHotspotCallbackProxy()
3068 listener.onFailed(ERROR); in startWps()
3082 listener.onFailed(ERROR); in cancelWps()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
DCdmaSMSDispatcher.java128 tracker.onFailed(mContext, getNotInServiceError(ss), 0/*errorCode*/); in sendSms()
/frameworks/support/emoji/core/api_legacy/
Dcurrent.txt42 method public void onFailed(java.lang.Throwable);
52 method public abstract void onFailed(java.lang.Throwable);
D26.1.0.txt40 method public void onFailed(java.lang.Throwable);
50 method public abstract void onFailed(java.lang.Throwable);
D27.0.0.txt40 method public void onFailed(java.lang.Throwable);
50 method public abstract void onFailed(java.lang.Throwable);
D26.0.0.txt40 method public void onFailed(java.lang.Throwable);
50 method public abstract void onFailed(java.lang.Throwable);
D28.0.0-alpha1.txt42 method public void onFailed(java.lang.Throwable);
52 method public abstract void onFailed(java.lang.Throwable);
D27.1.0.txt42 method public void onFailed(java.lang.Throwable);
52 method public abstract void onFailed(java.lang.Throwable);
/frameworks/support/emoji/core/api/
Dcurrent.txt47 method public void onFailed(java.lang.Throwable);
57 method public abstract void onFailed(java.lang.Throwable);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
DGsmSMSDispatcher.java192 tracker.onFailed(mContext, getNotInServiceError(ss), 0/*errorCode*/); in sendSms()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/
DGsmSmsDispatcherTest.java257 verify(mSmsTracker, times(1)).onFailed(any(), argumentCaptor.capture(), anyInt()); in testSendRawPduWithEventStopSending()
/frameworks/base/wifi/tests/src/android/net/wifi/
DWifiManagerTest.java207 public void onFailed(int reason) { in onFailed() method in WifiManagerTest.TestLocalOnlyHotspotCallback
241 callback.onFailed(ERROR_TEST_REASON); in testLocalOnlyHotspotCallback()
984 public void onFailed(int reason) { in onFailed() method in WifiManagerTest.WpsCallbackTester
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/
DAssistManager.java70 public void onFailed() throws RemoteException {

12