Home
last modified time | relevance | path

Searched refs:exec_name (Results 1 – 8 of 8) sorted by relevance

/system/core/crash_reporter/
Duser_collector_test.cc99 std::string exec_name; in TEST_F() local
101 &pid, &signal, &uid, &gid, &exec_name)); in TEST_F()
106 EXPECT_EQ("foobar", exec_name); in TEST_F()
108 &pid, &signal, &uid, &gid, &exec_name)); in TEST_F()
113 EXPECT_EQ("barfoo", exec_name); in TEST_F()
116 &pid, &signal, &uid, &gid, &exec_name)); in TEST_F()
119 &pid, &signal, &uid, &gid, &exec_name)); in TEST_F()
120 EXPECT_EQ("exec:extra", exec_name); in TEST_F()
123 &pid, &signal, &uid, &gid, &exec_name)); in TEST_F()
126 &pid, &signal, &uid, &gid, &exec_name)); in TEST_F()
[all …]
Dcrash_sender323 local exec_name="$(get_key_value "${meta_path}" "exec_name")"
438 lecho " Exec name: ${exec_name}"
476 -F "exec_name=${exec_name}" \
492 local filter_exec="$(filter_log_string "${exec_name}")"
496 if [ "${filter_exec}" != "${exec_name}" ]; then
Dcrash_collector.cc133 std::string CrashCollector::FormatDumpBasename(const std::string &exec_name, in FormatDumpBasename() argument
138 std::string sanitized_exec_name = Sanitize(exec_name); in FormatDumpBasename()
339 const std::string &exec_name, in GetLogContents() argument
349 if (!store.GetString(exec_name, &command)) in GetLogContents()
383 const std::string &exec_name, in WriteCrashMetaData() argument
392 exec_name.c_str(), in WriteCrashMetaData()
Dcrash_collector.h105 std::string FormatDumpBasename(const std::string &exec_name,
128 const std::string &exec_name,
148 const std::string &exec_name,
Duser_collector.h131 const std::string &exec_name);
165 ErrorType ConvertAndEnqueueCrash(pid_t pid, const std::string &exec_name,
Dudev_collector.cc134 std::string exec_name = std::string(kUdevExecName) + "-" + subsystem; in ProcessUdevCrashLogs() local
137 exec_name, crash_path.value()); in ProcessUdevCrashLogs()
/system/extras/tests/kernel.config/
Daslr_test.cpp64 std::string scrape_addr(const char *exec_name, const char *lib_match) { in scrape_addr() argument
104 if(execlp(exec_name, exec_name, lib_match, (char *) NULL)) { in scrape_addr()
113 unsigned int calc_mmap_entropy(const char *exec_name, const char *lib_match, size_t samp_sz) { in calc_mmap_entropy() argument
119 uint64_t addr = min_addr = max_addr = std::stoll(scrape_addr(exec_name, lib_match), 0, 16); in calc_mmap_entropy()
122 std::string addr_str = scrape_addr(exec_name, lib_match); in calc_mmap_entropy()
Daslr_test.h68 std::string scrape_addr(const char *exec_name, const char *lib_match);
75 unsigned int calc_mmap_entropy(const char *exec_name, const char *lib_match, size_t samp_sz);