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

12345678

/system/core/include/cutils/
H A Dlog.h1 #include <log/log.h>
/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/x86_64/
H A Dmachine.cpp28 void dump_memory_and_code(log_t* log, Backtrace* backtrace) { argument
31 _LOG(log, logtype::ERROR, "cannot get registers: %s\n", strerror(errno));
35 dump_memory(log, backtrace, static_cast<uintptr_t>(r.rax), "memory near rax:");
36 dump_memory(log, backtrace, static_cast<uintptr_t>(r.rbx), "memory near rbx:");
37 dump_memory(log, backtrace, static_cast<uintptr_t>(r.rcx), "memory near rcx:");
38 dump_memory(log, backtrace, static_cast<uintptr_t>(r.rdx), "memory near rdx:");
39 dump_memory(log, backtrace, static_cast<uintptr_t>(r.rsi), "memory near rsi:");
40 dump_memory(log, backtrace, static_cast<uintptr_t>(r.rdi), "memory near rdi:");
42 dump_memory(log, backtrace, static_cast<uintptr_t>(r.rip), "code around rip:");
45 void dump_registers(log_t* log, pid_ argument
[all...]
/system/core/debuggerd/
H A Dmachine.h26 void dump_memory_and_code(log_t* log, Backtrace* backtrace);
27 void dump_registers(log_t* log, pid_t tid);
H A Dbacktrace.cpp35 #include <log/log.h>
41 static void dump_process_header(log_t* log, pid_t pid) { argument
58 _LOG(log, logtype::BACKTRACE, "\n\n----- pid %d at %s -----\n", pid, timestr);
61 _LOG(log, logtype::BACKTRACE, "Cmd line: %s\n", procname);
63 _LOG(log, logtype::BACKTRACE, "ABI: '%s'\n", ABI_STRING);
66 static void dump_process_footer(log_t* log, pid_t pid) { argument
67 _LOG(log, logtype::BACKTRACE, "\n----- end %d -----\n", pid);
71 log_t* log, pid_t tid, bool attached, bool* detach_failed, int* total_sleep_time_usec) {
89 _LOG(log, logtyp
70 dump_thread( log_t* log, pid_t tid, bool attached, bool* detach_failed, int* total_sleep_time_usec) argument
115 log_t log; local
146 dump_backtrace_to_log(Backtrace* backtrace, log_t* log, const char* prefix) argument
[all...]
H A Dutility.cpp31 #include <log/log.h>
47 void _LOG(log_t* log, enum logtype ltype, const char* fmt, ...) { argument
48 bool write_to_tombstone = (log->tfd != -1);
50 && log->crashed_tid != -1
51 && log->current_tid != -1
52 && (log->crashed_tid == log->current_tid);
53 bool write_to_activitymanager = (log->amfd != -1);
67 TEMP_FAILURE_RETRY(write(log
125 dump_memory(log_t* log, Backtrace* backtrace, uintptr_t addr, const char* fmt, ...) argument
[all...]
H A Dtombstone.cpp42 #include <log/log.h>
43 #include <log/logger.h>
44 #include <log/logprint.h>
167 static void dump_header_info(log_t* log) { argument
174 _LOG(log, logtype::HEADER, "Build fingerprint: '%s'\n", fingerprint);
175 _LOG(log, logtype::HEADER, "Revision: '%s'\n", revision);
176 _LOG(log, logtype::HEADER, "ABI: '%s'\n", ABI_STRING);
179 static void dump_signal_info(log_t* log, pid_t tid, int signal, int si_code) { argument
183 _LOG(log, logtyp
201 dump_thread_info(log_t* log, pid_t pid, pid_t tid) argument
238 dump_stack_segment( Backtrace* backtrace, log_t* log, uintptr_t* sp, size_t words, int label) argument
275 dump_stack(Backtrace* backtrace, log_t* log) argument
332 dump_all_maps(Backtrace* backtrace, BacktraceMap* map, log_t* log, pid_t tid) argument
410 dump_backtrace_and_stack(Backtrace* backtrace, log_t* log) argument
421 dump_sibling_thread_report( log_t* log, pid_t pid, pid_t tid, int* total_sleep_time_usec, BacktraceMap* map) argument
489 dump_log_file( log_t* log, pid_t pid, const char* filename, unsigned int tail) argument
606 dump_logs(log_t* log, pid_t pid, unsigned int tail) argument
611 dump_abort_message(Backtrace* backtrace, log_t* log, uintptr_t address) argument
638 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
787 log_t log; local
[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);
/system/core/libbacktrace/
H A DBacktraceLog.h22 #include <log/log.h>
24 // Macro to log the function name along with the warning message.
/system/core/debuggerd/x86/
H A Dmachine.cpp27 void dump_memory_and_code(log_t* log, Backtrace* backtrace) { argument
30 _LOG(log, logtype::ERROR, "cannot get registers: %s\n", strerror(errno));
34 dump_memory(log, backtrace, static_cast<uintptr_t>(r.eax), "memory near eax:");
35 dump_memory(log, backtrace, static_cast<uintptr_t>(r.ebx), "memory near ebx:");
36 dump_memory(log, backtrace, static_cast<uintptr_t>(r.ecx), "memory near ecx:");
37 dump_memory(log, backtrace, static_cast<uintptr_t>(r.edx), "memory near edx:");
38 dump_memory(log, backtrace, static_cast<uintptr_t>(r.esi), "memory near esi:");
39 dump_memory(log, backtrace, static_cast<uintptr_t>(r.edi), "memory near edi:");
41 dump_memory(log, backtrace, static_cast<uintptr_t>(r.eip), "code around eip:");
44 void dump_registers(log_t* log, pid_ argument
[all...]
/system/vold/
H A DCheckBattery.cpp18 #include <cutils/log.h>
/system/core/debuggerd/arm/
H A Dmachine.cpp28 void dump_memory_and_code(log_t* log, Backtrace* backtrace) { argument
31 _LOG(log, logtype::ERROR, "cannot get registers: %s\n", strerror(errno));
38 dump_memory(log, backtrace, regs.uregs[reg], "memory near %.2s:", &reg_names[reg * 2]);
41 dump_memory(log, backtrace, static_cast<uintptr_t>(regs.ARM_pc), "code around pc:");
44 dump_memory(log, backtrace, static_cast<uintptr_t>(regs.ARM_lr), "code around lr:");
48 void dump_registers(log_t* log, pid_t tid) { argument
51 _LOG(log, logtype::ERROR, "cannot get registers: %s\n", strerror(errno));
55 _LOG(log, logtype::REGISTERS, " r0 %08x r1 %08x r2 %08x r3 %08x\n",
58 _LOG(log, logtype::REGISTERS, " r4 %08x r5 %08x r6 %08x r7 %08x\n",
61 _LOG(log, logtyp
[all...]
/system/core/debuggerd/arm64/
H A Dmachine.cpp30 void dump_memory_and_code(log_t* log, Backtrace* backtrace) { argument
37 _LOG(log, logtype::ERROR, "%s: ptrace failed to get registers: %s",
43 dump_memory(log, backtrace, regs.regs[reg], "memory near x%d:", reg);
46 dump_memory(log, backtrace, static_cast<uintptr_t>(regs.pc), "code around pc:");
49 dump_memory(log, backtrace, static_cast<uintptr_t>(regs.sp), "code around sp:");
53 void dump_registers(log_t* log, pid_t tid) { argument
60 _LOG(log, logtype::ERROR, "ptrace error: %s\n", strerror(errno));
65 _LOG(log, logtype::REGISTERS,
73 _LOG(log, logtype::REGISTERS, " x28 %016llx x29 %016llx x30 %016llx\n",
76 _LOG(log, logtyp
[all...]
/system/bt/osi/include/
H A Dlog.h21 #include <cutils/log.h>
/system/core/debuggerd/mips/
H A Dmachine.cpp32 void dump_memory_and_code(log_t* log, Backtrace* backtrace) { argument
35 _LOG(log, logtype::ERROR, "cannot get registers: %s\n", strerror(errno));
50 dump_memory(log, backtrace, R(r.regs[reg]), "memory near %.2s:", &reg_names[reg * 2]);
55 dump_memory(log, backtrace, pc, "code around pc:");
57 dump_memory(log, backtrace, ra, "code around ra:");
61 void dump_registers(log_t* log, pid_t tid) { argument
64 _LOG(log, logtype::ERROR, "cannot get registers: %s\n", strerror(errno));
68 _LOG(log, logtype::REGISTERS, " zr %08" PRIxPTR " at %08" PRIxPTR
71 _LOG(log, logtype::REGISTERS, " a0 %08" PRIxPTR " a1 %08" PRIxPTR
74 _LOG(log, logtyp
[all...]
/system/core/debuggerd/mips64/
H A Dmachine.cpp32 void dump_memory_and_code(log_t* log, Backtrace* backtrace) { argument
35 _LOG(log, logtype::ERROR, "cannot get registers: %s\n", strerror(errno));
50 dump_memory(log, backtrace, R(r.regs[reg]), "memory near %.2s:", &reg_names[reg * 2]);
55 dump_memory(log, backtrace, pc, "code around pc:");
57 dump_memory(log, backtrace, ra, "code around ra:");
61 void dump_registers(log_t* log, pid_t tid) { argument
64 _LOG(log, logtype::ERROR, "cannot get registers: %s\n", strerror(errno));
68 _LOG(log, logtype::REGISTERS, " zr %016" PRIxPTR " at %016" PRIxPTR
71 _LOG(log, logtype::REGISTERS, " a0 %016" PRIxPTR " a1 %016" PRIxPTR
74 _LOG(log, logtyp
[all...]
/system/core/libdiskconfig/
H A Ddump_diskconfig.c21 #include <cutils/log.h>
/system/core/debuggerd/test/
H A Dlog_fake.cpp22 #include <log/log.h>
23 #include <log/logger.h>
/system/bt/conf/
H A Dbt_stack.conf5 # BtSnoop log output file
6 BtSnoopFileName=/sdcard/btsnoop_hci.log
8 # Preserve existing BtSnoop log before overwriting
/system/core/include/log/
H A Dlogd.h20 /* the stable/frozen log-related definitions have been
23 #include <android/log.h>
36 #include <log/uio.h>
H A Dlogprint.h20 #include <log/log.h>
21 #include <log/logger.h>
22 #include <log/event_tag_map.h>
100 * returns 1 if this log line should be printed based on its priority
120 * If "map" is non-NULL, it will be used to convert the log tag number
129 * Formats a log message into a buffer
145 * 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>

Completed in 237 milliseconds

12345678