Home
last modified time | relevance | path

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

12345

/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()
Dandroid_view_ThreadedRenderer.cpp150 LOG_ALWAYS_FATAL_IF(!mLooper.get(), in RootRenderNode()
277 LOG_ALWAYS_FATAL_IF(frameMetrics == nullptr, "unable to retrieve data sink object"); in get_metrics_buffer()
280 LOG_ALWAYS_FATAL_IF(buffer == nullptr, "unable to retrieve data sink buffer"); in get_metrics_buffer()
293 LOG_ALWAYS_FATAL_IF(mObserverWeak == nullptr, in ObserverProxy()
298 LOG_ALWAYS_FATAL_IF(bufferSize != kBufferSize, in ObserverProxy()
304 LOG_ALWAYS_FATAL_IF(mMessageQueue == nullptr, "message queue not available"); in ObserverProxy()
307 LOG_ALWAYS_FATAL_IF(mMessageHandler == nullptr, in ObserverProxy()
506 LOG_ALWAYS_FATAL_IF(frameInfoSize != UI_THREAD_FRAME_INFO_SIZE, in android_view_ThreadedRenderer_syncAndDrawFrame()
/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()
163 LOG_ALWAYS_FATAL_IF(status != NO_ERROR, in onFrameAvailable()
178 LOG_ALWAYS_FATAL_IF(status != NO_ERROR, in onFrameAvailable()
201 LOG_ALWAYS_FATAL_IF(status != NO_ERROR, in onBufferReleasedByOutput()
232 LOG_ALWAYS_FATAL_IF(status != NO_ERROR, in onBufferReleasedByOutput()
237 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/media/jni/
Dandroid_media_Utils.cpp613 LOG_ALWAYS_FATAL_IF(buffer == NULL, "Input buffer is NULL!!!"); in Image_getJpegSize()
649 LOG_ALWAYS_FATAL_IF(buffer == NULL, "Input buffer is NULL!!!"); in getLockedImageInfo()
650 LOG_ALWAYS_FATAL_IF(base == NULL, "base is NULL!!!"); in getLockedImageInfo()
651 LOG_ALWAYS_FATAL_IF(size == NULL, "size is NULL!!!"); in getLockedImageInfo()
652 LOG_ALWAYS_FATAL_IF(pixelStride == NULL, "pixelStride is NULL!!!"); in getLockedImageInfo()
653 LOG_ALWAYS_FATAL_IF(rowStride == NULL, "rowStride is NULL!!!"); in getLockedImageInfo()
654 LOG_ALWAYS_FATAL_IF((idx >= IMAGE_MAX_NUM_PLANES) || (idx < 0), "idx (%d) is illegal", idx); in getLockedImageInfo()
710 LOG_ALWAYS_FATAL_IF(buffer->stride % 16, in getLockedImageInfo()
731 LOG_ALWAYS_FATAL_IF(idx != 0, "Wrong index: %d", idx); in getLockedImageInfo()
741 LOG_ALWAYS_FATAL_IF(idx != 0, "Wrong index: %d", idx); in getLockedImageInfo()
[all …]
Dandroid_media_ImageWriter.cpp120 LOG_ALWAYS_FATAL_IF(needsDetach == NULL, "needsDetach is null!!!"); in getJNIEnv()
187 LOG_ALWAYS_FATAL_IF(imageClazz == NULL, in ImageWriter_classInit()
191 LOG_ALWAYS_FATAL_IF(gSurfaceImageClassInfo.mNativeBuffer == NULL, in ImageWriter_classInit()
196 LOG_ALWAYS_FATAL_IF(gSurfaceImageClassInfo.mNativeFenceFd == NULL, in ImageWriter_classInit()
201 LOG_ALWAYS_FATAL_IF(gSurfaceImageClassInfo.mPlanes == NULL, in ImageWriter_classInit()
206 LOG_ALWAYS_FATAL_IF(gImageWriterClassInfo.postEventFromNative == NULL, in ImageWriter_classInit()
211 LOG_ALWAYS_FATAL_IF(gImageWriterClassInfo.mWriterFormat == NULL, in ImageWriter_classInit()
215 LOG_ALWAYS_FATAL_IF(planeClazz == NULL, "Can not find SurfacePlane class"); in ImageWriter_classInit()
220 LOG_ALWAYS_FATAL_IF(gSurfacePlaneClassInfo.ctor == NULL, in ImageWriter_classInit()
Dandroid_media_ImageReader.cpp140 LOG_ALWAYS_FATAL_IF(needsDetach == NULL, "needsDetach is null!!!"); in getJNIEnv()
289 LOG_ALWAYS_FATAL_IF(imageClazz == NULL, in ImageReader_classInit()
293 LOG_ALWAYS_FATAL_IF(gSurfaceImageClassInfo.mNativeBuffer == NULL, in ImageReader_classInit()
299 LOG_ALWAYS_FATAL_IF(gSurfaceImageClassInfo.mTimestamp == NULL, in ImageReader_classInit()
305 LOG_ALWAYS_FATAL_IF(gSurfaceImageClassInfo.mPlanes == NULL, in ImageReader_classInit()
310 LOG_ALWAYS_FATAL_IF(gImageReaderClassInfo.mNativeContext == NULL, in ImageReader_classInit()
316 LOG_ALWAYS_FATAL_IF(gImageReaderClassInfo.postEventFromNative == NULL, in ImageReader_classInit()
320 LOG_ALWAYS_FATAL_IF(planeClazz == NULL, "Can not find SurfacePlane class"); in ImageReader_classInit()
325 LOG_ALWAYS_FATAL_IF(gSurfacePlaneClassInfo.ctor == NULL, in ImageReader_classInit()
/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.cpp65 LOG_ALWAYS_FATAL_IF(mAnimationHandle && handle, "Already have an AnimationHandle!"); in setAnimationHandle()
67 LOG_ALWAYS_FATAL_IF(!mAnimationHandle && mAnimators.size(), in setAnimationHandle()
74 LOG_ALWAYS_FATAL_IF(!mAnimationHandle, in pushStaging()
92 LOG_ALWAYS_FATAL_IF(animator->target() == &mParent, "Target has not been changed"); in onAnimatorTargetChanged()
DGpuMemoryTracker.cpp57 LOG_ALWAYS_FATAL_IF(!result.second, in startTrackingObject()
64 LOG_ALWAYS_FATAL_IF(removed != 1, in stopTrackingObject()
71 LOG_ALWAYS_FATAL_IF(gGpuThread != 0, "We already have a GL thread? " in onGLContextCreated()
DBakedOpRenderer.cpp33 LOG_ALWAYS_FATAL_IF(mRenderTarget.offscreenBuffer, "already has layer..."); in startTemporaryLayer()
45 LOG_ALWAYS_FATAL_IF(mRenderTarget.offscreenBuffer, "already has layer..."); in startRepaintLayer()
70 LOG_ALWAYS_FATAL_IF(status != GL_FRAMEBUFFER_COMPLETE, in startRepaintLayer()
118 LOG_ALWAYS_FATAL_IF(mRenderTarget.frameBufferId != 0, "primary framebufferId must be 0"); in startFrame()
209 LOG_ALWAYS_FATAL_IF(mRenderTarget.frameBufferId != 0, "decoration only supported for FBO 0"); in drawRects()
244LOG_ALWAYS_FATAL_IF(clip->mode != ClipMode::RectangleList, "can't rectlist clip without rectlist"); in setupStencilRectList()
278 LOG_ALWAYS_FATAL_IF(clip->mode != ClipMode::Region, "can't region clip without region"); in setupStencilRegion()
DCaches.h66 LOG_ALWAYS_FATAL_IF(sInstance, "double create of Caches attempted"); in createInstance()
72 LOG_ALWAYS_FATAL_IF(!sInstance, "instance not yet created"); in getInstance()
/frameworks/base/libs/hwui/renderthread/
DEglManager.cpp105 LOG_ALWAYS_FATAL_IF(mEglDisplay == EGL_NO_DISPLAY, in initialize()
109 LOG_ALWAYS_FATAL_IF(eglInitialize(mEglDisplay, &major, &minor) == EGL_FALSE, in initialize()
139 LOG_ALWAYS_FATAL_IF(!extensions.has("EGL_KHR_swap_buffers_with_damage"), in initExtensions()
185 LOG_ALWAYS_FATAL_IF(mEglContext == EGL_NO_CONTEXT, in createContext()
216 LOG_ALWAYS_FATAL_IF(mEglDisplay == EGL_NO_DISPLAY, in createPBufferSurface()
228 LOG_ALWAYS_FATAL_IF(surface == EGL_NO_SURFACE, in createSurface()
233LOG_ALWAYS_FATAL_IF(eglSurfaceAttrib(mEglDisplay, surface, EGL_SWAP_BEHAVIOR, EGL_BUFFER_DESTROYED… in createSurface()
302 LOG_ALWAYS_FATAL_IF(surface == EGL_NO_SURFACE, in beginFrame()
DRenderThread.cpp65 LOG_ALWAYS_FATAL_IF(task->mNext || mTail == task, "Task is already in the queue!"); in queue()
108 LOG_ALWAYS_FATAL_IF(!task->mNext && mTail != task, in remove()
172 LOG_ALWAYS_FATAL_IF(mDisplayEventReceiver, "Initializing a second DisplayEventReceiver?"); in initializeDisplayEventReceiver()
175 LOG_ALWAYS_FATAL_IF(status != NO_ERROR, "Initialization of DisplayEventReceiver " in initializeDisplayEventReceiver()
187 LOG_ALWAYS_FATAL_IF(status, "Failed to get display info\n"); in initThreadLocals()
269 LOG_ALWAYS_FATAL_IF(status != NO_ERROR, in requestVsync()
281 LOG_ALWAYS_FATAL_IF(result == Looper::POLL_ERROR, in threadLoop()
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()
/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/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/av/services/audioflinger/
DAudioResampler.cpp218 LOG_ALWAYS_FATAL_IF(format != AUDIO_FORMAT_PCM_16_BIT); in create()
223 LOG_ALWAYS_FATAL_IF(format != AUDIO_FORMAT_PCM_16_BIT); in create()
228 LOG_ALWAYS_FATAL_IF(format != AUDIO_FORMAT_PCM_16_BIT); in create()
233 LOG_ALWAYS_FATAL_IF(format != AUDIO_FORMAT_PCM_16_BIT); in create()
244 LOG_ALWAYS_FATAL_IF(format != AUDIO_FORMAT_PCM_16_BIT); in create()
290 LOG_ALWAYS_FATAL_IF(newMHz < 0, "negative resampler load %d MHz", newMHz); in ~AudioResampler()
/frameworks/base/libs/hwui/renderstate/
DTextureState.cpp47 LOG_ALWAYS_FATAL_IF(maxTextureUnits < kTextureUnitsCount, in TextureState()
88 LOG_ALWAYS_FATAL_IF(textureUnit >= kTextureUnitsCount, in activateTexture()
/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/media/libmedia/
DAudioTrackShared.cpp114 LOG_ALWAYS_FATAL_IF(buffer == NULL || buffer->mFrameCount == 0); in obtainBuffer()
339 LOG_ALWAYS_FATAL_IF(buffer == NULL); in releaseBuffer()
348 LOG_ALWAYS_FATAL_IF(!(stepCount <= mUnreleased && mUnreleased <= mFrameCount)); in releaseBuffer()
627 LOG_ALWAYS_FATAL_IF(buffer == NULL || buffer->mFrameCount == 0); in obtainBuffer()
738 LOG_ALWAYS_FATAL_IF(buffer == NULL); in releaseBuffer()
747 LOG_ALWAYS_FATAL_IF(!(stepCount <= mUnreleased && mUnreleased <= mFrameCount)); in releaseBuffer()
791 LOG_ALWAYS_FATAL_IF(!mIsOut); in framesReady()
1015 LOG_ALWAYS_FATAL_IF(mFramesReady < (int64_t) avail); in obtainBuffer()
1026 LOG_ALWAYS_FATAL_IF(!((int64_t) stepCount <= mFramesReady)); in releaseBuffer()
1027 LOG_ALWAYS_FATAL_IF(!(stepCount <= mUnreleased)); in releaseBuffer()

12345