/frameworks/base/core/jni/ |
D | core_jni_helpers.h | 29 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()
|
D | android_view_RenderNodeAnimator.cpp | 75 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()
|
D | android_view_ThreadedRenderer.cpp | 150 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/ |
D | BufferQueue.cpp | 67 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()
|
D | StreamSplitter.cpp | 129 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()
|
D | BufferItemConsumer.cpp | 39 LOG_ALWAYS_FATAL_IF(err != OK, in BufferItemConsumer() 43 LOG_ALWAYS_FATAL_IF(err != OK, in BufferItemConsumer()
|
D | BitTube.cpp | 152 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/ |
D | android_media_Utils.cpp | 613 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 …]
|
D | android_media_ImageWriter.cpp | 120 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()
|
D | android_media_ImageReader.cpp | 140 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/ |
D | AnimationContext.cpp | 41 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()
|
D | AnimatorManager.cpp | 65 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()
|
D | GpuMemoryTracker.cpp | 57 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()
|
D | BakedOpRenderer.cpp | 33 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() 244 …LOG_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()
|
D | Caches.h | 66 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/ |
D | EglManager.cpp | 105 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() 233 …LOG_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()
|
D | RenderThread.cpp | 65 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()
|
D | DrawFrameTask.cpp | 49 …LOG_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/ |
D | app_main.cpp | 155 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() 171 … LOG_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/ |
D | log.h | 186 #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/ |
D | AudioResampler.cpp | 218 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/ |
D | TextureState.cpp | 47 LOG_ALWAYS_FATAL_IF(maxTextureUnits < kTextureUnitsCount, in TextureState() 88 LOG_ALWAYS_FATAL_IF(textureUnit >= kTextureUnitsCount, in activateTexture()
|
/frameworks/webview/chromium/plat_support/ |
D | graphics_utils.cpp | 120 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()
|
D | draw_gl_functor.cpp | 148 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/ |
D | AudioTrackShared.cpp | 114 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()
|