Home
last modified time | relevance | path

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

123456789

/system/core/debuggerd/libdebuggerd/
Dbacktrace.cpp44 static void dump_process_header(log_t* log, pid_t pid, const char* process_name) { in dump_process_header() argument
50 _LOG(log, logtype::BACKTRACE, "\n\n----- pid %d at %s -----\n", pid, timestr); in dump_process_header()
53 _LOG(log, logtype::BACKTRACE, "Cmd line: %s\n", process_name); in dump_process_header()
55 _LOG(log, logtype::BACKTRACE, "ABI: '%s'\n", ABI_STRING); in dump_process_header()
58 static void dump_process_footer(log_t* log, pid_t pid) { in dump_process_footer() argument
59 _LOG(log, logtype::BACKTRACE, "\n----- end %d -----\n", pid); in dump_process_footer()
64 log_t log; in dump_backtrace_thread() local
65 log.tfd = output_fd; in dump_backtrace_thread()
66 log.amfd_data = nullptr; in dump_backtrace_thread()
68 _LOG(&log, logtype::BACKTRACE, "\n\"%s\" sysTid=%d\n", thread.thread_name.c_str(), thread.tid); in dump_backtrace_thread()
[all …]
Dtombstone.cpp71 static void dump_header_info(log_t* log) { in dump_header_info() argument
75 _LOG(log, logtype::HEADER, "Build fingerprint: '%s'\n", fingerprint.c_str()); in dump_header_info()
76 _LOG(log, logtype::HEADER, "Revision: '%s'\n", revision.c_str()); in dump_header_info()
77 _LOG(log, logtype::HEADER, "ABI: '%s'\n", ABI_STRING); in dump_header_info()
80 static void dump_timestamp(log_t* log, time_t time) { in dump_timestamp() argument
86 _LOG(log, logtype::HEADER, "Timestamp: %s\n", buf); in dump_timestamp()
89 static void dump_probable_cause(log_t* log, const siginfo_t* si, unwindstack::Maps* maps) { in dump_probable_cause() argument
115 if (!cause.empty()) _LOG(log, logtype::HEADER, "Cause: %s\n", cause.c_str()); in dump_probable_cause()
118 static void dump_signal_info(log_t* log, const ThreadInfo& thread_info, in dump_signal_info() argument
139 _LOG(log, logtype::HEADER, "signal %d (%s), code %d (%s%s), fault addr %s\n", in dump_signal_info()
[all …]
Dutility.cpp69 void _LOG(log_t* log, enum logtype ltype, const char* fmt, ...) { in _LOG() argument
70 bool write_to_tombstone = (log->tfd != -1); in _LOG()
72 && log->crashed_tid != -1 in _LOG()
73 && log->current_tid != -1 in _LOG()
74 && (log->crashed_tid == log->current_tid); in _LOG()
86 TEMP_FAILURE_RETRY(write(log->tfd, msg.c_str(), msg.size())); in _LOG()
91 if (log->amfd_data != nullptr) { in _LOG()
92 *log->amfd_data += msg; in _LOG()
124 void dump_memory(log_t* log, unwindstack::Memory* memory, uint64_t addr, const std::string& label) { argument
141 _LOG(log, logtype::MEMORY, "\n%s:\n", label.c_str());
[all …]
/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/update_engine/scripts/
Dtest_paycheck.sh67 log() { function
72 log "$@"
134 log "Checking payloads..."
138 log "Done"
142 log "Initiating application of payloads at $tmpdir"
144 log "Applying old full payload..."
147 log "Done"
149 log "Applying new full payload..."
152 log "Done"
154 log "Applying delta payload to old partitions..."
[all …]
/system/core/bootstat/
Dbootstat.rc10 mkdir /data/misc/bootstat 0700 system log
12 # root.root to system.log, may be deleted after ota has settled.
13 chown system log /data/misc/bootstat/absolute_boot_time
14 chown system log /data/misc/bootstat/boot_complete
15 chown system log /data/misc/bootstat/boot_complete_no_encryption
16 chown system log /data/misc/bootstat/boot_reason
17 chown system log /data/misc/bootstat/boottime.bootloader.1BLE
18 chown system log /data/misc/bootstat/boottime.bootloader.1BLL
19 chown system log /data/misc/bootstat/boottime.bootloader.2BLE
20 chown system log /data/misc/bootstat/boottime.bootloader.2BLL
[all …]
/system/extras/cppreopts/
Dcppreopts.sh28 log -p w -t cppreopts "Unable to copy file ${source_file} to ${temp_dest_name}!"
30 log -p i -t cppreopts "Copied file from ${source_file} to ${temp_dest_name}"
33 log -p w -t cppreopts "Unable to rename temporary file from ${temp_dest_name} to ${dest_name}"
34 … rm ${temp_dest_name} || log -p w -t cppreopts "Unable to remove temporary file ${temp_dest_name}"
37 log -p i -t cppreopts "Renamed temporary file from ${temp_dest_name} to ${dest_name}"
47log -p i -t cppreopts "system_other partition does not appear to have been built to contain preopt…
51 log -p i -t cppreopts "cppreopts from ${mountpoint}"
59 log -p i -t cppreopts "Unable to figure out destination for ${file}"
69 log -p e -t cppreopts "Usage: cppreopts <preopts-mount-point>"
Dpreloads_copy.sh26 log -p i -t preloads_copy "Copying from $mountpoint/preloads"
33 log -p i -t preloads_copy "Copying complete"
36 log -p e -t preloads_copy "Usage: preloads_copy.sh <system_other-mount-point>"
/system/core/logd/
Dlogtagd.rc2 # logtagd event log tag service (debug only)
5 mkdir /data/misc/logd 0700 logd log
6 write /data/misc/logd/event-log-tags ""
7 chown logd log /data/misc/logd/event-log-tags
8 chmod 0600 /data/misc/logd/event-log-tags
9 restorecon /data/misc/logd/event-log-tags
DREADME.property25 all log ids at initial startup, at
29 known to not scale well under log spam
31 resist increasing the log buffer.
32 persist.logd.size.<buffer> number ro Size of the buffer for <buffer> log
48 log.tag string persist The global logging level, VERBOSE,
52 persist.log.tag string build default for log.tag
53 log.tag.<tag> string persist The <tag> specific logging level.
54 persist.log.tag.<tag> string build default for log.tag.<tag>
67 to between 64K and 256M for log buffer sizes. Individual log buffer ids
/system/core/rootdir/
Dasan_extract.sh36 log -p i -t asan_install "Pre-decrypt FDE detected (by vold property)!"
42 log -p i -t asan_install "Pre-decrypt FDE detected (by /data size)!"
49 log -p i -t asan_install "Did not find $SRC!"
53 log -p i -t asan_install "Found $SRC, checking whether we need to apply it."
61 log -p i -t asan_install "Checksums match, nothing to be done here."
71 log -p i -t asan_install "Untarring $SRC..."
84 log -p i -t asan_install "Fixed selinux labels..."
93 log -p i -t asan_install "Signaling init to reboot..."
/system/core/libunwindstack/
DArmExidx.cpp41 log(log_indent_, log_str.c_str()); in LogRawData()
70 log(log_indent_, "Raw Data: 0x00 0x00 0x00 0x01"); in ExtractEntryData()
72 log(log_indent_, "[cantunwind]"); in ExtractEntryData()
198 log(log_indent_, "Refuse to unwind"); in DecodePrefix_10_00()
219 log(log_indent_, "%s}", msg.c_str()); in DecodePrefix_10_00()
267 log(log_indent_, "[Reserved]"); in DecodePrefix_10_01()
275 log(log_indent_, "vsp = r%d", bits); in DecodePrefix_10_01()
303 log(log_indent_, "%s, r14}", msg.c_str()); in DecodePrefix_10_10()
305 log(log_indent_, "%s}", msg.c_str()); in DecodePrefix_10_10()
353 log(log_indent_, "finish"); in DecodePrefix_10_11_0000()
[all …]
DDwarfCfa.cpp94 log(0, "restore while processing cie"); in GetLocationInfo()
198 log(indent, "DW_CFA_offset register(%d) %" PRId64, reg, offset); in LogOffsetRegisterString()
199 log(indent, "%s", raw_data.c_str()); in LogOffsetRegisterString()
208 log(indent, "Illegal"); in LogInstruction()
209 log(indent, "Raw Data: 0x%02x", op); in LogInstruction()
236 log(indent, "%s", log_string.c_str()); in LogInstruction()
250 log(indent, "%s", raw_data.c_str()); in LogInstruction()
259 log(indent, "%s", raw_data.c_str()); in LogInstruction()
264 log(indent + 1, "%s", line.c_str()); in LogInstruction()
292 log(indent, "DW_CFA_advance_loc %d", cfa_low); in Log()
[all …]
/system/extras/simpleperf/demo/CppApi/app/src/main/cpp/
Dnative-lib.cpp26 static void log(const char* msg) { in log() function
37 log("start recording"); in ProfileThreadFunc()
41 log("pause recording"); in ProfileThreadFunc()
44 log("resume recording"); in ProfileThreadFunc()
48 log("stop recording"); in ProfileThreadFunc()
50 log("stop recording successfully"); in ProfileThreadFunc()
84 log("failed to create profile thread"); in Java_simpleperf_demo_cpp_1api_MainActivity_runNativeCode()
89 log("failed to create busy thread"); in Java_simpleperf_demo_cpp_1api_MainActivity_runNativeCode()
DCMakeLists.txt15 log-lib
16 log)
21 ${log-lib})
/system/tools/aidl/tests/java_app/src/android/aidl/tests/
DNullableTests.java35 mLog.log("Checking that sending null strings reports an error..."); in checkNullHandling()
40 mLog.log("Caught an exception on null string parameter (expected)"); in checkNullHandling()
41 mLog.log("null strings behave as expected"); in checkNullHandling()
52 mLog.log("Checking that service handles @nullable IBinder..."); in checkNullBinderDetection()
57 mLog.log("Caught an exception on null Binder parameter (expected)"); in checkNullBinderDetection()
74 mLog.log("Caught an exception on list with null Binder (expected)"); in checkNullBinderInListDetection()
85 mLog.log("Checking @nullable IInterface handling..."); in checkNullInterfaceHandling()
99 mLog.log("@nullable IInterface handling works as expected."); in checkNullInterfaceHandling()
DTestServiceClient.java60 mLog.log("Reading sentinels from intent..."); in init()
86 mLog.log("Checking that service can repeat primitives back..."); in checkPrimitiveRepeat()
187 mLog.log(ex.toString()); in checkPrimitiveRepeat()
190 mLog.log("...Basic primitive repeating works."); in checkPrimitiveRepeat()
195 mLog.log("Checking that service can reverse and return arrays..."); in checkArrayReversal()
350 mLog.log(ex.toString()); in checkArrayReversal()
353 mLog.log("...service can reverse and return arrays."); in checkArrayReversal()
358 mLog.log("Checking exchange of binders..."); in checkBinderExchange()
361 mLog.log("Received test service"); in checkBinderExchange()
373 mLog.log(ex.toString()); in checkBinderExchange()
[all …]
/system/media/audio_utils/tests/
Dpowerlog_tests.cpp45 plog->log(&half, 1 /* frame */, 0 /* nowNs */); in TEST()
46 plog->log(&half, 1 /* frame */, 1 /* nowNs */); in TEST()
47 plog->log(&half, 1 /* frame */, 2 /* nowNs */); in TEST()
52 plog->log(&zero, 1 /* frame */, 3 /* nowNs */); in TEST()
57 plog->log(&half, 1 /* frame */, 4 /* nowNs */); in TEST()
Dsimplelog_tests.cpp38 slog->log("Hello %d", nine); in TEST()
39 slog->log("World"); in TEST()
47 slog->log(oneSecond /* nowNs */, "Hello World %d", 10); in TEST()
48 slog->log(oneSecond * 2 /* nowNs */, "%s", "Goodbye"); in TEST()
Derrorlog_tests.cpp37 elog->log(1 /* code */, 0 /* nowNs */); in TEST()
38 elog->log(2 /* code */, 1 /* nowNs */); in TEST()
44 elog->log(2 /* code */, oneSecond /* nowNs */); in TEST()
48 elog->log(2 /* code */, oneSecond * 2 /* nowNs */); in TEST()
/system/tools/xsdc/tests/src/com/android/xsdc/tests/
DTestHelper.java134 StringBuilder log = new StringBuilder(); in compile() local
135 log.append("Compilation failed!\n\n"); in compile()
137 log.append("Code: ").append(diagnostic.getCode()).append("\n"); in compile()
138 log.append("Kind: " + diagnostic.getKind() + "\n"); in compile()
139 log.append("Line: " + diagnostic.getLineNumber() + "\n"); in compile()
140 log.append("Column: " + diagnostic.getColumnNumber() + "\n"); in compile()
141 log.append("Source: " + diagnostic.getSource() + "\n"); in compile()
142 log.append("Message: " + diagnostic.getMessage(Locale.getDefault()) + "\n"); in compile()
144 fail(log.toString()); in compile()
/system/core/init/
Dbootchart.cpp93 static void log_uptime(FILE* log) { in log_uptime() argument
94 fprintf(log, "%lld\n", get_uptime_jiffies()); in log_uptime()
97 static void log_file(FILE* log, const char* procfile) { in log_file() argument
98 log_uptime(log); in log_file()
102 fprintf(log, "%s\n", content.c_str()); in log_file()
106 static void log_processes(FILE* log) { in log_processes() argument
107 log_uptime(log); in log_processes()
133 fputs(stat.c_str(), log); in log_processes()
137 fputc('\n', log); in log_processes()
/system/extras/boottime_tools/bootanalyze/
DREADME.md8 stop_event: <logcat log message which will terminate log collection after reboot>
10 event1_name: <pattern that matches log message>
15 be present in dmesg log after clock correction.
/system/core/liblog/
DREADME.md13 #include <log/log.h>
99 #include <log/log_transport.h>
108 and libraries. Interfaces for either writing or reading logs. The log buffers are divided up in
112 to control the verbosity of the application or library. `[ASR]LOG[VDIWE]` calls are used to log to
119 `LOG_EVENT_(INT|LONG)` is used to drop binary content into the Events sub-log.
121 The log reading interfaces permit opening the logs either singly or multiply, retrieving a log entry
122 at a time in time sorted order, optionally limited to a specific pid and tail of the log(s) and
123 finally a call closing the logs. A single log can be opened with `android_logger_list_open()`; or
125 `android_logger_open()` for each log id. Each entry can be retrieved with
126 `android_logger_list_read()`. The log(s) can be closed with `android_logger_list_free()`. The logs
[all …]
/system/core/libmetricslogger/
Dmetrics_logger.cpp52 android_log_event_list log(kSysuiMultiActionTag); in LogHistogram() local
53 log << LOGBUILDER_CATEGORY << LOGBUILDER_HISTOGRAM << LOGBUILDER_NAME << event in LogHistogram()
65 android_log_event_list log(kSysuiMultiActionTag); in LogCounter() local
66 log << LOGBUILDER_CATEGORY << LOGBUILDER_COUNTER << LOGBUILDER_NAME << name << LOGBUILDER_VALUE in LogCounter()
77 android_log_event_list log(kSysuiMultiActionTag); in LogMultiAction() local
78 log << LOGBUILDER_CATEGORY << category << LOGBUILDER_TYPE << TYPE_ACTION in LogMultiAction()

123456789