/system/chre/platform/slpi/include/chre/target_platform/ |
D | log.h | 32 #define CHRE_SLPI_LOG(level, fmt, ...) \ argument 35 FARF(level, fmt, ##__VA_ARGS__); \ 39 #define LOGE(fmt, ...) CHRE_SLPI_LOG(ERROR, fmt, ##__VA_ARGS__) argument 40 #define LOGD(fmt, ...) CHRE_SLPI_LOG(HIGH, fmt, ##__VA_ARGS__) argument 41 #define LOGW(fmt, ...) CHRE_SLPI_LOG(MEDIUM, fmt, ##__VA_ARGS__) argument 42 #define LOGI(fmt, ...) CHRE_SLPI_LOG(ALWAYS, fmt, ##__VA_ARGS__) argument 44 #define CHRE_SLPI_LOG(level, fmt, ...) \ argument 47 ashLog(ASH_SOURCE_CHRE, level, fmt, ##__VA_ARGS__); \ 51 #define LOGE(fmt, ...) CHRE_SLPI_LOG(ASH_LOG_ERROR, fmt, ##__VA_ARGS__) argument 52 #define LOGW(fmt, ...) CHRE_SLPI_LOG(ASH_LOG_WARN, fmt, ##__VA_ARGS__) argument [all …]
|
/system/chre/util/include/chre/util/nanoapp/ |
D | log.h | 44 #define CHRE_LOG(level, fmt, ...) \ argument 47 chreLog(level, LOG_TAG " " fmt, ##__VA_ARGS__); \ 52 #define LOGE(fmt, ...) CHRE_LOG(CHRE_LOG_ERROR, fmt, ##__VA_ARGS__) argument 54 #define LOGE(fmt, ...) CHRE_LOG_NULL(fmt, ##__VA_ARGS__) argument 58 #define LOGW(fmt, ...) CHRE_LOG(CHRE_LOG_WARN, fmt, ##__VA_ARGS__) argument 60 #define LOGW(fmt, ...) CHRE_LOG_NULL(fmt, ##__VA_ARGS__) argument 64 #define LOGI(fmt, ...) CHRE_LOG(CHRE_LOG_INFO, fmt, ##__VA_ARGS__) argument 66 #define LOGI(fmt, ...) CHRE_LOG_NULL(fmt, ##__VA_ARGS__) argument 70 #define LOGD(fmt, ...) CHRE_LOG(CHRE_LOG_DEBUG, fmt, ##__VA_ARGS__) argument 72 #define LOGD(fmt, ...) CHRE_LOG_NULL(fmt, ##__VA_ARGS__) argument
|
/system/keymaster/android_keymaster/ |
D | logger.cpp | 24 int Logger::Log(LogLevel level, const char* fmt, va_list args) { in Log() argument 27 return instance_->log_msg(level, fmt, args); in Log() 31 int Logger::Log(LogLevel level, const char* fmt, ...) { in Log() argument 33 va_start(args, fmt); in Log() 34 int result = Log(level, fmt, args); in Log() 40 int Logger::Debug(const char* fmt, ...) { in Debug() argument 42 va_start(args, fmt); in Debug() 43 int result = Log(DEBUG_LVL, fmt, args); in Debug() 49 int Logger::Info(const char* fmt, ...) { in Info() argument 51 va_start(args, fmt); in Info() [all …]
|
/system/keymaster/include/keymaster/ |
D | logger.h | 37 virtual int log_msg(LogLevel level, const char* fmt, va_list args) const = 0; 39 static int Log(LogLevel level, const char* fmt, va_list args); 40 static int Log(LogLevel level, const char* fmt, ...); 41 static int Debug(const char* fmt, ...); 42 static int Info(const char* fmt, ...); 43 static int Warning(const char* fmt, ...); 44 static int Error(const char* fmt, ...); 45 static int Severe(const char* fmt, ...); 62 #define LOG_D(fmt, ...) Logger::Debug(FILE_LINE fmt, __VA_ARGS__) argument 63 #define LOG_I(fmt, ...) Logger::Info(FILE_LINE fmt, __VA_ARGS__) argument [all …]
|
/system/nvram/core/include/nvram/core/ |
D | logger.h | 43 #define NVRAM_LOG_EMIT(level, fmt, ...) \ argument 44 LOG_PRI(NVRAM_ANDROID_LOG_PRI_##level, LOG_TAG, fmt, ##__VA_ARGS__) 53 #define NVRAM_LOG_EMIT(level, fmt, ...) \ argument 54 fprintf(stderr, "NVRAM: " fmt "\n", ##__VA_ARGS__) 63 #define NVRAM_LOG(level, fmt, ...) \ argument 66 NVRAM_LOG_EMIT(level, __FILE__ ":" NVRAM_STRINGIFY(__LINE__) ": " fmt, \ 72 #define NVRAM_LOG_ERR(fmt, ...) NVRAM_LOG(ERR, fmt, ##__VA_ARGS__) argument 73 #define NVRAM_LOG_WARN(fmt, ...) NVRAM_LOG(WARN, fmt, ##__VA_ARGS__) argument 74 #define NVRAM_LOG_INFO(fmt, ...) NVRAM_LOG(INFO, fmt, ##__VA_ARGS__) argument 75 #define NVRAM_LOG_DEBUG(fmt, ...) NVRAM_LOG(DEBUG, fmt, ##__VA_ARGS__) argument
|
/system/chre/platform/linux/include/chre/target_platform/ |
D | log.h | 31 #define CHRE_LINUX_LOG(level, color, fmt, ...) \ argument 32 printf("\e[" color "m%s %s:%d\t" fmt "\e[0m\n", \ 37 #define CHRE_LINUX_LOG(level, color, fmt, ...) \ argument 39 "\e[" color "m%s %s:%d\t" fmt "\e[0m", \ 43 #define LOGE(fmt, ...) CHRE_LINUX_LOG("E", "91", fmt, ##__VA_ARGS__) argument 44 #define LOGW(fmt, ...) CHRE_LINUX_LOG("W", "93", fmt, ##__VA_ARGS__) argument 45 #define LOGI(fmt, ...) CHRE_LINUX_LOG("I", "96", fmt, ##__VA_ARGS__) argument 46 #define LOGD(fmt, ...) CHRE_LINUX_LOG("D", "97", fmt, ##__VA_ARGS__) argument
|
/system/chre/platform/android/include/chre/target_platform/ |
D | log.h | 29 #define CHRE_ANDROID_LOG(level, fmt, ...) \ argument 31 "%s:%d\t" fmt, __FILENAME__, __LINE__, ##__VA_ARGS__); \ 33 #define LOGE(fmt, ...) \ argument 34 CHRE_ANDROID_LOG(ANDROID_LOG_ERROR, fmt, ##__VA_ARGS__) 36 #define LOGW(fmt, ...) \ argument 37 CHRE_ANDROID_LOG(ANDROID_LOG_WARN, fmt, ##__VA_ARGS__) 39 #define LOGI(fmt, ...) \ argument 40 CHRE_ANDROID_LOG(ANDROID_LOG_INFO, fmt, ##__VA_ARGS__) 42 #define LOGD(fmt, ...) \ argument 43 CHRE_ANDROID_LOG(ANDROID_LOG_DEBUG, fmt, ##__VA_ARGS__)
|
/system/bt/gd/os/ |
D | log.h | 37 #define LOG_VERBOSE(fmt, args...) ALOGV("%s:%d %s: " fmt, __FILE__, __LINE__, __func__, ##args) argument 38 #define LOG_DEBUG(fmt, args...) ALOGD("%s:%d %s: " fmt, __FILE__, __LINE__, __func__, ##args) argument 39 #define LOG_INFO(fmt, args...) ALOGI("%s:%d %s: " fmt, __FILE__, __LINE__, __func__, ##args) argument 40 #define LOG_WARN(fmt, args...) ALOGW("%s:%d %s: " fmt, __FILE__, __LINE__, __func__, ##args) argument 42 #define LOG_ERROR(fmt, args...) ALOGE("%s:%d %s: " fmt, __FILE__, __LINE__, __func__, ##args) argument 51 #define LOGWRAPPER(fmt, args...) … argument 60 …fprintf(stderr, "%s %s - %s:%d - %s: " fmt "\n", buf, LOG_TAG, __FILE__, __LINE__, __func__, ##arg… 92 #define ASSERT_LOG(condition, fmt, args...) \ argument 95 LOG_ALWAYS_FATAL("assertion '" #condition "' failed - " fmt, ##args); \
|
/system/core/fastboot/ |
D | util.cpp | 46 void die(const char* fmt, ...) { in die() argument 48 va_start(ap, fmt); in die() 50 vfprintf(stderr, fmt, ap); in die() 64 void verbose(const char* fmt, ...) { in verbose() argument 67 if (*fmt != '\n') { in verbose() 69 va_start(ap, fmt); in verbose() 71 vfprintf(stderr, fmt, ap); in verbose()
|
/system/core/libsparse/ |
D | sparse_err.cpp | 23 void sparse_default_print(const char* fmt, ...) { in sparse_default_print() argument 26 va_start(argp, fmt); in sparse_default_print() 27 vfprintf(stderr, fmt, argp); in sparse_default_print() 31 void (*sparse_print_error)(const char* fmt, ...) = sparse_default_print; 32 void (*sparse_print_verbose)(const char* fmt, ...) = sparse_default_print;
|
/system/extras/ext4_utils/ |
D | helpers.h | 21 #define warn(fmt, args...) do { fprintf(stderr, "warning: %s: " fmt "\n", __func__, ## args); } whi… argument 22 #define error(fmt, args...) do { fprintf(stderr, "error: %s: " fmt "\n", __func__, ## args); if (!f… argument 24 #define critical_error(fmt, args...) do { fprintf(stderr, "critical error: %s: " fmt "\n", __func__… argument
|
/system/chre/util/include/chre/util/ |
D | log_common.h | 33 inline void chreLogNull(const char *fmt, ...) { (void) fmt; } in chreLogNull() argument 37 #define CHRE_LOG_NULL(fmt, ...) \ argument 40 chreLogNull(fmt, ##__VA_ARGS__); \
|
/system/libbase/include/android-base/ |
D | result.h | 161 friend Error ErrorfImpl(const T&& fmt, const Args&... args); 164 friend Error ErrnoErrorfImpl(const T&& fmt, const Args&... args); 196 inline Error ErrorfImpl(const T&& fmt, const Args&... args) { in ErrorfImpl() argument 197 return Error(false, ErrorCode(0, args...), fmt::format(fmt, args...)); in ErrorfImpl() 201 inline Error ErrnoErrorfImpl(const T&& fmt, const Args&... args) { in ErrnoErrorfImpl() argument 202 return Error(true, errno, fmt::format(fmt, args...)); in ErrnoErrorfImpl() 205 #define Errorf(fmt, ...) android::base::ErrorfImpl(FMT_STRING(fmt), ##__VA_ARGS__) argument 206 #define ErrnoErrorf(fmt, ...) android::base::ErrnoErrorfImpl(FMT_STRING(fmt), ##__VA_ARGS__) argument
|
/system/update_engine/scripts/update_payload/ |
D | common.py | 102 fmt = 'h' 104 fmt = 'i' 106 fmt = 'q' 112 fmt = fmt.upper() 115 fmt = '!' + fmt 117 return fmt
|
D | histogram_unittest.py | 36 fmt = format_utils.BytesToHumanReadable(size) 37 return '%s (%s)' % (size, fmt) if fmt else str(size)
|
/system/core/libunwindstack/tests/ |
D | LogFake.cpp | 60 extern "C" int __android_log_print(int prio, const char* tag, const char* fmt, ...) { in __android_log_print() argument 62 va_start(ap, fmt); in __android_log_print() 63 int val = __android_log_vprint(prio, tag, fmt, ap); in __android_log_print() 69 extern "C" int __android_log_vprint(int prio, const char* tag, const char* fmt, va_list ap) { in __android_log_vprint() argument 74 android::base::StringAppendV(&g_fake_log_print, fmt, ap); in __android_log_vprint()
|
/system/netd/libnetdutils/include/netdutils/ |
D | Log.h | 127 void log(const char* fmt, ...) __attribute__((__format__(__printf__, 2, 3))) { in log() argument 131 va_start(ap, fmt); in log() 132 StringAppendV(&result, fmt, ap); in log() 142 void info(const char* fmt, ...) __attribute__((__format__(__printf__, 2, 3))) { in info() argument 146 va_start(ap, fmt); in info() 147 StringAppendV(&result, fmt, ap); in info() 157 void warn(const char* fmt, ...) __attribute__((__format__(__printf__, 2, 3))) { in warn() argument 161 va_start(ap, fmt); in warn() 162 StringAppendV(&result, fmt, ap); in warn() 172 void error(const char* fmt, ...) __attribute__((__format__(__printf__, 2, 3))) { in error() argument [all …]
|
/system/testing/gtest_extras/ |
D | Color.cpp | 59 void ColoredPrintf(const char* color, const char* fmt, ...) { in ColoredPrintf() argument 63 va_start(args, fmt); in ColoredPrintf() 66 vprintf(fmt, args); in ColoredPrintf() 69 vprintf(fmt, args); in ColoredPrintf()
|
/system/keymaster/tests/ |
D | keymaster_configuration_test.cpp | 23 int __android_log_print(int prio, const char* tag, const char* fmt); 24 int __android_log_print(int prio, const char* tag, const char* fmt) { in __android_log_print() argument 25 (void)prio, (void)tag, (void)fmt; in __android_log_print() 26 std::cout << fmt << std::endl; in __android_log_print()
|
/system/core/libcutils/ |
D | klog.cpp | 55 void klog_write(int level, const char* fmt, ...) { in klog_write() argument 60 va_start(ap, fmt); in klog_write() 61 vsnprintf(buf, sizeof(buf), fmt, ap); in klog_write()
|
/system/core/liblog/include/android/ |
D | log.h | 105 int __android_log_print(int prio, const char* tag, const char* fmt, ...) 112 int __android_log_vprint(int prio, const char* tag, const char* fmt, va_list ap) 131 void __android_log_assert(const char* cond, const char* tag, const char* fmt, ...) 180 int __android_log_buf_print(int bufID, int prio, const char* tag, const char* fmt, ...)
|
/system/core/include/android/ |
D | log.h | 105 int __android_log_print(int prio, const char* tag, const char* fmt, ...) 112 int __android_log_vprint(int prio, const char* tag, const char* fmt, va_list ap) 131 void __android_log_assert(const char* cond, const char* tag, const char* fmt, ...) 180 int __android_log_buf_print(int bufID, int prio, const char* tag, const char* fmt, ...)
|
/system/chre/platform/include/chre/platform/ |
D | fatal_error.h | 39 #define FATAL_ERROR(fmt, ...) do { \ argument 40 LOGE(fmt, ##__VA_ARGS__); \
|
/system/netd/libnetdutils/ |
D | DumpWriter.cpp | 62 void DumpWriter::println(const char* fmt, ...) { in println() argument 65 va_start(ap, fmt); in println() 66 StringAppendV(&line, fmt, ap); in println()
|
/system/core/debuggerd/libdebuggerd/test/ |
D | log_fake.cpp | 57 extern "C" int __android_log_print(int prio, const char* tag, const char* fmt, ...) { in __android_log_print() argument 63 va_start(ap, fmt); in __android_log_print() 64 android::base::StringAppendV(&g_fake_log_print, fmt, ap); in __android_log_print()
|