Home
last modified time | relevance | path

Searched refs:error (Results 1 – 25 of 83) sorted by relevance

1234

/packages/apps/IM/src/com/android/im/imps/
DAsyncTransaction.java52 final void notifyError(ImErrorInfo error) { in notifyError() argument
53 notifyErrorResponse(new ImpsErrorInfo(error.getCode(), error.getDescription(), null)); in notifyError()
63 ImpsErrorInfo error = ImpsUtils.checkResultError(response); in notifyResponse() local
64 if (error != null) { in notifyResponse()
65 notifyErrorResponse(error); in notifyResponse()
71 protected void notifyErrorResponse(ImpsErrorInfo error) { in notifyErrorResponse() argument
72 onResponseError(error); in notifyErrorResponse()
74 notifyAsyncCompletionError(error); in notifyErrorResponse()
83 public abstract void onResponseError(ImpsErrorInfo error); in onResponseError() argument
86 protected void notifyAsyncCompletionError(ImErrorInfo error) { in notifyAsyncCompletionError() argument
[all …]
DImpsConnection.java80 synchronized void shutdownOnError(ImErrorInfo error) { in shutdownOnError() argument
97 setState(mReestablishing ? SUSPENDED: DISCONNECTED, error); in shutdownOnError()
177 ImErrorInfo error = e.getImError(); in doLogin()
178 if(error == null){ in doLogin()
179 error = new ImErrorInfo(ImErrorInfo.UNKNOWN_LOGIN_ERROR, in doLogin()
182 shutdownOnError(error); in doLogin()
251 public TransactionStatus processResponseError(ImpsErrorInfo error) { in processResponseError() argument
252 if (error.getCode() == ImpsConstants.STATUS_UNAUTHORIZED in processResponseError()
253 && error.getPrimitive() != null) { in processResponseError()
256 return sendSecondLogin(error.getPrimitive()); in processResponseError()
[all …]
DImpsContactListManager.java99 public void onResponseError(ImpsErrorInfo error) { in loadContactListsAsync()
101 if (error.getCode() != ImpsConstants.STATUS_NOT_IMPLEMENTED) { in loadContactListsAsync()
104 error, null, null); in loadContactListsAsync()
167 public void onResponseError(ImpsErrorInfo error) { in fetchPresence()
168 ImpsLog.logError("Failed to get presence:" + error.toString()); in fetchPresence()
239 public void onResponseError(ImpsErrorInfo error) { in handleSubscriptionRequest()
243 listener.onApproveSubScriptionError(contact, error); in handleSubscriptionRequest()
245 listener.onDeclineSubScriptionError(contact, error); in handleSubscriptionRequest()
270 public void onError(ImErrorInfo error) { in subscribeToAllListAsync()
272 error, null, null); in subscribeToAllListAsync()
[all …]
DMultiPhaseTransaction.java42 protected void notifyErrorResponse(ImpsErrorInfo error) { in notifyErrorResponse() argument
43 TransactionStatus status = processResponseError(error); in notifyErrorResponse()
49 public abstract TransactionStatus processResponseError(ImpsErrorInfo error); in processResponseError() argument
53 final public void onResponseError(ImpsErrorInfo error) { } in onResponseError() argument
DImpsChatGroupManager.java54 public void onResponseError(ImpsErrorInfo error) { in addGroupMemberAsync()
55 notifyGroupMemberError(group, error); in addGroupMemberAsync()
76 public void onResponseError(ImpsErrorInfo error) { in createChatGroupAsync()
77 notifyGroupError(GroupListener.ERROR_CREATING_GROUP, name, error); in createChatGroupAsync()
102 public void onResponseError(ImpsErrorInfo error) { in deleteChatGroupAsync()
104 group.getName(), error); in deleteChatGroupAsync()
121 public void onResponseError(ImpsErrorInfo error) { in inviteUserAsync()
122 notifyGroupMemberError(group, error); in inviteUserAsync()
152 public void onResponseError(ImpsErrorInfo error) { in sendInvitationResposne()
169 public void onResponseError(ImpsErrorInfo error) { in joinChatGroupAsync()
[all …]
DImpsChatSessionManager.java67 public void onResponseError(ImpsErrorInfo error) { in sendMessageAsync()
68 ses.onSendMessageError(message, error); in sendMessageAsync()
97 ImErrorInfo error = ImpsUtils.checkResultError(primitive); in notifyServerTransaction() local
98 if(error != null) { in notifyServerTransaction()
106 session.onSendMessageError(msgId, error); in notifyServerTransaction()
109 + error); in notifyServerTransaction()
/packages/apps/IM/src/com/android/im/app/adapter/
DConnectionListenerAdapter.java37 public void onConnectionStateChange(IImConnection connection, int state, ImErrorInfo error) { in onConnectionStateChange() argument
39 Log.d(TAG, "onConnectionStateChange(" + state + ", " + error + ")"); in onConnectionStateChange()
43 public void onUpdateSelfPresenceError(IImConnection connection, ImErrorInfo error) { in onUpdateSelfPresenceError() argument
45 Log.d(TAG, "onUpdateSelfPresenceError(" + error + ")"); in onUpdateSelfPresenceError()
56 final int state, final ImErrorInfo error) { in onStateChanged() argument
59 onConnectionStateChange(conn, state, error); in onStateChanged()
65 final ImErrorInfo error) { in onUpdatePresenceError() argument
68 onUpdateSelfPresenceError(conn, error); in onUpdatePresenceError()
DChatListenerAdapter.java52 ImErrorInfo error) { in onSendMessageError() argument
54 Log.d(TAG, "onSendMessageError(" + ses + ", " + msg + ", " + error + ")"); in onSendMessageError()
58 public void onInviteError(IChatSession ses, ImErrorInfo error) { in onInviteError() argument
60 Log.d(TAG, "onInviteError(" + ses + ", " + error + ")"); in onInviteError()
DContactListListenerAdapter.java59 public void onContactError(int errorType, ImErrorInfo error, in onContactError() argument
62 Log.d(TAG, "onContactError(" + errorType + ", " + error + ", " in onContactError()
65 mHandler.showContactError(errorType, error, listName, contact); in onContactError()
DChatSessionListenerAdapter.java37 public void onChatSessionCreateError(String name, ImErrorInfo error) { in onChatSessionCreateError() argument
39 Log.d(TAG, "notifyChatSessionCreateError(" + name + ", " + error + ")"); in onChatSessionCreateError()
/packages/apps/IM/src/com/android/im/app/
DSimpleAlertHandler.java47 ImErrorInfo error = (ImErrorInfo) msg.obj; in promptDisconnectedEvent() local
49 if (error != null) { in promptDisconnectedEvent()
51 provider.mName, ErrorResUtils.getErrorRes(mRes, error.getCode())); in promptDisconnectedEvent()
103 showAlert(R.string.error, R.string.service_error); in showServiceErrorAlert()
106 public void showContactError(int errorType, ImErrorInfo error, in showContactError() argument
127 String errorInfo = ErrorResUtils.getErrorRes(mRes, error.getCode()); in showContactError()
132 showAlert(R.string.error, errorInfo); in showContactError()
/packages/apps/IM/src/com/android/im/engine/
DChatSession.java124 public void onSendMessageError(Message message, ImErrorInfo error) { in onSendMessageError() argument
126 listener.onSendMessageError(this, message, error); in onSendMessageError()
130 public void onSendMessageError(String msgId, ImErrorInfo error) { in onSendMessageError() argument
133 onSendMessageError(msg, error); in onSendMessageError()
138 + error); in onSendMessageError()
DImException.java43 public ImException(ImErrorInfo error) { in ImException() argument
44 super(error.getDescription()); in ImException()
45 mError = error; in ImException()
DImConnection.java149 protected void setState(int state, ImErrorInfo error) { in setState() argument
156 listener.onStateChanged(state, error); in setState()
167 protected void notifyUpdateUserPresenceError(ImErrorInfo error) { in notifyUpdateUserPresenceError() argument
169 listener.onUpdatePresenceError(error); in notifyUpdateUserPresenceError()
DConnectionListener.java34 public void onStateChanged(int state, ImErrorInfo error); in onStateChanged() argument
38 public void onUpdatePresenceError(ImErrorInfo error); in onUpdatePresenceError() argument
DSubscriptionRequestListener.java52 void onApproveSubScriptionError(String contact, ImErrorInfo error); in onApproveSubScriptionError() argument
59 void onDeclineSubScriptionError(String contact, ImErrorInfo error); in onDeclineSubScriptionError() argument
DChatGroupManager.java253 … protected synchronized void notifyGroupError(int errorType, String groupName, ImErrorInfo error) { in notifyGroupError() argument
255 listener.onGroupError(errorType, groupName, error); in notifyGroupError()
295 protected void notifyGroupMemberError(ChatGroup group, ImErrorInfo error) { in notifyGroupMemberError() argument
296 group.notifyGroupMemberError(error); in notifyGroupMemberError()
/packages/apps/IM/src/com/android/im/
DIConnectionListener.aidl26 in ImErrorInfo error); in onStateChanged() argument
31 in ImErrorInfo error); in onUpdatePresenceError() argument
DIChatListener.aidl34 void onSendMessageError(IChatSession ses, in Message msg, in ImErrorInfo error); in onSendMessageError() argument
55 void onInviteError(IChatSession ses, in ImErrorInfo error); in onInviteError() argument
/packages/apps/Phone/src/com/android/phone/
DTimeConsumingPreferenceActivity.java17 public void onError(Preference preference, int error); in onError() argument
128 public void onError(Preference preference, int error) { in onError() argument
130 if (DBG) Log.d(LOG_TAG, "onError, preference=" + preference.getKey() + ", error=" + error); in onError()
131 showDialog(error); in onError()
/packages/apps/Browser/src/com/android/browser/
DErrorConsoleView.java291 ErrorConsoleMessage error = mMessages.get(position); in getView() local
293 if (error == null) { in getView()
305 headline.setText(error.getSourceID() + ":" + error.getLineNumber()); in getView()
306 subText.setText(error.getMessage()); in getView()
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiLayer.java330 error(R.string.error_connecting); in connectToNetwork()
347 error(R.string.error_connecting); in connectToNetwork()
365 error(R.string.error_connecting); in connectToNetwork()
405 error(R.string.error_saving); in saveNetwork()
413 error(R.string.error_saving); in saveNetwork()
421 error(R.string.error_saving); in saveNetwork()
480 error(R.string.error_saving); in forgetNetwork()
539 public void error(int messageResId) { in error() method in WifiLayer
569 error(R.string.error_scanning); in postAttemptScan()
1087 error(R.string.wifi_generic_connection_error); in handleNetworkStateChanged()
[all …]
/packages/inputmethods/PinyinIME/jni/share/
Duserdict.cpp264 goto error; in load_dict()
267 goto error; in load_dict()
279 error: in load_dict()
1042 goto error; in _get_lpis()
1047 goto error; in _get_lpis()
1052 goto error; in _get_lpis()
1057 goto error; in _get_lpis()
1060 goto error; in _get_lpis()
1065 goto error; in _get_lpis()
1070 goto error; in _get_lpis()
[all …]
/packages/apps/IM/libwbxml/src/
Dwbxml_jni.cpp224 goto error; in parserCreate()
229 goto error; in parserCreate()
234 goto error; in parserCreate()
245 error: in parserCreate()
358 goto error; in encoderCreate()
363 goto error; in encoderCreate()
368 goto error; in encoderCreate()
380 error: in encoderCreate()
/packages/apps/IM/src/com/android/im/service/
DChatSessionManagerAdapter.java169 public void notifyChatSessionCreateFailed(final String name, final ImErrorInfo error) { in notifyChatSessionCreateFailed() argument
174 listener.onChatSessionCreateError(name, error); in notifyChatSessionCreateFailed()
192 public void onGroupError(int errorType, String name, ImErrorInfo error) { in onGroupError() argument
194 mSessionListenerAdapter.notifyChatSessionCreateFailed(name, error); in onGroupError()

1234