Searched refs:log (Results 1 - 25 of 170) sorted by relevance

1234567

/system/core/include/cutils/
H A Dlog.h1 #include <log/log.h>
/system/core/libbacktrace/
H A DBacktraceLog.h22 #include <log/log.h>
24 // Macro to log the function name along with the warning message.
/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/core/debuggerd/
H A Dmachine.h24 void dump_memory_and_code(log_t* log, pid_t tid);
25 void dump_registers(log_t* log, pid_t tid);
H A Dbacktrace.cpp36 static void dump_process_header(log_t* log, pid_t pid) { argument
53 _LOG(log, logtype::BACKTRACE, "\n\n----- pid %d at %s -----\n", pid, timestr);
56 _LOG(log, logtype::BACKTRACE, "Cmd line: %s\n", procname);
58 _LOG(log, logtype::BACKTRACE, "ABI: '%s'\n", ABI_STRING);
61 static void dump_process_footer(log_t* log, pid_t pid) { argument
62 _LOG(log, logtype::BACKTRACE, "\n----- end %d -----\n", pid);
66 log_t* log, pid_t tid, bool attached, bool* detach_failed, int* total_sleep_time_usec) {
84 _LOG(log, logtype::BACKTRACE, "\n\"%s\" sysTid=%d\n", threadname ? threadname : "<unknown>", tid);
87 _LOG(log, logtype::BACKTRACE, "Could not attach to thread: %s\n", strerror(errno));
97 dump_backtrace_to_log(backtrace.get(), log, " ");
65 dump_thread( log_t* log, pid_t tid, bool attached, bool* detach_failed, int* total_sleep_time_usec) argument
108 log_t log; local
139 dump_backtrace_to_log(Backtrace* backtrace, log_t* log, const char* prefix) argument
[all...]
H A Dtombstone.cpp37 #include <log/log.h>
38 #include <log/logger.h>
39 #include <log/logprint.h>
163 static void dump_header_info(log_t* log) { argument
170 _LOG(log, logtype::HEADER, "Build fingerprint: '%s'\n", fingerprint);
171 _LOG(log, logtype::HEADER, "Revision: '%s'\n", revision);
172 _LOG(log, logtype::HEADER, "ABI: '%s'\n", ABI_STRING);
175 static void dump_signal_info(log_t* log, pid_t tid, int signal, int si_code) { argument
179 _LOG(log, logtyp
197 dump_thread_info(log_t* log, pid_t pid, pid_t tid) argument
234 dump_stack_segment( Backtrace* backtrace, log_t* log, uintptr_t* sp, size_t words, int label) argument
283 dump_stack(Backtrace* backtrace, log_t* log) argument
328 dump_backtrace_and_stack(Backtrace* backtrace, log_t* log) argument
338 dump_map(log_t* log, const backtrace_map_t* map, bool fault_addr) argument
346 dump_nearby_maps(BacktraceMap* map, log_t* log, pid_t tid) argument
377 dump_thread(Backtrace* backtrace, log_t* log) argument
386 dump_sibling_thread_report( log_t* log, pid_t pid, pid_t tid, int* total_sleep_time_usec, BacktraceMap* map) argument
451 dump_log_file( log_t* log, pid_t pid, const char* filename, unsigned int tail) argument
568 dump_logs(log_t* log, pid_t pid, unsigned int tail) argument
573 dump_abort_message(Backtrace* backtrace, log_t* log, uintptr_t address) argument
600 dump_crash(log_t* log, pid_t pid, pid_t tid, int signal, int si_code, uintptr_t abort_msg_address, bool dump_sibling_threads, int* total_sleep_time_usec) argument
742 log_t log; local
[all...]
H A Dutility.cpp29 #include <log/log.h>
59 void _LOG(log_t* log, enum logtype ltype, const char* fmt, ...) { argument
60 bool write_to_tombstone = (log->tfd != -1);
62 && log->crashed_tid != -1
63 && log->current_tid != -1
64 && (log->crashed_tid == log->current_tid);
65 bool write_to_activitymanager = (log->amfd != -1);
79 TEMP_FAILURE_RETRY(write(log
140 dump_memory(log_t* log, pid_t tid, uintptr_t addr) argument
[all...]
H A Dbacktrace.h31 /* Dumps the backtrace in the backtrace data structure to the log. */
32 void dump_backtrace_to_log(Backtrace* backtrace, log_t* log, const char* prefix);
H A Dutility.h71 void _LOG(log_t* log, logtype ltype, const char *fmt, ...)
76 void dump_memory(log_t* log, pid_t tid, uintptr_t addr);
/system/core/debuggerd/arm/
H A Dmachine.cpp30 void dump_memory_and_code(log_t* log, pid_t tid) { argument
48 _LOG(log, logtype::MEMORY, "\nmemory near %.2s:\n", &REG_NAMES[reg * 2]);
49 dump_memory(log, tid, addr);
53 _LOG(log, logtype::MEMORY, "\ncode around pc:\n");
54 dump_memory(log, tid, static_cast<uintptr_t>(regs.ARM_pc));
57 _LOG(log, logtype::MEMORY, "\ncode around lr:\n");
58 dump_memory(log, tid, static_cast<uintptr_t>(regs.ARM_lr));
62 void dump_registers(log_t* log, pid_t tid) { argument
65 _LOG(log, logtype::REGISTERS, "cannot get registers: %s\n", strerror(errno));
69 _LOG(log, logtyp
[all...]
/system/core/debuggerd/arm64/
H A Dmachine.cpp30 void dump_memory_and_code(log_t* log, pid_t tid) { argument
37 _LOG(log, logtype::ERROR, "%s: ptrace failed to get registers: %s\n",
53 _LOG(log, logtype::MEMORY, "\nmemory near x%d:\n", reg);
54 dump_memory(log, tid, addr);
57 _LOG(log, logtype::MEMORY, "\ncode around pc:\n");
58 dump_memory(log, tid, (uintptr_t)regs.pc);
61 _LOG(log, logtype::MEMORY, "\ncode around sp:\n");
62 dump_memory(log, tid, (uintptr_t)regs.sp);
66 void dump_registers(log_t* log, pid_t tid) { argument
73 _LOG(log, logtyp
[all...]
/system/core/debuggerd/x86_64/
H A Dmachine.cpp33 void dump_registers(log_t* log, pid_t tid) { argument
36 _LOG(log, logtype::ERROR, "cannot get registers: %s\n", strerror(errno));
39 _LOG(log, logtype::REGISTERS, " rax %016lx rbx %016lx rcx %016lx rdx %016lx\n",
41 _LOG(log, logtype::REGISTERS, " rsi %016lx rdi %016lx\n",
43 _LOG(log, logtype::REGISTERS, " r8 %016lx r9 %016lx r10 %016lx r11 %016lx\n",
45 _LOG(log, logtype::REGISTERS, " r12 %016lx r13 %016lx r14 %016lx r15 %016lx\n",
47 _LOG(log, logtype::REGISTERS, " cs %016lx ss %016lx\n",
49 _LOG(log, logtype::REGISTERS, " rip %016lx rbp %016lx rsp %016lx eflags %016lx\n",
/system/core/debuggerd/mips/
H A Dmachine.cpp46 void dump_memory_and_code(log_t* log, pid_t tid) { argument
71 _LOG(log, logtype::MEMORY, "\nmemory near %.2s:\n", &REG_NAMES[reg * 2]);
72 dump_memory(log, tid, addr);
78 _LOG(log, logtype::MEMORY, "\ncode around pc:\n");
79 dump_memory(log, tid, (uintptr_t)pc);
82 _LOG(log, logtype::MEMORY, "\ncode around ra:\n");
83 dump_memory(log, tid, (uintptr_t)ra);
87 void dump_registers(log_t* log, pid_t tid) { argument
90 _LOG(log, logtype::ERROR, "cannot get registers: %s\n", strerror(errno));
94 _LOG(log, logtyp
[all...]
/system/core/libdiskconfig/
H A Ddump_diskconfig.c21 #include <cutils/log.h>
/system/core/debuggerd/x86/
H A Dmachine.cpp31 void dump_registers(log_t* log, pid_t tid) { argument
34 _LOG(log, logtype::ERROR, "cannot get registers: %s\n", strerror(errno));
37 _LOG(log, logtype::REGISTERS, " eax %08lx ebx %08lx ecx %08lx edx %08lx\n",
39 _LOG(log, logtype::REGISTERS, " esi %08lx edi %08lx\n",
41 _LOG(log, logtype::REGISTERS, " xcs %08x xds %08x xes %08x xfs %08x xss %08x\n",
43 _LOG(log, logtype::REGISTERS, " eip %08lx ebp %08lx esp %08lx flags %08lx\n",
/system/core/logd/
H A DLogBufferElement.h22 #include <log/log.h>
23 #include <log/log_read.h>
/system/core/include/log/
H A Dlogd.h20 /* the stable/frozen log-related definitions have been
23 #include <android/log.h>
34 #include <log/uio.h>
H A Dlogprint.h20 #include <log/log.h>
21 #include <log/logger.h>
22 #include <log/event_tag_map.h>
95 * returns 1 if this log line should be printed based on its priority
115 * If "map" is non-NULL, it will be used to convert the log tag number
124 * Formats a log message into a buffer
140 * Either print or do not print log line, based on filter
/system/core/libcutils/
H A Dsockets.c18 #include <log/log.h>
/system/core/libnativebridge/tests/
H A DPreInitializeNativeBridgeFail1_test.cpp21 #include <cutils/log.h>
H A DPreInitializeNativeBridgeFail2_test.cpp21 #include <cutils/log.h>
/system/core/libsysutils/src/
H A DFrameworkCommand.cpp20 #include <cutils/log.h>
/system/core/include/utils/
H A DCallStack.h20 #include <android/log.h>
49 // Dump a stack trace to the log using the supplied logtag.
50 void log(const char* logtag,
H A DProcessCallStack.h21 #include <android/log.h>
44 // Print all stack traces to the log using the supplied logtag.
45 void log(const char* logtag, android_LogPriority priority = ANDROID_LOG_DEBUG,
H A DLog.h23 // The output will be correct when the log file is shared between multiple
31 #include <cutils/log.h>
39 * A very simple utility that yells in the log when an operation takes too long.
56 * Writes the specified debug log message if this block takes longer than the

Completed in 2982 milliseconds

1234567