Home
last modified time | relevance | path

Searched refs:errorCode (Results 1 – 25 of 38) sorted by relevance

12

/frameworks/base/telephony/java/com/android/internal/telephony/
DSmsResponse.java33 int errorCode; field in SmsResponse
35 public SmsResponse(int messageRef, String ackPdu, int errorCode) { in SmsResponse() argument
38 this.errorCode = errorCode; in SmsResponse()
43 + ", errorCode = " + errorCode in toString()
/frameworks/base/core/java/android/nfc/tech/
DNdefFormatable.java127 int errorCode = tagService.formatNdef(serviceHandle, MifareClassic.KEY_DEFAULT); in format() local
128 switch (errorCode) { in format()
141 errorCode = tagService.ndefWrite(serviceHandle, firstMessage); in format()
142 switch (errorCode) { in format()
158 errorCode = tagService.ndefMakeReadOnly(serviceHandle); in format()
159 switch (errorCode) { in format()
DNdef.java266 int errorCode = tagService.getLastError(serviceHandle); in getNdefMessage() local
267 switch (errorCode) { in getNdefMessage()
308 int errorCode = tagService.ndefWrite(serviceHandle, msg); in writeNdefMessage() local
309 switch (errorCode) { in writeNdefMessage()
368 int errorCode = tagService.ndefMakeReadOnly(mTag.getServiceHandle()); in makeReadOnly() local
369 switch (errorCode) { in makeReadOnly()
DBasicTagTechnology.java73 int errorCode = mTag.getTagService().connect(mTag.getServiceHandle(), in connect() local
76 if (errorCode == ErrorCodes.SUCCESS) { in connect()
97 int errorCode = mTag.getTagService().reconnect(mTag.getServiceHandle()); in reconnect() local
99 if (errorCode != ErrorCodes.SUCCESS) { in reconnect()
/frameworks/base/core/java/com/android/internal/nfc/
DLlcpServiceSocket.java48 static LlcpException convertErrorToLlcpException(int errorCode) { in convertErrorToLlcpException() argument
49 return convertErrorToLlcpException(errorCode, null); in convertErrorToLlcpException()
52 static LlcpException convertErrorToLlcpException(int errorCode, in convertErrorToLlcpException() argument
60 switch (errorCode) { in convertErrorToLlcpException()
68 return new LlcpException("Unkown error code " + errorCode + message); in convertErrorToLlcpException()
DLlcpSocket.java45 static LlcpException convertErrorToLlcpException(int errorCode) { in convertErrorToLlcpException() argument
46 return convertErrorToLlcpException(errorCode, null); in convertErrorToLlcpException()
49 static LlcpException convertErrorToLlcpException(int errorCode, in convertErrorToLlcpException() argument
57 switch (errorCode) { in convertErrorToLlcpException()
68 return new LlcpException("Unkown error code " + errorCode + message); in convertErrorToLlcpException()
/frameworks/base/media/libeffects/lvm/lib/SpectrumAnalyzer/src/
DLVPSA_Init.c48 LVPSA_RETURN errorCode = LVPSA_OK; in LVPSA_Init() local
173 errorCode = LVPSA_Control (*phInstance, pControlParams); in LVPSA_Init()
175 if(errorCode!=0) in LVPSA_Init()
177 return errorCode; in LVPSA_Init()
180 errorCode = LVPSA_ApplyNewSettings (pLVPSA_Inst); in LVPSA_Init()
182 if(errorCode!=0) in LVPSA_Init()
184 return errorCode; in LVPSA_Init()
187 return(errorCode); in LVPSA_Init()
/frameworks/base/packages/VpnServices/src/com/android/server/vpn/
DVpnConnectingError.java27 VpnConnectingError(int errorCode) { in VpnConnectingError() argument
28 super("Connecting error: " + errorCode); in VpnConnectingError()
29 mErrorCode = errorCode; in VpnConnectingError()
/frameworks/base/voip/java/android/net/sip/
DSipSession.java170 public void onError(SipSession session, int errorCode, in onError() argument
181 public void onCallChangeFailed(SipSession session, int errorCode, in onCallChangeFailed() argument
209 public void onRegistrationFailed(SipSession session, int errorCode, in onRegistrationFailed() argument
492 public void onCallChangeFailed(ISipSession session, int errorCode, in createListener() argument
495 mListener.onCallChangeFailed(SipSession.this, errorCode, in createListener()
500 public void onError(ISipSession session, int errorCode, String message) { in createListener() argument
502 mListener.onError(SipSession.this, errorCode, message); in createListener()
518 public void onRegistrationFailed(ISipSession session, int errorCode, in createListener() argument
521 mListener.onRegistrationFailed(SipSession.this, errorCode, in createListener()
DSipSessionAdapter.java45 public void onCallChangeFailed(ISipSession session, int errorCode, in onCallChangeFailed() argument
49 public void onError(ISipSession session, int errorCode, String message) { in onError() argument
58 public void onRegistrationFailed(ISipSession session, int errorCode, in onRegistrationFailed() argument
DISipSessionListener.aidl82 void onError(in ISipSession session, int errorCode, String errorMessage); in onError() argument
91 void onCallChangeFailed(in ISipSession session, int errorCode, in onCallChangeFailed() argument
116 void onRegistrationFailed(in ISipSession session, int errorCode, in onRegistrationFailed() argument
DSipErrorCode.java66 public static String toString(int errorCode) { in toString() argument
67 switch (errorCode) { in toString()
DSipAudioCall.java154 public void onError(SipAudioCall call, int errorCode, in onError() argument
450 public void onCallChangeFailed(SipSession session, int errorCode, in createListener() argument
453 mErrorCode = errorCode; in createListener()
467 public void onError(SipSession session, int errorCode, in createListener() argument
469 SipAudioCall.this.onError(errorCode, message); in createListener()
483 public void onRegistrationFailed(SipSession session, int errorCode, in createListener() argument
495 private void onError(int errorCode, String message) {
497 + SipErrorCode.toString(errorCode) + ": " + message);
498 mErrorCode = errorCode;
503 listener.onError(this, errorCode, message);
[all …]
DSipRegistrationListener.java46 void onRegistrationFailed(String localProfileUri, int errorCode, in onRegistrationFailed() argument
/frameworks/base/voip/java/com/android/server/sip/
DSipSessionListenerProxy.java127 final int errorCode, final String message) { in onCallChangeFailed() argument
132 mListener.onCallChangeFailed(session, errorCode, message); in onCallChangeFailed()
140 public void onError(final ISipSession session, final int errorCode, in onError() argument
146 mListener.onError(session, errorCode, message); in onError()
182 final int errorCode, final String message) { in onRegistrationFailed() argument
187 mListener.onRegistrationFailed(session, errorCode, message); in onRegistrationFailed()
/frameworks/base/core/java/android/accounts/
DAccountAuthenticatorResponse.java69 public void onError(int errorCode, String errorMessage) { in onError() argument
71 Log.v(TAG, "AccountAuthenticatorResponse.onError: " + errorCode + ", " + errorMessage); in onError()
74 mAccountAuthenticatorResponse.onError(errorCode, errorMessage); in onError()
DAccountManagerResponse.java50 public void onError(int errorCode, String errorMessage) { in onError() argument
52 mResponse.onError(errorCode, errorMessage); in onError()
DIAccountManagerResponse.aidl26 void onError(int errorCode, String errorMessage); in onError() argument
DIAccountAuthenticatorResponse.aidl27 void onError(int errorCode, String errorMessage); in onError() argument
/frameworks/base/media/libstagefright/codecs/mp3dec/src/
Dpvmp3_framedecoder.cpp161 ERROR_CODE errorCode = NO_DECODING_ERROR; in pvmp3_framedecoder() local
180 errorCode = pvmp3_decode_header(&pVars->inputStream, in pvmp3_framedecoder()
184 if (errorCode != NO_DECODING_ERROR) in pvmp3_framedecoder()
187 return errorCode; in pvmp3_framedecoder()
242 errorCode = pvmp3_get_side_info(&pVars->inputStream, in pvmp3_framedecoder()
247 if (errorCode != NO_DECODING_ERROR) in pvmp3_framedecoder()
250 return errorCode; in pvmp3_framedecoder()
324 errorCode = NO_ENOUGH_MAIN_DATA_ERROR; in pvmp3_framedecoder()
360 if (errorCode != NO_ENOUGH_MAIN_DATA_ERROR) in pvmp3_framedecoder()
519 errorCode = NO_DECODING_ERROR; in pvmp3_framedecoder()
[all …]
/frameworks/base/media/libeffects/lvm/lib/Reverb/src/
DLVREV_Process.c75 LVREV_ReturnStatus_en errorCode; in LVREV_Process() local
82 errorCode = LVREV_ApplyNewSettings (pLVREV_Private); in LVREV_Process()
84 if(errorCode != LVREV_SUCCESS) in LVREV_Process()
86 return errorCode; in LVREV_Process()
/frameworks/base/wifi/java/android/net/wifi/
DWifiNative.java41 public native static String getErrorString(int errorCode); in getErrorString() argument
/frameworks/base/tests/BrowserPowerTest/src/com/android/browserpowertest/
DPowerTestActivity.java202 public void onReceivedError(WebView view, int errorCode, String description, in onReceivedError() argument
205 Log.v(LOGTAG, "WebCore error: code=" + errorCode in onReceivedError()
/frameworks/base/core/java/android/webkit/
DWebViewClient.java139 public void onReceivedError(WebView view, int errorCode, in onReceivedError() argument
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/
DReliabilityTestActivity.java200 public void onReceivedError(WebView view, int errorCode, String description, in onReceivedError() argument
202 Log.v(LOGTAG, "Received WebCore error: code=" + errorCode in onReceivedError()

12