Home
last modified time | relevance | path

Searched refs:ALOG_ASSERT (Results 1 – 11 of 11) sorted by relevance

/system/media/audio_utils/
Dfifo.c31 ALOG_ASSERT(fifo != NULL && frameCount > 0 && frameSize > 0 && buffer != NULL); in audio_utils_fifo_init()
51 ALOG_ASSERT((index & mask) < fifo->mFrameCount); in audio_utils_fifo_sum()
52 ALOG_ASSERT(/*0 <= increment &&*/ increment <= fifo->mFrameCountP2); in audio_utils_fifo_sum()
57 ALOG_ASSERT((index & mask) < fifo->mFrameCount); in audio_utils_fifo_sum()
73 ALOG_ASSERT(genDiff == (int32_t) fifo->mFrameCountP2); in audio_utils_fifo_diff()
78 ALOG_ASSERT(0 <= diff && diff <= (int32_t) fifo->mFrameCount); in audio_utils_fifo_diff()
/system/netd/server/binder/android/net/
DUidRange.cpp36 ALOG_ASSERT(start <= stop, "start UID must be less than or equal to stop UID"); in UidRange()
72 ALOG_ASSERT(uid <= mStop, "start UID must be less than or equal to stop UID"); in setStart()
79 ALOG_ASSERT(uid <= mStop, "stop UID must be greater than or equal to start UID"); in setStop()
/system/core/libutils/
DRefBase.cpp390 ALOG_ASSERT(c > 0, "incStrong() called on %p after last strong ref", refs); in incStrong()
401 ALOG_ASSERT(old > INITIAL_STRONG_VALUE, "0x%x too small", old); in incStrong()
413 ALOG_ASSERT(c >= 1, "decStrong() called on %p too many times", refs); in decStrong()
442 ALOG_ASSERT(c >= 0, "forceIncStrong called on %p after ref count underflow", in forceIncStrong()
475 ALOG_ASSERT(c >= 0, "incWeak called on %p after last weak ref", this); in incWeak()
484 ALOG_ASSERT(c >= 1, "decWeak called on %p too many times", this); in decWeak()
518 ALOG_ASSERT(curCount >= 0, in attemptIncStrong()
616 ALOG_ASSERT(curCount >= 0, "attemptIncWeak called on %p after underflow", in attemptIncWeak()
DVectorImpl.cpp261 ALOG_ASSERT(index<size(), in replaceAt()
284 ALOG_ASSERT((index+count)<=size(), in removeItemsAt()
308 ALOG_ASSERT(index<capacity(), in editItemLocation()
323 ALOG_ASSERT(index<capacity(), in itemLocation()
384 ALOG_ASSERT(where <= mCount, in _grow()
462 ALOG_ASSERT(where + amount <= mCount, in _shrink()
DString8.cpp90 ALOG_ASSERT(buf, "Unable to allocate shared buffer"); in allocFromUTF8()
113 ALOG_ASSERT(buf, "Unable to allocate shared buffer"); in allocFromUTF16()
135 ALOG_ASSERT(buf, "Unable to allocate shared buffer"); in allocFromUTF32()
DString16.cpp123 ALOG_ASSERT(buf, "Unable to allocate shared buffer"); in String16()
137 ALOG_ASSERT(buf, "Unable to allocate shared buffer"); in String16()
/system/media/audio_utils/spdif/
DBitFieldParser.cpp40 ALOG_ASSERT(numBits <= 32); in readBits()
DDTSFrameScanner.cpp92 ALOG_ASSERT((mSyncLength + ((parser.getBitCursor() + 7) >> 3)) in parseHeader()
/system/core/include/log/
Dlog.h436 #ifndef ALOG_ASSERT
437 #define ALOG_ASSERT(cond, ...) LOG_FATAL_IF(!(cond), ## __VA_ARGS__) macro
/system/core/liblog/
DREADME55 ALOG_ASSERT(cond, format, ...)
101 release builds. ALOG_ASSERT is used to ALOG a message if the condition
/system/core/lmkd/
Dlmkd.c489 ALOG_ASSERT((size_t)size < sizeof(buf) - 1, "/proc/zoneinfo too large"); in zoneinfo_parse()