Searched refs:error (Results 76 - 100 of 152) sorted by relevance

1234567

/frameworks/base/core/jni/
H A Dandroid_bluetooth_ScoSocket.cpp280 /* Returns false if a serious error occured */
560 goto error;
565 goto error;
580 goto error;
588 goto error;
591 LOGE("error: select() returned >= 0 with no fds set");
592 goto error;
598 goto error;
605 error:
628 goto error;
[all...]
H A Dandroid_net_LocalSocketImpl.cpp555 // To us, any of the above flags are a fatal error
558 "Unexpected error or truncation during recvmsg()");
916 goto error;
923 goto error;
930 goto error;
936 goto error;
944 goto error;
953 goto error;
959 error:
/frameworks/base/opengl/libagl/
H A Dstate.cpp116 void _ogles_error(ogles_context_t* c, GLenum error) argument
118 if (c->error == GL_NO_ERROR)
119 c->error = error;
318 // If more than one flag has recorded an error, glGetError returns
319 // and clears an arbitrary error flag value. Thus, glGetError should
321 // if all error flags are to be reset.
324 if (c->error) {
325 const GLenum ret(c->error);
326 c->error
[all...]
H A Dtexture.cpp225 GLenum error = 0; local
227 error = GL_INVALID_ENUM;
231 error = GL_INVALID_ENUM;
234 error = GL_INVALID_OPERATION;
238 error = GL_INVALID_OPERATION;
240 if (error) {
241 ogles_error(c, error);
243 return error;
1114 // unclear if this is an error or not...
1128 int error local
[all...]
/frameworks/base/core/tests/coretests/src/android/app/activity/
H A DActivityTestsBase.java108 public void finishBad(String error) { argument
109 finishWithResult(Activity.RESULT_CANCELED, (new Intent()).setAction(error));
113 RuntimeException where = new RuntimeException("Original error was here");
/frameworks/base/media/libeffects/factory/
H A DEffectsFactory.c215 LOGW("EffectCreate() init error: %d", ret);
229 LOGW("EffectCreate() library %s: could not create fx %s, error %d", l->path, d->name, ret);
410 goto error;
416 goto error;
422 goto error;
428 goto error;
434 goto error;
441 goto error;
459 goto error;
492 error
[all...]
/frameworks/base/opengl/java/android/opengl/
H A DGLU.java29 * Return an error string from a GL or GLU error code.
31 * @param error - a GL or GLU error code.
32 * @return the error string for the input error code, or NULL if the input
33 * was not a valid GL or GLU error code.
35 public static String gluErrorString(int error) { argument
36 switch (error) {
38 return "no error";
[all...]
H A DGLSurfaceView.java54 * <li>Optionally wraps, traces, and/or error-checks the renderer's OpenGL calls.
186 * that an error has occurred. This can be used to help track down which OpenGL ES call
187 * is causing an error.
979 int error = mEgl.eglGetError();
980 if (error == EGL10.EGL_BAD_NATIVE_WINDOW) {
984 throwEglException("createWindowSurface", error);
1027 int error = mEgl.eglGetError();
1028 switch(error) {
1033 // window manager has closed it. Ignore this error,
1038 throwEglException("eglSwapBuffers", error);
1075 throwEglException(String function, int error) argument
[all...]
/frameworks/base/core/java/android/webkit/
H A DStreamLoader.java77 * fails to setup, it should still call status() with the error code.
171 * If an error occurs reading the stream, then an error is sent to the
185 mLoadListener.error(EventHandler.FILE_ERROR, ex.getMessage());
H A DLoadListener.java216 * error.
224 * This message is sent when a load error has occured. The
276 * ssl error.
574 * Implementation of error handler for EventHandler.
575 * Subclasses should call this method to have error fields set.
576 * @param id The error id described by EventHandler.
577 * @param description A string description of the error.
581 public void error(int id, String description) { method in class:LoadListener
583 Log.v(LOGTAG, "LoadListener.error url:" +
589 // Handle the error o
786 handleSslErrorRequest(SslError error) argument
817 handleSslError(SslError error) argument
[all...]
/frameworks/base/media/libstagefright/
H A DHTTPStream.cpp106 // Get the pending error.
107 int error = 0; local
108 socklen_t errorLen = sizeof(error);
109 if (getsockopt(s, SOL_SOCKET, SO_ERROR, &error, &errorLen) == -1) {
110 // Couldn't get the real error, so report why not.
113 result = -error;
/frameworks/base/core/java/android/speech/
H A DRecognitionService.java155 * @param listener to send the error message to in case of error
249 * The service should call this method when a network or recognition error occurred.
251 * @param error code is defined in {@link SpeechRecognizer}
253 public void error(int error) throws RemoteException { argument
255 mListener.onError(error);
/frameworks/base/opengl/tests/gl2_jni/src/com/android/gl2jni/
H A DGL2JNIView.java95 int error;
96 while ((error = egl.eglGetError()) != EGL10.EGL_SUCCESS) {
97 Log.e(TAG, String.format("%s: EGL error: 0x%x", prompt, error));
/frameworks/base/opengl/tests/gldual/src/com/android/gldual/
H A DGLDualGL2View.java98 int error;
99 while ((error = egl.eglGetError()) != EGL10.EGL_SUCCESS) {
100 Log.e(TAG, String.format("%s: EGL error: 0x%x", prompt, error));
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DNinePatch_Delegate.java78 Bridge.getLog().error(null, "Failed to serialize NinePatchChunk.", e, null /*data*/);
119 Bridge.getLog().error(LayoutLog.TAG_BROKEN,
123 Bridge.getLog().error(LayoutLog.TAG_BROKEN,
H A DPorterDuffXfermode_Delegate.java77 Bridge.getLog().error(LayoutLog.TAG_BROKEN,
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/binding/
H A DBaseAdapter.java157 // create a text view to display an error.
195 Bridge.getLog().error(LayoutLog.TAG_BROKEN, String.format(
215 Bridge.getLog().error(LayoutLog.TAG_BROKEN, String.format(
235 Bridge.getLog().error(LayoutLog.TAG_BROKEN, String.format(
/frameworks/base/tools/aapt/
H A DXMLNode.cpp164 * are not in positional form, give the user an error.
167 SourcePos(String8(fileName), inXml->getLineNumber()).error(
238 SourcePos(String8(fileName), inXml->getLineNumber()).error(
248 SourcePos(String8(fileName), inXml->getLineNumber()).error(
255 SourcePos(String8(fileName), inXml->getLineNumber()).error("%s (in %s)\n",
290 SourcePos(String8(fileName), inXml->getLineNumber()).error("%s (in %s)\n",
299 SourcePos(String8(fileName), inXml->getLineNumber()).error(
316 SourcePos(String8(fileName), inXml->getLineNumber()).error(
349 SourcePos(String8(fileName), inXml->getLineNumber()).error(
357 SourcePos(String8(fileName), inXml->getLineNumber()).error(
[all...]
/frameworks/base/services/surfaceflinger/
H A DTextureManager.cpp165 GLint error = glGetError(); local
166 if (error != GL_NO_ERROR) {
168 pImage->image, error);
/frameworks/base/core/java/com/android/internal/http/multipart/
H A DMultipartEntity.java210 log.error("An exception occurred while getting the length of the parts", e);
/frameworks/base/packages/VpnServices/src/com/android/server/vpn/
H A DVpnService.java158 private void onError(Throwable error) { argument
159 // error may occur during or after connection setup
163 + error);
165 Log.e(TAG, "onError()", error);
166 mError = error;
239 // keep the notification when error occurs
/frameworks/base/tests/CoreTests/android/core/
H A DTestEventHandler.java452 * Implements the EventHandler error method called when a server
454 * @param id Status code of the error
455 * @param description Brief description of the error
457 public void error(int id, String description) { method in class:TestEventHandler
459 Log.v(LOGTAG, "TestEventHandler: error() called Id:" + id +
497 * SSL certificate error callback. Handles SSL error(s) on the way
500 public boolean handleSslErrorRequest(SslError error) { argument
501 int primaryError = error.getPrimaryError();
505 " primary error
[all...]
/frameworks/base/libs/utils/
H A DResourceTypes.cpp1937 LOGW("Failure getting entry for 0x%08x (t=%d e=%d) in package %zd (error %d)\n",
2396 TABLE_SUPER_NOISY(printf("Identifier for name: error=%d\n", mError));
2713 bool error = false; local
2714 while (i < len && !error) {
2715 val = (val*16) + get_hex(s[i], &error);
2718 if (error) {
3021 bool error = false; local
3025 color |= get_hex(s[1], &error) << 20;
3026 color |= get_hex(s[1], &error) << 16;
3027 color |= get_hex(s[2], &error) << 1
[all...]
/frameworks/base/test-runner/tests/src/android/test/suitebuilder/
H A DTestSuiteBuilderTest.java23 import android.test.suitebuilder.examples.error.ErrorTest;
24 import android.test.suitebuilder.examples.error.FailingTest;
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/
H A DReliabilityTestActivity.java202 Log.v(LOGTAG, "Received WebCore error: code=" + errorCode
208 public void onReceivedSslError(WebView view, SslErrorHandler handler, SslError error) { argument
209 //ignore certificate error
210 Log.v(LOGTAG, "Received SSL error: " + error.toString());

Completed in 1342 milliseconds

1234567