Home
last modified time | relevance | path

Searched refs:onFailure (Results 1 – 25 of 72) sorted by relevance

123

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DDppManager.java84 public void onFailure(int dppStatusCode) {
86 DppManager.this.onFailure(dppStatusCode);
138 onFailure(DppFailureCode.TIMEOUT); in timeoutDppRequest()
165 callback.onFailure(EasyConnectStatusCallback.EASY_CONNECT_EVENT_FAILURE_BUSY); in startDppAsConfiguratorInitiator()
179 callback.onFailure(EasyConnectStatusCallback.EASY_CONNECT_EVENT_FAILURE_GENERIC); in startDppAsConfiguratorInitiator()
195 callback.onFailure(EasyConnectStatusCallback in startDppAsConfiguratorInitiator()
227 callback.onFailure( in startDppAsConfiguratorInitiator()
242 onFailure(EasyConnectStatusCallback.EASY_CONNECT_EVENT_FAILURE_GENERIC); in startDppAsConfiguratorInitiator()
258 onFailure(DppFailureCode.INVALID_URI); in startDppAsConfiguratorInitiator()
281 onFailure(DppFailureCode.FAILURE); in startDppAsConfiguratorInitiator()
[all …]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DDppManagerTest.java154 verify(mDppCallback).onFailure( in testStartDppAsConfiguratorInitiatorWithBadNetworkId()
182 verify(mDppCallback).onFailure( in testStartDppAsConfiguratorInitiatorFailAddPeer()
199 verify(mDppCallback).onFailure( in testStartDppAsEnrolleeInitiatorFailAddPeer()
229 verify(mDppCallback).onFailure(EASY_CONNECT_EVENT_FAILURE_GENERIC); in testStartDppAsConfiguratorInitiatorFailStart()
245 verify(mDppCallback).onFailure(EASY_CONNECT_EVENT_FAILURE_GENERIC); in testStartDppAsEnrolleeInitiatorFailStart()
269 verify(mDppCallback, never()).onFailure(anyInt()); in testStartDppAsConfiguratorInitiatorStartCorrectlyWpa2Psk()
294 verify(mDppCallback, never()).onFailure(anyInt()); in testStartDppAsConfiguratorInitiatorStartCorrectlyWpa3Sae()
318 verify(mDppCallback).onFailure(EASY_CONNECT_EVENT_FAILURE_INVALID_NETWORK); in testStartDppAsConfiguratorInitiatorFailOpenNetwork()
341 verify(mDppCallback).onFailure(EASY_CONNECT_EVENT_FAILURE_INVALID_NETWORK); in testStartDppAsConfiguratorInitiatorFailEapNetwork()
353 verify(mDppCallback, never()).onFailure(anyInt()); in testStartDppAsEnrolleeInitiatorStartCorrectly()
[all …]
DWificondControlTest.java991 verify(mSendMgmtFrameCallback).onFailure(anyInt()); in testSendMgmtFrameNullFrame()
1003 verify(mSendMgmtFrameCallback).onFailure(anyInt()); in testSendMgmtFrameInvalidInterfaceName()
1015 verify(cb1, never()).onFailure(anyInt()); in testSendMgmtFrameCalledTwiceBeforeFinished()
1021 verify(cb2).onFailure(WifiNative.SEND_MGMT_FRAME_ERROR_ALREADY_STARTED); in testSendMgmtFrameCalledTwiceBeforeFinished()
1050 verify(cb).onFailure(anyInt()); in testSendMgmtFrameThrowsException()
1083 verify(cb, never()).onFailure(anyInt()); in testSendMgmtFrameSuccess()
1091 verify(cb, never()).onFailure(anyInt()); in testSendMgmtFrameSuccess()
1115 verify(cb).onFailure(eq(WifiNative.SEND_MGMT_FRAME_ERROR_UNKNOWN)); in testSendMgmtFrameFailure()
1123 verify(cb, times(1)).onFailure(anyInt()); in testSendMgmtFrameFailure()
1147 verify(cb).onFailure(eq(WifiNative.SEND_MGMT_FRAME_ERROR_TIMEOUT)); in testSendMgmtFrameTimeout()
[all …]
/frameworks/base/services/core/java/com/android/server/textclassifier/
DTextClassificationManagerService.java145 callback.onFailure(); in onSuggestSelection()
151 callback::onFailure, callback.asBinder(), this, userState)); in onSuggestSelection()
169 callback.onFailure(); in onClassifyText()
175 callback::onFailure, callback.asBinder(), this, userState)); in onClassifyText()
193 callback.onFailure(); in onGenerateLinks()
199 callback::onFailure, callback.asBinder(), this, userState)); in onGenerateLinks()
261 callback.onFailure(); in onDetectLanguage()
267 callback::onFailure, callback.asBinder(), this, userState)); in onDetectLanguage()
285 callback.onFailure(); in onSuggestConversationActions()
291 callback::onFailure, callback.asBinder(), this, userState)); in onSuggestConversationActions()
/frameworks/base/core/java/android/service/autofill/
DFillCallback.java102 public void onFailure(@Nullable CharSequence message) { in onFailure() method in FillCallback
107 mCallback.onFailure(mRequestId, message); in onFailure()
DSaveCallback.java108 public void onFailure(CharSequence message) { in onFailure() method in SaveCallback
113 mCallback.onFailure(message); in onFailure()
DISaveCallback.aidl28 void onFailure(CharSequence message); in onFailure() method
DIFillCallback.aidl31 void onFailure(int requestId, CharSequence message); in onFailure() method
/frameworks/base/core/java/android/companion/
DCompanionDeviceManager.java91 public abstract void onFailure(CharSequence error); in onFailure() method in CompanionDeviceManager.Callback
290 public void onFailure(CharSequence reason) { in onFailure() method in CompanionDeviceManager.CallbackProxy
291 lockAndPost(Callback::onFailure, reason); in onFailure()
DIFindDeviceCallback.aidl25 void onFailure(in CharSequence reason); in onFailure() method
/frameworks/base/core/java/android/service/attention/
DAttentionService.java169 public void onFailure(@AttentionFailureCodes int error) { in onFailure() method in AttentionService.AttentionCallback
171 mCallback.onFailure(error); in onFailure()
DIAttentionCallback.aidl26 void onFailure(int error); in onFailure() method
/frameworks/base/apct-tests/perftests/autofill/src/android/view/autofill/
DMyAutofillService.java150 callback.onFailure("onSaveRequest() should not have been called"); in onSaveRequest()
203 callback.onFailure(msg); in onError()
209 callback.onFailure(msg); in onError()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/
DOpenDocumentCallback.java36 public void onFailure(int error); in onFailure() method
/frameworks/base/core/java/android/app/backup/
DISelectBackupTransportCallback.aidl40 void onFailure(int reason); in onFailure() method
DSelectBackupTransportCallback.java43 public void onFailure(int reason){} in onFailure() method in SelectBackupTransportCallback
/frameworks/base/wifi/java/android/net/wifi/
DIDppCallback.aidl41 void onFailure(int status); in onFailure() method
DEasyConnectStatusCallback.java170 public abstract void onFailure(@EasyConnectFailureStatusCode int code); in onFailure() method in EasyConnectStatusCallback
/frameworks/base/core/java/android/attention/
DAttentionManagerInternal.java65 public abstract void onFailure(int error); in onFailure() method in AttentionManagerInternal.AttentionCallbackInternal
/frameworks/base/core/java/android/service/textclassifier/
DITextClassifierCallback.aidl28 void onFailure(); in onFailure() method
DTextClassifierService.java389 void onFailure(CharSequence error); in onFailure() method
451 public void onFailure(CharSequence error) { in onFailure() method in TextClassifierService.ProxyCallback
453 mTextClassifierCallback.onFailure(); in onFailure()
/frameworks/base/core/java/android/view/textclassifier/
DSystemTextClassifier.java286 public void onFailure() { in onFailure() method in SystemTextClassifier.BlockingCallback
287 mReceiver.onFailure(); in onFailure()
311 public void onFailure() { in onFailure() method in SystemTextClassifier.ResponseReceiver
/frameworks/base/services/core/java/com/android/server/display/
DWifiDisplayController.java305 public void onFailure(int reason) { in updateWfdEnableState()
327 public void onFailure(int reason) { in updateWfdEnableState()
400 public void onFailure(int reason) { in tryDiscoverPeers()
424 public void onFailure(int reason) { in stopPeerDiscovery()
604 public void onFailure(int reason) { in updateConnection()
642 public void onFailure(int reason) { in updateConnection()
706 public void onFailure(int reason) { in updateConnection()
/frameworks/base/services/core/java/com/android/server/attention/
DAttentionManagerService.java250 public void onFailure(@AttentionFailureCodes int error) { in createAttentionCheck()
253 callbackInternal.onFailure(error); in createAttentionCheck()
451 mCallbackInternal.onFailure(ATTENTION_FAILURE_CANCELLED); in cancelInternal()
495 mCurrentAttentionCheck.mCallbackInternal.onFailure(ATTENTION_FAILURE_UNKNOWN); in handlePendingCallbackLocked()
688 public void onFailure(int error) { in onFailure() method in AttentionManagerService.AttentionManagerServiceShellCommand.TestableAttentionCallbackInternal
/frameworks/base/telephony/java/android/telephony/
DSmsManager.java289 void onFailure(); in onFailure() method
546 public void onFailure() { in sendTextMessageInternal()
660 public void onFailure() { in sendTextMessageInternal()
976 public void onFailure() { in sendMultipartTextMessageInternal()
1211 public void onFailure() { in sendMultipartTextMessageInternal()
1360 public void onFailure() { in sendDataMessage()
1547 resolverResult.onFailure(); in sendResolverResult()

123