Searched refs:error (Results 126 - 150 of 331) sorted by relevance

1234567891011>>

/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/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/volley/src/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;
/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/base/packages/SystemUI/src/com/android/systemui/
H A DImageWallpaper.java622 String error = glGetProgramInfoLog(program);
623 Log.d(GL_LOG_TAG, "Error while linking program:\n" + error);
645 String error = glGetShaderInfoLog(shader);
646 Log.d(GL_LOG_TAG, "Error while compiling shader:\n" + error);
655 int error = mEgl.eglGetError();
656 if (error != EGL_SUCCESS) {
657 Log.w(GL_LOG_TAG, "EGL error = " + GLUtils.getEGLErrorString(error));
662 int error = glGetError();
663 if (error !
[all...]
/frameworks/rs/cpu_ref/
H A DrsCpuScript.cpp514 goto error;
518 goto error;
525 // accidentally clean up invalid pointers later (if we error out).
528 goto error;
533 goto error;
537 goto error;
547 // Not a critical error if we don't find a global variable.
558 goto error;
562 goto error;
571 goto error;
[all...]
/frameworks/native/opengl/tests/hwc/
H A DhwcRects.cpp208 bool error; local
367 bool error; local
387 rect.displayFrame = hwcTestParseHwcRect(in, error);
388 if (error) {
456 rect.color = hwcTestParseColor(in, error);
457 if (error) {
469 rect.sourceDim = hwcTestParseDim(in, error);
470 if (error) {
476 rect.sourceCrop = hwcTestParseHwcRect(in, error);
477 if (error) {
[all...]
H A DhwcTestLib.cpp208 struct hwc_rect hwcTestParseHwcRect(istringstream& in, bool& error) argument
213 // Defensively specify that an error occurred. Will clear
214 // error flag if all of parsing succeeds.
215 error = true;
252 // Made It, clear error indicator
253 error = false;
259 HwcTestDim hwcTestParseDim(istringstream& in, bool& error) argument
265 // Defensively specify that an error occurred. Will clear
266 // error flag if all of parsing succeeds.
267 error
303 hwcTestParseColor(istringstream& in, bool& error) argument
1016 EGLint error = eglGetError(); local
[all...]
H A DhwcTestLib.h130 ColorFract hwcTestParseColor(std::istringstream& in, bool& error);
131 struct hwc_rect hwcTestParseHwcRect(std::istringstream& in, bool& error);
132 HwcTestDim hwcTestParseDim(std::istringstream& in, bool& error);
/frameworks/base/libs/hwui/
H A DLayerRenderer.cpp380 GLenum error = GL_NO_ERROR; local
415 if ((error = glGetError()) != GL_NO_ERROR) goto error;
430 if ((error = glGetError()) != GL_NO_ERROR) goto error;
434 if ((error = glGetError()) != GL_NO_ERROR) goto error;
453 if ((error = glGetError()) != GL_NO_ERROR) goto error;
463 if ((error
[all...]
/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/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DResourceHelper.java133 Bridge.getLog().error(LayoutLog.TAG_BROKEN,
137 // this is an error and not warning since the file existence is
139 Bridge.getLog().error(LayoutLog.TAG_RESOURCES_READ,
150 Bridge.getLog().error(LayoutLog.TAG_RESOURCES_FORMAT,
191 Bridge.getLog().error(LayoutLog.TAG_RESOURCES_READ,
213 // this is an error and not warning since the file existence is checked before
215 Bridge.getLog().error(null, "Failed to parse file " + stringValue,
219 Bridge.getLog().error(LayoutLog.TAG_BROKEN,
242 Bridge.getLog().error(LayoutLog.TAG_RESOURCES_READ,
252 Bridge.getLog().error(LayoutLo
[all...]
/frameworks/compile/mclinker/lib/Object/
H A DObjectLinker.cpp188 error(diag::err_no_inputs);
196 error(diag::err_mixed_shared_static_objects)
209 error(diag::err_nmagic_not_static);
213 error(diag::err_omagic_not_static);
258 error(diag::err_cannot_merge_section) << (*sect)->name()
269 error(diag::err_cannot_merge_section) << (*sect)->name()
275 error(diag::err_cannot_merge_section) << (*sect)->name()
287 error(diag::err_cannot_merge_section) << (*sect)->name()
293 error(diag::err_cannot_merge_section) << (*sect)->name()
/frameworks/base/core/jni/
H A Dandroid_util_Log.cpp41 jint error; member in struct:android::levels_t
53 case 'E': return levels.error;
159 levels.error = env->GetStaticIntField(clazz, env->GetStaticFieldID(clazz, "ERROR", "I"));
/frameworks/base/drm/java/android/drm/
H A DDrmManagerClient.java49 * Indicates that a request was successful or that no error occurred.
53 * Indicates that an error occurred and the reason is not known.
107 * Called when the DRM framework sends error information.
110 * @param event The {@link DrmErrorEvent} instance that wraps the error type and message.
136 DrmErrorEvent error = null;
152 error = new DrmErrorEvent(mUniqueId,
161 error = new DrmErrorEvent(mUniqueId,
173 if (null != mOnErrorListener && null != error) {
174 mOnErrorListener.onError(DrmManagerClient.this, error);
202 DrmErrorEvent error
[all...]
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DGLToolbox.java118 // For some devices, "pixels" being null causes system error.
174 int error;
175 while ((error = GLES20.glGetError()) != GLES20.GL_NO_ERROR) {
176 throw new RuntimeException("GL Operation '" + operation + "' caused error "
177 + Integer.toHexString(error) + "!");
/frameworks/base/tools/aapt/
H A DResourceTable.cpp275 sourcePos.error("Attribute \"%s\" has already been defined\n",
325 attr.sourcePos.error("A 'name' attribute is required for <attr>\n");
337 attr.sourcePos.error("Tag <attr> 'format' attribute value \"%s\" not valid\n",
354 attr.sourcePos.error("Tag <attr> 'min' attribute must be a number, not \"%s\"\n",
372 attr.sourcePos.error("Tag <attr> 'max' attribute must be a number, not \"%s\"\n",
385 attr.sourcePos.error("Tag <attr> must have format=integer attribute if using max or min\n");
392 bool error; local
393 uint32_t l10n_required = parse_flags(str, len, l10nRequiredFlags, &error);
394 if (error) {
395 attr.sourcePos.error("Ta
[all...]
/frameworks/base/tools/layoutlib/bridge/src/android/text/format/
H A DTime_Delegate.java90 Bridge.getLog().error(LayoutLog.TAG_UNSUPPORTED,
97 Bridge.getLog().error(LayoutLog.TAG_UNSUPPORTED,
122 Bridge.getLog().error(LayoutLog.TAG_UNSUPPORTED,
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
H A Dcod_amr.h166 Word16 mem_err[M + L_SUBFR], *error; member in struct:__anon613
/frameworks/av/media/libstagefright/timedtext/
H A DTimedTextPlayer.h77 void notifyError(int error = 0);
/frameworks/base/core/java/android/net/http/
H A DHttpsConnection.java126 * user about an error.
132 * error.
311 SslError error = CertificateChainValidator.getInstance().
315 if (error != null) {
325 boolean canHandle = req.getEventHandler().handleSslErrorRequest(error);
327 throw new IOException("failed to handle "+ error);
334 // to ignore the SSL error dialog for a very long time),
382 // if the connection has been suspended due to an SSL error
/frameworks/base/tools/layoutlib/create/tests/com/android/tools/layoutlib/create/
H A DLogTest.java71 mLog.error("Test %d", 44);
/frameworks/compile/libbcc/include/bcc/Support/
H A DTargetCompilerConfigs.h120 # error "Unsupported Default Target!"
/frameworks/compile/libbcc/
H A Dlibbcc-gen-build-info.mk23 $(error $(LOCAL_PATH): LOCAL_IS_HOST_MODULE must be "true" or empty, not "$(LOCAL_IS_HOST_MODULE)")
/frameworks/compile/mclinker/lib/Core/
H A DLinker.cpp255 error(diag::err_cannot_open_output_file) << "Linker::emit()" << pPath;
310 std::string error; local
311 m_pTarget = mcld::TargetRegistry::lookupTarget(m_pConfig->targets().triple().str(), error);
313 fatal(diag::fatal_cannot_init_target) << m_pConfig->targets().triple().str() << error;

Completed in 637 milliseconds

1234567891011>>