/system/core/debuggerd/libdebuggerd/ |
D | backtrace.cpp | 44 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 …]
|
D | tombstone.cpp | 72 static void dump_header_info(log_t* log) { in dump_header_info() argument 76 _LOG(log, logtype::HEADER, "Build fingerprint: '%s'\n", fingerprint.c_str()); in dump_header_info() 77 _LOG(log, logtype::HEADER, "Revision: '%s'\n", revision.c_str()); in dump_header_info() 78 _LOG(log, logtype::HEADER, "ABI: '%s'\n", ABI_STRING); in dump_header_info() 81 static void dump_timestamp(log_t* log, time_t time) { in dump_timestamp() argument 87 _LOG(log, logtype::HEADER, "Timestamp: %s\n", buf); in dump_timestamp() 121 static void dump_probable_cause(log_t* log, const siginfo_t* si, unwindstack::Maps* maps, in dump_probable_cause() argument 153 if (!cause.empty()) _LOG(log, logtype::HEADER, "Cause: %s\n", cause.c_str()); in dump_probable_cause() 156 static void dump_signal_info(log_t* log, const ThreadInfo& thread_info, in dump_signal_info() argument 177 _LOG(log, logtype::HEADER, "signal %d (%s), code %d (%s%s), fault addr %s\n", in dump_signal_info() [all …]
|
D | utility.cpp | 70 void _LOG(log_t* log, enum logtype ltype, const char* fmt, ...) { in _LOG() argument 73 _VLOG(log, ltype, fmt, ap); in _LOG() 78 void _VLOG(log_t* log, enum logtype ltype, const char* fmt, va_list ap) { in _VLOG() argument 79 bool write_to_tombstone = (log->tfd != -1); in _VLOG() 81 && log->crashed_tid != -1 in _VLOG() 82 && log->current_tid != -1 in _VLOG() 83 && (log->crashed_tid == log->current_tid); in _VLOG() 92 TEMP_FAILURE_RETRY(write(log->tfd, msg.c_str(), msg.size())); in _VLOG() 97 if (log->amfd_data != nullptr) { in _VLOG() 98 *log->amfd_data += msg; in _VLOG() [all …]
|
D | gwp_asan.cpp | 102 void GwpAsanCrashData::DumpCause(log_t* log) const { in DumpCause() 109 _LOG(log, logtype::HEADER, "Cause: [GWP-ASan]: Unknown error occurred at 0x%" PRIxPTR ".\n", in DumpCause() 115 _LOG(log, logtype::HEADER, "Cause: [GWP-ASan]: %s at 0x%" PRIxPTR ".\n", error_string_, in DumpCause() 125 _LOG(log, logtype::HEADER, "Cause: [GWP-ASan]: %s on a %zu-byte allocation at 0x%" PRIxPTR "\n", in DumpCause() 156 _LOG(log, logtype::HEADER, in DumpCause() 228 void GwpAsanCrashData::DumpDeallocationTrace(log_t* log, unwindstack::Unwinder* unwinder) const { in DumpDeallocationTrace() argument 237 _LOG(log, logtype::BACKTRACE, "\ndeallocated by thread <unknown>:\n"); in DumpDeallocationTrace() 239 _LOG(log, logtype::BACKTRACE, "\ndeallocated by thread %" PRIu64 ":\n", thread_id); in DumpDeallocationTrace() 245 _LOG(log, logtype::BACKTRACE, " %s\n", unwinder->FormatFrame(frame_data).c_str()); in DumpDeallocationTrace() 254 void GwpAsanCrashData::DumpAllocationTrace(log_t* log, unwindstack::Unwinder* unwinder) const { in DumpAllocationTrace() argument [all …]
|
/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/update_engine/scripts/ |
D | test_paycheck.sh | 67 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/ |
D | bootstat.rc | 10 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/ |
D | cppreopts.sh | 28 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}" 47 …log -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>"
|
D | preloads_copy.sh | 26 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/ |
D | logtagd.rc | 2 # logtagd event log tag service (debug only) 5 mkdir /data/misc/logd 0750 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
|
/system/core/rootdir/ |
D | asan_extract.sh | 36 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/ |
D | ArmExidx.cpp | 41 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 …]
|
D | DwarfCfa.cpp | 94 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/ |
D | native-lib.cpp | 26 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() 88 log("failed to create profile thread"); in Java_simpleperf_demo_cpp_1api_MainActivity_runNativeCode() 93 log("failed to create busy thread"); in Java_simpleperf_demo_cpp_1api_MainActivity_runNativeCode()
|
D | CMakeLists.txt | 15 log-lib 16 log) 21 ${log-lib})
|
/system/tools/aidl/tests/java_app/src/android/aidl/tests/ |
D | NullableTests.java | 35 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()
|
D | TestServiceClient.java | 61 mLog.log("Reading sentinels from intent..."); in init() 87 mLog.log("Checking that service can repeat primitives back..."); in checkPrimitiveRepeat() 198 mLog.log(ex.toString()); in checkPrimitiveRepeat() 201 mLog.log("...Basic primitive repeating works."); in checkPrimitiveRepeat() 206 mLog.log("Checking that service can reverse and return arrays..."); in checkArrayReversal() 361 mLog.log(ex.toString()); in checkArrayReversal() 364 mLog.log("...service can reverse and return arrays."); in checkArrayReversal() 369 mLog.log("Checking exchange of binders..."); in checkBinderExchange() 372 mLog.log("Received test service"); in checkBinderExchange() 384 mLog.log(ex.toString()); in checkBinderExchange() [all …]
|
/system/nfc/src/fuzzers/ |
D | fuzz.sh | 63 run_once >./logs/fuzz.log 2>&1 66 CRASH=$(grep -aoP "Test unit written to \K\S+" ./logs/fuzz.log) 70 mv ./logs/fuzz.log ./logs/ERROR/run_$TS.log 75 run_once $CRASH >./logs/verify.log 2>&1 76 SIG=$(grep -m 1 -aoP "#?? \S+ in \K\S+ system/nfc/src\S+:\S+" ./logs/verify.log) 80 cat ./logs/verify.log>>./logs/fuzz.log 82 cp ./logs/verify.log ./logs/fuzz.log 94 mv ./logs/fuzz.log ./logs/$SIG_DIR/run_$TS.log
|
/system/apex/tests/testdata/ |
D | trigger_watchdog.sh | 5 /system/bin/log -t TriggerWatchdog "Checking for presence of $apex" 9 /system/bin/log -t TriggerWatchdog "Detected presence of $apex" 10 /system/bin/log -t TriggerWatchdog "KILLING SYSTEM SERVER" 17 /system/bin/log -t TriggerWatchdog "Killing system_server pid=$pid ..."
|
/system/media/audio_utils/tests/ |
D | powerlog_tests.cpp | 45 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()
|
D | simplelog_tests.cpp | 38 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()
|
/system/tools/xsdc/tests/src/com/android/xsdc/tests/ |
D | TestHelper.java | 134 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/ |
D | bootchart.cpp | 93 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/core/liblog/ |
D | README.md | 13 #include <log/log.h> 103 and libraries. Interfaces for either writing or reading logs. The log buffers are divided up in 107 to control the verbosity of the application or library. `[ASR]LOG[VDIWE]` calls are used to log to 114 `LOG_EVENT_(INT|LONG)` is used to drop binary content into the Events sub-log. 116 The log reading interfaces permit opening the logs either singly or multiply, retrieving a log entry 117 at a time in time sorted order, optionally limited to a specific pid and tail of the log(s) and 118 finally a call closing the logs. A single log can be opened with `android_logger_list_open()`; or 120 `android_logger_open()` for each log id. Each entry can be retrieved with 121 `android_logger_list_read()`. The log(s) can be closed with `android_logger_list_free()`. The logs 123 the log reading is done with an `EAGAIN` error return code, otherwise the [all …]
|
/system/extras/boottime_tools/bootanalyze/ |
D | README.md | 8 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.
|