Home
last modified time | relevance | path

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

12

/system/hwservicemanager/
Dservice.cpp71 LOG_ALWAYS_FATAL_IF(fdHwBinder < 0, "Failed to setupTransportPolling: %d", fdHwBinder); in setupTo()
82 LOG_ALWAYS_FATAL_IF(ret != 1, "Failed to add binder FD to Looper"); in setupTo()
100LOG_ALWAYS_FATAL_IF(fdTimer < 0, "Failed to timerfd_create: fd: %d err: %d", fdTimer, errno); in setupTo()
114LOG_ALWAYS_FATAL_IF(timeRes < 0, "Failed to timerfd_settime: res: %d err: %d", timeRes, errno); in setupTo()
121 LOG_ALWAYS_FATAL_IF(addRes != 1, "Failed to add client callback FD to Looper"); in setupTo()
DAccessControl.cpp41 LOG_ALWAYS_FATAL_IF(mSeHandle == nullptr, "Failed to acquire SELinux handle."); in AccessControl()
/system/core/libpixelflinger/codeflinger/
DCodeCache.cpp88 LOG_ALWAYS_FATAL_IF(fd < 0, in getMspace()
94 LOG_ALWAYS_FATAL_IF(gExecutableStore == MAP_FAILED, in getMspace()
109 LOG_ALWAYS_FATAL_IF(mBase == NULL, in Assembly()
146 LOG_ALWAYS_FATAL_IF(mBase == NULL, in resize()
DARMAssemblerInterface.cpp46 LOG_ALWAYS_FATAL_IF(abs(immed12) >= 0x800, in __immed12_pre()
57 LOG_ALWAYS_FATAL_IF(abs(immed8) >= 0x100, in __immed8_pre()
DARMAssembler.cpp167 LOG_ALWAYS_FATAL_IF(!target_pc, in generate()
358 LOG_ALWAYS_FATAL_IF(!((offset&(1<<24)) && !(offset&(1<<21))), in PLD()
485 LOG_ALWAYS_FATAL_IF(err==-EINVAL, in imm()
489 LOG_ALWAYS_FATAL_IF(err, in imm()
515 LOG_ALWAYS_FATAL_IF(abs(immed12) >= 0x800, in immed12_pre()
524 LOG_ALWAYS_FATAL_IF(abs(immed12) >= 0x800, in immed12_post()
549 LOG_ALWAYS_FATAL_IF(abs(immed8) >= 0x100, in immed8_pre()
561 LOG_ALWAYS_FATAL_IF(abs(immed8) >= 0x100, in immed8_post()
DMIPS64Assembler.cpp247 LOG_ALWAYS_FATAL_IF(abs(immed12) >= 0x800, in immed12_pre()
257 LOG_ALWAYS_FATAL_IF(abs(immed12) >= 0x800, in immed12_post()
268 LOG_ALWAYS_FATAL_IF(W | type | shift, "reg_scale_pre adv modes not yet implemented"); in reg_scale_pre()
289 LOG_ALWAYS_FATAL_IF(abs(immed8) >= 0x100, in immed8_pre()
297 LOG_ALWAYS_FATAL_IF(abs(immed8) >= 0x100, in immed8_post()
306 LOG_ALWAYS_FATAL_IF(W, "reg_pre writeback not yet implemented"); in reg_pre()
1020 LOG_ALWAYS_FATAL_IF(!((offset&(1<<24)) && !(offset&(1<<21))), in PLD()
1372 LOG_ALWAYS_FATAL_IF(!target_pc, in fix_branches()
DMIPSAssembler.cpp258 LOG_ALWAYS_FATAL_IF(abs(immed12) >= 0x800, in immed12_pre()
268 LOG_ALWAYS_FATAL_IF(abs(immed12) >= 0x800, in immed12_post()
279 LOG_ALWAYS_FATAL_IF(W | type | shift, "reg_scale_pre adv modes not yet implemented"); in reg_scale_pre()
302 LOG_ALWAYS_FATAL_IF(abs(immed8) >= 0x100, in immed8_pre()
312 LOG_ALWAYS_FATAL_IF(abs(immed8) >= 0x100, in immed8_post()
321 LOG_ALWAYS_FATAL_IF(W, "reg_pre writeback not yet implemented"); in reg_pre()
1032 LOG_ALWAYS_FATAL_IF(!((offset&(1<<24)) && !(offset&(1<<21))), in PLD()
1402 LOG_ALWAYS_FATAL_IF(!target_pc, in generate()
/system/libhidl/transport/
DHidlBinderSupport.cpp254 LOG_ALWAYS_FATAL_IF(func == nullptr, "%s gBnConstructorMap returned null for %s", __func__, in getOrCreateCachedBinder()
258 LOG_ALWAYS_FATAL_IF(sBnObj == nullptr, "%s Bn constructor function returned null for %s", in getOrCreateCachedBinder()
272 LOG_ALWAYS_FATAL_IF(ret != OK, "Could not setThreadPoolConfiguration: %d", ret); in configureBinderRpcThreadpool()
278 LOG_ALWAYS_FATAL_IF(!gThreadPoolConfigured, in joinBinderRpcThreadpool()
287 LOG_ALWAYS_FATAL_IF(err != OK, "Failed to setup binder polling: %d (%s)", err, strerror(err)); in setupBinderPolling()
/system/core/libutils/
DSharedBuffer.cpp34 LOG_ALWAYS_FATAL_IF((size >= (SIZE_MAX - sizeof(SharedBuffer))), in alloc()
74 LOG_ALWAYS_FATAL_IF((newSize >= (SIZE_MAX - sizeof(SharedBuffer))), in editResize()
DVectorImpl.cpp69 LOG_ALWAYS_FATAL_IF(mItemSize != rhs.mItemSize, in operator =()
97 LOG_ALWAYS_FATAL_IF(editable == nullptr); in editArrayImpl()
343 LOG_ALWAYS_FATAL_IF(__builtin_mul_overflow(new_capacity, mItemSize, &new_allocation_size)); in setCapacity()
387 LOG_ALWAYS_FATAL_IF(__builtin_add_overflow(mCount, amount, &new_size), "new_size overflow"); in _grow()
398 LOG_ALWAYS_FATAL_IF(__builtin_add_overflow(new_size, (new_size / 2), &new_capacity), in _grow()
400 LOG_ALWAYS_FATAL_IF( in _grow()
406 LOG_ALWAYS_FATAL_IF(__builtin_mul_overflow(new_capacity, mItemSize, &new_alloc_size), in _grow()
466 LOG_ALWAYS_FATAL_IF(__builtin_sub_overflow(mCount, amount, &new_size)); in _shrink()
DUnicode.cpp211 LOG_ALWAYS_FATAL_IF(dst_len < len, "%zu < %zu", dst_len, len); in utf32_to_utf8()
216 LOG_ALWAYS_FATAL_IF(dst_len < 1, "dst_len < 1: %zu < 1", dst_len); in utf32_to_utf8()
349 LOG_ALWAYS_FATAL_IF(dst_len < len, "%zu < %zu", dst_len, len); in utf16_to_utf8()
354 LOG_ALWAYS_FATAL_IF(dst_len < 1, "%zu < 1", dst_len); in utf16_to_utf8()
569 LOG_ALWAYS_FATAL_IF(u16len == 0 || u16len > SSIZE_MAX, "u16len is %zu", u16len); in utf8_to_utf16()
581 LOG_ALWAYS_FATAL_IF(dstLen > SSIZE_MAX, "dstLen is %zu", dstLen); in utf8_to_utf16_no_null_terminator()
DLooper.cpp69LOG_ALWAYS_FATAL_IF(mWakeEventFd.get() < 0, "Could not make wake event fd: %s", strerror(errno)); in Looper()
80 LOG_ALWAYS_FATAL_IF(error != 0, "Could not allocate TLS key: %s", strerror(error)); in initTLSKey()
106 LOG_ALWAYS_FATAL_IF(result != 0, "pthread_once failed"); in getForThread()
140 LOG_ALWAYS_FATAL_IF(mEpollFd < 0, "Could not create epoll instance: %s", strerror(errno)); in rebuildEpollLocked()
147 LOG_ALWAYS_FATAL_IF(result != 0, "Could not add wake event fd to epoll instance: %s", in rebuildEpollLocked()
DRefBase.cpp440 LOG_ALWAYS_FATAL_IF(BAD_STRONG(c), "decStrong() called on %p too many times", in decStrong()
516 LOG_ALWAYS_FATAL_IF(BAD_WEAK(c), "decWeak called on %p too many times", in decWeak()
/system/core/liblog/include/log/
Dlog_main.h133 #ifndef LOG_ALWAYS_FATAL_IF
134 #define LOG_ALWAYS_FATAL_IF(cond, ...) \ macro
162 #define LOG_FATAL_IF(cond, ...) LOG_ALWAYS_FATAL_IF(cond, ##__VA_ARGS__)
/system/core/liblog/include_vndk/log/
Dlog_main.h133 #ifndef LOG_ALWAYS_FATAL_IF
134 #define LOG_ALWAYS_FATAL_IF(cond, ...) \ macro
162 #define LOG_FATAL_IF(cond, ...) LOG_ALWAYS_FATAL_IF(cond, ##__VA_ARGS__)
/system/core/libnativeloader/
Dnative_loader.cpp46 #define CHECK(predicate) LOG_ALWAYS_FATAL_IF(!(predicate),\
231 LOG_ALWAYS_FATAL_IF(found, in Create()
462 LOG_ALWAYS_FATAL_IF( in Initialize()
495 LOG_ALWAYS_FATAL_IF(dlopen(soname.c_str(), RTLD_NOW | RTLD_NODELETE) == nullptr, in Initialize()
552 LOG_ALWAYS_FATAL_IF( in ReadExtensionLibraries()
559 LOG_ALWAYS_FATAL_IF( in ReadExtensionLibraries()
713 LOG_ALWAYS_FATAL_IF(apk_origin == APK_ORIGIN_VENDOR, in GetApkOriginFromDexPath()
781 LOG_ALWAYS_FATAL_IF((slash_index == std::string::npos), in FindExportedNamespace()
784 LOG_ALWAYS_FATAL_IF((dot_index == std::string::npos), in FindExportedNamespace()
788 LOG_ALWAYS_FATAL_IF((boot_namespace == nullptr), in FindExportedNamespace()
/system/media/audio_utils/spdif/
DSPDIFEncoder.cpp62 LOG_ALWAYS_FATAL_IF((mFramer == NULL), in SPDIFEncoder()
107 LOG_ALWAYS_FATAL_IF((mBurstBuffer == NULL), "mBurstBuffer never allocated"); in writeBurstBufferShorts()
/system/libhwbinder/
DProcessState.cpp86 LOG_ALWAYS_FATAL_IF(mmap_size != gProcess->getMmapSize(), in initWithMmapSize()
247LOG_ALWAYS_FATAL_IF(IPCThreadState::selfOrNull(), "Call restrictions must be set before the thread… in setCallRestriction()
358 LOG_ALWAYS_FATAL_IF(maxThreads == 0 && callerJoinsPool, in setThreadPoolConfiguration()
/system/media/radio/src/
Dradio_metadata.c67 LOG_ALWAYS_FATAL_IF(metadata->size_int < (metadata->count + 1), in check_size()
149 LOG_ALWAYS_FATAL_IF(metadata->size_int < (index + 1), in get_entry_at_index()
166 LOG_ALWAYS_FATAL_IF(metadata->size_int < (metadata->count + 1), in get_entry_at_index()
/system/core/libutils/include/utils/
DKeyedVector.h138 LOG_ALWAYS_FATAL_IF(i<0, "%s: key not found", __PRETTY_FUNCTION__); in valueFor()
160 LOG_ALWAYS_FATAL_IF(i<0, "%s: key not found", __PRETTY_FUNCTION__); in editValueFor()
/system/media/audio_utils/
Dfifo.cpp44 LOG_ALWAYS_FATAL_IF(frameCount == 0 || frameCount > ((uint32_t) INT32_MAX)); in audio_utils_fifo_base()
138 LOG_ALWAYS_FATAL_IF(frameCount == 0 || frameSize == 0 || buffer == NULL || in audio_utils_fifo()
234 LOG_ALWAYS_FATAL_IF(errno != EINTR, "unexpected err=%d errno=%d", err, errno); in obtain()
535 LOG_ALWAYS_FATAL_IF(errno != EINTR, "unexpected err=%d errno=%d", err, errno); in obtain()
Dpower.cpp169 LOG_ALWAYS_FATAL_IF((uintptr_t)samplitudes % alignof(Scalar) != 0, in energyMonoVector()
DPowerLog.cpp60 LOG_ALWAYS_FATAL_IF(!audio_utils_is_compute_power_format_supported(format), in PowerLog()
/system/netd/server/
DMDnsSdListener.cpp586LOG_ALWAYS_FATAL_IF((mPollFds == nullptr), "initial calloc failed on mPollFds with a size of %d", in run()
588LOG_ALWAYS_FATAL_IF((mPollRefs == nullptr), "initial calloc failed on mPollRefs with a size of %d", in run()
649 LOG_ALWAYS_FATAL_IF((mPollFds == nullptr), "calloc failed on mPollFds with a size of %d", in rescan()
651 LOG_ALWAYS_FATAL_IF((mPollRefs == nullptr), "calloc failed on mPollRefs with a size of %d", in rescan()
/system/core/logwrapper/
Dlogwrap.c487 LOG_ALWAYS_FATAL_IF(unused_opts != NULL); in android_fork_execvp_ext()
488 LOG_ALWAYS_FATAL_IF(unused_opts_len != 0); in android_fork_execvp_ext()

12