/system/security/keystore/ |
D | test-keystore | 20 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 "saw with no argument" [all …]
|
/system/core/debuggerd/ |
D | tombstone.cpp | 163 static void dump_header_info(log_t* log) { in dump_header_info() argument 170 _LOG(log, logtype::HEADER, "Build fingerprint: '%s'\n", fingerprint); in dump_header_info() 171 _LOG(log, logtype::HEADER, "Revision: '%s'\n", revision); in dump_header_info() 172 _LOG(log, logtype::HEADER, "ABI: '%s'\n", ABI_STRING); in dump_header_info() 175 static void dump_signal_info(log_t* log, pid_t tid, int signal, int si_code) { in dump_signal_info() argument 179 _LOG(log, logtype::HEADER, "cannot get siginfo: %s\n", strerror(errno)); in dump_signal_info() 193 _LOG(log, logtype::HEADER, "signal %d (%s), code %d (%s), fault addr %s\n", in dump_signal_info() 197 static void dump_thread_info(log_t* log, pid_t pid, pid_t tid) { in dump_thread_info() argument 218 log->should_retrieve_logcat = false; in dump_thread_info() 230 _LOG(log, logtype::HEADER, "pid: %d, tid: %d, name: %s >>> %s <<<\n", pid, tid, in dump_thread_info() [all …]
|
D | backtrace.cpp | 36 static void dump_process_header(log_t* log, pid_t pid) { in dump_process_header() argument 53 _LOG(log, logtype::BACKTRACE, "\n\n----- pid %d at %s -----\n", pid, timestr); in dump_process_header() 56 _LOG(log, logtype::BACKTRACE, "Cmd line: %s\n", procname); in dump_process_header() 58 _LOG(log, logtype::BACKTRACE, "ABI: '%s'\n", ABI_STRING); in dump_process_header() 61 static void dump_process_footer(log_t* log, pid_t pid) { in dump_process_footer() argument 62 _LOG(log, logtype::BACKTRACE, "\n----- end %d -----\n", pid); in dump_process_footer() 66 log_t* log, pid_t tid, bool attached, bool* detach_failed, int* total_sleep_time_usec) { in dump_thread() argument 84 _LOG(log, logtype::BACKTRACE, "\n\"%s\" sysTid=%d\n", threadname ? threadname : "<unknown>", tid); in dump_thread() 87 _LOG(log, logtype::BACKTRACE, "Could not attach to thread: %s\n", strerror(errno)); in dump_thread() 97 dump_backtrace_to_log(backtrace.get(), log, " "); in dump_thread() [all …]
|
D | utility.cpp | 59 void _LOG(log_t* log, enum logtype ltype, const char* fmt, ...) { in _LOG() argument 60 bool write_to_tombstone = (log->tfd != -1); in _LOG() 62 && log->crashed_tid != -1 in _LOG() 63 && log->current_tid != -1 in _LOG() 64 && (log->crashed_tid == log->current_tid); in _LOG() 65 bool write_to_activitymanager = (log->amfd != -1); in _LOG() 79 TEMP_FAILURE_RETRY(write(log->tfd, buf, len)); in _LOG() 85 int written = write_to_am(log->amfd, buf, len); in _LOG() 88 log->amfd = -1; in _LOG() 140 void dump_memory(log_t* log, pid_t tid, uintptr_t addr) { in dump_memory() argument [all …]
|
D | machine.h | 24 void dump_memory_and_code(log_t* log, pid_t tid); 25 void dump_registers(log_t* log, pid_t tid);
|
D | utility.h | 71 void _LOG(log_t* log, logtype ltype, const char *fmt, ...) 76 void dump_memory(log_t* log, pid_t tid, uintptr_t addr);
|
D | backtrace.h | 32 void dump_backtrace_to_log(Backtrace* backtrace, log_t* log, const char* prefix);
|
/system/core/debuggerd/arm/ |
D | machine.cpp | 30 void dump_memory_and_code(log_t* log, pid_t tid) { in dump_memory_and_code() argument 48 _LOG(log, logtype::MEMORY, "\nmemory near %.2s:\n", ®_NAMES[reg * 2]); in dump_memory_and_code() 49 dump_memory(log, tid, addr); in dump_memory_and_code() 53 _LOG(log, logtype::MEMORY, "\ncode around pc:\n"); in dump_memory_and_code() 54 dump_memory(log, tid, static_cast<uintptr_t>(regs.ARM_pc)); in dump_memory_and_code() 57 _LOG(log, logtype::MEMORY, "\ncode around lr:\n"); in dump_memory_and_code() 58 dump_memory(log, tid, static_cast<uintptr_t>(regs.ARM_lr)); in dump_memory_and_code() 62 void dump_registers(log_t* log, pid_t tid) { in dump_registers() argument 65 _LOG(log, logtype::REGISTERS, "cannot get registers: %s\n", strerror(errno)); in dump_registers() 69 _LOG(log, logtype::REGISTERS, " r0 %08x r1 %08x r2 %08x r3 %08x\n", in dump_registers() [all …]
|
/system/core/debuggerd/arm64/ |
D | machine.cpp | 30 void dump_memory_and_code(log_t* log, pid_t tid) { in dump_memory_and_code() argument 37 _LOG(log, logtype::ERROR, "%s: ptrace failed to get registers: %s\n", in dump_memory_and_code() 53 _LOG(log, logtype::MEMORY, "\nmemory near x%d:\n", reg); in dump_memory_and_code() 54 dump_memory(log, tid, addr); in dump_memory_and_code() 57 _LOG(log, logtype::MEMORY, "\ncode around pc:\n"); in dump_memory_and_code() 58 dump_memory(log, tid, (uintptr_t)regs.pc); in dump_memory_and_code() 61 _LOG(log, logtype::MEMORY, "\ncode around sp:\n"); in dump_memory_and_code() 62 dump_memory(log, tid, (uintptr_t)regs.sp); in dump_memory_and_code() 66 void dump_registers(log_t* log, pid_t tid) { in dump_registers() argument 73 _LOG(log, logtype::ERROR, "ptrace error: %s\n", strerror(errno)); in dump_registers() [all …]
|
/system/core/debuggerd/mips/ |
D | machine.cpp | 46 void dump_memory_and_code(log_t* log, pid_t tid) { in dump_memory_and_code() argument 71 _LOG(log, logtype::MEMORY, "\nmemory near %.2s:\n", ®_NAMES[reg * 2]); in dump_memory_and_code() 72 dump_memory(log, tid, addr); in dump_memory_and_code() 78 _LOG(log, logtype::MEMORY, "\ncode around pc:\n"); in dump_memory_and_code() 79 dump_memory(log, tid, (uintptr_t)pc); in dump_memory_and_code() 82 _LOG(log, logtype::MEMORY, "\ncode around ra:\n"); in dump_memory_and_code() 83 dump_memory(log, tid, (uintptr_t)ra); in dump_memory_and_code() 87 void dump_registers(log_t* log, pid_t tid) { in dump_registers() argument 90 _LOG(log, logtype::ERROR, "cannot get registers: %s\n", strerror(errno)); in dump_registers() 94 _LOG(log, logtype::REGISTERS, " zr %08x at %08x v0 %08x v1 %08x\n", in dump_registers() [all …]
|
/system/core/debuggerd/x86_64/ |
D | machine.cpp | 33 void dump_registers(log_t* log, pid_t tid) { in dump_registers() argument 36 _LOG(log, logtype::ERROR, "cannot get registers: %s\n", strerror(errno)); in dump_registers() 39 _LOG(log, logtype::REGISTERS, " rax %016lx rbx %016lx rcx %016lx rdx %016lx\n", in dump_registers() 41 _LOG(log, logtype::REGISTERS, " rsi %016lx rdi %016lx\n", in dump_registers() 43 _LOG(log, logtype::REGISTERS, " r8 %016lx r9 %016lx r10 %016lx r11 %016lx\n", in dump_registers() 45 _LOG(log, logtype::REGISTERS, " r12 %016lx r13 %016lx r14 %016lx r15 %016lx\n", in dump_registers() 47 _LOG(log, logtype::REGISTERS, " cs %016lx ss %016lx\n", in dump_registers() 49 _LOG(log, logtype::REGISTERS, " rip %016lx rbp %016lx rsp %016lx eflags %016lx\n", in dump_registers()
|
/system/core/debuggerd/x86/ |
D | machine.cpp | 31 void dump_registers(log_t* log, pid_t tid) { in dump_registers() argument 34 _LOG(log, logtype::ERROR, "cannot get registers: %s\n", strerror(errno)); in dump_registers() 37 _LOG(log, logtype::REGISTERS, " eax %08lx ebx %08lx ecx %08lx edx %08lx\n", in dump_registers() 39 _LOG(log, logtype::REGISTERS, " esi %08lx edi %08lx\n", in dump_registers() 41 _LOG(log, logtype::REGISTERS, " xcs %08x xds %08x xes %08x xfs %08x xss %08x\n", in dump_registers() 43 _LOG(log, logtype::REGISTERS, " eip %08lx ebp %08lx esp %08lx flags %08lx\n", in dump_registers()
|
/system/core/liblog/ |
D | README | 9 #include <log/log.h> 61 #include <log/logger.h> 89 writing or reading logs. The log buffers are divided up in Main, Sys‐ 94 cation or library. [ASR]LOG[VDIWE] calls are used to log to BAsic, 104 sub-log. 106 The log reading interfaces permit opening the logs either singly or 107 multiply, retrieving a log entry at a time in time sorted order, 108 optionally limited to a specific pid and tail of the log(s) and finally 109 a call closing the logs. A single log can be opened with android_log‐ 111 ger_list_alloc, calling in turn the android_logger_open for each log [all …]
|
/system/core/init/ |
D | bootchart.c | 185 do_log_uptime(FileBuff log) in do_log_uptime() argument 201 file_buff_write(log, buff, len); in do_log_uptime() 207 do_log_ln(FileBuff log) in do_log_ln() argument 209 file_buff_write(log, "\n", 1); in do_log_ln() 214 do_log_file(FileBuff log, const char* procfile) in do_log_file() argument 219 do_log_uptime(log); in do_log_file() 231 file_buff_write(log, buff, ret); in do_log_file() 238 do_log_ln(log); in do_log_file() 242 do_log_procs(FileBuff log) in do_log_procs() argument 247 do_log_uptime(log); in do_log_procs() [all …]
|
D | README.BOOTCHART | 1 This version of init contains code to perform "bootcharting", i.e. generating log 34 The log files are placed in /data/bootchart/. you must run the script tools/grab-bootchart.sh
|
/system/core/logd/ |
D | README.property | 6 sent on to dmesg log 17 log ids at initial startup, at runtime 19 persist.logd.size.main number 256K Size of the buffer for the main log 20 persist.logd.size.system number 256K Size of the buffer for the system log 21 persist.logd.size.radio number 256K Size of the buffer for the radio log 22 persist.logd.size.event number 256K Size of the buffer for the event log 23 persist.logd.size.crash number 256K Size of the buffer for the crash log 27 to between 64K and 256M for log buffer sizes. Individual logs override the
|
D | event.logtags | 1 # The entries in this file map a sparse set of log tag numbers to tag names. 9 # impacts log readability, the latter makes regex searches more annoying).
|
/system/core/libutils/ |
D | CallStack.cpp | 34 this->log(logtag); in CallStack() 52 void CallStack::log(const char* logtag, android_LogPriority priority, const char* prefix) const { in log() function in android::CallStack
|
/system/core/rootdir/ |
D | ueventd.rc | 17 # group, then they'll only see log entries for their UID. 18 /dev/log/* 0666 root log 91 /sys/devices/platform/trusty.* trusty_version 0440 root log
|
/system/extras/tests/fstest/ |
D | perm_checker.conf | 10 /data/anr/ 000 751 root system log log 11 /data/anr/... 000 662 root system log log 88 /dev/log/ 755 755 root root root root 89 /dev/log/* 662 662 root root log log
|
/system/extras/tests/bionic/libstdc++/ |
D | test_cmath.cpp | 58 using ::log;
|
/system/extras/f2fs_utils/ |
D | Android.mk | 77 system/core/include/log 85 system/core/include/log
|
/system/core/include/utils/ |
D | CallStack.h | 50 void log(const char* logtag,
|
D | ProcessCallStack.h | 45 void log(const char* logtag, android_LogPriority priority = ANDROID_LOG_DEBUG,
|
/system/core/logcat/ |
D | event.logtags | 1 # The entries in this file map a sparse set of log tag numbers to tag names. 9 # impacts log readability, the latter makes regex searches more annoying). 57 # intrinsic event log times are wall-clock. 140 # want to define their own log tags without conflicting with the core platform.
|