Searched refs:anr_traces_path (Results 1 – 1 of 1) sorted by relevance
880 std::string anr_traces_path = android::base::GetProperty("dalvik.vm.stack-trace-file", ""); in AddAnrTraceFiles() local881 std::string anr_traces_dir = dirname(anr_traces_path.c_str()); in AddAnrTraceFiles()894 if (anr_traces_path.empty()) { in AddAnrTraceFiles()898 open(anr_traces_path.c_str(), O_RDONLY | O_CLOEXEC | O_NOFOLLOW | O_NONBLOCK)); in AddAnrTraceFiles()900 printf("*** NO ANR VM TRACES FILE (%s): %s\n\n", anr_traces_path.c_str(), in AddAnrTraceFiles()912 anr_traces_path.c_str()); in AddAnrTraceFiles()913 dump_file_from_fd("VM TRACES AT LAST ANR", anr_traces_path.c_str(), fd); in AddAnrTraceFiles()925 if (!anr_traces_path.empty()) { in AddAnrTraceFiles()926 int tail = anr_traces_path.size() - 1; in AddAnrTraceFiles()927 while (tail > 0 && anr_traces_path.at(tail) != '/') { in AddAnrTraceFiles()[all …]