Home
last modified time | relevance | path

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

123

/frameworks/native/opengl/libagl/
Degl.cpp74 static T setError(GLint error, T returnValue) { in setError() function
380 return setError(EGL_BAD_ALLOC, EGL_FALSE); in connect()
387 return setError(EGL_BAD_ALLOC, EGL_FALSE); in connect()
399 return setError(EGL_BAD_ALLOC, EGL_FALSE); in connect()
411 return setError(EGL_BAD_ACCESS, EGL_FALSE); in connect()
495 return setError(EGL_BAD_ACCESS, EGL_FALSE); in swapBuffers()
537 return setError(EGL_BAD_ALLOC, EGL_FALSE); in swapBuffers()
553 setError(EGL_BAD_ALLOC, EGL_FALSE); in swapBuffers()
567 return setError(EGL_BAD_ACCESS, EGL_FALSE); in swapBuffers()
571 return setError(EGL_BAD_CURRENT_SURFACE, EGL_FALSE); in swapBuffers()
[all …]
/frameworks/native/opengl/libs/EGL/
DeglApi.cpp209 return setError(EGL_BAD_PARAMETER, EGL_NO_DISPLAY); in eglGetDisplay()
213 return setError(EGL_BAD_PARAMETER, EGL_NO_DISPLAY); in eglGetDisplay()
229 if (!dp) return setError(EGL_BAD_DISPLAY, EGL_FALSE); in eglInitialize()
245 if (!dp) return setError(EGL_BAD_DISPLAY, EGL_FALSE); in eglTerminate()
266 return setError(EGL_BAD_PARAMETER, EGL_FALSE); in eglGetConfigs()
291 return setError(EGL_BAD_PARAMETER, EGL_FALSE); in eglChooseConfig()
416 return setError(EGL_BAD_ALLOC, EGL_NO_SURFACE); in eglCreateWindowSurface()
447 return setError(EGL_BAD_ATTRIBUTE, EGL_NO_SURFACE); in eglCreateWindowSurface()
488 return setError(EGL_BAD_ATTRIBUTE, EGL_NO_SURFACE); in eglCreateWindowSurface()
500 return setError(EGL_BAD_NATIVE_WINDOW, EGL_NO_SURFACE); in eglCreateWindowSurface()
[all …]
Degl.cpp255 return setError(EGL_BAD_DISPLAY, egl_display_ptr(NULL)); in validate_display()
257 return setError(EGL_NOT_INITIALIZED, egl_display_ptr(NULL)); in validate_display()
270 return setError(EGL_BAD_CONFIG, egl_display_ptr(NULL)); in validate_display_connection()
Degl_tls.h64 #define setError(_e, _r) \ macro
/frameworks/rs/cpu_ref/
DrsCpuIntrinsic.cpp35 mCtx->getContext()->setError(RS_ERROR_FATAL_DRIVER, in invokeFunction()
40 mCtx->getContext()->setError(RS_ERROR_FATAL_DRIVER, in invokeRoot()
46 mCtx->getContext()->setError(RS_ERROR_FATAL_DRIVER, in invokeInit()
51 mCtx->getContext()->setError(RS_ERROR_FATAL_DRIVER, in setGlobalVar()
58 mCtx->getContext()->setError(RS_ERROR_FATAL_DRIVER, in setGlobalVarWithElemDims()
63 mCtx->getContext()->setError(RS_ERROR_FATAL_DRIVER, in setGlobalBind()
68 mCtx->getContext()->setError(RS_ERROR_FATAL_DRIVER, in setGlobalObj()
DrsCpuScript.cpp806 … mCtx->getContext()->setError(RS_ERROR_BAD_SCRIPT, "rsForEach called with null in allocations"); in forEachMtlsSetup()
810 … mCtx->getContext()->setError(RS_ERROR_BAD_SCRIPT, "rsForEach called with null out allocations"); in forEachMtlsSetup()
829 mCtx->getContext()->setError(RS_ERROR_BAD_SCRIPT, "rsForEach called with null allocations"); in forEachMtlsSetup()
835 mCtx->getContext()->setError(RS_ERROR_BAD_SCRIPT, in forEachMtlsSetup()
923 … mCtx->getContext()->setError(RS_ERROR_BAD_SCRIPT, "rsForEach called with null in allocations"); in forEachMtlsSetup()
930 … mCtx->getContext()->setError(RS_ERROR_BAD_SCRIPT, "rsForEach called with null out allocations"); in forEachMtlsSetup()
944 mCtx->getContext()->setError(RS_ERROR_BAD_SCRIPT, in forEachMtlsSetup()
959 mCtx->getContext()->setError(RS_ERROR_BAD_SCRIPT, "rsForEach called with null allocations"); in forEachMtlsSetup()
965 mCtx->getContext()->setError(RS_ERROR_BAD_SCRIPT, in forEachMtlsSetup()
/frameworks/rs/
DrsProgramVertex.cpp45 rsc->setError(RS_ERROR_FATAL_UNKNOWN, in setup()
69 rsc->setError(RS_ERROR_FATAL_UNKNOWN, in setProjectionMatrix()
74 rsc->setError(RS_ERROR_FATAL_UNKNOWN, in setProjectionMatrix()
87 rsc->setError(RS_ERROR_FATAL_UNKNOWN, in setModelviewMatrix()
92 rsc->setError(RS_ERROR_FATAL_UNKNOWN, in setModelviewMatrix()
105 rsc->setError(RS_ERROR_FATAL_UNKNOWN, in setTextureMatrix()
110 rsc->setError(RS_ERROR_FATAL_UNKNOWN, in setTextureMatrix()
123 rsc->setError(RS_ERROR_FATAL_UNKNOWN, in getProjectionMatrix()
128 rsc->setError(RS_ERROR_FATAL_UNKNOWN, in getProjectionMatrix()
DrsProgram.cpp157 rsc->setError(RS_ERROR_BAD_SHADER, "Cannot bind allocation"); in bindAllocation()
163 rsc->setError(RS_ERROR_BAD_SHADER, "Cannot bind allocation"); in bindAllocation()
184 rsc->setError(RS_ERROR_BAD_SHADER, "Cannot bind texture"); in bindTexture()
190 rsc->setError(RS_ERROR_BAD_SHADER, "Cannot bind cubemap to 2d texture slot"); in bindTexture()
203 rsc->setError(RS_ERROR_BAD_SHADER, "Cannot bind sampler"); in bindSampler()
DrsAllocation.cpp57 rsc->setError(RS_ERROR_FATAL_DRIVER, "Couldn't allocate memory for Allocation"); in createAllocation()
64 rsc->setError(RS_ERROR_FATAL_DRIVER, "Allocation::Allocation, alloc failure"); in createAllocation()
123 rsc->setError(RS_ERROR_BAD_VALUE, buf); in data()
153 rsc->setError(RS_ERROR_BAD_VALUE, buf); in read()
171 rsc->setError(RS_ERROR_BAD_VALUE, buf); in read()
196 rsc->setError(RS_ERROR_BAD_VALUE, "subElementData component out of range."); in elementData()
201 rsc->setError(RS_ERROR_BAD_VALUE, "subElementData X offset out of range."); in elementData()
208 rsc->setError(RS_ERROR_BAD_VALUE, "subElementData bad size."); in elementData()
221 rsc->setError(RS_ERROR_BAD_VALUE, "subElementData X offset out of range."); in elementData()
226 rsc->setError(RS_ERROR_BAD_VALUE, "subElementData X offset out of range."); in elementData()
[all …]
DrsProgramFragment.cpp45 … rsc->setError(RS_ERROR_BAD_SHADER, "Cannot set fixed function emulation color on user program"); in setConstantColor()
50 …rsc->setError(RS_ERROR_BAD_SHADER, "Unable to set fixed function emulation color because allocatio… in setConstantColor()
72 rsc->setError(RS_ERROR_BAD_SHADER, "No texture bound"); in setup()
/frameworks/rs/driver/
DrsdFrameBufferObj.cpp56 rsc->setError(RS_ERROR_BAD_VALUE, in checkError()
60 rsc->setError(RS_ERROR_BAD_VALUE, in checkError()
64 rsc->setError(RS_ERROR_BAD_VALUE, in checkError()
68 rsc->setError(RS_ERROR_BAD_VALUE, in checkError()
DrsdProgramRaster.cpp49 rsc->setError(RS_ERROR_FATAL_DRIVER, "Invalid cull type"); in rsdProgramRasterSetActive()
DrsdProgramStore.cpp114 rsc->setError(RS_ERROR_FATAL_DRIVER, "Unknown blend src mode."); in rsdProgramStoreInit()
144 rsc->setError(RS_ERROR_FATAL_DRIVER, "Unknown blend dst mode."); in rsdProgramStoreInit()
DrsdAllocation.cpp601 rsc->setError(RS_ERROR_FATAL_DRIVER, in rsdAllocationSyncAll()
605 rsc->setError(RS_ERROR_FATAL_DRIVER, "Cannot only sync from RGBA" in rsdAllocationSyncAll()
651 rsc->setError(RS_ERROR_DRIVER, "Error getting next IO output buffer."); in IoGetBuffer()
711 rsc->setError(RS_ERROR_DRIVER, "Error setting IO output buffer usage."); in rsdAllocationSetSurface()
717 rsc->setError(RS_ERROR_DRIVER, "Error setting IO output buffer usage."); in rsdAllocationSetSurface()
724 rsc->setError(RS_ERROR_DRIVER, "Error setting IO output buffer dimensions."); in rsdAllocationSetSurface()
737 rsc->setError(RS_ERROR_DRIVER, "Error setting IO output buffer format."); in rsdAllocationSetSurface()
772 rsc->setError(RS_ERROR_DRIVER, "Error sending IO output buffer."); in rsdAllocationIoSend()
779 rsc->setError(RS_ERROR_DRIVER, "Sent IO buffer with no attached surface."); in rsdAllocationIoSend()
1050 rsc->setError(RS_ERROR_FATAL_DRIVER, "Non-script allocation copies not " in rsdAllocationData2D_alloc()
[all …]
DrsdMeshObj.cpp131 rsc->setError(RS_ERROR_FATAL_DRIVER, "Invalid mesh or parameters"); in renderPrimitiveRange()
194 default: rsc->setError(RS_ERROR_FATAL_DRIVER, "Invalid mesh primitive"); break; in updateGLPrimitives()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DStreamingSource.cpp95 setError(ERROR_END_OF_STREAM); in onReadBuffer()
106 setError(ERROR_UNSUPPORTED); in onReadBuffer()
146 setError(err); in onReadBuffer()
202 void NuPlayer::StreamingSource::setError(status_t err) { in setError() function in android::NuPlayer::StreamingSource
DStreamingSource.h64 void setError(status_t err);
/frameworks/base/core/java/android/hardware/camera2/legacy/
DRequestThreadManager.java195 mDeviceState.setError(CameraDeviceImpl.CameraDeviceCallbacks.ERROR_CAMERA_DEVICE);
335 mDeviceState.setError( in configureOutputs()
351 mDeviceState.setError( in configureOutputs()
404 mDeviceState.setError( in configureOutputs()
493 mDeviceState.setError( in configureOutputs()
671 mDeviceState.setError(
702 mDeviceState.setError(
820 mDeviceState.setError(
825 mDeviceState.setError(
830 mDeviceState.setError(
[all …]
/frameworks/av/media/libstagefright/include/
DWVMExtractor.h40 virtual void setError(status_t err) = 0;
82 void setError(status_t err);
/frameworks/base/core/java/com/android/internal/util/
DFastPrintWriter.java268 protected void setError() { in setError() method in FastPrintWriter
394 setError();
410 setError();
468 setError();
503 setError();
/frameworks/av/media/libstagefright/
DWVMExtractor.cpp162 void WVMExtractor::setError(status_t err) { in setError() function in android::WVMExtractor
164 mImpl->setError(err); in setError()
/frameworks/base/tests/OneMedia/src/com/android/onemedia/playback/
DLocalRenderer.java180 setError(error.type, error.extra, error.errorExtras, null); in doInBackground()
341 setError(what, extra, null, null); in onError()
417 setError(Listener.ERROR_LOAD_FAILED, 0, null, e); in setContent()
627 setError(Listener.ERROR_PREPARE_ERROR, 0, null, e); in preparePlayer()
638 private void setError(int type, int extra, Bundle extras, Exception e) { in setError() method in LocalRenderer
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/widget/
DCustomErrorEditText.java40 public void setError(CharSequence error, Drawable icon) { in setError() method in CustomErrorEditText
/frameworks/base/tests/BiDiTests/src/com/android/bidi/
DBiDiTestTextViewDrawablesRtl.java43 textViewError.setError("Error!!"); in onViewCreated()
DBiDiTestTextViewDrawablesLtr.java43 textViewError.setError("Error!!"); in onViewCreated()

123