Home
last modified time | relevance | path

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

12

/system/core/liblog/
Dlogger_read.c37 static void android_logger_free(struct logger *logger) in android_logger_free() argument
40 (struct android_log_logger *)logger; in android_logger_free()
54 LIBLOG_ABI_PUBLIC log_id_t android_logger_get_id(struct logger *logger) in android_logger_get_id() argument
56 return ((struct android_log_logger *)logger)->logId; in android_logger_get_id()
68 if (list_empty(&logger_list->logger)) { in init_transport_context()
89 struct android_log_logger *logger; in init_transport_context() local
92 logger_for_each(logger, logger_list) { in init_transport_context()
93 log_id_t logId = logger->logId; in init_transport_context()
124 #define LOGGER_FUNCTION(logger, def, func, args...) \ argument
128 (struct android_log_logger *)logger; \
[all …]
Dlogd_reader.c49 static int logdVersion(struct android_log_logger *logger,
58 static int logdClear(struct android_log_logger *logger,
60 static ssize_t logdSetSize(struct android_log_logger *logger,
63 static ssize_t logdGetSize(struct android_log_logger *logger,
65 static ssize_t logdGetReadableSize(struct android_log_logger *logger,
67 static ssize_t logdGetPrune(struct android_log_logger_list *logger,
70 static ssize_t logdSetPrune(struct android_log_logger_list *logger,
73 static ssize_t logdGetStats(struct android_log_logger_list *logger,
263 static ssize_t send_log_msg(struct android_log_logger *logger, in send_log_msg() argument
277 snprintf(buf, buf_size, msg, logger ? logger->logId : (unsigned) -1); in send_log_msg()
[all …]
Dlogger.h61 int (*version)(struct android_log_logger *logger,
77 int (*clear)(struct android_log_logger *logger,
79 ssize_t (*setSize)(struct android_log_logger *logger,
82 ssize_t (*getSize)(struct android_log_logger *logger,
84 ssize_t (*getReadableSize)(struct android_log_logger *logger,
99 struct listnode logger; member
138 for (logp = node_to_item((logger_list)->logger.next, \
140 (logp != node_to_item(&(logger_list)->logger, \
DREADME6 liblog - Android NDK logger interfaces
61 #include <log/logger.h>
63 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)
71 struct logger *android_logger_open(struct logger_list *logger_list,
141 The -ENOTCONN return code indicates that the logger daemon is stopped.
157 application to temporarily drop to the logger daemon priority, BATCH
Dpmsg_reader.c32 static int pmsgVersion(struct android_log_logger *logger,
39 static int pmsgClear(struct android_log_logger *logger,
117 static int pmsgClear(struct android_log_logger *logger __unused, in pmsgClear()
130 static int pmsgVersion(struct android_log_logger *logger __unused, in pmsgVersion()
143 struct android_log_logger *logger; in pmsgRead() local
/system/connectivity/shill/bin/
Dshill_login_user54 logger -t "$script_name" "User already logged in; doing nothing."
61 logger -t "$script_name" \
91 logger -t "$script_name" \
98 logger -t "$script_name" \
103 logger -t "$script_name" \
107 logger -t "$script_name" \
113 logger -t "$script_name" \
120 logger -t "$script_name" "Removing outdated flimflam user profile"
132 logger -t "$script_name" "Failed to test-move old shill profile"
139 logger -t "$script_name" "Old shill profile is a symlink"
[all …]
Dreload_network_device28 logger -t $0 "Error: $1"
44 logger -t $0 "Restarting network interface ${INTERFACE}"
Dshill_logout_user23 logger -t "$script_name" "Failed to pop shill user profiles"
/system/core/include/log/
Dlogger.h155 struct logger;
157 log_id_t android_logger_get_id(struct logger *logger);
159 int android_logger_clear(struct logger *logger);
160 long android_logger_get_log_size(struct logger *logger);
161 int android_logger_set_log_size(struct logger *logger, unsigned long size);
162 long android_logger_get_log_readable_size(struct logger *logger);
163 int android_logger_get_log_version(struct logger *logger);
195 struct logger *android_logger_open(struct logger_list *logger_list,
/system/connectivity/shill/
Dscope_logger_unittest.cc155 ScopeLogger* logger = ScopeLogger::GetInstance(); in TEST_F() local
156 logger->SetScopeEnabled(ScopeLogger::kService, true); in TEST_F()
157 EXPECT_TRUE(logger->IsLogEnabled(ScopeLogger::kService, 0)); in TEST_F()
158 EXPECT_FALSE(logger->IsLogEnabled(ScopeLogger::kService, 1)); in TEST_F()
159 EXPECT_FALSE(logger->IsLogEnabled(ScopeLogger::kService, 2)); in TEST_F()
164 logger->set_verbose_level(1); in TEST_F()
165 EXPECT_TRUE(logger->IsLogEnabled(ScopeLogger::kService, 0)); in TEST_F()
166 EXPECT_TRUE(logger->IsLogEnabled(ScopeLogger::kService, 1)); in TEST_F()
167 EXPECT_FALSE(logger->IsLogEnabled(ScopeLogger::kService, 2)); in TEST_F()
172 logger->set_verbose_level(2); in TEST_F()
[all …]
/system/keymaster/
DMakefile109 logger.cpp \
200 logger.o \
210 logger.o \
222 logger.o \
229 logger.o \
240 logger.o \
251 logger.o \
259 logger.o \
275 logger.o \
286 logger.o \
[all …]
Decies_kem_test.cpp33 StdoutLogger logger; variable
Dnist_curve_key_exchange_test.cpp32 StdoutLogger logger; variable
DAndroid.mk28 logger.cpp \
/system/keymaster/include/keymaster/
Dlogger.h48 static void set_instance(Logger* logger) { instance_ = logger; } in set_instance() argument
/system/core/base/
Dlogging.cpp235 void InitLogging(char* argv[], LogFunction&& logger) { in InitLogging() argument
236 SetLogger(std::forward<LogFunction>(logger)); in InitLogging()
295 void SetLogger(LogFunction&& logger) { in SetLogger() argument
297 gLogger = std::move(logger); in SetLogger()
/system/core/logcat/
Dlogcat.cpp52 struct logger *logger; member
63 logger = NULL; in log_device_t()
1028 dev->logger = android_logger_open(logger_list, in main()
1030 if (!dev->logger) { in main()
1065 } else if (android_logger_clear(dev->logger)) { in main()
1071 if (android_logger_set_log_size(dev->logger, setLogSize)) { in main()
1077 long size = android_logger_get_log_size(dev->logger); in main()
1078 long readable = android_logger_get_log_readable_size(dev->logger); in main()
/system/connectivity/apmanager/init/
Dapmanager.conf33 logger -p err -t "$UPSTART_JOB" "Failed to load cfg80211"
/system/security/keystore/tests/
DMakefile53 $(KEYMASTER)/logger.cpp \
77 $(KEYMASTER)/logger.o \
/system/webservd/webservd/
Dlog_manager.h57 static void SetLogger(std::unique_ptr<LoggerInterface> logger);
Dlog_manager.cc209 void LogManager::SetLogger(std::unique_ptr<LoggerInterface> logger) { in SetLogger() argument
210 GetInstance()->logger_ = std::move(logger); in SetLogger()
/system/connectivity/shill/mobile_operator_db/
Dserviceproviders_converter.py120 logger = logging.info if result else logging.error
122 logger('Sanity check: (%s) == (%s) (%d == %d) **%s**',
572 def _PPrintLogXML(self, logger, node): argument
578 logger('NODE:')
580 logger(line_str_ascii)
/system/core/base/include/android-base/
Dlogging.h82 extern void InitLogging(char* argv[], LogFunction&& logger);
89 extern void SetLogger(LogFunction&& logger);
/system/connectivity/shill/init/
Dnetwork-services.conf.in31 @load_cfg80211@ || logger -p err -t "$UPSTART_JOB" "Failed to load cfg80211"
/system/core/liblog/tests/
Dliblog_test.cpp1142 struct logger * logger; in TEST() local
1143 EXPECT_TRUE(NULL != (logger = android_logger_open(logger_list, id))); in TEST()
1144 EXPECT_EQ(id, android_logger_get_id(logger)); in TEST()
1145 ssize_t get_log_size = android_logger_get_log_size(logger); in TEST()
1151 android_logger_get_log_readable_size(logger)); in TEST()
1155 EXPECT_GT(0, android_logger_get_log_readable_size(logger)); in TEST()
1157 EXPECT_LE(0, android_logger_get_log_readable_size(logger)); in TEST()
1160 EXPECT_LT(0, android_logger_get_log_version(logger)); in TEST()

12