/frameworks/minikin/tests/util/ |
D | UnicodeUtils.cpp | 38 LOG_ALWAYS_FATAL_IF(static_cast<uint8_t>(src[input_ix]) >= 0x80); in ParseUnicode() 40 LOG_ALWAYS_FATAL_IF(src[input_ix] == 0); in ParseUnicode() 41 LOG_ALWAYS_FATAL_IF(output_ix >= buf_size); in ParseUnicode() 43 LOG_ALWAYS_FATAL_IF(src[input_ix] != '\''); in ParseUnicode() 50 LOG_ALWAYS_FATAL_IF(src[input_ix] != '+'); in ParseUnicode() 57 LOG_ALWAYS_FATAL_IF(num_hex_digits < 4u); in ParseUnicode() 58 LOG_ALWAYS_FATAL_IF(num_hex_digits > 6u); in ParseUnicode() 59 LOG_ALWAYS_FATAL_IF(codepoint > 0x10FFFFu); in ParseUnicode() 62 LOG_ALWAYS_FATAL_IF(output_ix + 1 > buf_size); in ParseUnicode() 66 LOG_ALWAYS_FATAL_IF(output_ix + 2 > buf_size); in ParseUnicode() [all …]
|
D | FileUtils.cpp | 27 LOG_ALWAYS_FATAL_IF(fp == nullptr); in readWholeFile() 29 LOG_ALWAYS_FATAL_IF(fstat(fileno(fp), &st) != 0); in readWholeFile() 32 LOG_ALWAYS_FATAL_IF(fread(result.data(), 1, st.st_size, fp) != static_cast<size_t>(st.st_size)); in readWholeFile()
|
D | MinikinFontForTest.cpp | 44 LOG_ALWAYS_FATAL_IF(fd == -1); in MinikinFontForTest() 46 LOG_ALWAYS_FATAL_IF(fstat(fd, &st) != 0); in MinikinFontForTest() 49 LOG_ALWAYS_FATAL_IF(mFontData == nullptr); in MinikinFontForTest()
|
/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()
|
/frameworks/base/services/core/jni/ |
D | com_android_server_GraphicsStatsService.cpp | 45 LOG_ALWAYS_FATAL_IF(jdata == nullptr && jpath == nullptr, "Path and data can't both be null"); in addToDump() 49 LOG_ALWAYS_FATAL_IF(buffer.size() != sizeof(ProfileData), in addToDump() 55 … LOG_ALWAYS_FATAL_IF(pathChars.size() <= 0 || !pathChars.c_str(), "Failed to get path chars"); in addToDump() 59 …LOG_ALWAYS_FATAL_IF(packageChars.size() <= 0 || !packageChars.c_str(), "Failed to get path chars"); in addToDump() 61 LOG_ALWAYS_FATAL_IF(!dump, "null passed for dump pointer"); in addToDump() 69 LOG_ALWAYS_FATAL_IF(pathChars.size() <= 0 || !pathChars.c_str(), "Failed to get path chars"); in addFileToDump() 83 LOG_ALWAYS_FATAL_IF(buffer.size() != sizeof(ProfileData), in saveBuffer() 86 LOG_ALWAYS_FATAL_IF(pathChars.size() <= 0 || !pathChars.c_str(), "Failed to get path chars"); in saveBuffer() 88 …LOG_ALWAYS_FATAL_IF(packageChars.size() <= 0 || !packageChars.c_str(), "Failed to get path chars"); in saveBuffer()
|
/frameworks/minikin/tests/perftests/ |
D | main.cpp | 30 LOG_ALWAYS_FATAL_IF(fd == -1); in main() 32 LOG_ALWAYS_FATAL_IF(fstat(fd, &st) != 0); in main() 37 LOG_ALWAYS_FATAL_IF(U_FAILURE(errorCode)); in main() 39 LOG_ALWAYS_FATAL_IF(U_FAILURE(errorCode)); in main()
|
D | GraphemeBreak.cpp | 38 LOG_ALWAYS_FATAL_IF(result_size != 12); in BM_GraphemeBreak_Ascii() 53 LOG_ALWAYS_FATAL_IF(result_size != 12); in BM_GraphemeBreak_Emoji() 68 LOG_ALWAYS_FATAL_IF(result_size != 12); in BM_GraphemeBreak_Emoji_Flags()
|
/frameworks/native/libs/gui/ |
D | BufferQueue.cpp | 83 LOG_ALWAYS_FATAL_IF(outProducer == NULL, in createBufferQueue() 85 LOG_ALWAYS_FATAL_IF(outConsumer == NULL, in createBufferQueue() 89 LOG_ALWAYS_FATAL_IF(core == NULL, in createBufferQueue() 93 LOG_ALWAYS_FATAL_IF(producer == NULL, in createBufferQueue() 97 LOG_ALWAYS_FATAL_IF(consumer == NULL, in createBufferQueue()
|
D | StreamSplitter.cpp | 131 LOG_ALWAYS_FATAL_IF(status != NO_ERROR, in onFrameAvailable() 138 LOG_ALWAYS_FATAL_IF(status != NO_ERROR, in onFrameAvailable() 165 LOG_ALWAYS_FATAL_IF(status != NO_ERROR, in onFrameAvailable() 180 LOG_ALWAYS_FATAL_IF(status != NO_ERROR, in onFrameAvailable() 203 LOG_ALWAYS_FATAL_IF(status != NO_ERROR, in onBufferReleasedByOutput() 234 LOG_ALWAYS_FATAL_IF(status != NO_ERROR, in onBufferReleasedByOutput() 239 LOG_ALWAYS_FATAL_IF(status != NO_ERROR, in onBufferReleasedByOutput()
|
/frameworks/native/services/vr/hardware_composer/ |
D | vr_hardware_composer_service.cpp | 31 LOG_ALWAYS_FATAL_IF(!service.get(), "Failed to get service"); in main() 32 LOG_ALWAYS_FATAL_IF(service->isRemote(), "Service is remote"); in main() 35 LOG_ALWAYS_FATAL_IF(service->registerAsService(instance) != android::OK, in main() 48 LOG_ALWAYS_FATAL_IF(status != android::OK, in main()
|
/frameworks/base/media/jni/ |
D | android_media_Utils.cpp | 614 LOG_ALWAYS_FATAL_IF(buffer == NULL, "Input buffer is NULL!!!"); in Image_getJpegSize() 650 LOG_ALWAYS_FATAL_IF(buffer == NULL, "Input buffer is NULL!!!"); in getLockedImageInfo() 651 LOG_ALWAYS_FATAL_IF(base == NULL, "base is NULL!!!"); in getLockedImageInfo() 652 LOG_ALWAYS_FATAL_IF(size == NULL, "size is NULL!!!"); in getLockedImageInfo() 653 LOG_ALWAYS_FATAL_IF(pixelStride == NULL, "pixelStride is NULL!!!"); in getLockedImageInfo() 654 LOG_ALWAYS_FATAL_IF(rowStride == NULL, "rowStride is NULL!!!"); in getLockedImageInfo() 655 LOG_ALWAYS_FATAL_IF((idx >= IMAGE_MAX_NUM_PLANES) || (idx < 0), "idx (%d) is illegal", idx); in getLockedImageInfo() 711 LOG_ALWAYS_FATAL_IF(buffer->stride % 16, in getLockedImageInfo() 732 LOG_ALWAYS_FATAL_IF(idx != 0, "Wrong index: %d", idx); in getLockedImageInfo() 742 LOG_ALWAYS_FATAL_IF(idx != 0, "Wrong index: %d", idx); in getLockedImageInfo() [all …]
|
/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 | Extensions.cpp | 69 LOG_ALWAYS_FATAL_IF(!mHasSRGB, "Linear blending requires ES 3.0 or EXT_sRGB"); in Extensions() 70 LOG_ALWAYS_FATAL_IF(!mHasSRGBWriteControl, "Linear blending requires EXT_sRGB_write_control"); in Extensions()
|
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 gpu thread? " in onGpuContextCreated()
|
D | DeviceInfo.cpp | 36 LOG_ALWAYS_FATAL_IF(!sDeviceInfo, "DeviceInfo not yet initialized."); in get() 64 LOG_ALWAYS_FATAL_IF(status, "Failed to get display info, error %d", status); in loadDisplayInfo()
|
D | BakedOpRenderer.cpp | 33 LOG_ALWAYS_FATAL_IF(mRenderTarget.offscreenBuffer, "already has layer..."); in startTemporaryLayer() 46 LOG_ALWAYS_FATAL_IF(mRenderTarget.offscreenBuffer, "already has layer..."); in startRepaintLayer() 71 LOG_ALWAYS_FATAL_IF(status != GL_FRAMEBUFFER_COMPLETE, in startRepaintLayer() 120 LOG_ALWAYS_FATAL_IF(mRenderTarget.frameBufferId != 0, "primary framebufferId must be 0"); in startFrame() 207 LOG_ALWAYS_FATAL_IF(mRenderTarget.frameBufferId != 0, "decoration only supported for FBO 0"); in drawRects() 242 …LOG_ALWAYS_FATAL_IF(clip->mode != ClipMode::RectangleList, "can't rectlist clip without rectlist"); in setupStencilRectList() 276 LOG_ALWAYS_FATAL_IF(clip->mode != ClipMode::Region, "can't region clip without region"); in setupStencilRegion()
|
D | DeferredLayerUpdater.cpp | 89 LOG_ALWAYS_FATAL_IF(mLayer->getApi() != Layer::Api::OpenGL, in apply() 112 LOG_ALWAYS_FATAL_IF(mLayer->getApi() != Layer::Api::OpenGL, in doUpdateTexImage() 151 LOG_ALWAYS_FATAL_IF(mLayer->getApi() != Layer::Api::Vulkan, in doUpdateVkTexImage()
|
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() 94 LOG_ALWAYS_FATAL_IF(animator->target() == &mParent, "Target has not been changed"); in onAnimatorTargetChanged()
|
/frameworks/base/libs/hwui/renderthread/ |
D | EglManager.cpp | 101 LOG_ALWAYS_FATAL_IF(mEglDisplay == EGL_NO_DISPLAY, in initialize() 105 LOG_ALWAYS_FATAL_IF(eglInitialize(mEglDisplay, &major, &minor) == EGL_FALSE, in initialize() 138 LOG_ALWAYS_FATAL_IF(!glInterface.get()); in initialize() 159 LOG_ALWAYS_FATAL_IF(!extensions.has("EGL_KHR_swap_buffers_with_damage"), in initExtensions() 241 LOG_ALWAYS_FATAL_IF(mEglContext == EGL_NO_CONTEXT, in createContext() 246 LOG_ALWAYS_FATAL_IF(mEglDisplay == EGL_NO_DISPLAY, in createPBufferSurface() 307 LOG_ALWAYS_FATAL_IF(surface == EGL_NO_SURFACE, in createSurface() 312 …LOG_ALWAYS_FATAL_IF(eglSurfaceAttrib(mEglDisplay, surface, EGL_SWAP_BEHAVIOR, EGL_BUFFER_DESTROYED… in createSurface() 385 LOG_ALWAYS_FATAL_IF(surface == EGL_NO_SURFACE, in beginFrame()
|
D | RenderThread.cpp | 73 LOG_ALWAYS_FATAL_IF(task->mNext || mTail == task, "Task is already in the queue!"); in queue() 105 LOG_ALWAYS_FATAL_IF(task->mNext || mHead == task, "Task is already in the queue!"); in queueAtFront() 117 LOG_ALWAYS_FATAL_IF(!task->mNext && mTail != task, in remove() 182 LOG_ALWAYS_FATAL_IF(mDisplayEventReceiver, "Initializing a second DisplayEventReceiver?"); in initializeDisplayEventReceiver() 185 LOG_ALWAYS_FATAL_IF(status != NO_ERROR, "Initialization of DisplayEventReceiver " in initializeDisplayEventReceiver() 197 LOG_ALWAYS_FATAL_IF(status, "Failed to get display info\n"); in initThreadLocals() 350 LOG_ALWAYS_FATAL_IF(status != NO_ERROR, in requestVsync() 362 LOG_ALWAYS_FATAL_IF(result == Looper::POLL_ERROR, in threadLoop()
|
/frameworks/base/native/android/ |
D | sharedmem.cpp | 37 LOG_ALWAYS_FATAL_IF(clazz == nullptr, "Failed to find android.os.SharedMemory"); in jniInit() 39 LOG_ALWAYS_FATAL_IF(sSharedMemory.clazz == nullptr, in jniInit() 42 LOG_ALWAYS_FATAL_IF(sSharedMemory.getFd == nullptr, in jniInit()
|
/frameworks/base/cmds/app_process/ |
D | app_main.cpp | 156 LOG_ALWAYS_FATAL_IF(androidRoot == NULL, "ANDROID_DATA environment variable unset"); in maybeCreateDalvikCache() 161 LOG_ALWAYS_FATAL_IF((numChars >= PATH_MAX || numChars < 0), in maybeCreateDalvikCache() 165 LOG_ALWAYS_FATAL_IF((result < 0 && errno != EEXIST), in maybeCreateDalvikCache() 172 … LOG_ALWAYS_FATAL_IF((result < 0), "Error changing dalvik-cache ownership : %s", strerror(errno)); in maybeCreateDalvikCache() 175 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/base/libs/hwui/hwui/ |
D | Typeface.cpp | 71 LOG_ALWAYS_FATAL_IF(gDefaultTypeface == nullptr); in resolveDefault() 183 LOG_ALWAYS_FATAL_IF(fd == -1, "Failed to open file %s", kRobotoFont); in setRobotoTypefaceForTest() 185 LOG_ALWAYS_FATAL_IF(fstat(fd, &st) == -1, "Failed to stat file %s", kRobotoFont); in setRobotoTypefaceForTest() 189 LOG_ALWAYS_FATAL_IF(typeface == nullptr, "Failed to make typeface from %s", kRobotoFont); in setRobotoTypefaceForTest()
|