Searched defs:log (Results 1 - 25 of 27) sorted by relevance

12

/system/chre/pal/include/chre/pal/
H A Dsystem.h80 void (*log)(enum chreLogLevel level, const char *formatStr, ...); member in struct:chrePalSystemApi
/system/core/libunwindstack/
H A DLog.cpp24 #include <log/log.h>
38 // Send the data to the log.
39 void log(uint8_t indent, const char* format, ...) { function in namespace:unwindstack
H A DArmExidx.h74 void set_log(bool log) { log_ = log; } argument
/system/update_engine/scripts/
H A Dtest_paycheck.sh60 log() { function
65 log "$@"
132 log "Checking payloads..."
136 log "Done"
140 log "Tracing a random block (${block}) in full/delta payloads..."
145 log "Done"
149 log "Initiating application of payloads at $tmpdir"
151 log "Applying old full payload..."
154 log "Done"
156 log "Applyin
[all...]
/system/chre/platform/linux/
H A Dplatform_log.cc38 // Move the log message to avoid holding a lock for longer than
43 // The stop logger is checked in an else-if to allow the main log queue
49 // If we get here, there must be a log message to output. This is outside of
70 void PlatformLog::log(const char *formatStr, ...) { function in class:chre::PlatformLog
80 std::unique_ptr<char> log(formattedStr);
83 mLogQueue.push(std::move(log));
86 FATAL_ERROR("Failed to allocate log message");
/system/core/debuggerd/libdebuggerd/
H A Dopen_files_list.cpp34 #include <log/log.h>
64 void dump_open_files_list(log_t* log, const OpenFilesList& files, const char* prefix) { argument
66 _LOG(log, logtype::OPEN_FILES, "%sfd %i: %s\n", prefix, file.first, file.second.c_str());
H A Dbacktrace.cpp39 #include <log/log.h>
44 static void dump_process_header(log_t* log, pid_t pid, const char* process_name) { argument
50 _LOG(log, logtype::BACKTRACE, "\n\n----- pid %d at %s -----\n", pid, timestr);
53 _LOG(log, logtype::BACKTRACE, "Cmd line: %s\n", process_name);
55 _LOG(log, logtype::BACKTRACE, "ABI: '%s'\n", ABI_STRING);
58 static void dump_process_footer(log_t* log, pid_t pid) { argument
59 _LOG(log, logtype::BACKTRACE, "\n----- end %d -----\n", pid);
63 log_t log; local
64 log
82 log_t log; local
105 log_t log; local
115 log_t log; local
[all...]
H A Dutility.cpp40 #include <log/log.h>
69 void _LOG(log_t* log, enum logtype ltype, const char* fmt, ...) { argument
70 bool write_to_tombstone = (log->tfd != -1);
72 && log->crashed_tid != -1
73 && log->current_tid != -1
74 && (log->crashed_tid == log->current_tid);
89 TEMP_FAILURE_RETRY(write(log->tfd, buf, len));
94 if (log
127 dump_memory(log_t* log, unwindstack::Memory* memory, uint64_t addr, const std::string& label) argument
[all...]
H A Dtombstone.cpp43 #include <android/log.h>
46 #include <log/log.h>
47 #include <log/logprint.h>
72 static void dump_header_info(log_t* log) { argument
76 _LOG(log, logtype::HEADER, "Build fingerprint: '%s'\n", fingerprint.c_str());
77 _LOG(log, logtype::HEADER, "Revision: '%s'\n", revision.c_str());
78 _LOG(log, logtype::HEADER, "ABI: '%s'\n", ABI_STRING);
81 static void dump_probable_cause(log_t* log, const siginfo_t* si) { argument
102 if (!cause.empty()) _LOG(log, logtyp
105 dump_signal_info(log_t* log, const siginfo_t* si) argument
119 dump_thread_info(log_t* log, const ThreadInfo& thread_info) argument
131 dump_stack_segment(log_t* log, BacktraceMap* backtrace_map, Memory* process_memory, uint64_t* sp, size_t words, int label) argument
172 dump_stack(log_t* log, BacktraceMap* backtrace_map, Memory* process_memory, std::vector<backtrace_frame_data_t>& frames) argument
231 dump_abort_message(log_t* log, Memory* process_memory, uint64_t address) argument
257 dump_all_maps(log_t* log, BacktraceMap* map, Memory* process_memory, uint64_t addr) argument
331 dump_backtrace(log_t* log, std::vector<backtrace_frame_data_t>& frames, const char* prefix) argument
337 print_register_row(log_t* log, const std::vector<std::pair<std::string, uint64_t>>& registers) argument
349 dump_registers(log_t* log, Regs* regs) argument
388 dump_memory_and_code(log_t* log, BacktraceMap* map, Memory* memory, Regs* regs) argument
401 dump_thread(log_t* log, BacktraceMap* map, Memory* process_memory, const ThreadInfo& thread_info, uint64_t abort_msg_address, bool primary_thread) argument
459 dump_log_file(log_t* log, pid_t pid, const char* filename, unsigned int tail) argument
577 dump_logs(log_t* log, pid_t pid, unsigned int tail) argument
592 log_t log; local
634 log_t log; local
[all...]
/system/security/keystore/
H A Dtest-keystore20 log_file=$prefix.log
28 function log() { function
61 log "comparing $baseline_file and $log_file"
62 diff $baseline_file $log_file || (log $tag FAILED && exit 1)
70 log "reset keystore as system user"
78 log "root does not have permission to run test"
82 log "but system user does"
87 log "password is now bar"
93 log "no error implies initialized and unlocked"
97 log "sa
[all...]
/system/tools/aidl/tests/java_app/src/android/aidl/tests/
H A DTestLogger.java31 "test-client.log", Context.MODE_PRIVATE));
33 throw new RuntimeException("Failed to open log file for writing.");
37 public void log(String line) { method in class:TestLogger
/system/core/libutils/
H A DCallStack.cpp36 this->log(logtag);
54 void CallStack::log(const char* logtag, android_LogPriority priority, const char* prefix) const { function in class:android::CallStack
H A DProcessCallStack.cpp192 void ProcessCallStack::log(const char* logtag, android_LogPriority priority, function in class:android::ProcessCallStack
/system/media/audio_utils/include/audio_utils/
H A DSimpleLog.h40 * Formatted logs by log() and logv() will be truncated at kMaxStringLength - 1
49 * \param maxLogLines the maximum number of log lines.
57 * \brief Adds a formatted string into the log.
67 void log(const char *format, ...) function in class:android::SimpleLog
77 * \brief Adds a formatted string into the log with time.
88 void log(int64_t nowNs, const char *format, ...) function in class:android::SimpleLog
147 * \brief Dumps the log to a string.
153 * \return a string object for the log.
179 * \brief Dumps the log to a raw file descriptor.
203 static const size_t kDefaultMaxLogLines = 80; // default maximum log histor
[all...]
H A DErrorLog.h35 * (within a specified time) into a single entry (to reduce log spamming).
61 * \brief Adds new error code to the error log.
69 void log(const T &code, int64_t nowNs) function in class:android::ErrorLog
91 * \brief Dumps the log to a std::string.
116 // compute where to start dump log
142 * \brief Dumps the log to a raw file descriptor.
205 * \brief Creates an error log object
210 * \return the error log object or NULL on failure.
215 * \brief Adds new error code to the error log.
227 * \brief Dumps the log t
[all...]
/system/core/init/
H A Dbootchart.cpp91 static void log_uptime(FILE* log) { argument
92 fprintf(log, "%lld\n", get_uptime_jiffies());
95 static void log_file(FILE* log, const char* procfile) { argument
96 log_uptime(log);
100 fprintf(log, "%s\n", content.c_str());
104 static void log_processes(FILE* log) { argument
105 log_uptime(log);
131 fputs(stat.c_str(), log);
135 fputc('\n', log);
141 // Open log file
[all...]
/system/libhidl/base/
H A DHidlInternal.cpp122 void HidlInstrumentor::configureInstrumentation(bool log) { argument
125 if (log) {
131 if (log) {
/system/core/liblog/
H A Dlocal_logger.c23 #include <log/uio.h>
30 #include <log/log_transport.h>
107 * Number of log buffers we support with the following assumption:
114 * Confirm the following should <log/log_id.h> be adjusted in the future.
135 static void LogBufferInit(struct LogBuffer* log) { argument
138 pthread_rwlock_wrlock(&log->listLock);
139 list_init(&log->head);
140 memset(log->number, 0,
141 sizeof(log->number) + sizeof(log
158 LogBufferClear(struct LogBuffer* log) argument
177 LogBufferFree(struct LogBuffer* log) argument
185 LogBufferLog(struct LogBuffer* log, struct LogBufferElement* element) argument
243 struct LogBuffer* log; local
[all...]
/system/media/audio_utils/
H A DPowerLog.cpp19 #include <log/log.h>
62 void PowerLog::log(const void *buffer, size_t frames, int64_t nowNs) function in class:android::PowerLog
161 // We accumulate the log info into a string, and write to the fd once.
250 reinterpret_cast<PowerLog *>(power_log)->log(buffer, frames, now_ns);
/system/core/logd/
H A DLogAudit.cpp32 #include <log/log_properties.h>
104 // possibility of stuttering if log audit crashes and then reloads kernel
315 // log to events
339 rc = logbuf->log(
349 // log to main
395 rc = logbuf->log(LOG_ID_MAIN, now, uid, pid, tid, newstr,
418 int LogAudit::log(char* buf, size_t len) { function in class:LogAudit
H A DLogKlog.cpp85 // Like strtok_r with "\r\n" except that we look for log signatures (regex)
105 // fixup for log signature split <,
112 // fixup for log signature split [,
258 log(tok, sublen);
414 // kernel log prefix, convert to a kernel log priority number
474 // Convert kernel log priority number into an Android Logger priority number
515 // log a message into the kernel log buffer
547 int LogKlog::log(cons function in class:LogKlog
[all...]
H A DLogBuffer.cpp201 int LogBuffer::log(log_id_t log_id, log_time realtime, uid_t uid, pid_t pid, function in class:LogBuffer
253 // log elem
267 // log elem
284 // log currentLast
292 // log reference to last held-back (currentLast)
294 // log elem
309 // log dropped (chatty message)
311 // log reference to last held-back (currentLast)
313 // log elem
327 // log(currentLas
388 void LogBuffer::log(LogBufferElement* elem) { function in class:LogBuffer
[all...]
/system/chre/host/msm/daemon/
H A Dchre_daemon.cc57 #include "chre_host/log.h"
176 // Parse out the log level.
177 const char *log = reinterpret_cast<const char *>(&logData.data()[i]); local
178 char logLevel = *log;
179 log++;
183 memcpy(&timestampNanos, log, sizeof(uint64_t));
185 log += sizeof(uint64_t);
192 LOGE(HUB_LOG_FORMAT_STR, timestampSeconds, log);
195 LOGW(HUB_LOG_FORMAT_STR, timestampSeconds, log);
198 LOGI(HUB_LOG_FORMAT_STR, timestampSeconds, log);
[all...]
/system/update_engine/
H A Dpayload_state.cc1128 bool log) {
1139 LOG_IF(INFO, log) << "Current bytes downloaded for "
1152 bool log) {
1164 LOG_IF(INFO, log) << "Total bytes downloaded for "
1125 SetCurrentBytesDownloaded( DownloadSource source, uint64_t current_bytes_downloaded, bool log) argument
1149 SetTotalBytesDownloaded( DownloadSource source, uint64_t total_bytes_downloaded, bool log) argument
/system/extras/simpleperf/demo/SimpleperfExampleOfKotlin/gradle/wrapper/
H A Dgradle-wrapper.jar ... _r3/s?defs= " (boolean) boolean quiet public void log (java.lang.String) String message public java. ...

Completed in 7065 milliseconds

12