Home
last modified time | relevance | path

Searched refs:setError (Results 1 – 25 of 35) sorted by relevance

12

/frameworks/base/opengl/libagl2/src/
Degl.cpp52 static T setError(GLint error, T returnValue) in setError() function
357 return setError(EGL_BAD_ALLOC, EGL_FALSE); in connect()
370 return setError(EGL_BAD_ALLOC, EGL_FALSE); in connect()
384 return setError(EGL_BAD_ACCESS, EGL_FALSE); in connect()
470 return setError(EGL_BAD_ACCESS, EGL_FALSE); in swapBuffers()
527 setError(EGL_BAD_ALLOC, EGL_FALSE); in swapBuffers()
541 return setError(EGL_BAD_ACCESS, EGL_FALSE); in swapBuffers()
545 return setError(EGL_BAD_CURRENT_SURFACE, EGL_FALSE); in swapBuffers()
654 setError(EGL_BAD_ALLOC, EGL_NO_SURFACE); in egl_pixmap_surface_t()
748 setError(EGL_BAD_ALLOC, EGL_NO_SURFACE); in egl_pbuffer_surface_t()
[all …]
/frameworks/base/opengl/libagl/
Degl.cpp68 static T setError(GLint error, T returnValue) { in setError() function
371 return setError(EGL_BAD_ALLOC, EGL_FALSE); in connect()
383 return setError(EGL_BAD_ALLOC, EGL_FALSE); in connect()
397 return setError(EGL_BAD_ACCESS, EGL_FALSE); in connect()
482 return setError(EGL_BAD_ACCESS, EGL_FALSE); in swapBuffers()
538 setError(EGL_BAD_ALLOC, EGL_FALSE); in swapBuffers()
552 return setError(EGL_BAD_ACCESS, EGL_FALSE); in swapBuffers()
556 return setError(EGL_BAD_CURRENT_SURFACE, EGL_FALSE); in swapBuffers()
656 setError(EGL_BAD_ALLOC, EGL_NO_SURFACE); in egl_pixmap_surface_t()
736 setError(EGL_BAD_ALLOC, EGL_NO_SURFACE); in egl_pbuffer_surface_t()
[all …]
/frameworks/base/opengl/libs/EGL/
DeglApi.cpp147 return setError(EGL_BAD_PARAMETER, EGL_NO_DISPLAY); in eglGetDisplay()
151 return setError(EGL_BAD_PARAMETER, EGL_NO_DISPLAY); in eglGetDisplay()
167 if (!dp) return setError(EGL_BAD_DISPLAY, EGL_FALSE); in eglInitialize()
183 if (!dp) return setError(EGL_BAD_DISPLAY, EGL_FALSE); in eglTerminate()
230 return setError(EGL_BAD_PARAMETER, EGL_FALSE); in eglChooseConfig()
259 return setError(EGL_BAD_ALLOC, EGL_FALSE); in eglChooseConfig()
322 return setError(EGL_BAD_CONFIG, EGL_FALSE); in eglChooseConfig()
374 return setError(EGL_BAD_NATIVE_WINDOW, EGL_NO_SURFACE); in eglCreateWindowSurface()
386 return setError(EGL_BAD_NATIVE_WINDOW, EGL_NO_SURFACE); in eglCreateWindowSurface()
456 return setError(EGL_BAD_SURFACE, EGL_FALSE); in eglDestroySurface()
[all …]
Degl.cpp188 return setError(EGL_BAD_DISPLAY, (egl_display_t*)NULL); in validate_display()
190 return setError(EGL_NOT_INITIALIZED, (egl_display_t*)NULL); in validate_display()
202 return setError(EGL_BAD_CONFIG, (egl_connection_t*)NULL); in validate_display_config()
206 return setError(EGL_BAD_CONFIG, (egl_connection_t*)NULL); in validate_display_config()
Degl_tls.h65 #define setError(_e, _r) \ macro
Degl_display.cpp218 return setError(EGL_NOT_INITIALIZED, EGL_FALSE); in initialize()
226 return setError(EGL_NOT_INITIALIZED, EGL_FALSE); in terminate()
/frameworks/base/libs/rs/
DrsProgramVertex.cpp42 rsc->setError(RS_ERROR_FATAL_UNKNOWN, in setup()
64 rsc->setError(RS_ERROR_FATAL_UNKNOWN, in setProjectionMatrix()
69 rsc->setError(RS_ERROR_FATAL_UNKNOWN, in setProjectionMatrix()
80 rsc->setError(RS_ERROR_FATAL_UNKNOWN, in setModelviewMatrix()
85 rsc->setError(RS_ERROR_FATAL_UNKNOWN, in setModelviewMatrix()
96 rsc->setError(RS_ERROR_FATAL_UNKNOWN, in setTextureMatrix()
101 rsc->setError(RS_ERROR_FATAL_UNKNOWN, in setTextureMatrix()
112 rsc->setError(RS_ERROR_FATAL_UNKNOWN, in getProjectionMatrix()
117 rsc->setError(RS_ERROR_FATAL_UNKNOWN, in getProjectionMatrix()
DrsProgram.cpp121 rsc->setError(RS_ERROR_BAD_SHADER, "Cannot bind allocation"); in bindAllocation()
127 rsc->setError(RS_ERROR_BAD_SHADER, "Cannot bind allocation"); in bindAllocation()
147 rsc->setError(RS_ERROR_BAD_SHADER, "Cannot bind texture"); in bindTexture()
153 rsc->setError(RS_ERROR_BAD_SHADER, "Cannot bind cubemap to 2d texture slot"); in bindTexture()
164 rsc->setError(RS_ERROR_BAD_SHADER, "Cannot bind sampler"); in bindSampler()
DrsProgramFragment.cpp42 … rsc->setError(RS_ERROR_BAD_SHADER, "Cannot set fixed function emulation color on user program"); in setConstantColor()
47 …rsc->setError(RS_ERROR_BAD_SHADER, "Unable to set fixed function emulation color because allocatio… in setConstantColor()
67 rsc->setError(RS_ERROR_BAD_SHADER, "No texture bound"); in setup()
DrsAllocation.cpp42 rsc->setError(RS_ERROR_FATAL_DRIVER, "Allocation::Allocation, alloc failure"); in createAllocation()
116 rsc->setError(RS_ERROR_BAD_VALUE, "subElementData component out of range."); in elementData()
122 rsc->setError(RS_ERROR_BAD_VALUE, "subElementData X offset out of range."); in elementData()
129 rsc->setError(RS_ERROR_BAD_VALUE, "subElementData bad size."); in elementData()
143 rsc->setError(RS_ERROR_BAD_VALUE, "subElementData X offset out of range."); in elementData()
149 rsc->setError(RS_ERROR_BAD_VALUE, "subElementData X offset out of range."); in elementData()
155 rsc->setError(RS_ERROR_BAD_VALUE, "subElementData component out of range."); in elementData()
163 rsc->setError(RS_ERROR_BAD_VALUE, "subElementData bad size."); in elementData()
418 rsc->setError(RS_ERROR_BAD_VALUE, "Bitmap size didn't match allocation size"); in rsi_AllocationCopyToBitmap()
DrsScriptC.cpp104 rsc->setError(RS_ERROR_BAD_SCRIPT, "Attempted to run bad script"); in run()
143 rsc->setError(RS_ERROR_BAD_SCRIPT, "Calling invoke on bad script"); in Invoke()
DrsContext.cpp221 rsc->setError(RS_ERROR_FATAL_DRIVER, "Failed initializing GL"); in threadProc()
229 rsc->setError(RS_ERROR_OUT_OF_MEMORY, "Failed initializing GL"); in threadProc()
573 void Context::setError(RsError e, const char *msg) const { in setError() function in Context
DrsContext.h208 void setError(RsError e, const char *msg = NULL) const;
/frameworks/base/libs/rs/driver/
DrsdFrameBufferObj.cpp55 rsc->setError(RS_ERROR_BAD_VALUE, in checkError()
59 rsc->setError(RS_ERROR_BAD_VALUE, in checkError()
63 rsc->setError(RS_ERROR_BAD_VALUE, in checkError()
67 rsc->setError(RS_ERROR_BAD_VALUE, in checkError()
DrsdShader.cpp198 … rsc->setError(RS_ERROR_BAD_SHADER, "Error returned from GL driver loading shader text,"); in loadShader()
409 rsc->setError(RS_ERROR_BAD_SHADER, "Cannot bind more textuers than available"); in setupTextures()
426 rsc->setError(RS_ERROR_BAD_SHADER, "Non-texture allocation bound to a shader"); in setupTextures()
455 rsc->setError(RS_ERROR_BAD_SHADER, "No constant allocation bound"); in setupUserConstants()
DrsdGL.cpp430 rsc->setError(RS_ERROR_FATAL_DRIVER, buf); in rsdGLCheckError()
434 rsc->setError(RS_ERROR_OUT_OF_MEMORY, buf); in rsdGLCheckError()
437 rsc->setError(RS_ERROR_DRIVER, buf); in rsdGLCheckError()
DrsdAllocation.cpp340 rsc->setError(RS_ERROR_FATAL_DRIVER, in rsdAllocationSyncAll()
344 rsc->setError(RS_ERROR_FATAL_DRIVER, "Cannot only sync from RGBA" in rsdAllocationSyncAll()
476 rsc->setError(RS_ERROR_FATAL_DRIVER, "Non-script allocation copies not " in rsdAllocationData2D_alloc()
/frameworks/compile/libbcc/lib/ExecutionEngine/
DCompiler.h186 void setError(const char *Error) { in setError() function
190 void setError(const std::string &Error) { in setError() function
DCompiler.cpp325 setError("Failed to create target machine implementation for the" in compile()
367 setError("Fail to load emitted ELF relocatable file"); in compile()
490 setError("Non-integer object slot value '" + Slot.str() + "'"); in compile()
527 setError("Failed to startup memory management for further compilation"); in runCodeGen()
536 setError("Failed to create machine code emitter for compilation"); in runCodeGen()
559 setError("The machine code emission is not supported on '" + Triple + "'"); in runCodeGen()
665 setError("Fail to add passes to emit file"); in runMCCodeGen()
DScript.h166 void setError(int error) { in setError() function
/frameworks/base/core/java/android/webkit/
DMockGeolocation.java40 public void setError(int code, String message) { in setError() method in MockGeolocation
/frameworks/base/tests/BiDiTests/src/com/android/bidi/
DBiDiTestTextViewDrawablesRtl.java43 textViewError.setError("Error!!"); in onViewCreated()
DBiDiTestTextViewDrawablesLtr.java43 textViewError.setError("Error!!"); in onViewCreated()
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/
DLayoutTestController.java100 MockGeolocation.getInstance().setError(code, message); in setMockGeolocationError()
/frameworks/base/libs/binder/
DIPCThreadState.cpp526 if (reply) reply->setError(err); in transact()
746 if (reply) reply->setError(err); in waitForResponse()
1028 if (error < NO_ERROR) reply.setError(error); in executeCommand()
1032 if (error < NO_ERROR) reply.setError(error); in executeCommand()

12