Home
last modified time | relevance | path

Searched refs:LOG_ALWAYS_FATAL_IF (Results 1 – 25 of 94) sorted by relevance

1234

/frameworks/base/core/jni/
Dcore_jni_helpers.h29 LOG_ALWAYS_FATAL_IF(clazz == NULL, "Unable to find class %s", class_name); in FindClassOrDie()
36 LOG_ALWAYS_FATAL_IF(res == NULL, "Unable to find static field %s", field_name); in GetFieldIDOrDie()
43 LOG_ALWAYS_FATAL_IF(res == NULL, "Unable to find method %s", method_name); in GetMethodIDOrDie()
50 LOG_ALWAYS_FATAL_IF(res == NULL, "Unable to find static field %s", field_name); in GetStaticFieldIDOrDie()
57 LOG_ALWAYS_FATAL_IF(res == NULL, "Unable to find static method %s", method_name); in GetStaticMethodIDOrDie()
64 LOG_ALWAYS_FATAL_IF(res == NULL, "Unable to create global reference."); in MakeGlobalRefOrDie()
71 LOG_ALWAYS_FATAL_IF(res < 0, "Unable to register native methods."); in RegisterMethodsOrDie()
Dandroid_view_RenderNodeAnimator.cpp75 LOG_ALWAYS_FATAL_IF(!mFinishListener, "Finished listener twice?"); in onAnimationFinished()
96 LOG_ALWAYS_FATAL_IF(property < 0 || property > RenderPropertyAnimator::ALPHA, in toRenderProperty()
102 LOG_ALWAYS_FATAL_IF(field < 0 in toPaintField()
148 LOG_ALWAYS_FATAL_IF(duration < 0, "Duration cannot be negative"); in setDuration()
159 LOG_ALWAYS_FATAL_IF(startDelay < 0, "Start delay cannot be negative"); in setStartDelay()
/frameworks/native/libs/gui/
DBufferQueue.cpp67 LOG_ALWAYS_FATAL_IF(outProducer == NULL, in createBufferQueue()
69 LOG_ALWAYS_FATAL_IF(outConsumer == NULL, in createBufferQueue()
73 LOG_ALWAYS_FATAL_IF(core == NULL, in createBufferQueue()
77 LOG_ALWAYS_FATAL_IF(producer == NULL, in createBufferQueue()
81 LOG_ALWAYS_FATAL_IF(consumer == NULL, in createBufferQueue()
DStreamSplitter.cpp129 LOG_ALWAYS_FATAL_IF(status != NO_ERROR, in onFrameAvailable()
136 LOG_ALWAYS_FATAL_IF(status != NO_ERROR, in onFrameAvailable()
164 LOG_ALWAYS_FATAL_IF(status != NO_ERROR, in onFrameAvailable()
179 LOG_ALWAYS_FATAL_IF(status != NO_ERROR, in onFrameAvailable()
202 LOG_ALWAYS_FATAL_IF(status != NO_ERROR, in onBufferReleasedByOutput()
233 LOG_ALWAYS_FATAL_IF(status != NO_ERROR, in onBufferReleasedByOutput()
238 LOG_ALWAYS_FATAL_IF(status != NO_ERROR, in onBufferReleasedByOutput()
DBufferItemConsumer.cpp39 LOG_ALWAYS_FATAL_IF(err != OK, in BufferItemConsumer()
43 LOG_ALWAYS_FATAL_IF(err != OK, in BufferItemConsumer()
DBitTube.cpp152 LOG_ALWAYS_FATAL_IF((size >= 0) && (size % static_cast<ssize_t>(objSize)), in sendObjects()
167 LOG_ALWAYS_FATAL_IF((size >= 0) && (size % static_cast<ssize_t>(objSize)), in recvObjects()
/frameworks/base/libs/hwui/
DAnimationContext.cpp41 LOG_ALWAYS_FATAL_IF(mCurrentFrameAnimations.mNextHandle == current, in destroy()
58 LOG_ALWAYS_FATAL_IF(mCurrentFrameAnimations.mNextHandle, in startFrame()
75 LOG_ALWAYS_FATAL_IF(mCurrentFrameAnimations.mNextHandle == current, in runRemainingAnimations()
100 LOG_ALWAYS_FATAL_IF(mPreviousHandle || mNextHandle, in ~AnimationHandle()
114 LOG_ALWAYS_FATAL_IF(mRenderNode->animators().hasAnimators(), in release()
DAnimatorManager.cpp52 LOG_ALWAYS_FATAL_IF(mAnimationHandle && handle, "Already have an AnimationHandle!"); in setAnimationHandle()
54 LOG_ALWAYS_FATAL_IF(!mAnimationHandle && mAnimators.size(), in setAnimationHandle()
70 LOG_ALWAYS_FATAL_IF(!mAnimationHandle, in pushStaging()
DCaches.h72 LOG_ALWAYS_FATAL_IF(sInstance, "double create of Caches attempted"); in createInstance()
78 LOG_ALWAYS_FATAL_IF(!sInstance, "instance not yet created"); in getInstance()
/frameworks/base/libs/hwui/renderthread/
DRenderThread.cpp66 LOG_ALWAYS_FATAL_IF(task->mNext || mTail == task, "Task is already in the queue!"); in queue()
109 LOG_ALWAYS_FATAL_IF(!task->mNext && mTail != task, in remove()
158 LOG_ALWAYS_FATAL_IF(mDisplayEventReceiver, "Initializing a second DisplayEventReceiver?"); in initializeDisplayEventReceiver()
161 LOG_ALWAYS_FATAL_IF(status != NO_ERROR, "Initialization of DisplayEventReceiver " in initializeDisplayEventReceiver()
173 LOG_ALWAYS_FATAL_IF(status, "Failed to get display info\n"); in initThreadLocals()
255 LOG_ALWAYS_FATAL_IF(status != NO_ERROR, in requestVsync()
267 LOG_ALWAYS_FATAL_IF(result == Looper::POLL_ERROR, in threadLoop()
DEglManager.cpp92 LOG_ALWAYS_FATAL_IF(mEglDisplay == EGL_NO_DISPLAY, in initialize()
96 LOG_ALWAYS_FATAL_IF(eglInitialize(mEglDisplay, &major, &minor) == EGL_FALSE, in initialize()
146 LOG_ALWAYS_FATAL_IF(mEglContext == EGL_NO_CONTEXT, in createContext()
177 LOG_ALWAYS_FATAL_IF(mEglDisplay == EGL_NO_DISPLAY, in createPBufferSurface()
189 LOG_ALWAYS_FATAL_IF(surface == EGL_NO_SURFACE, in createSurface()
242 LOG_ALWAYS_FATAL_IF(surface == EGL_NO_SURFACE, in beginFrame()
DDrawFrameTask.cpp49LOG_ALWAYS_FATAL_IF(!mContext, "Lifecycle violation, there's no context to pushLayerUpdate with!"); in pushLayerUpdate()
69 LOG_ALWAYS_FATAL_IF(!mContext, "Cannot drawFrame with no CanvasContext!"); in drawFrame()
DCanvasContext.cpp104 LOG_ALWAYS_FATAL_IF(mEglSurface == EGL_NO_SURFACE, in requireSurface()
157 LOG_ALWAYS_FATAL_IF(!success, "Failed to update layer!"); in processLayerUpdate()
226 LOG_ALWAYS_FATAL_IF(!mCanvas || mEglSurface == EGL_NO_SURFACE, in draw()
392 LOG_ALWAYS_FATAL_IF(!mEglManager.hasEglContext(), in runWithGlContext()
/frameworks/base/cmds/app_process/
Dapp_main.cpp155 LOG_ALWAYS_FATAL_IF(androidRoot == NULL, "ANDROID_DATA environment variable unset"); in maybeCreateDalvikCache()
160 LOG_ALWAYS_FATAL_IF((numChars >= PATH_MAX || numChars < 0), in maybeCreateDalvikCache()
164 LOG_ALWAYS_FATAL_IF((result < 0 && errno != EEXIST), in maybeCreateDalvikCache()
171LOG_ALWAYS_FATAL_IF((result < 0), "Error changing dalvik-cache ownership : %s", strerror(errno)); in maybeCreateDalvikCache()
174 LOG_ALWAYS_FATAL_IF((result < 0), in maybeCreateDalvikCache()
/frameworks/base/media/jni/
Dandroid_media_ImageReader.cpp151 LOG_ALWAYS_FATAL_IF(needsDetach == NULL, "needsDetach is null!!!"); in getJNIEnv()
438 LOG_ALWAYS_FATAL_IF(buffer->stride % 16, in Image_getLockedBufferInfo()
488 LOG_ALWAYS_FATAL_IF(buffer->width % 4, in Image_getLockedBufferInfo()
490 LOG_ALWAYS_FATAL_IF(buffer->height % 2, in Image_getLockedBufferInfo()
492 LOG_ALWAYS_FATAL_IF(buffer->stride < (buffer->width * 10 / 8), in Image_getLockedBufferInfo()
501 LOG_ALWAYS_FATAL_IF(buffer->width % 4, in Image_getLockedBufferInfo()
503 LOG_ALWAYS_FATAL_IF(buffer->height % 2, in Image_getLockedBufferInfo()
505 LOG_ALWAYS_FATAL_IF(buffer->stride < (buffer->width * 12 / 8), in Image_getLockedBufferInfo()
626 LOG_ALWAYS_FATAL_IF(buffer->stride % 16, in Image_imageGetRowStride()
644 LOG_ALWAYS_FATAL_IF(buffer->stride % 16, in Image_imageGetRowStride()
[all …]
Dandroid_media_ImageWriter.cpp128 LOG_ALWAYS_FATAL_IF(needsDetach == NULL, "needsDetach is null!!!"); in getJNIEnv()
197 LOG_ALWAYS_FATAL_IF(imageClazz == NULL, in ImageWriter_classInit()
201 LOG_ALWAYS_FATAL_IF(gSurfaceImageClassInfo.mNativeBuffer == NULL, in ImageWriter_classInit()
206 LOG_ALWAYS_FATAL_IF(gSurfaceImageClassInfo.mNativeFenceFd == NULL, in ImageWriter_classInit()
211 LOG_ALWAYS_FATAL_IF(gSurfaceImageClassInfo.mPlanes == NULL, in ImageWriter_classInit()
216 LOG_ALWAYS_FATAL_IF(gImageWriterClassInfo.postEventFromNative == NULL, in ImageWriter_classInit()
221 LOG_ALWAYS_FATAL_IF(gImageWriterClassInfo.mWriterFormat == NULL, in ImageWriter_classInit()
225 LOG_ALWAYS_FATAL_IF(planeClazz == NULL, "Can not find SurfacePlane class"); in ImageWriter_classInit()
230 LOG_ALWAYS_FATAL_IF(gSurfacePlaneClassInfo.ctor == NULL, in ImageWriter_classInit()
884 LOG_ALWAYS_FATAL_IF(buffer->stride % 16, in Image_getLockedImageInfo()
[all …]
/frameworks/ex/framesequence/jni/utils/
Dlog.h186 #ifndef LOG_ALWAYS_FATAL_IF
187 #define LOG_ALWAYS_FATAL_IF(cond, ...) \ macro
214 #define LOG_FATAL_IF(cond, ...) LOG_ALWAYS_FATAL_IF(cond, ## __VA_ARGS__)
/frameworks/base/libs/hwui/renderstate/
DTextureState.cpp36 LOG_ALWAYS_FATAL_IF(maxTextureUnits < kTextureUnitsCount, in TextureState()
41 LOG_ALWAYS_FATAL_IF(textureUnit >= kTextureUnitsCount, in activateTexture()
DRenderState.cpp34 LOG_ALWAYS_FATAL_IF(mBlend || mMeshState || mScissor || mStencil, in ~RenderState()
39 LOG_ALWAYS_FATAL_IF(mBlend || mMeshState || mScissor || mStencil, in onGLContextCreated()
178 LOG_ALWAYS_FATAL_IF(!mRenderThread.eglManager().hasEglContext(), in requireGLContext()
184 LOG_ALWAYS_FATAL_IF(!pthread_equal(mThreadId, curr), "Wrong thread!"); in assertOnGLThread()
/frameworks/webview/chromium/plat_support/
Dgraphics_utils.cpp120 LOG_ALWAYS_FATAL_IF(!clazz, "Unable to find class '%s'", kClassName); in RegisterGraphicsUtils()
123 LOG_ALWAYS_FATAL_IF(res < 0, "register native methods failed: res=%d", res); in RegisterGraphicsUtils()
Ddraw_gl_functor.cpp148 LOG_ALWAYS_FATAL_IF(!clazz, "Unable to find class '%s'", kClassName); in RegisterDrawGLFunctor()
151 LOG_ALWAYS_FATAL_IF(res < 0, "register native methods failed: res=%d", res); in RegisterDrawGLFunctor()
/frameworks/av/services/audioflinger/
DAudioResampler.cpp217 LOG_ALWAYS_FATAL_IF(format != AUDIO_FORMAT_PCM_16_BIT); in create()
222 LOG_ALWAYS_FATAL_IF(format != AUDIO_FORMAT_PCM_16_BIT); in create()
227 LOG_ALWAYS_FATAL_IF(format != AUDIO_FORMAT_PCM_16_BIT); in create()
232 LOG_ALWAYS_FATAL_IF(format != AUDIO_FORMAT_PCM_16_BIT); in create()
243 LOG_ALWAYS_FATAL_IF(format != AUDIO_FORMAT_PCM_16_BIT); in create()
289 LOG_ALWAYS_FATAL_IF(newMHz < 0, "negative resampler load %d MHz", newMHz); in ~AudioResampler()
/frameworks/av/media/libmedia/
DAudioTrackShared.cpp87 LOG_ALWAYS_FATAL_IF(buffer == NULL || buffer->mFrameCount == 0); in obtainBuffer()
298 LOG_ALWAYS_FATAL_IF(buffer == NULL); in releaseBuffer()
307 LOG_ALWAYS_FATAL_IF(!(stepCount <= mUnreleased && mUnreleased <= mFrameCount)); in releaseBuffer()
602 LOG_ALWAYS_FATAL_IF(buffer == NULL || buffer->mFrameCount == 0); in obtainBuffer()
711 LOG_ALWAYS_FATAL_IF(buffer == NULL); in releaseBuffer()
720 LOG_ALWAYS_FATAL_IF(!(stepCount <= mUnreleased && mUnreleased <= mFrameCount)); in releaseBuffer()
762 LOG_ALWAYS_FATAL_IF(!mIsOut); in framesReady()
971 LOG_ALWAYS_FATAL_IF(mFramesReady < (int64_t) avail); in obtainBuffer()
980 LOG_ALWAYS_FATAL_IF(!((int64_t) stepCount <= mFramesReady)); in releaseBuffer()
981 LOG_ALWAYS_FATAL_IF(!(stepCount <= mUnreleased)); in releaseBuffer()
/frameworks/native/opengl/libs/EGL/
DLoader.cpp188 LOG_ALWAYS_FATAL_IF(!hnd, "couldn't find an OpenGL ES implementation"); in open()
199 LOG_ALWAYS_FATAL_IF(!cnx->libEgl, in open()
202 LOG_ALWAYS_FATAL_IF(!cnx->libGles2 || !cnx->libGles1, in open()
/frameworks/native/services/inputflinger/host/
DInputHost.cpp30 LOG_ALWAYS_FATAL_IF(driver == nullptr, "Cannot register a nullptr as an InputDriver!"); in registerInputDriver()

1234