Home
last modified time | relevance | path

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

12

/system/incremental_delivery/libdataloader/
DJNIHelpers.h24 LOG_ALWAYS_FATAL_IF(clazz == NULL, "Unable to find class %s", class_name); in FindClassOrDie()
31 LOG_ALWAYS_FATAL_IF(res == NULL, "Unable to find method %s", method_name); in GetMethodIDOrDie()
38 LOG_ALWAYS_FATAL_IF(res == NULL, "Unable to find static method %s", method_name); in GetStaticMethodIDOrDie()
45 LOG_ALWAYS_FATAL_IF(res == NULL, "Unable to find static field %s", field_name); in GetFieldIDOrDie()
52 LOG_ALWAYS_FATAL_IF(res == NULL, "Unable to find static field %s", field_name); in GetStaticFieldIDOrDie()
58 LOG_ALWAYS_FATAL_IF(res == NULL, "Unable to find static field %s", fieldName); in GetStaticIntFieldValueOrDie()
/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/tools/aidl/tests/lazy_test/
Dserver.cpp21 LOG_ALWAYS_FATAL_IF(OK != lazyRegistrar.registerService(service1, "aidl_lazy_test_1"), ""); in main()
22 LOG_ALWAYS_FATAL_IF(OK != lazyRegistrar.registerService(service2, "aidl_lazy_test_2"), ""); in main()
/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.cpp240 LOG_ALWAYS_FATAL_IF(func == nullptr, "%s gBnConstructorMap returned null for %s", __func__, in getOrCreateCachedBinder()
244 LOG_ALWAYS_FATAL_IF(sBnObj == nullptr, "%s Bn constructor function returned null for %s", in getOrCreateCachedBinder()
258 LOG_ALWAYS_FATAL_IF(ret != OK, "Could not setThreadPoolConfiguration: %d", ret); in configureBinderRpcThreadpool()
264 LOG_ALWAYS_FATAL_IF(!gThreadPoolConfigured, in joinBinderRpcThreadpool()
273 LOG_ALWAYS_FATAL_IF(err != OK, "Failed to setup binder polling: %d (%s)", err, strerror(err)); in setupBinderPolling()
/system/core/libutils/
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()
527 LOG_ALWAYS_FATAL_IF(u16len == 0 || u16len > SSIZE_MAX, "u16len is %zu", u16len); in utf8_to_utf16()
539 LOG_ALWAYS_FATAL_IF(dstLen > SSIZE_MAX, "dstLen is %zu", dstLen); in utf8_to_utf16_no_null_terminator()
DSharedBuffer.cpp34 LOG_ALWAYS_FATAL_IF((size >= (SIZE_MAX - sizeof(SharedBuffer))), in alloc()
75 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()
DLooper.cpp71LOG_ALWAYS_FATAL_IF(mWakeEventFd.get() < 0, "Could not make wake event fd: %s", strerror(errno)); in Looper()
82 LOG_ALWAYS_FATAL_IF(error != 0, "Could not allocate TLS key: %s", strerror(error)); in initTLSKey()
108 LOG_ALWAYS_FATAL_IF(result != 0, "pthread_once failed"); in getForThread()
142 LOG_ALWAYS_FATAL_IF(mEpollFd < 0, "Could not create epoll instance: %s", strerror(errno)); in rebuildEpollLocked()
149 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_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/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/libhwbinder/
DProcessState.cpp96 LOG_ALWAYS_FATAL_IF(mmapSize != gProcess->getMmapSize(), in init()
260 LOG_ALWAYS_FATAL_IF(IPCThreadState::selfOrNull() != nullptr, in setCallRestriction()
371 LOG_ALWAYS_FATAL_IF(mThreadPoolStarted && maxThreads < mMaxThreads, in setThreadPoolConfiguration()
375 LOG_ALWAYS_FATAL_IF(maxThreads == 0 && callerJoinsPool, in setThreadPoolConfiguration()
471 LOG_ALWAYS_FATAL_IF(mDriverFD < 0, "Binder driver could not be opened. Terminating."); in ProcessState()
/system/media/audio_utils/spdif/
DSPDIFEncoder.cpp63 LOG_ALWAYS_FATAL_IF((mFramer == NULL), in SPDIFEncoder()
109 LOG_ALWAYS_FATAL_IF((mBurstBuffer == NULL), "mBurstBuffer never allocated"); in writeBurstBufferShorts()
/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()

12