Home
last modified time | relevance | path

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

123

/frameworks/native/opengl/libs/EGL/
Degl_platform_entries.cpp253 return setError(EGL_BAD_PARAMETER, EGL_NO_DISPLAY); in eglGetPlatformDisplayTmpl()
258 return setError(EGL_BAD_PARAMETER, EGL_NO_DISPLAY); in eglGetPlatformDisplayTmpl()
281 if (!dp) return setError(EGL_BAD_DISPLAY, (EGLBoolean)EGL_FALSE); in eglInitializeImpl()
294 if (!dp) return setError(EGL_BAD_DISPLAY, (EGLBoolean)EGL_FALSE); in eglTerminateImpl()
311 return setError(EGL_BAD_PARAMETER, (EGLBoolean)EGL_FALSE); in eglGetConfigsImpl()
331 return setError(EGL_BAD_PARAMETER, (EGLBoolean)EGL_FALSE); in eglChooseConfigImpl()
491 if (!dp->hasColorSpaceSupport) return setError(EGL_BAD_ATTRIBUTE, EGL_FALSE); in processAttributes()
495 return setError(EGL_BAD_ATTRIBUTE, EGL_FALSE); in processAttributes()
547 return setError(EGL_BAD_NATIVE_WINDOW, EGL_FALSE); in processAttributes()
552 return setError(EGL_BAD_MATCH, EGL_FALSE); in processAttributes()
[all …]
DeglApi.cpp44 return setError(EGL_BAD_PARAMETER, EGL_NO_DISPLAY); in eglGetDisplay()
59 return setError(EGL_BAD_PARAMETER, EGL_NO_DISPLAY); in eglGetPlatformDisplay()
242 setError(EGL_BAD_PARAMETER, NULL); in eglGetProcAddress()
326 return setError(EGL_BAD_PARAMETER, (EGLBoolean)EGL_FALSE); in eglBindAPI()
336 return setError(EGL_BAD_PARAMETER, (EGLBoolean)EGL_FALSE); in eglQueryAPI()
595 return setError(EGL_BAD_PARAMETER, (EGLuint64NV)EGL_FALSE); in eglGetSystemTimeFrequencyNV()
605 return setError(EGL_BAD_PARAMETER, (EGLuint64NV)EGL_FALSE); in eglGetSystemTimeNV()
Degl_tls.h59 #define setError(_e, _r) egl_tls_t::setErrorEtc(__FUNCTION__, __LINE__, _e, _r) macro
Degl_display.cpp198 return setError(error, dpy); in getPlatformDisplay()
537 if (!dp) return setError(EGL_BAD_DISPLAY, (egl_display_t*)nullptr); in validate_display()
538 if (!dp->isReady()) return setError(EGL_NOT_INITIALIZED, (egl_display_t*)nullptr); in validate_display()
549 return setError(EGL_BAD_CONFIG, (egl_display_t*)nullptr); in validate_display_connection()
/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()
DrsdProgramRaster.cpp49 rsc->setError(RS_ERROR_FATAL_DRIVER, "Invalid cull type"); in rsdProgramRasterSetActive()
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 …]
/frameworks/libs/systemui/motiontoollib/src/com/android/app/motiontool/
DDdmHandleMotionTool.kt70 .setError(ErrorResponse.newBuilder() in handleChunk()
89 MotionToolsResponse.newBuilder().setError(ErrorResponse.newBuilder() in handleChunk()
144 setError(createUnknownTraceIdResponse(e.traceId)) in MotionToolsResponse()
146 setError(createWindowNotFoundResponse(e.windowId)) in MotionToolsResponse()
/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/base/services/core/java/com/android/server/pm/
DPackageInstalledInfo.java55 public void setError(int code, String msg) { in setError() method in PackageInstalledInfo
61 public void setError(String msg, PackageManagerException e) { in setError() method in PackageInstalledInfo
/frameworks/av/media/libmediaplayerservice/nuplayer/
DStreamingSource.cpp111 setError(ERROR_END_OF_STREAM); in onReadBuffer()
122 setError(ERROR_UNSUPPORTED); in onReadBuffer()
165 setError(err); in onReadBuffer()
221 void NuPlayer::StreamingSource::setError(status_t err) { in setError() function in android::NuPlayer::StreamingSource
/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/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/tests/BiDiTests/src/com/android/bidi/
DBiDiTestTextViewDrawablesRtl.java43 textViewError.setError("Error!!"); in onViewCreated()
DBiDiTestTextViewDrawablesLtr.java43 textViewError.setError("Error!!"); in onViewCreated()

123