Home
last modified time | relevance | path

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

123

/frameworks/native/opengl/libagl/
Degl.cpp96 static T setError(GLint error, T returnValue) { in setError() function
397 return setError(EGL_BAD_ALLOC, EGL_FALSE); in connect()
404 return setError(EGL_BAD_ALLOC, EGL_FALSE); in connect()
418 return setError(EGL_BAD_ALLOC, EGL_FALSE); in connect()
422 return setError(EGL_BAD_ALLOC, EGL_FALSE); in connect()
434 return setError(EGL_BAD_ACCESS, EGL_FALSE); in connect()
512 return setError(EGL_BAD_ACCESS, EGL_FALSE); in swapBuffers()
554 return setError(EGL_BAD_ALLOC, EGL_FALSE); in swapBuffers()
572 setError(EGL_BAD_ALLOC, EGL_FALSE); in swapBuffers()
577 setError(EGL_BAD_ALLOC, EGL_FALSE); in swapBuffers()
[all …]
/frameworks/native/opengl/libs/EGL/
Degl_platform_entries.cpp292 return setError(EGL_BAD_PARAMETER, EGL_NO_DISPLAY); in eglGetPlatformDisplayTmpl()
297 return setError(EGL_BAD_PARAMETER, EGL_NO_DISPLAY); in eglGetPlatformDisplayTmpl()
321 if (!dp) return setError(EGL_BAD_DISPLAY, (EGLBoolean)EGL_FALSE); in eglInitializeImpl()
335 if (!dp) return setError(EGL_BAD_DISPLAY, (EGLBoolean)EGL_FALSE); in eglTerminateImpl()
354 return setError(EGL_BAD_PARAMETER, (EGLBoolean)EGL_FALSE); in eglGetConfigsImpl()
377 return setError(EGL_BAD_PARAMETER, (EGLBoolean)EGL_FALSE); in eglChooseConfigImpl()
544 if (!dp->hasColorSpaceSupport) return setError(EGL_BAD_ATTRIBUTE, EGL_FALSE); in processAttributes()
548 return setError(EGL_BAD_ATTRIBUTE, EGL_FALSE); in processAttributes()
600 return setError(EGL_BAD_NATIVE_WINDOW, EGL_FALSE); in processAttributes()
605 return setError(EGL_BAD_MATCH, EGL_FALSE); in processAttributes()
[all …]
Degl.cpp91 return setError(EGL_BAD_DISPLAY, egl_display_ptr(nullptr)); in validate_display()
93 return setError(EGL_NOT_INITIALIZED, egl_display_ptr(nullptr)); in validate_display()
106 return setError(EGL_BAD_CONFIG, egl_display_ptr(nullptr)); in validate_display_connection()
DeglApi.cpp45 return setError(EGL_BAD_PARAMETER, EGL_NO_DISPLAY); in eglGetDisplay()
60 return setError(EGL_BAD_PARAMETER, EGL_NO_DISPLAY); in eglGetPlatformDisplay()
243 setError(EGL_BAD_PARAMETER, NULL); in eglGetProcAddress()
327 return setError(EGL_BAD_PARAMETER, (EGLBoolean)EGL_FALSE); in eglBindAPI()
337 return setError(EGL_BAD_PARAMETER, (EGLBoolean)EGL_FALSE); in eglQueryAPI()
596 return setError(EGL_BAD_PARAMETER, (EGLuint64NV)EGL_FALSE); in eglGetSystemTimeFrequencyNV()
606 return setError(EGL_BAD_PARAMETER, (EGLuint64NV)EGL_FALSE); in eglGetSystemTimeNV()
Degl_tls.h63 #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.cpp537 mCtx->getContext()->setError(RS_ERROR_BAD_SCRIPT, \ in setUpMtlsDimensions()
566 mCtx->getContext()->setError(RS_ERROR_BAD_SCRIPT, in reduceMtlsSetup()
573 mCtx->getContext()->setError(RS_ERROR_BAD_SCRIPT, in reduceMtlsSetup()
587 mCtx->getContext()->setError(RS_ERROR_BAD_SCRIPT, in reduceMtlsSetup()
633 mCtx->getContext()->setError(RS_ERROR_BAD_SCRIPT, in forEachMtlsSetup()
643 mCtx->getContext()->setError(RS_ERROR_BAD_SCRIPT, in forEachMtlsSetup()
650 mCtx->getContext()->setError(RS_ERROR_BAD_SCRIPT, in forEachMtlsSetup()
671 mCtx->getContext()->setError(RS_ERROR_BAD_SCRIPT, in forEachMtlsSetup()
689 mCtx->getContext()->setError(RS_ERROR_BAD_SCRIPT, in forEachMtlsSetup()
696 mCtx->getContext()->setError(RS_ERROR_BAD_SCRIPT, in forEachMtlsSetup()
/frameworks/base/core/java/com/android/internal/util/
DFastPrintWriter.java287 protected void setError() { in setError() method in FastPrintWriter
422 setError();
439 setError();
458 setError();
477 setError();
502 setError();
538 setError();
603 setError();
625 setError();
643 setError();
[all …]
/frameworks/rs/
DrsProgramVertex.cpp44 rsc->setError(RS_ERROR_FATAL_UNKNOWN, in setup()
68 rsc->setError(RS_ERROR_FATAL_UNKNOWN, in setProjectionMatrix()
73 rsc->setError(RS_ERROR_FATAL_UNKNOWN, in setProjectionMatrix()
86 rsc->setError(RS_ERROR_FATAL_UNKNOWN, in setModelviewMatrix()
91 rsc->setError(RS_ERROR_FATAL_UNKNOWN, in setModelviewMatrix()
104 rsc->setError(RS_ERROR_FATAL_UNKNOWN, in setTextureMatrix()
109 rsc->setError(RS_ERROR_FATAL_UNKNOWN, in setTextureMatrix()
122 rsc->setError(RS_ERROR_FATAL_UNKNOWN, in getProjectionMatrix()
127 rsc->setError(RS_ERROR_FATAL_UNKNOWN, in getProjectionMatrix()
DrsAllocation.cpp68 rsc->setError(RS_ERROR_FATAL_DRIVER, "Couldn't allocate memory for Allocation"); in createAllocationStrided()
79 …rsc->setError(RS_ERROR_FATAL_DRIVER, "Allocation Init called with USAGE_OEM but driver does not su… in createAllocationStrided()
93 rsc->setError(RS_ERROR_FATAL_DRIVER, "Allocation::Allocation, alloc failure"); in createAllocationStrided()
111 rsc->setError(RS_ERROR_FATAL_DRIVER, "Couldn't allocate memory for Allocation"); in createAdapter()
118 rsc->setError(RS_ERROR_FATAL_DRIVER, "Allocation::Allocation, alloc failure"); in createAdapter()
203 rsc->setError(RS_ERROR_BAD_VALUE, buf); in data()
234 rsc->setError(RS_ERROR_BAD_VALUE, buf); in read()
253 rsc->setError(RS_ERROR_BAD_VALUE, buf); in read()
276 rsc->setError(RS_ERROR_BAD_VALUE, "subElementData X offset out of range."); in elementData()
281 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_Lib.cpp256 rsc->setError(RS_ERROR_FATAL_DEBUG, ss.str().c_str()); in validateCopyArgs()
268 rsc->setError(RS_ERROR_FATAL_DEBUG, ss.str().c_str()); in validateCopyArgs()
278 rsc->setError(RS_ERROR_FATAL_DEBUG, ss.str().c_str()); in validateCopyArgs()
287 rsc->setError(RS_ERROR_FATAL_DEBUG, ss.str().c_str()); in validateCopyArgs()
294 rsc->setError(RS_ERROR_FATAL_DEBUG, ss.str().c_str()); in validateCopyArgs()
DrsScriptC.cpp148 rsc->setError(RS_ERROR_BAD_SCRIPT, "Attempted to run bad script"); in run()
180 rsc->setError(RS_ERROR_BAD_SCRIPT, in runForEach()
215 rsc->setError(RS_ERROR_FATAL_DRIVER, in runForEach()
227 rsc->setError(RS_ERROR_BAD_SCRIPT, "The general reduce kernel index is out of bounds"); in runReduce()
245 rsc->setError(RS_ERROR_BAD_SCRIPT, "The invokable index is out of bounds"); in Invoke()
/frameworks/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()
DrsdProgramStore.cpp113 rsc->setError(RS_ERROR_FATAL_DRIVER, "Unknown blend src mode."); in rsdProgramStoreInit()
143 rsc->setError(RS_ERROR_FATAL_DRIVER, "Unknown blend dst mode."); in rsdProgramStoreInit()
DrsdAllocation.cpp662 rsc->setError(RS_ERROR_FATAL_DRIVER, in rsdAllocationSyncAll()
666 rsc->setError(RS_ERROR_FATAL_DRIVER, "Cannot only sync from RGBA" in rsdAllocationSyncAll()
713 rsc->setError(RS_ERROR_DRIVER, "Error dequeueing IO output buffer."); in IoGetBuffer()
723 rsc->setError(RS_ERROR_DRIVER, "Error Locking IO output buffer."); in IoGetBuffer()
745 rsc->setError(RS_ERROR_DRIVER, "Error unlocking output buffer."); in rsdAllocationSetSurface()
751 rsc->setError(RS_ERROR_DRIVER, "Error canceling output buffer."); in rsdAllocationSetSurface()
764 rsc->setError(RS_ERROR_DRIVER, "Error setting IO output buffer geometry."); in rsdAllocationSetSurface()
772 rsc->setError(RS_ERROR_DRIVER, "Error setting IO output buffer usage."); in rsdAllocationSetSurface()
802 rsc->setError(RS_ERROR_DRIVER, "Error unlock output buffer."); in rsdAllocationIoSend()
808 rsc->setError(RS_ERROR_DRIVER, "Error sending IO output buffer."); in rsdAllocationIoSend()
[all …]
DrsdProgramRaster.cpp49 rsc->setError(RS_ERROR_FATAL_DRIVER, "Invalid cull type"); in rsdProgramRasterSetActive()
/frameworks/base/core/java/android/hardware/camera2/legacy/
DRequestThreadManager.java193 mDeviceState.setError(
198 mDeviceState.setError(
203 mDeviceState.setError(
356 mDeviceState.setError( in configureOutputs()
372 mDeviceState.setError( in configureOutputs()
433 mDeviceState.setError( in configureOutputs()
535 mDeviceState.setError( in configureOutputs()
717 mDeviceState.setError(
749 mDeviceState.setError(
873 mDeviceState.setError(
[all …]
/frameworks/native/services/vr/hardware_composer/impl/
Dvr_composer_client.cpp76 mWriter.setError(getCommandLoc(), err); in executeSetLayerInfo()
89 mWriter.setError(getCommandLoc(), err); in executeSetClientTargetMetadata()
102 mWriter.setError(getCommandLoc(), err); in executeSetLayerBufferMetadata()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DStreamingSource.cpp110 setError(ERROR_END_OF_STREAM); in onReadBuffer()
121 setError(ERROR_UNSUPPORTED); in onReadBuffer()
164 setError(err); in onReadBuffer()
220 void NuPlayer::StreamingSource::setError(status_t err) { in setError() function in android::NuPlayer::StreamingSource
/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