/system/core/liblog/ |
D | logger_read.c | 37 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 …]
|
D | logd_reader.c | 49 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 …]
|
D | logger.h | 61 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, \
|
D | README | 6 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
|
D | pmsg_reader.c | 32 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/ |
D | shill_login_user | 54 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 …]
|
D | reload_network_device | 28 logger -t $0 "Error: $1" 44 logger -t $0 "Restarting network interface ${INTERFACE}"
|
D | shill_logout_user | 23 logger -t "$script_name" "Failed to pop shill user profiles"
|
/system/core/include/log/ |
D | logger.h | 155 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/ |
D | scope_logger_unittest.cc | 155 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/ |
D | Makefile | 109 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 …]
|
D | ecies_kem_test.cpp | 33 StdoutLogger logger; variable
|
D | nist_curve_key_exchange_test.cpp | 32 StdoutLogger logger; variable
|
D | Android.mk | 28 logger.cpp \
|
/system/keymaster/include/keymaster/ |
D | logger.h | 48 static void set_instance(Logger* logger) { instance_ = logger; } in set_instance() argument
|
/system/core/base/ |
D | logging.cpp | 235 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/ |
D | logcat.cpp | 52 struct logger *logger; member 63 logger = NULL; in log_device_t() 1078 dev->logger = android_logger_open(logger_list, in main() 1080 if (!dev->logger) { in main() 1087 if (android_logger_clear(dev->logger)) { in main() 1093 if (android_logger_set_log_size(dev->logger, setLogSize)) { in main() 1099 long size = android_logger_get_log_size(dev->logger); in main() 1100 long readable = android_logger_get_log_readable_size(dev->logger); in main()
|
/system/connectivity/apmanager/init/ |
D | apmanager.conf | 33 logger -p err -t "$UPSTART_JOB" "Failed to load cfg80211"
|
/system/security/keystore/tests/ |
D | Makefile | 53 $(KEYMASTER)/logger.cpp \ 77 $(KEYMASTER)/logger.o \
|
/system/webservd/webservd/ |
D | log_manager.h | 57 static void SetLogger(std::unique_ptr<LoggerInterface> logger);
|
D | log_manager.cc | 209 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/ |
D | serviceproviders_converter.py | 120 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/ |
D | logging.h | 82 extern void InitLogging(char* argv[], LogFunction&& logger); 89 extern void SetLogger(LogFunction&& logger);
|
/system/connectivity/shill/init/ |
D | network-services.conf.in | 31 @load_cfg80211@ || logger -p err -t "$UPSTART_JOB" "Failed to load cfg80211"
|
/system/core/liblog/tests/ |
D | liblog_test.cpp | 1134 struct logger * logger; in TEST() local 1135 EXPECT_TRUE(NULL != (logger = android_logger_open(logger_list, id))); in TEST() 1136 EXPECT_EQ(id, android_logger_get_id(logger)); in TEST() 1137 ssize_t get_log_size = android_logger_get_log_size(logger); in TEST() 1143 android_logger_get_log_readable_size(logger)); in TEST() 1147 EXPECT_GT(0, android_logger_get_log_readable_size(logger)); in TEST() 1149 EXPECT_LE(0, android_logger_get_log_readable_size(logger)); in TEST() 1152 EXPECT_LT(0, android_logger_get_log_version(logger)); in TEST()
|