Home
last modified time | relevance | path

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

123

/packages/apps/Bluetooth/jni/
Dcom_android_bluetooth_pan.cpp23 error("Callback: '%s' is not called on the correct thread", __FUNCTION__);\
38 #define error(fmt, ...) ALOGE ("## ERROR : %s(L%d): " fmt "##",__FUNCTION__, __LINE__, ## __VA_ARGS… macro
59 static void control_state_callback(btpan_control_state_t state, bt_status_t error, int local_role, in control_state_callback() argument
64 …sCallbackEnv->CallVoidMethod(mCallbacksObj, method_onControlStateChanged, (jint)state, (jint)error, in control_state_callback()
69 static void connection_state_callback(btpan_connection_state_t state, bt_status_t error, const bt_b… in connection_state_callback() argument
76 error("Fail to new jbyteArray bd addr for PAN channel state"); in connection_state_callback()
83 (jint)error, (jint)local_role, (jint)remote_role); in connection_state_callback()
115 error("Bluetooth module is not loaded"); in initializeNative()
133 error("Failed to get Bluetooth PAN Interface"); in initializeNative()
139 error("Failed to initialize Bluetooth PAN, status: %d", status); in initializeNative()
[all …]
/packages/apps/Browser/src/com/android/browser/
DPageDialogsHandler.java281 final SslError error) { in showSSLCertificateOnError() argument
283 SslCertificate cert = error.getCertificate(); in showSSLCertificateOnError()
290 mSSLCertificateOnErrorError = error; in showSSLCertificateOnError()
291 mSSLCertificateOnErrorDialog = createSslCertificateDialog(cert, error) in showSSLCertificateOnError()
302 onReceivedSslError(view, handler, error); in showSSLCertificateOnError()
318 error.getUrl()); in showSSLCertificateOnError()
330 onReceivedSslError(view, handler, error); in showSSLCertificateOnError()
344 SslError error) { in createSslCertificateDialog() argument
352 if (error == null) { in createSslCertificateDialog()
359 if (error.hasError(SslError.SSL_UNTRUSTED)) { in createSslCertificateDialog()
[all …]
DErrorConsoleView.java293 ConsoleMessage error = mMessages.get(position); in getView() local
295 if (error == null) { in getView()
307 headline.setText(error.sourceId() + ":" + error.lineNumber()); in getView()
308 subText.setText(error.message()); in getView()
309 switch (error.messageLevel()) { in getView()
/packages/apps/Nfc/nci/src/com/android/nfc/dhimpl/
DNativeNfcManager.java147 int error = doGetLastError(); in createLlcpConnectionlessSocket() local
149 Log.d(TAG, "failed to create llcp socket: " + ErrorCodes.asString(error)); in createLlcpConnectionlessSocket()
151 switch (error) { in createLlcpConnectionlessSocket()
154 throw new LlcpException(error); in createLlcpConnectionlessSocket()
171 int error = doGetLastError(); in createLlcpServerSocket() local
173 Log.d(TAG, "failed to create llcp socket: " + ErrorCodes.asString(error)); in createLlcpServerSocket()
175 switch (error) { in createLlcpServerSocket()
178 throw new LlcpException(error); in createLlcpServerSocket()
195 int error = doGetLastError(); in createLlcpSocket() local
197 Log.d(TAG, "failed to create llcp socket: " + ErrorCodes.asString(error)); in createLlcpSocket()
[all …]
/packages/apps/Nfc/nxp/src/com/android/nfc/dhimpl/
DNativeNfcManager.java197 int error = doGetLastError(); in createLlcpConnectionlessSocket() local
199 Log.d(TAG, "failed to create llcp socket: " + ErrorCodes.asString(error)); in createLlcpConnectionlessSocket()
201 switch (error) { in createLlcpConnectionlessSocket()
204 throw new LlcpException(error); in createLlcpConnectionlessSocket()
221 int error = doGetLastError(); in createLlcpServerSocket() local
223 Log.d(TAG, "failed to create llcp socket: " + ErrorCodes.asString(error)); in createLlcpServerSocket()
225 switch (error) { in createLlcpServerSocket()
228 throw new LlcpException(error); in createLlcpServerSocket()
245 int error = doGetLastError(); in createLlcpSocket() local
247 Log.d(TAG, "failed to create llcp socket: " + ErrorCodes.asString(error)); in createLlcpSocket()
[all …]
/packages/apps/Mms/src/com/android/mms/transaction/
DSmsReceiverService.java196 int error = intent.getIntExtra("errorCode", 0); in handleMessage() local
199 Log.v(TAG, "handleMessage action: " + action + " error: " + error); in handleMessage()
203 handleSmsSent(intent, error); in handleMessage()
205 handleSmsReceived(intent, error); in handleMessage()
288 private void handleSmsSent(Intent intent, int error) { in handleSmsSent() argument
296 " = " + translateResultCode(mResultCode) + " error: " + error); in handleSmsSent()
303 if (!Sms.moveMessageToFolder(this, uri, Sms.MESSAGE_TYPE_SENT, error)) { in handleSmsSent()
322 Sms.moveMessageToFolder(this, uri, Sms.MESSAGE_TYPE_QUEUED, error); in handleSmsSent()
337 messageFailedToSend(uri, error); in handleSmsSent()
344 private void messageFailedToSend(Uri uri, int error) { in messageFailedToSend() argument
[all …]
DMessageStatusService.java98 error("Can't find message for status update: " + messageUri); in updateMessageStatus()
106 private void error(String message) { in error() method in MessageStatusService
/packages/screensavers/Basic/src/com/android/dreams/basic/
DColorsGLRenderer.java179 int error = mEgl.eglGetError(); in initGL() local
180 if (error == EGL10.EGL_BAD_NATIVE_WINDOW) { in initGL()
185 + GLUtils.getEGLErrorString(error)); in initGL()
250 String error = glGetProgramInfoLog(program); in buildProgram() local
251 Log.d(TAG, "Error while linking program:\n" + error); in buildProgram()
273 String error = glGetShaderInfoLog(shader); in buildShader() local
274 Log.d(TAG, "Error while compiling shader:\n" + error); in buildShader()
283 int error = mEgl.eglGetError(); in checkEglError() local
284 if (error != EGL10.EGL_SUCCESS) { in checkEglError()
285 Log.w(TAG, "EGL error = 0x" + Integer.toHexString(error)); in checkEglError()
[all …]
/packages/apps/LegacyCamera/src/com/android/camera/
DCameraErrorCallback.java25 public void onError(int error, android.hardware.Camera camera) { in onError() argument
26 Log.e(TAG, "Got camera error callback. error=" + error); in onError()
27 if (error == android.hardware.Camera.CAMERA_ERROR_SERVER_DIED) { in onError()
/packages/apps/Camera/src/com/android/camera/
DCameraErrorCallback.java26 public void onError(int error, android.hardware.Camera camera) { in onError() argument
27 Log.e(TAG, "Got camera error callback. error=" + error); in onError()
28 if (error == android.hardware.Camera.CAMERA_ERROR_SERVER_DIED) { in onError()
DMosaicPreviewRenderer.java230 int error; in checkEglError() local
231 while ((error = egl.eglGetError()) != EGL10.EGL_SUCCESS) { in checkEglError()
232 Log.e(TAG, String.format("%s: EGL error: 0x%x", prompt, error)); in checkEglError()
/packages/apps/Nfc/src/com/android/nfc/
DLlcpException.java36 public LlcpException(int error) { in LlcpException() argument
37 super(ErrorCodes.asString(error)); in LlcpException()
/packages/apps/Contacts/src/com/android/contacts/model/account/
DExternalAccountType.java144 final StringBuilder error = new StringBuilder(); in ExternalAccountType()
145 error.append("Problem reading XML"); in ExternalAccountType()
147 error.append(" in line "); in ExternalAccountType()
148 error.append(parser.getLineNumber()); in ExternalAccountType()
150 error.append(" for external package "); in ExternalAccountType()
151 error.append(packageName); in ExternalAccountType()
153 Log.e(TAG, error.toString(), e); in ExternalAccountType()
/packages/apps/Mms/src/com/android/mms/data/
DConversation.java149 LogTag.error("Tried to add duplicate Conversation to Cache (from threadId): " + conv); in get()
151 LogTag.error("get by threadId cache.replace failed on " + conv); in get()
179 LogTag.error(TAG, "Conversation.get: new conv's recipients don't match input recpients " in get()
186 LogTag.error("Tried to add duplicate Conversation to Cache (from recipients): " + conv); in get()
188 LogTag.error("get by recipients cache.replace failed on " + conv); in get()
220 LogTag.error("Invalid URI: " + uri); in get()
283 LogTag.error(TAG, "Tried to add duplicate Conversation to Cache (from cursor): " + in from()
286 LogTag.error("Converations.from cache.replace failed on " + conv); in from()
1204 LogTag.error("Tried to add duplicate Conversation to Cache" + in cacheAllThreads()
1207 LogTag.error("cacheAllThreads cache.replace failed on " + conv); in cacheAllThreads()
[all …]
/packages/apps/Phone/src/com/android/phone/
DTimeConsumingPreferenceActivity.java19 public void onError(Preference preference, int error); in onError() argument
168 public void onError(Preference preference, int error) { in onError() argument
170 if (DBG) Log.d(LOG_TAG, "onError, preference=" + preference.getKey() + ", error=" + error); in onError()
173 showDialog(error); in onError()
/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/Bluetooth/src/com/android/bluetooth/pan/
DPanService.java318 public ConnectState(byte[] address, int state, int error, int local_role, int remote_role) { in ConnectState() argument
321 this.error = error; in ConnectState()
327 int error; field in PanService.ConnectState
331 …private void onConnectStateChanged(byte[] address, int state, int error, int local_role, int remot… in onConnectStateChanged() argument
334 msg.obj = new ConnectState(address, state, error, local_role, remote_role); in onConnectStateChanged()
337 private void onControlStateChanged(int local_role, int state, int error, String ifname) { in onControlStateChanged() argument
339 log("onControlStateChanged: " + state + ", error: " + error + ", ifname: " + ifname); in onControlStateChanged()
340 if(error == 0) in onControlStateChanged()
/packages/apps/Settings/src/com/android/settings/
DCredentialStorage.java409 mError = (TextView) view.findViewById(R.id.error); in UnlockDialog()
442 int error = mKeyStore.getLastError(); in onDismiss() local
443 if (error == KeyStore.NO_ERROR) { in onDismiss()
451 } else if (error == KeyStore.UNINITIALIZED) { in onDismiss()
458 } else if (error >= KeyStore.WRONG_PASSWORD) { in onDismiss()
460 mRetriesRemaining = error - KeyStore.WRONG_PASSWORD + 1; in onDismiss()
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppObexClientSession.java335 boolean error = false; in sendFile()
365 error = true; in sendFile()
371 if (!error) { in sendFile()
380 error = true; in sendFile()
383 if (!error) { in sendFile()
390 if (!error) { in sendFile()
486 error = true; in sendFile()
504 if (!error) { in sendFile()
DBluetoothOppObexServerSession.java435 boolean error = false; in receiveFile()
441 error = true; in receiveFile()
446 if (!error) { in receiveFile()
453 if (!error) { in receiveFile()
457 if (!error) { in receiveFile()
495 error = true; in receiveFile()
/packages/experimental/CameraPreviewTest/src/com/example/android/videochatcameratest/
DSurfaceTextureView.java52 int error; in checkGlError() local
53 while ((error = GLES20.glGetError()) != GLES20.GL_NO_ERROR) { in checkGlError()
54 Log.e(TAG, op + ": glError " + error); in checkGlError()
55 throw new RuntimeException(op + ": glError " + error); in checkGlError()
/packages/apps/SoundRecorder/src/com/android/soundrecorder/
DRecorder.java50 public void onError(int error); in onError() argument
273 private void setError(int error) { in setError() argument
275 mOnStateChangedListener.onError(error); in setError()
/packages/apps/Nfc/nxp/jni/
Dcom_android_nfc_NativeNfcManager.cpp1178 goto error; in nfc_jni_transaction_callback()
1184 goto error; in nfc_jni_transaction_callback()
1189 goto error; in nfc_jni_transaction_callback()
1197 goto error; in nfc_jni_transaction_callback()
1215 goto error; in nfc_jni_transaction_callback()
1219 goto error; in nfc_jni_transaction_callback()
1244 goto error; in nfc_jni_transaction_callback()
1250 goto error; in nfc_jni_transaction_callback()
1279 goto error; in nfc_jni_transaction_callback()
1285 error: in nfc_jni_transaction_callback()
[all …]
/packages/apps/Email/src/org/apache/james/mime4j/
DLog.java92 public void error(Object message) { in error() method in Log
96 public void error(Object message, Throwable t) { in error() method in Log
/packages/apps/BasicSmsReceiver/tests/src/com/android/basicsmsreceiver/
DDialogSmsDisplayTests.java93 boolean error = true; in setUp()
97 error = false; in setUp()
112 assertFalse(message, error); in setUp()

123