Home
last modified time | relevance | path

Searched refs:setError (Results 1 – 25 of 67) 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()
401 return setError(EGL_BAD_ALLOC, EGL_FALSE); in connect()
405 return setError(EGL_BAD_ALLOC, EGL_FALSE); in connect()
417 return setError(EGL_BAD_ACCESS, EGL_FALSE); in connect()
501 return setError(EGL_BAD_ACCESS, EGL_FALSE); in swapBuffers()
543 return setError(EGL_BAD_ALLOC, EGL_FALSE); in swapBuffers()
561 setError(EGL_BAD_ALLOC, EGL_FALSE); in swapBuffers()
566 setError(EGL_BAD_ALLOC, EGL_FALSE); in swapBuffers()
[all …]
/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.cpp531 mCtx->getContext()->setError(RS_ERROR_BAD_SCRIPT, in forEachMtlsSetup()
540 mCtx->getContext()->setError(RS_ERROR_BAD_SCRIPT, in forEachMtlsSetup()
555 mCtx->getContext()->setError(RS_ERROR_BAD_SCRIPT, in forEachMtlsSetup()
575 mCtx->getContext()->setError(RS_ERROR_BAD_SCRIPT, in forEachMtlsSetup()
582 mCtx->getContext()->setError(RS_ERROR_BAD_SCRIPT, in forEachMtlsSetup()
595 mCtx->getContext()->setError(RS_ERROR_BAD_SCRIPT, in forEachMtlsSetup()
607 mCtx->getContext()->setError(RS_ERROR_BAD_SCRIPT, in forEachMtlsSetup()
619 mCtx->getContext()->setError(RS_ERROR_BAD_SCRIPT, in forEachMtlsSetup()
631 mCtx->getContext()->setError(RS_ERROR_BAD_SCRIPT, in forEachMtlsSetup()
643 mCtx->getContext()->setError(RS_ERROR_BAD_SCRIPT, in forEachMtlsSetup()
[all …]
/frameworks/native/opengl/libs/EGL/
DeglApi.cpp254 return setError(EGL_BAD_PARAMETER, EGL_NO_DISPLAY); in eglGetDisplay()
258 return setError(EGL_BAD_PARAMETER, EGL_NO_DISPLAY); in eglGetDisplay()
274 if (!dp) return setError(EGL_BAD_DISPLAY, EGL_FALSE); in eglInitialize()
290 if (!dp) return setError(EGL_BAD_DISPLAY, EGL_FALSE); in eglTerminate()
311 return setError(EGL_BAD_PARAMETER, EGL_FALSE); in eglGetConfigs()
336 return setError(EGL_BAD_PARAMETER, EGL_FALSE); in eglChooseConfig()
456 return setError(EGL_BAD_ALLOC, EGL_NO_SURFACE); in eglCreateWindowSurface()
501 return setError(EGL_BAD_ATTRIBUTE, EGL_NO_SURFACE); in eglCreateWindowSurface()
513 return setError(EGL_BAD_NATIVE_WINDOW, EGL_NO_SURFACE); in eglCreateWindowSurface()
523 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/
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()
DrsAllocation.cpp69 rsc->setError(RS_ERROR_FATAL_DRIVER, "Couldn't allocate memory for Allocation"); in createAllocation()
80 …rsc->setError(RS_ERROR_FATAL_DRIVER, "Allocation Init called with USAGE_OEM but driver does not su… in createAllocation()
89 rsc->setError(RS_ERROR_FATAL_DRIVER, "Allocation::Allocation, alloc failure"); in createAllocation()
102 rsc->setError(RS_ERROR_FATAL_DRIVER, "Couldn't allocate memory for Allocation"); in createAdapter()
109 rsc->setError(RS_ERROR_FATAL_DRIVER, "Allocation::Allocation, alloc failure"); in createAdapter()
190 rsc->setError(RS_ERROR_BAD_VALUE, buf); in data()
220 rsc->setError(RS_ERROR_BAD_VALUE, buf); in read()
238 rsc->setError(RS_ERROR_BAD_VALUE, buf); in read()
263 rsc->setError(RS_ERROR_BAD_VALUE, "subElementData X offset out of range."); in elementData()
268 rsc->setError(RS_ERROR_BAD_VALUE, "subElementData Y offset out of range."); in elementData()
[all …]
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()
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()
DrsScriptC.cpp164 rsc->setError(RS_ERROR_BAD_SCRIPT, "Attempted to run bad script"); in run()
232 rsc->setError(RS_ERROR_FATAL_DRIVER, in runForEach()
245 rsc->setError(RS_ERROR_BAD_SCRIPT, "Calling invoke on bad script"); in Invoke()
/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()
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()
DrsdProgramRaster.cpp49 rsc->setError(RS_ERROR_FATAL_DRIVER, "Invalid cull type"); in rsdProgramRasterSetActive()
DrsdAllocation.cpp642 rsc->setError(RS_ERROR_FATAL_DRIVER, in rsdAllocationSyncAll()
646 rsc->setError(RS_ERROR_FATAL_DRIVER, "Cannot only sync from RGBA" in rsdAllocationSyncAll()
692 rsc->setError(RS_ERROR_DRIVER, "Error getting next IO output buffer."); in IoGetBuffer()
752 rsc->setError(RS_ERROR_DRIVER, "Error setting IO output buffer usage."); in rsdAllocationSetSurface()
758 rsc->setError(RS_ERROR_DRIVER, "Error setting IO output buffer usage."); in rsdAllocationSetSurface()
765 rsc->setError(RS_ERROR_DRIVER, "Error setting IO output buffer dimensions."); in rsdAllocationSetSurface()
775 rsc->setError(RS_ERROR_DRIVER, "Surface passed to setSurface is not U8_4, RGBA."); in rsdAllocationSetSurface()
782 rsc->setError(RS_ERROR_DRIVER, "Error setting IO output buffer format."); in rsdAllocationSetSurface()
817 rsc->setError(RS_ERROR_DRIVER, "Error sending IO output buffer."); in rsdAllocationIoSend()
824 rsc->setError(RS_ERROR_DRIVER, "Sent IO buffer with no attached surface."); in rsdAllocationIoSend()
[all …]
/frameworks/base/core/java/android/hardware/camera2/legacy/
DRequestThreadManager.java193 mDeviceState.setError(
198 mDeviceState.setError(
341 mDeviceState.setError( in configureOutputs()
357 mDeviceState.setError( in configureOutputs()
412 mDeviceState.setError( in configureOutputs()
505 mDeviceState.setError( in configureOutputs()
687 mDeviceState.setError(
718 mDeviceState.setError(
836 mDeviceState.setError(
841 mDeviceState.setError(
[all …]
/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
/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/support/v4/api21/android/support/v4/view/accessibility/
DAccessibilityNodeInfoCompatApi21.java58 public static void setError(Object info, CharSequence error) { in setError() method in AccessibilityNodeInfoCompatApi21
59 ((AccessibilityNodeInfo) info).setError(error); in 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/
DBiDiTestTextViewDrawablesLtr.java43 textViewError.setError("Error!!"); in onViewCreated()
DBiDiTestTextViewDrawablesRtl.java43 textViewError.setError("Error!!"); in onViewCreated()

123