Home
last modified time | relevance | path

Searched refs:log (Results 1 – 25 of 111) sorted by relevance

12345

/system/security/keystore/
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 "saw with no argument"
[all …]
/system/core/debuggerd/
Dtombstone.cpp167 static void dump_header_info(log_t* log) { in dump_header_info() argument
174 _LOG(log, logtype::HEADER, "Build fingerprint: '%s'\n", fingerprint); in dump_header_info()
175 _LOG(log, logtype::HEADER, "Revision: '%s'\n", revision); in dump_header_info()
176 _LOG(log, logtype::HEADER, "ABI: '%s'\n", ABI_STRING); in dump_header_info()
179 static void dump_signal_info(log_t* log, pid_t tid, int signal, int si_code) { in dump_signal_info() argument
197 _LOG(log, logtype::HEADER, "signal %d (%s), code %d (%s), fault addr %s\n", in dump_signal_info()
201 static void dump_thread_info(log_t* log, pid_t pid, pid_t tid) { in dump_thread_info() argument
222 log->should_retrieve_logcat = false; in dump_thread_info()
234 _LOG(log, logtype::HEADER, "pid: %d, tid: %d, name: %s >>> %s <<<\n", pid, tid, in dump_thread_info()
239 Backtrace* backtrace, log_t* log, uintptr_t* sp, size_t words, int label) { in dump_stack_segment() argument
[all …]
Dbacktrace.cpp42 static void dump_process_header(log_t* log, pid_t pid) { in dump_process_header() argument
59 _LOG(log, logtype::BACKTRACE, "\n\n----- pid %d at %s -----\n", pid, timestr); in dump_process_header()
62 _LOG(log, logtype::BACKTRACE, "Cmd line: %s\n", procname); in dump_process_header()
64 _LOG(log, logtype::BACKTRACE, "ABI: '%s'\n", ABI_STRING); in dump_process_header()
67 static void dump_process_footer(log_t* log, pid_t pid) { in dump_process_footer() argument
68 _LOG(log, logtype::BACKTRACE, "\n----- end %d -----\n", pid); in dump_process_footer()
71 static void dump_thread(log_t* log, BacktraceMap* map, pid_t pid, pid_t tid) { in dump_thread() argument
89 _LOG(log, logtype::BACKTRACE, "\n\"%s\" sysTid=%d\n", threadname ? threadname : "<unknown>", tid); in dump_thread()
93 dump_backtrace_to_log(backtrace.get(), log, " "); in dump_thread()
102 log_t log; in dump_backtrace() local
[all …]
Dutility.cpp47 void _LOG(log_t* log, enum logtype ltype, const char* fmt, ...) { in _LOG() argument
48 bool write_to_tombstone = (log->tfd != -1); in _LOG()
50 && log->crashed_tid != -1 in _LOG()
51 && log->current_tid != -1 in _LOG()
52 && (log->crashed_tid == log->current_tid); in _LOG()
66 TEMP_FAILURE_RETRY(write(log->tfd, buf, len)); in _LOG()
71 if (log->amfd_data != nullptr) { in _LOG()
72 *log->amfd_data += buf; in _LOG()
108 void dump_memory(log_t* log, Backtrace* backtrace, uintptr_t addr, const char* fmt, ...) { argument
131 _LOG(log, logtype::MEMORY, "\n%s\n", log_msg.c_str());
[all …]
/system/core/debuggerd/x86_64/
Dmachine.cpp31 void dump_memory_and_code(log_t* log, Backtrace* backtrace) { in dump_memory_and_code() argument
38 dump_memory(log, backtrace, static_cast<uintptr_t>(r.rax), "memory near rax:"); in dump_memory_and_code()
39 dump_memory(log, backtrace, static_cast<uintptr_t>(r.rbx), "memory near rbx:"); in dump_memory_and_code()
40 dump_memory(log, backtrace, static_cast<uintptr_t>(r.rcx), "memory near rcx:"); in dump_memory_and_code()
41 dump_memory(log, backtrace, static_cast<uintptr_t>(r.rdx), "memory near rdx:"); in dump_memory_and_code()
42 dump_memory(log, backtrace, static_cast<uintptr_t>(r.rsi), "memory near rsi:"); in dump_memory_and_code()
43 dump_memory(log, backtrace, static_cast<uintptr_t>(r.rdi), "memory near rdi:"); in dump_memory_and_code()
45 dump_memory(log, backtrace, static_cast<uintptr_t>(r.rip), "code around rip:"); in dump_memory_and_code()
48 void dump_registers(log_t* log, pid_t tid) { in dump_registers() argument
55 _LOG(log, logtype::REGISTERS, " rax %016lx rbx %016lx rcx %016lx rdx %016lx\n", in dump_registers()
[all …]
/system/core/crash_reporter/
Dcrash_reporter_logs.conf31 update_engine=cat $(ls -1tr /var/log/update_engine | tail -5 | \
32 sed s.^./var/log/update_engine/.) | tail -c 50000
36 cros_installer=cat $(ls -1tr /var/log/update_engine | tail -5 | \
37 sed s.^./var/log/update_engine/.) | tail -c 50000
42 for f in $(ls -1rt /var/log/chrome/chrome_[0-9]* | tail -2) \
43 $(ls -1rt /home/chronos/u-*/log/chrome_[0-9]* 2>/dev/null | tail -2); do \
50 awk '$3 ~ "^session_manager\[" { print }' /var/log/messages | tail -20; \
83 crash_reporter-udev-collection---TouchNoise=cat /var/log/touch_noise.log
85 crash_reporter-udev-collection---TouchEvent=cat /var/log/touch_event.log
91 tail -n 50 /var/log/messages; \
[all …]
/system/connectivity/shill/
Dmock_log_unittest.cc52 ScopedMockLog log; in TEST_F() local
54 EXPECT_CALL(log, Log(_, _, kMessage)); in TEST_F()
59 ScopedMockLog log; in TEST_F() local
61 EXPECT_CALL(log, Log(logging::LOG_INFO, _, kMessage)); in TEST_F()
66 ScopedMockLog log; in TEST_F() local
68 EXPECT_CALL(log, Log(logging::LOG_INFO, in TEST_F()
74 ScopedMockLog log; in TEST_F() local
76 EXPECT_CALL(log, Log(_, _, kMessage)); in TEST_F()
81 ScopedMockLog log; in TEST_F() local
83 EXPECT_CALL(log, Log(_, _, kMessage)); in TEST_F()
[all …]
Dactive_link_monitor_unittest.cc379 ScopedMockLog log; in TEST_F() local
380 EXPECT_CALL(log, Log(_, _, _)).Times(AnyNumber()); in TEST_F()
381 EXPECT_CALL(log, in TEST_F()
395 ScopedMockLog log; in TEST_F() local
396 EXPECT_CALL(log, Log(_, _, _)).Times(AnyNumber()); in TEST_F()
397 EXPECT_CALL(log, in TEST_F()
426 ScopedMockLog log; in TEST_F() local
428 EXPECT_CALL(log, Log(_, _, _)).Times(AnyNumber()); in TEST_F()
429 EXPECT_CALL(log, Log(_, _, HasSubstr("not for our IP"))).Times(1); in TEST_F()
432 Mock::VerifyAndClearExpectations(&log); in TEST_F()
[all …]
Darp_packet_unittest.cc98 ScopedMockLog log; in TEST_F() local
99 EXPECT_CALL(log, in TEST_F()
109 ScopedMockLog log; in TEST_F() local
110 EXPECT_CALL(log, in TEST_F()
120 ScopedMockLog log; in TEST_F() local
121 EXPECT_CALL(log, in TEST_F()
131 ScopedMockLog log; in TEST_F() local
132 EXPECT_CALL(log, in TEST_F()
142 ScopedMockLog log; in TEST_F() local
143 EXPECT_CALL(log, in TEST_F()
[all …]
Deap_listener_unittest.cc141 ScopedMockLog log; in TEST_F() local
142 EXPECT_CALL(log, in TEST_F()
152 ScopedMockLog log; in TEST_F() local
153 EXPECT_CALL(log, in TEST_F()
163 ScopedMockLog log; in TEST_F() local
164 EXPECT_CALL(log, in TEST_F()
202 ScopedMockLog log; in TEST_F() local
204 EXPECT_CALL(log, in TEST_F()
227 ScopedMockLog log; in TEST_F() local
228 EXPECT_CALL(log, in TEST_F()
[all …]
Darp_client_unittest.cc156 ScopedMockLog log; in TEST_F() local
157 EXPECT_CALL(log, in TEST_F()
167 ScopedMockLog log; in TEST_F() local
168 EXPECT_CALL(log, in TEST_F()
178 ScopedMockLog log; in TEST_F() local
179 EXPECT_CALL(log, in TEST_F()
190 ScopedMockLog log; in TEST_F() local
191 EXPECT_CALL(log, in TEST_F()
222 ScopedMockLog log; in TEST_F() local
223 EXPECT_CALL(log, Log(_, _, _)).Times(AnyNumber()); in TEST_F()
[all …]
/system/core/debuggerd/x86/
Dmachine.cpp30 void dump_memory_and_code(log_t* log, Backtrace* backtrace) { in dump_memory_and_code() argument
37 dump_memory(log, backtrace, static_cast<uintptr_t>(r.eax), "memory near eax:"); in dump_memory_and_code()
38 dump_memory(log, backtrace, static_cast<uintptr_t>(r.ebx), "memory near ebx:"); in dump_memory_and_code()
39 dump_memory(log, backtrace, static_cast<uintptr_t>(r.ecx), "memory near ecx:"); in dump_memory_and_code()
40 dump_memory(log, backtrace, static_cast<uintptr_t>(r.edx), "memory near edx:"); in dump_memory_and_code()
41 dump_memory(log, backtrace, static_cast<uintptr_t>(r.esi), "memory near esi:"); in dump_memory_and_code()
42 dump_memory(log, backtrace, static_cast<uintptr_t>(r.edi), "memory near edi:"); in dump_memory_and_code()
44 dump_memory(log, backtrace, static_cast<uintptr_t>(r.eip), "code around eip:"); in dump_memory_and_code()
47 void dump_registers(log_t* log, pid_t tid) { in dump_registers() argument
54 _LOG(log, logtype::REGISTERS, " eax %08lx ebx %08lx ecx %08lx edx %08lx\n", in dump_registers()
[all …]
/system/core/bootstat/
Devent_log_list_builder_test.cpp34 std::unique_ptr<uint8_t[]> log; in TEST() local
36 builder.Release(&log, &size); in TEST()
39 uint8_t* log_data = log.get(); in TEST()
56 std::unique_ptr<uint8_t[]> log; in TEST() local
58 builder.Release(&log, &size); in TEST()
61 uint8_t* log_data = log.get(); in TEST()
79 std::unique_ptr<uint8_t[]> log; in TEST() local
81 builder.Release(&log, &size); in TEST()
84 uint8_t* log_data = log.get(); in TEST()
105 std::unique_ptr<uint8_t[]> log; in TEST() local
[all …]
Dhistogram_logger.cpp34 std::unique_ptr<uint8_t[]> log; in LogHistogram() local
36 log_builder.Release(&log, &size); in LogHistogram()
38 android_bWriteLog(HISTOGRAM_LOG_TAG, log.get(), size); in LogHistogram()
/system/core/debuggerd/arm/
Dmachine.cpp31 void dump_memory_and_code(log_t* log, Backtrace* backtrace) { in dump_memory_and_code() argument
41 dump_memory(log, backtrace, regs.uregs[reg], "memory near %.2s:", &reg_names[reg * 2]); in dump_memory_and_code()
44 dump_memory(log, backtrace, static_cast<uintptr_t>(regs.ARM_pc), "code around pc:"); in dump_memory_and_code()
47 dump_memory(log, backtrace, static_cast<uintptr_t>(regs.ARM_lr), "code around lr:"); in dump_memory_and_code()
51 void dump_registers(log_t* log, pid_t tid) { in dump_registers() argument
58 _LOG(log, logtype::REGISTERS, " r0 %08x r1 %08x r2 %08x r3 %08x\n", in dump_registers()
61 _LOG(log, logtype::REGISTERS, " r4 %08x r5 %08x r6 %08x r7 %08x\n", in dump_registers()
64 _LOG(log, logtype::REGISTERS, " r8 %08x r9 %08x sl %08x fp %08x\n", in dump_registers()
67 _LOG(log, logtype::REGISTERS, " ip %08x sp %08x lr %08x pc %08x cpsr %08x\n", in dump_registers()
79 _LOG(log, logtype::FP_REGISTERS, " d%-2d %016llx d%-2d %016llx\n", in dump_registers()
[all …]
/system/core/debuggerd/mips/
Dmachine.cpp35 void dump_memory_and_code(log_t* log, Backtrace* backtrace) { in dump_memory_and_code() argument
53 dump_memory(log, backtrace, R(r.regs[reg]), "memory near %.2s:", &reg_names[reg * 2]); in dump_memory_and_code()
58 dump_memory(log, backtrace, pc, "code around pc:"); in dump_memory_and_code()
60 dump_memory(log, backtrace, ra, "code around ra:"); in dump_memory_and_code()
64 void dump_registers(log_t* log, pid_t tid) { in dump_registers() argument
71 _LOG(log, logtype::REGISTERS, " zr %08" PRIxPTR " at %08" PRIxPTR in dump_registers()
74 _LOG(log, logtype::REGISTERS, " a0 %08" PRIxPTR " a1 %08" PRIxPTR in dump_registers()
77 _LOG(log, logtype::REGISTERS, " t0 %08" PRIxPTR " t1 %08" PRIxPTR in dump_registers()
80 _LOG(log, logtype::REGISTERS, " t4 %08" PRIxPTR " t5 %08" PRIxPTR in dump_registers()
83 _LOG(log, logtype::REGISTERS, " s0 %08" PRIxPTR " s1 %08" PRIxPTR in dump_registers()
[all …]
/system/core/debuggerd/mips64/
Dmachine.cpp35 void dump_memory_and_code(log_t* log, Backtrace* backtrace) { in dump_memory_and_code() argument
53 dump_memory(log, backtrace, R(r.regs[reg]), "memory near %.2s:", &reg_names[reg * 2]); in dump_memory_and_code()
58 dump_memory(log, backtrace, pc, "code around pc:"); in dump_memory_and_code()
60 dump_memory(log, backtrace, ra, "code around ra:"); in dump_memory_and_code()
64 void dump_registers(log_t* log, pid_t tid) { in dump_registers() argument
71 _LOG(log, logtype::REGISTERS, " zr %016" PRIxPTR " at %016" PRIxPTR in dump_registers()
74 _LOG(log, logtype::REGISTERS, " a0 %016" PRIxPTR " a1 %016" PRIxPTR in dump_registers()
77 _LOG(log, logtype::REGISTERS, " a4 %016" PRIxPTR " a5 %016" PRIxPTR in dump_registers()
80 _LOG(log, logtype::REGISTERS, " t0 %016" PRIxPTR " t1 %016" PRIxPTR in dump_registers()
83 _LOG(log, logtype::REGISTERS, " s0 %016" PRIxPTR " s1 %016" PRIxPTR in dump_registers()
[all …]
/system/core/debuggerd/arm64/
Dmachine.cpp33 void dump_memory_and_code(log_t* log, Backtrace* backtrace) { in dump_memory_and_code() argument
45 dump_memory(log, backtrace, regs.regs[reg], "memory near x%d:", reg); in dump_memory_and_code()
48 dump_memory(log, backtrace, static_cast<uintptr_t>(regs.pc), "code around pc:"); in dump_memory_and_code()
51 dump_memory(log, backtrace, static_cast<uintptr_t>(regs.sp), "code around sp:"); in dump_memory_and_code()
55 void dump_registers(log_t* log, pid_t tid) { in dump_registers() argument
67 _LOG(log, logtype::REGISTERS, in dump_registers()
75 _LOG(log, logtype::REGISTERS, " x28 %016llx x29 %016llx x30 %016llx\n", in dump_registers()
78 _LOG(log, logtype::REGISTERS, " sp %016llx pc %016llx pstate %016llx\n", in dump_registers()
91 _LOG(log, logtype::FP_REGISTERS, in dump_registers()
100 _LOG(log, logtype::FP_REGISTERS, " fpsr %08x fpcr %08x\n", f.fpsr, f.fpcr); in dump_registers()
/system/tools/aidl/tests/java_app/src/android/aidl/tests/
DTestServiceClient.java66 public void log(String line) { in log() method in TestServiceClient.Logger
92 mLog.log("Reading sentinels from intent..."); in init()
118 mLog.log("Checking that service can repeat primitives back..."); in checkPrimitiveRepeat()
203 mLog.log(ex.toString()); in checkPrimitiveRepeat()
206 mLog.log("...Basic primitive repeating works."); in checkPrimitiveRepeat()
211 mLog.log("Checking that sending null strings reports an error..."); in checkNullHandling()
216 mLog.log("Caught an exception on null string parameter (expected)"); in checkNullHandling()
217 mLog.log("null strings behave as expected"); in checkNullHandling()
229 mLog.log("Checking that service can reverse and return arrays..."); in checkArrayReversal()
384 mLog.log(ex.toString()); in checkArrayReversal()
[all …]
/system/core/logcat/
Dlogcatd.rc3 mkdir /data/misc/logd 0700 logd log
4 # logd for write to /data/misc/logd, log group for read from pstore (-L)
5 …# exec - logd log -- /system/bin/logcat -L -b all -v threadtime -v usec -v printable -D -f /data/m…
11 # logd for write to /data/misc/logd, log group for read from log daemon
13 group log
/system/core/liblog/
DREADME9 #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/connectivity/shill/supplicant/
Dwpa_supplicant_unittest.cc42 ScopedMockLog log; in TEST_F() local
43 EXPECT_CALL(log, Log(logging::LOG_ERROR, _, EndsWith("no depth parameter."))); in TEST_F()
55 ScopedMockLog log; in TEST_F() local
56 EXPECT_CALL(log, in TEST_F()
70 ScopedMockLog log; in TEST_F() local
71 EXPECT_CALL(log, Log(logging::LOG_ERROR, _, EndsWith("no depth parameter."))); in TEST_F()
/system/core/logd/
DREADME.property6 sent on to dmesg log
16 all log ids at initial startup, at
20 known to not scale well under log spam
22 resist increasing the log buffer.
23 persist.logd.size.<buffer> number ro Size of the buffer for <buffer> log
39 log.tag string persist The global logging level, VERBOSE,
43 persist.log.tag string build default for log.tag
44 log.tag.<tag> string persist The <tag> specific logging level.
45 persist.log.tag.<tag> string build default for log.tag.<tag>
57 to between 64K and 256M for log buffer sizes. Individual log buffer ids
/system/core/metricsd/uploader/
Dmetrics_log_base_unittest.cc55 MetricsLogBase log("totally bogus client ID", 137, in TEST() local
57 log.set_hardware_class("sample-class"); in TEST()
58 log.CloseLog(); in TEST()
61 log.GetEncodedLog(&encoded); in TEST()
99 TestMetricsLogBase log; in TEST() local
100 log.RecordHistogramDelta("Test", samples); in TEST()
102 const metrics::ChromeUserMetricsExtension* uma_proto = log.uma_proto(); in TEST()
/system/core/init/
Dbootchart.cpp102 static void do_log_uptime(FILE* log) { in do_log_uptime() argument
103 fprintf(log, "%lld\n", get_uptime_jiffies()); in do_log_uptime()
106 static void do_log_file(FILE* log, const char* procfile) { in do_log_file() argument
107 do_log_uptime(log); in do_log_file()
111 fprintf(log, "%s\n", content.c_str()); in do_log_file()
115 static void do_log_procs(FILE* log) { in do_log_procs() argument
116 do_log_uptime(log); in do_log_procs()
146 fputs(stat.c_str(), log); in do_log_procs()
151 fputc('\n', log); in do_log_procs()

12345