/frameworks/native/opengl/tests/hwc/ |
H A D | hwcRects.cpp | 207 bool error; local 366 bool error; local 386 rect.displayFrame = hwcTestParseHwcRect(in, error); 387 if (error) { 455 rect.color = hwcTestParseColor(in, error); 456 if (error) { 468 rect.sourceDim = hwcTestParseDim(in, error); 469 if (error) { 475 rect.sourceCrop = hwcTestParseHwcRect(in, error); 476 if (error) { [all...] |
/frameworks/volley/src/com/android/volley/toolbox/ |
H A D | ImageLoader.java | 93 * it will switch to either the actual image or the error image. 102 public void onErrorResponse(VolleyError error) { 130 * - onErrorResponse will be called if there was an error loading the image. 134 * Listens for non-error changes to the loading of the image request. 228 public void onErrorResponse(VolleyError error) { 229 onGetImageError(cacheKey, error); 273 private void onGetImageError(String cacheKey, VolleyError error) { argument 279 // Set the error for this request 280 request.setError(error); 388 * Set the error fo 390 setError(VolleyError error) argument [all...] |
/frameworks/base/core/java/android/speech/ |
H A D | SpeechRecognizer.java | 86 /** Audio recording error. */ 89 /** Server sends error status. */ 483 public void onError(final int error) { argument 484 Message.obtain(mInternalHandler, MSG_ERROR, error).sendToTarget();
|
/frameworks/base/core/jni/android/graphics/pdf/ |
H A D | PdfEditor.cpp | 91 const long error = FPDF_GetLastError(); local 92 switch (error) { 96 "cannot create document. Error:" + error); 100 "cannot create document. Error:" + error);
|
H A D | PdfRenderer.cpp | 84 const long error = FPDF_GetLastError(); local 85 switch (error) { 89 "cannot create document. Error:" + error); 93 "cannot create document. Error:" + error);
|
/frameworks/base/libs/hwui/ |
H A D | LayerRenderer.cpp | 378 GLenum error = GL_NO_ERROR; local 413 if ((error = glGetError()) != GL_NO_ERROR) goto error; 428 if ((error = glGetError()) != GL_NO_ERROR) goto error; 432 if ((error = glGetError()) != GL_NO_ERROR) goto error; 451 if ((error = glGetError()) != GL_NO_ERROR) goto error; 461 if ((error [all...] |
/frameworks/base/opengl/java/android/opengl/ |
H A D | EGLLogWrapper.java | 535 public static String getErrorString(int error) { argument 536 switch (error) { 568 return getHex(error);
|
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/ |
H A D | BlockingGLTextureView.java | 222 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;
|
/frameworks/base/tests/OneMedia/src/com/android/onemedia/playback/ |
H A D | Renderer.java | 163 protected void pushOnError(int type, int extra, Bundle extras, Throwable error) { argument 165 listener.onError(type, extra, extras, error); 199 * When an error occurs onError will be called but not onStateChanged. 200 * The Manager will remain in the error state until 204 Throwable error); 208 * transitions except to an error state. 203 onError(int type, int extra, Bundle extras, Throwable error) argument
|
/frameworks/native/opengl/libagl/ |
H A D | state.cpp | 117 void _ogles_error(ogles_context_t* c, GLenum error) argument 119 if (c->error == GL_NO_ERROR) 120 c->error = error; 322 // If more than one flag has recorded an error, glGetError returns 323 // and clears an arbitrary error flag value. Thus, glGetError should 325 // if all error flags are to be reset. 328 if (c->error) { 329 const GLenum ret(c->error); 330 c->error [all...] |
/frameworks/native/opengl/tests/gl2_copyTexImage/ |
H A D | gl2_copyTexImage.cpp | 37 // int error = glGetError(); 38 // fprintf(stderr, "glGetError() = %d, result of glGetString = %x\n", error, 52 for (EGLint error = eglGetError(); error != EGL_SUCCESS; error 54 fprintf(stderr, "after %s() eglError %s (0x%x)\n", op, EGLUtils::strerror(error), 55 error); 60 for (GLint error = glGetError(); error; error 324 EGLint error = eglGetError(); local [all...] |
/frameworks/native/opengl/tests/gl2_yuvtex/ |
H A D | gl2_yuvtex.cpp | 39 // int error = glGetError(); 40 // fprintf(stderr, "glGetError() = %d, result of glGetString = %x\n", error, 54 for (EGLint error = eglGetError(); error != EGL_SUCCESS; error 56 fprintf(stderr, "after %s() eglError %s (0x%x)\n", op, EGLUtils::strerror(error), 57 error); 62 for (GLint error = glGetError(); error; error 325 EGLint error = eglGetError(); local [all...] |
/frameworks/opt/net/ims/src/java/com/android/ims/ |
H A D | ImsUt.java | 532 private void sendFailureReport(Message result, ImsReasonInfo error) { argument 533 if (result == null || error == null) { 538 // If ImsReasonInfo object does not have a String error code, use a 539 // default error string. 540 if (error.mExtraMessage == null) { 544 errorString = new String(error.mExtraMessage); 546 AsyncResult.forMessage(result, null, new ImsException(errorString, error.mCode)); 598 public void utConfigurationUpdateFailed(IImsUt ut, int id, ImsReasonInfo error) { argument 602 sendFailureReport(mPendingCmds.get(key), error); 621 public void utConfigurationQueryFailed(IImsUt ut, int id, ImsReasonInfo error) { argument [all...] |
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
H A D | NuPlayerDecoder.cpp | 171 // any error signaling will occur. 284 status_t error = local 288 ALOGW_IF(error != NO_ERROR, 289 "[%s] failed to connect to native window, error=%d", 290 mComponentName.c_str(), error); 719 ALOGE("Stream error for %s (err=%d), EOS %s queued",
|
/frameworks/base/core/java/android/print/ |
H A D | PrintManager.java | 872 public void onLayoutFailed(CharSequence error) { argument 887 callback.onLayoutFailed(error, mSequence); 975 public void onWriteFailed(CharSequence error) { argument 990 callback.onWriteFailed(error, mSequence);
|
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
H A D | LaunchpadActivity.java | 448 private void finishBad(String error) { argument 449 finishWithResult(RESULT_CANCELED, (new Intent()).setAction(error)); 462 mResultStack = new RuntimeException("Original error was here");
|
/frameworks/base/media/java/android/media/session/ |
H A D | PlaybackState.java | 183 * State indicating this item is currently in an error state. The error 241 CharSequence error, Bundle extras) { 250 mErrorMessage = error; 278 bob.append(", error=").append(mErrorMessage); 372 * Get a user readable error message. This should be set when the state is 954 * Set a user readable error message. This should be set when the state 957 * @param error The error message for display to the user. 960 public Builder setErrorMessage(CharSequence error) { argument 238 PlaybackState(int state, long position, long updateTime, float speed, long bufferedPosition, long transportControls, List<PlaybackState.CustomAction> customActions, long activeItemId, CharSequence error, Bundle extras) argument [all...] |
/frameworks/base/services/print/java/com/android/server/print/ |
H A D | RemotePrintService.java | 718 public boolean setPrintJobState(PrintJobId printJobId, int state, String error) { argument 723 return service.mSpooler.setPrintJobState(printJobId, state, error);
|
H A D | RemotePrintSpooler.java | 207 public final boolean setPrintJobState(PrintJobId printJobId, int state, String error) { argument 215 printJobId, state, error); 520 int status, String error) throws RemoteException, TimeoutException { 522 target.setPrintJobState(printJobId, status, error, mCallback, sequence); 519 setPrintJobState(IPrintSpooler target, PrintJobId printJobId, int status, String error) argument
|
/frameworks/base/tests/CoreTests/android/core/ |
H A D | TestEventHandler.java | 451 * Implements the EventHandler error method called when a server 453 * @param id Status code of the error 454 * @param description Brief description of the error 456 public void error(int id, String description) { method in class:TestEventHandler 458 Log.v(LOGTAG, "TestEventHandler: error() called Id:" + id + 496 * SSL certificate error callback. Handles SSL error(s) on the way 499 public boolean handleSslErrorRequest(SslError error) { argument 500 int primaryError = error.getPrimaryError(); 504 " primary error [all...] |
/frameworks/native/libs/gui/ |
H A D | BufferQueueProducer.cpp | 234 // Return an error if we're in non-blocking mode (producer and 341 status_t error; local 344 width, height, format, usage, &error)); 347 return error; 370 // If something goes wrong, log the error, but return the buffer without 374 BQ_LOGE("dequeueBuffer: error %#x waiting for fence", 844 // It's not really an error to disconnect after the surface has
|
/frameworks/native/services/surfaceflinger/ |
H A D | DisplayDevice.cpp | 243 EGLint error = eglGetError(); local 244 if (error == EGL_CONTEXT_LOST || 247 mDisplay, mSurface, error); 250 mDisplay, mSurface, error);
|
/frameworks/native/services/surfaceflinger/RenderEngine/ |
H A D | RenderEngine.cpp | 172 // there could be more than one error flag 173 GLenum error = glGetError(); local 174 if (error == GL_NO_ERROR) 176 ALOGE("GL error 0x%04x", int(error)); 270 "glCheckFramebufferStatusOES error %d", mStatus);
|
/frameworks/support/v7/mediarouter/src/android/support/v7/media/ |
H A D | RegisteredMediaRouteProvider.java | 240 private void onConnectionError(Connection connection, String error) { argument 243 Log.d(TAG, this + ": Service connection error - " + error); 494 public boolean onControlRequestFailed(int requestId, String error, Bundle data) { argument 498 callback.onError(error, data); 668 String error = (data == null ? null : 671 requestId, error, (Bundle)obj);
|
H A D | RemotePlaybackClient.java | 627 public void onError(String error, Bundle data) { 628 handleError(intent, callback, error, data); 674 public void onError(String error, Bundle data) { 675 handleError(intent, callback, error, data); 694 String error, Bundle data) { 703 Log.w(TAG, "Received error from " + intent.getAction() 704 + ": error=" + error 708 callback.onError(error, code, data); 891 * @param error 693 handleError(Intent intent, ActionCallback callback, String error, Bundle data) argument 896 onError(String error, int code, Bundle data) argument [all...] |