Searched refs:error (Results 1 - 25 of 88) sorted by relevance

1234

/packages/apps/Nfc/src/com/android/nfc/
H A DLlcpException.java36 public LlcpException(int error) { argument
37 super(ErrorCodes.asString(error));
/packages/apps/Camera/src/com/android/camera/
H A DCameraErrorCallback.java26 public void onError(int error, android.hardware.Camera camera) { argument
27 Log.e(TAG, "Got camera error callback. error=" + error);
28 if (error == android.hardware.Camera.CAMERA_ERROR_SERVER_DIED) {
/packages/apps/Camera2/src/com/android/camera/
H A DCameraErrorCallback.java26 public void onError(int error, android.hardware.Camera camera) { argument
27 Log.e(TAG, "Got camera error callback. error=" + error);
28 if (error == android.hardware.Camera.CAMERA_ERROR_SERVER_DIED) {
/packages/apps/LegacyCamera/src/com/android/camera/
H A DCameraErrorCallback.java25 public void onError(int error, android.hardware.Camera camera) { argument
26 Log.e(TAG, "Got camera error callback. error=" + error);
27 if (error == android.hardware.Camera.CAMERA_ERROR_SERVER_DIED) {
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
H A DStopRequestException.java52 final String error = "Unhandled HTTP response: " + code + " " + message;
54 throw new StopRequestException(code, error);
56 throw new StopRequestException(STATUS_UNHANDLED_REDIRECT, error);
58 throw new StopRequestException(STATUS_UNHANDLED_HTTP_CODE, error);
/packages/apps/Bluetooth/jni/
H A 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, argument
64 sCallbackEnv->CallVoidMethod(mCallbacksObj, method_onControlStateChanged, (jint)state, (jint)error,
69 static void connection_state_callback(btpan_connection_state_t state, bt_status_t error, const bt_bdaddr_t *bd_addr, argument
76 error("Fail to new jbyteArray bd addr for PAN channel state");
83 (jint)error, (jint)local_role, (jint)remote_role);
115 error("Bluetooth module is not loaded");
133 error("Failed to get Bluetooth PAN Interface");
139 error("Faile
[all...]
/packages/apps/Browser/src/com/android/browser/
H A DPageDialogsHandler.java130 * this dialog was opened from the SSL-certificate-on-error dialog or
176 // if we came here from the SSL error dialog
178 // go back to the SSL error dialog
192 // if we came here from the SSL error dialog
194 // go back to the SSL error dialog
204 // error
216 // if we came here from the SSL error dialog
218 // go back to the SSL error dialog
272 * Displays the SSL error certificate dialog.
274 * @param handler The SSL error handle
278 showSSLCertificateOnError( final WebView view, final SslErrorHandler handler, final SslError error) argument
342 createSslCertificateDialog(SslCertificate certificate, SslError error) argument
392 addError(LayoutInflater inflater, LinearLayout parent, int error) argument
[all...]
H A DErrorConsoleView.java41 * Define some constants to describe the visibility of the error console.
137 * Removes all error messages from the console.
211 // An adapter for this View that contains a list of error messages.
230 * This class is an adapter for ErrorConsoleListView that contains the error console
289 * Constructs a TwoLineListItem for the error at position.
293 ConsoleMessage error = mMessages.get(position);
295 if (error == null) {
307 headline.setText(error.sourceId() + ":" + error.lineNumber());
308 subText.setText(error
[all...]
/packages/apps/Nfc/nci/src/com/android/nfc/dhimpl/
H A DNativeNfcManager.java163 int error = doGetLastError();
165 Log.d(TAG, "failed to create llcp socket: " + ErrorCodes.asString(error));
167 switch (error) {
170 throw new LlcpException(error);
187 int error = doGetLastError();
189 Log.d(TAG, "failed to create llcp socket: " + ErrorCodes.asString(error));
191 switch (error) {
194 throw new LlcpException(error);
211 int error = doGetLastError();
213 Log.d(TAG, "failed to create llcp socket: " + ErrorCodes.asString(error));
[all...]
/packages/screensavers/Basic/src/com/android/dreams/basic/
H A DColorsGLRenderer.java179 int error = mEgl.eglGetError();
180 if (error == EGL10.EGL_BAD_NATIVE_WINDOW) {
185 + GLUtils.getEGLErrorString(error));
250 String error = glGetProgramInfoLog(program);
251 Log.d(TAG, "Error while linking program:\n" + error);
273 String error = glGetShaderInfoLog(shader);
274 Log.d(TAG, "Error while compiling shader:\n" + error);
283 int error = mEgl.eglGetError();
284 if (error != EGL10.EGL_SUCCESS) {
285 Log.w(TAG, "EGL error
[all...]
/packages/apps/Nfc/nxp/src/com/android/nfc/dhimpl/
H A DNativeNfcManager.java227 int error = doGetLastError();
229 Log.d(TAG, "failed to create llcp socket: " + ErrorCodes.asString(error));
231 switch (error) {
234 throw new LlcpException(error);
251 int error = doGetLastError();
253 Log.d(TAG, "failed to create llcp socket: " + ErrorCodes.asString(error));
255 switch (error) {
258 throw new LlcpException(error);
275 int error = doGetLastError();
277 Log.d(TAG, "failed to create llcp socket: " + ErrorCodes.asString(error));
[all...]
/packages/services/Telephony/src/com/android/phone/
H A DErrorDialogActivity.java27 * Used to display an error dialog from within the Telephony service when an outgoing call fails
45 final int error = getIntent().getIntExtra(ERROR_MESSAGE_ID_EXTRA, -1);
46 if (error == -1) {
47 Log.e(TAG, "ErrorDialogActivity called with no error type extra.");
50 showGenericErrorDialog(error);
H A DHfaActivity.java58 public void onError(String error) {
59 onHfaError(error);
H A DAudioRouter.java114 boolean error = false;
140 error = true;
145 error = true;
154 error = true;
157 if (error) {
159 Log.e(LOG_TAG, "There was an error in setting new audio mode. " +
330 // once we've changed the audio layers so lets log the error, but assume
/packages/apps/Mms/src/com/android/mms/transaction/
H A DSmsReceiverService.java162 return "Unknown error code";
199 int error = intent.getIntExtra("errorCode", 0);
202 Log.v(TAG, "handleMessage action: " + action + " error: " + error);
206 handleSmsSent(intent, error);
208 handleSmsReceived(intent, error);
305 private void handleSmsSent(Intent intent, int error) { argument
313 " = " + translateResultCode(mResultCode) + " error: " + error);
320 if (!Sms.moveMessageToFolder(this, uri, Sms.MESSAGE_TYPE_SENT, error)) {
362 messageFailedToSend(Uri uri, int error) argument
370 handleSmsReceived(Intent intent, int error) argument
465 insertMessage(Context context, SmsMessage[] msgs, int error, String format) argument
488 replaceMessage(Context context, SmsMessage[] msgs, int error) argument
547 storeMessage(Context context, SmsMessage[] msgs, int error) argument
[all...]
H A DMessageStatusService.java98 error("Can't find message for status update: " + messageUri);
106 private void error(String message) { method in class:MessageStatusService
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/internal/
H A DMatrixUtilsTests.java34 /* package */ static void assertEqualsFloat(float f0, float f1, float error) { argument
35 assertTrue(Math.abs(f0 - f1) < error);
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
H A DBluetoothMnsObexClient.java122 Log.w(TAG, "OBEX session disconnect error " + e.getMessage());
132 Log.w(TAG, "OBEX session close error:" + e.getMessage());
142 Log.e(TAG, "mTransport.close error: " + e.getMessage());
201 Log.e(TAG, "BtSocket Connect error " + e.getMessage(), e);
202 // TODO: do we need to report error somewhere?
212 Log.e(TAG, "OBEX session create error " + e1.getMessage());
232 Log.e(TAG, "OBEX session connect error " + e.getMessage());
242 boolean error = false;
271 error = true;
276 if (!error) {
[all...]
/packages/apps/Gallery2/src/com/android/photos/views/
H A DBlockingGLTextureView.java222 int error = mEgl.eglGetError();
223 if (error == EGL10.EGL_BAD_NATIVE_WINDOW) {
254 * @return the EGL error code from eglSwapBuffers.
292 public static void throwEglException(String function, int error) { argument
293 String message = formatEglError(function, error);
297 public static void logEglErrorAsWarning(String tag, String function, int error) { argument
298 Log.w(tag, formatEglError(function, error));
301 public static String formatEglError(String function, int error) { argument
302 return function + " failed: " + error;
/packages/apps/Launcher3/src/com/android/photos/views/
H A DBlockingGLTextureView.java222 int error = mEgl.eglGetError();
223 if (error == EGL10.EGL_BAD_NATIVE_WINDOW) {
254 * @return the EGL error code from eglSwapBuffers.
292 public static void throwEglException(String function, int error) { argument
293 String message = formatEglError(function, error);
297 public static void logEglErrorAsWarning(String tag, String function, int error) { argument
298 Log.w(tag, formatEglError(function, error));
301 public static String formatEglError(String function, int error) { argument
302 return function + " failed: " + error;
/packages/apps/Browser/tests/src/com/android/browser/
H A DTestWebViewClient.java99 SslError error) {
100 mWrappedClient.onReceivedSslError(view, handler, error);
98 onReceivedSslError(WebView view, SslErrorHandler handler, SslError error) argument
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/
H A DLog.java92 public void error(Object message) { method in class:Log
96 public void error(Object message, Throwable t) { method in class:Log
/packages/apps/CertInstaller/src/com/android/certinstaller/
H A DViewHelper.java34 TextView v = (TextView) mView.findViewById(R.id.error);
/packages/apps/Mms/src/com/android/mms/data/
H A DConversation.java94 private boolean mHasError; // True if any message is in an error state.
154 LogTag.error("Tried to add duplicate Conversation to Cache (from threadId): " + conv);
156 LogTag.error("get by threadId cache.replace failed on " + conv);
184 LogTag.error(TAG, "Conversation.get: new conv's recipients don't match input recpients "
191 LogTag.error("Tried to add duplicate Conversation to Cache (from recipients): " + conv);
193 LogTag.error("get by recipients cache.replace failed on " + conv);
225 LogTag.error("Invalid URI: " + uri);
288 LogTag.error(TAG, "Tried to add duplicate Conversation to Cache (from cursor): " +
291 LogTag.error("Converations.from cache.replace failed on " + conv);
590 * Returns true if any messages in the conversation are in an error stat
[all...]
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/address/parser/
H A DTokenMgrError.java26 * Lexical error occured.
102 * token manager to indicate a lexical error.
104 * EOFSeen : indicates if EOF caused the lexicl error
105 * curLexState : lexical state in which this error occured
106 * errorLine : line number when the error occured
107 * errorColumn : column number when the error occured
108 * errorAfter : prefix that was seen before this error occured
110 * Note: You can customize the lexical error message by modifying this method.
113 return("Lexical error at line " +
121 * You can also modify the body of this method to customize your error message
[all...]

Completed in 379 milliseconds

1234