Home
last modified time | relevance | path

Searched refs:LOG_ALWAYS_FATAL_IF (Results 1 – 25 of 35) 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.cpp73 LOG_ALWAYS_FATAL_IF(fdHwBinder < 0, "Failed to setupTransportPolling: %d", fdHwBinder); in setupTo()
84 LOG_ALWAYS_FATAL_IF(ret != 1, "Failed to add binder FD to Looper"); in setupTo()
102LOG_ALWAYS_FATAL_IF(fdTimer < 0, "Failed to timerfd_create: fd: %d err: %d", fdTimer, errno); in setupTo()
116LOG_ALWAYS_FATAL_IF(timeRes < 0, "Failed to timerfd_settime: res: %d err: %d", timeRes, errno); in setupTo()
123 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/libstats/pull_lazy/
Dlibstatspull_lazy.cpp82 LOG_ALWAYS_FATAL_IF(symbol == nullptr, "Failed to find symbol '%s' in libstatspull.so: %s", in BindSymbol()
89 LOG_ALWAYS_FATAL_IF(handle == nullptr, "Failed to load libstatspull.so: %s", dlerror()); in InitializeOnce()
115 LOG_ALWAYS_FATAL_IF(g_Methods[i] == nullptr, in InitializeOnce()
/system/core/libutils/binder/
DVectorImpl.cpp69 LOG_ALWAYS_FATAL_IF(mItemSize != rhs.mItemSize, in operator =()
97 LOG_ALWAYS_FATAL_IF(editable == nullptr); in editArrayImpl()
283 LOG_ALWAYS_FATAL_IF(__builtin_add_overflow(index, count, &end), "overflow: index=%zu count=%zu", in removeItemsAt()
341 LOG_ALWAYS_FATAL_IF(__builtin_mul_overflow(new_capacity, mItemSize, &new_allocation_size)); in setCapacity()
385 LOG_ALWAYS_FATAL_IF(__builtin_add_overflow(mCount, amount, &new_size), "new_size overflow"); in _grow()
396 LOG_ALWAYS_FATAL_IF(__builtin_add_overflow(new_size, (new_size / 2), &new_capacity), in _grow()
398 LOG_ALWAYS_FATAL_IF( in _grow()
404 LOG_ALWAYS_FATAL_IF(__builtin_mul_overflow(new_capacity, mItemSize, &new_alloc_size), in _grow()
464 LOG_ALWAYS_FATAL_IF(__builtin_sub_overflow(mCount, amount, &new_size)); in _shrink()
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()
DUnicode.cpp178 LOG_ALWAYS_FATAL_IF(dst_len < len, "%zu < %zu", dst_len, len); in utf32_to_utf8()
183 LOG_ALWAYS_FATAL_IF(dst_len < 1, "dst_len < 1: %zu < 1", dst_len); in utf32_to_utf8()
341 LOG_ALWAYS_FATAL_IF(out >= out_end, in utf16_to_utf8()
461 LOG_ALWAYS_FATAL_IF(u16len == 0 || u16len > SSIZE_MAX, "u16len is %zu", u16len); in utf8_to_utf16()
473 LOG_ALWAYS_FATAL_IF(dstLen > SSIZE_MAX, "dstLen is %zu", dstLen); in utf8_to_utf16_no_null_terminator()
DRefBase_fuzz.cpp196 LOG_ALWAYS_FATAL_IF(!gHasModifiedRefs && gRefDeleted, "ref(%p) was prematurely deleted!", ref); in LLVMFuzzerTestOneInput()
202 LOG_ALWAYS_FATAL_IF(gHasModifiedRefs && !gRefDeleted, in LLVMFuzzerTestOneInput()
DRefBase.cpp480 LOG_ALWAYS_FATAL_IF(c <= 0 || c == INITIAL_STRONG_VALUE, in incStrongRequireStrong()
495 LOG_ALWAYS_FATAL_IF(BAD_STRONG(c), "decStrong() called on %p too many times", in decStrong()
571 LOG_ALWAYS_FATAL_IF(c <= 0, "incWeakRequireWeak called on %p which has no weak refs", this); in incWeakRequireWeak()
579 LOG_ALWAYS_FATAL_IF(BAD_WEAK(c), "decWeak called on %p too many times", in decWeak()
DVector_fuzz.cpp30 LOG_ALWAYS_FATAL_IF(mInit != 1, "mInit should be 1, but it's: %d", mInit); in ~NonTrivialDestructor()
32 LOG_ALWAYS_FATAL_IF(mInit != 0, "mInit should be 0, but it's: %d", mInit); in ~NonTrivialDestructor()
/system/libhidl/transport/
DHidlBinderSupport.cpp257 LOG_ALWAYS_FATAL_IF(func == nullptr, "%s getBnConstructorMap returned null for %s", in getOrCreateCachedBinder()
261 LOG_ALWAYS_FATAL_IF(sBnObj == nullptr, "%s Bn constructor function returned null for %s", in getOrCreateCachedBinder()
275 LOG_ALWAYS_FATAL_IF(ret != OK, "Could not setThreadPoolConfiguration: %d", ret); in configureBinderRpcThreadpool()
281 LOG_ALWAYS_FATAL_IF(!gThreadPoolConfigured, in joinBinderRpcThreadpool()
290 LOG_ALWAYS_FATAL_IF(err != OK, "Failed to setup binder polling: %d (%s)", err, strerror(err)); in setupBinderPolling()
/system/core/libstats/socket_lazy/
Dlibstatssocket_lazy.cpp94 LOG_ALWAYS_FATAL_IF(symbol == nullptr, "Failed to find symbol '%s' in libstatssocket.so: %s", in BindSymbol()
101 LOG_ALWAYS_FATAL_IF(handle == nullptr, "Failed to load libstatssocket.so: %s", dlerror()); in InitializeOnce()
128 LOG_ALWAYS_FATAL_IF(g_Methods[i] == nullptr, in InitializeOnce()
/system/libhwbinder/
DProcessState.cpp100 LOG_ALWAYS_FATAL_IF(mmapSize != gProcess->getMmapSize(), in init()
206 LOG_ALWAYS_FATAL_IF(IPCThreadState::selfOrNull() != nullptr, in setCallRestriction()
317 LOG_ALWAYS_FATAL_IF(mThreadPoolStarted && maxThreads < mMaxThreads, in setThreadPoolConfiguration()
321 LOG_ALWAYS_FATAL_IF(maxThreads == 0 && callerJoinsPool, in setThreadPoolConfiguration()
431 LOG_ALWAYS_FATAL_IF(mDriverFD < 0, "Binder driver could not be opened. Terminating."); in ProcessState()
/system/logging/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/logging/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/extras/libatrace_rust/benchmark/src/
Dtrace_enabler.cc24 LOG_ALWAYS_FATAL_IF(property_set(key, value) < 0, "Failed to set %s", key); in set_property_or_die()
/system/tools/aidl/tests/lazy_test/
DServerCb.cpp40 LOG_ALWAYS_FATAL_IF(OK != lazyRegistrar.registerService(service, "aidl_lazy_cb_test"), ""); in main()
/system/core/libutils/
DLooper.cpp85LOG_ALWAYS_FATAL_IF(mWakeEventFd.get() < 0, "Could not make wake event fd: %s", strerror(errno)); in Looper()
96 LOG_ALWAYS_FATAL_IF(error != 0, "Could not allocate TLS key: %s", strerror(error)); in initTLSKey()
122 LOG_ALWAYS_FATAL_IF(result != 0, "pthread_once failed"); in getForThread()
157 LOG_ALWAYS_FATAL_IF(mEpollFd < 0, "Could not create epoll instance: %s", strerror(errno)); in rebuildEpollLocked()
161 LOG_ALWAYS_FATAL_IF(result != 0, "Could not add wake event fd to epoll instance: %s", in rebuildEpollLocked()
548 LOG_ALWAYS_FATAL_IF( in repoll()
DTimers.cpp29 LOG_ALWAYS_FATAL_IF(clock < 0 || clock >= clock_id_max, "invalid clock id"); in checkClockId()
/system/media/audio_utils/spdif/
DSPDIFEncoder.cpp60 LOG_ALWAYS_FATAL_IF((mFramer == NULL), in SPDIFEncoder()
112 LOG_ALWAYS_FATAL_IF((mBurstBuffer == NULL), "mBurstBuffer never allocated"); in writeBurstBufferShorts()
DSPDIFDecoder.cpp66 LOG_ALWAYS_FATAL_IF(written != bytesRead); in fillBurstDataBuffer()
/system/media/audio_utils/
Dfifo.cpp45 LOG_ALWAYS_FATAL_IF(frameCount == 0 || frameCount > ((uint32_t) INT32_MAX)); in audio_utils_fifo_base()
139 LOG_ALWAYS_FATAL_IF(frameCount == 0 || frameSize == 0 || buffer == NULL || in audio_utils_fifo()
148 LOG_ALWAYS_FATAL_IF(sync == AUDIO_UTILS_FIFO_SYNC_SHARED); in audio_utils_fifo()
240 LOG_ALWAYS_FATAL_IF(errno != EINTR, "unexpected err=%d errno=%d", err, errno); in obtain()
562 LOG_ALWAYS_FATAL_IF(errno != EINTR, "unexpected err=%d errno=%d", err, errno); in obtain()
/system/media/radio/src/
Dradio_metadata.c67 LOG_ALWAYS_FATAL_IF(metadata->size_int < (metadata->count + 1), in check_size()
150 LOG_ALWAYS_FATAL_IF(metadata->size_int < (index + 1), in get_entry_at_index()
167 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/include/audio_utils/
DLinearMap.h277 LOG_ALWAYS_FATAL_IF(back < 0 || (size_t)back > mSamples, "Invalid back(%zd)", back);

12