Home
last modified time | relevance | path

Searched refs:logger (Results 1 – 25 of 30) sorted by relevance

12

/system/core/liblog/include/log/
Dlog_read.h80 struct logger;
82 log_id_t android_logger_get_id(struct logger* logger);
84 int android_logger_clear(struct logger* logger);
85 long android_logger_get_log_size(struct logger* logger);
86 int android_logger_set_log_size(struct logger* logger, unsigned long size);
87 long android_logger_get_log_readable_size(struct logger* logger);
88 int android_logger_get_log_version(struct logger* logger);
114 struct logger* android_logger_open(struct logger_list* logger_list, log_id_t id);
/system/core/liblog/include_vndk/log/
Dlog_read.h80 struct logger;
82 log_id_t android_logger_get_id(struct logger* logger);
84 int android_logger_clear(struct logger* logger);
85 long android_logger_get_log_size(struct logger* logger);
86 int android_logger_set_log_size(struct logger* logger, unsigned long size);
87 long android_logger_get_log_readable_size(struct logger* logger);
88 int android_logger_get_log_version(struct logger* logger);
114 struct logger* android_logger_open(struct logger_list* logger_list, log_id_t id);
/system/core/liblog/tests/
Dlog_read_test.cpp46 struct logger* logger; in TEST() local
47 EXPECT_TRUE(NULL != (logger = android_logger_open(logger_list, id))); in TEST()
48 EXPECT_EQ(id, android_logger_get_id(logger)); in TEST()
49 ssize_t get_log_size = android_logger_get_log_size(logger); in TEST()
64 EXPECT_LE(0, android_logger_get_log_readable_size(logger)); in TEST()
68 EXPECT_GT(0, android_logger_get_log_readable_size(logger)); in TEST()
70 EXPECT_LE(0, android_logger_get_log_readable_size(logger)); in TEST()
Dlog_wrap_test.cpp53 struct logger* logger = android_logger_open(logger_list, LOG_ID_MAIN); in read_with_wrap() local
54 EXPECT_NE(logger, nullptr); in read_with_wrap()
55 if (logger) { in read_with_wrap()
/system/core/liblog/
Dlogger_read.cpp36 log_id_t android_logger_get_id(struct logger* logger) { in android_logger_get_id() argument
37 return static_cast<log_id_t>(reinterpret_cast<uintptr_t>(logger) & LOGGER_LOG_ID_MASK); in android_logger_get_id()
64 struct logger* android_logger_open(struct logger_list* logger_list, log_id_t logId) { in android_logger_open()
71 uintptr_t logger = logId; in android_logger_open() local
72 logger |= (logger_list->mode & ANDROID_LOG_PSTORE) ? LOGGER_PMSG : LOGGER_LOGD; in android_logger_open()
73 return reinterpret_cast<struct logger*>(logger); in android_logger_open()
Dlogd_reader.cpp140 int android_logger_clear(struct logger* logger) { in android_logger_clear() argument
141 if (!android_logger_is_logd(logger)) { in android_logger_clear()
144 uint32_t log_id = android_logger_get_id(logger); in android_logger_clear()
152 long android_logger_get_log_size(struct logger* logger) { in android_logger_get_log_size() argument
153 if (!android_logger_is_logd(logger)) { in android_logger_get_log_size()
157 uint32_t log_id = android_logger_get_id(logger); in android_logger_get_log_size()
173 int android_logger_set_log_size(struct logger* logger, unsigned long size) { in android_logger_set_log_size() argument
174 if (!android_logger_is_logd(logger)) { in android_logger_set_log_size()
178 uint32_t log_id = android_logger_get_id(logger); in android_logger_set_log_size()
189 long android_logger_get_log_readable_size(struct logger* logger) { in android_logger_get_log_readable_size() argument
[all …]
Dlogger.h47 inline bool android_logger_is_logd(struct logger* logger) { in android_logger_is_logd() argument
48 return reinterpret_cast<uintptr_t>(logger) & LOGGER_LOGD; in android_logger_is_logd()
DREADME.md63 log_id_t android_logger_get_id(struct logger *logger)
64 int android_logger_clear(struct logger *logger)
65 int android_logger_get_log_size(struct logger *logger)
66 int android_logger_get_log_readable_size(struct logger *logger)
67 int android_logger_get_log_version(struct logger *logger)
70 struct logger *android_logger_open(struct logger_list *logger_list, log_id_t id)
142 The `-ENOTCONN` return code indicates that the logger daemon is stopped.
155 the problem(s) worse and cause your application to temporarily drop to the logger daemon priority,
Dlogger_write.cpp163 void __android_log_set_logger(__android_logger_function logger) { in __android_log_set_logger() argument
164 logger_function = logger; in __android_log_set_logger()
/system/extras/simpleperf/scripts/
Dupdate.py90 def logger(): function
98 logger().debug('check_call `%s`', ' '.join(cmd))
107 logger().info('Fetching %s from %s %s (artifacts matching %s)', build,
118 logger().info('Creating branch %s', branch_name)
124 logger().info('Making commit')
136 logger().info('Removing old install directory "%s"', install_dir)
/system/keymaster/
DMakefile113 android_keymaster/logger.cpp \
211 android_keymaster/logger.o \
221 android_keymaster/logger.o \
230 android_keymaster/logger.o \
244 android_keymaster/logger.o \
251 android_keymaster/logger.o \
262 android_keymaster/logger.o \
273 android_keymaster/logger.o \
281 android_keymaster/logger.o \
297 android_keymaster/logger.o \
[all …]
DAndroid.bp46 "android_keymaster/logger.cpp",
81 "android_keymaster/logger.cpp",
/system/keymaster/include/keymaster/
Dlogger.h48 static void set_instance(Logger* logger) { instance_ = logger; } in set_instance() argument
/system/libbase/
Dlogging.cpp196 static auto& logger = *new LogFunction(LogdLogger()); in Logger() local
198 static auto& logger = *new LogFunction(StderrLogger); in Logger()
200 return logger; in Logger()
342 void InitLogging(char* argv[], LogFunction&& logger, AbortFunction&& aborter) { in InitLogging() argument
343 SetLogger(std::forward<LogFunction>(logger)); in InitLogging()
400 void SetLogger(LogFunction&& logger) { in SetLogger() argument
401 Logger() = std::move(logger); in SetLogger()
Dliblog_symbols.h27 void (*__android_log_set_logger)(__android_logger_function logger);
/system/security/keystore/tests/
DMakefile52 $(KEYMASTER)/logger.cpp \
76 $(KEYMASTER)/logger.o \
Dauth_token_formatting_test.cpp70 StdoutLogger logger; variable
/system/keymaster/tests/
Decies_kem_test.cpp34 StdoutLogger logger; variable
Dnist_curve_key_exchange_test.cpp32 StdoutLogger logger; variable
/system/update_engine/
Dlogging_android.cc207 for (auto&& logger : loggers_) { in operator ()()
208 logger(log_message); in operator ()()
/system/core/liblog/include/android/
Dlog.h246 void __android_log_set_logger(__android_logger_function logger) __INTRODUCED_IN(30);
/system/core/include/android/
Dlog.h246 void __android_log_set_logger(__android_logger_function logger) __INTRODUCED_IN(30);
/system/core/logcat/
Dlogcat.cpp1046 auto logger = android_logger_open(logger_list.get(), static_cast<log_id_t>(i)); in Run() local
1047 if (logger == nullptr) { in Run()
1053 if (android_logger_clear(logger)) { in Run()
1059 if (android_logger_set_log_size(logger, setLogSize)) { in Run()
1065 long size = android_logger_get_log_size(logger); in Run()
1066 long readable = android_logger_get_log_readable_size(logger); in Run()
/system/apex/apexer/
Dapexer_test.py31 logger = logging.getLogger(__name__) variable
69 logger.info(" Running: \"%s\"", " ".join(args))
104 logger.info("%s", output.rstrip())
/system/libbase/include/android-base/
Dlogging.h150 LogFunction&& logger = INIT_LOGGING_DEFAULT_LOGGER,
155 void SetLogger(LogFunction&& logger);

12