Searched refs:error (Results 151 - 175 of 446) sorted by relevance

1234567891011>>

/frameworks/base/tools/layoutlib/bridge/src/android/text/
H A DAndroidBidi_Delegate.java52 // Invalid code. Log error, assume LEVEL_DEFAULT_LTR and continue.
53 Bridge.getLog().error(LayoutLog.TAG_BROKEN, "Invalid direction flag", null);
/frameworks/ex/camera2/public/src/com/android/ex/camera2/blocking/
H A DBlockingCameraManager.java68 * Returns the error code {@link ERROR_DISCONNECTED} if disconnected, or one of
69 * {@code CameraDevice.StateCallback#ERROR_*} if there was another error.
71 * @return int Disconnect/error code
78 * Thrown when camera device enters error state during open, or if
252 public void onError(CameraDevice camera, int error) { argument
257 if (error <= 0) {
258 throw new AssertionError("Expected error to be a positive number");
264 mError = error;
274 if (mProxy != null) mProxy.onError(camera, error);
319 "Failed to open camera device: error cod
[all...]
/frameworks/native/include/gui/
H A DIGraphicBufferAlloc.h40 PixelFormat format, uint32_t usage, status_t* error) = 0;
/frameworks/native/opengl/include/EGL/
H A Deglplatform.h106 #error "Platform not recognized"
/frameworks/native/opengl/tests/gl2_java/src/com/android/gl2java/
H A DGL2JavaView.java143 int error;
144 while ((error = GLES20.glGetError()) != GLES20.GL_NO_ERROR) {
145 Log.e(TAG, op + ": glError " + error);
146 throw new RuntimeException(op + ": glError " + error);
/frameworks/native/opengl/tests/gl2_jni/jni/
H A Dgl_code.cpp21 for (GLint error = glGetError(); error; error
23 ALOGI("after %s() glError (0x%x)\n", op, error);
/frameworks/native/opengl/tests/gldual/jni/
H A Dgl_code.cpp21 for (GLint error = glGetError(); error; error
23 ALOGI("after %s() glError (0x%x)\n", op, error);
/frameworks/rs/driver/
H A DrsdProgramStore.cpp74 goto error;
115 goto error;
145 goto error;
150 error:
/frameworks/volley/src/test/java/com/android/volley/mock/
H A DMockResponseDelivery.java48 public void postError(Request<?> request, VolleyError error) { argument
H A DMockRequest.java71 public void deliverError(VolleyError error) { argument
72 super.deliverError(error);
/frameworks/native/opengl/tests/gl2_copyTexImage/
H A Dgl2_copyTexImage.cpp37 // 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 Dgl2_yuvtex.cpp39 // 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/av/media/libstagefright/codecs/hevcdec/
H A DAndroid.mk23 # We need this because the current asm generates the following link error:
/frameworks/base/packages/WallpaperCropper/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;
/frameworks/base/services/core/java/com/android/server/hdmi/
H A DOneTouchRecordAction.java63 public void onSendCompleted(int error) {
64 // if failed to send <Record On>, display error message and finish action.
65 if (error != Constants.SEND_RESULT_SUCCESS) {
H A DPowerStatusMonitorAction.java123 public void onSendCompleted(int error) {
126 if (error != Constants.SEND_RESULT_SUCCESS) {
H A DSystemAudioStatusAction.java58 public void onSendCompleted(int error) {
59 if (error != Constants.SEND_RESULT_SUCCESS) {
/frameworks/volley/src/main/java/com/android/volley/toolbox/
H A DRequestFuture.java31 * Used by providing as your response and error listeners. For example:
46 * // handle the error
48 * // handle the error
148 public synchronized void onErrorResponse(VolleyError error) { argument
149 mException = error;
H A DImageLoader.java92 * it will switch to either the actual image or the error image.
101 public void onErrorResponse(VolleyError error) {
129 * - onErrorResponse will be called if there was an error loading the image.
133 * Listens for non-error changes to the loading of the image request.
259 public void onErrorResponse(VolleyError error) {
260 onGetImageError(cacheKey, error);
299 protected void onGetImageError(String cacheKey, VolleyError error) { argument
305 // Set the error for this request
306 request.setError(error);
414 * Set the error fo
416 setError(VolleyError error) argument
[all...]
/frameworks/base/media/java/android/media/
H A DMetadata.java290 * @return false if an error occurred during parsing.
294 boolean error = false;
304 error = true;
311 error = true;
320 error = true;
330 error = true;
340 if (0 != bytesLeft || error) {
341 Log.e(TAG, "Ran out of data or error on record " + recCount);
374 * @return false if an error occurred.
/frameworks/native/opengl/tests/gl_basic/
H A Dgl_basic.cpp139 EGLint error = eglGetError(); local
140 if (returnVal && error == EGL_SUCCESS) {
153 for (EGLint error = eglGetError(); error != EGL_SUCCESS; error
155 fprintf(stderr, "after %s() eglError %s (0x%x)\n", op, EGLUtils::strerror(error),
156 error);
/frameworks/native/opengl/tests/hwc/
H A DhwcRects.cpp365 bool error; local
384 rect.displayFrame = hwcTestParseHwcRect(in, error);
385 if (error) {
453 rect.color = hwcTestParseColor(in, error);
454 if (error) {
466 rect.sourceDim = hwcTestParseDim(in, error);
467 if (error) {
473 rect.sourceCrop = hwcTestParseHwcRect(in, error);
474 if (error) {
/frameworks/opt/net/ims/src/java/com/android/ims/
H A DImsUt.java533 private void sendFailureReport(Message result, ImsReasonInfo error) { argument
534 if (result == null || error == null) {
539 // If ImsReasonInfo object does not have a String error code, use a
540 // default error string.
541 if (error.mExtraMessage == null) {
545 errorString = new String(error.mExtraMessage);
547 AsyncResult.forMessage(result, null, new ImsException(errorString, error.mCode));
599 public void utConfigurationUpdateFailed(IImsUt ut, int id, ImsReasonInfo error) { argument
603 sendFailureReport(mPendingCmds.get(key), error);
622 public void utConfigurationQueryFailed(IImsUt ut, int id, ImsReasonInfo error) { argument
[all...]
/frameworks/rs/cpp/
H A DRenderScript.cpp111 goto error;
127 goto error;
136 error:
196 void RS::throwError(RSError error, const char *errMsg) { argument
198 mCurrentError = error;
199 ALOGE("RS CPP error: %s", errMsg);
201 ALOGE("RS CPP error (masked by previous error): %s", errMsg);
231 ALOGE("RS::message handler realloc error %zu", rbuf_size);
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/
H A DRemotePrintDocument.java122 CharSequence error = mCurrentCommand.getError();
126 notifyUpdateFailed(error);
156 public void onUpdateFailed(CharSequence error); argument
338 throw new IllegalStateException("No update error to clear");
388 private void notifyUpdateFailed(CharSequence error) { argument
392 mUpdateCallbacks.onUpdateFailed(error);
615 protected final void failed(CharSequence error) { argument
621 mError = error;
726 private void handleOnLayoutFailed(CharSequence error, int sequence) { argument
737 failed(error);
848 onLayoutFailed(CharSequence error, int sequence) argument
1003 handleOnWriteFailed(CharSequence error, int sequence) argument
1104 onWriteFailed(CharSequence error, int sequence) argument
[all...]

Completed in 2583 milliseconds

1234567891011>>