Searched refs:anr_traces_file (Results 1 – 1 of 1) sorted by relevance
929 static void AddGlobalAnrTraceFile(const bool add_to_zip, const std::string& anr_traces_file, in AddGlobalAnrTraceFile() argument958 open(anr_traces_file.c_str(), O_RDONLY | O_CLOEXEC | O_NOFOLLOW | O_NONBLOCK))); in AddGlobalAnrTraceFile()960 printf("*** NO ANR VM TRACES FILE (%s): %s\n\n", anr_traces_file.c_str(), strerror(errno)); in AddGlobalAnrTraceFile()970 anr_traces_file.c_str()); in AddGlobalAnrTraceFile()971 dump_file_from_fd("VM TRACES AT LAST ANR", anr_traces_file.c_str(), fd.get()); in AddGlobalAnrTraceFile()1018 std::string anr_traces_file; in AddAnrTraceFiles() local1027 anr_traces_file = android::base::GetProperty("dalvik.vm.stack-trace-file", ""); in AddAnrTraceFiles()1028 if (!anr_traces_file.empty()) { in AddAnrTraceFiles()1029 anr_traces_dir = dirname(anr_traces_file.c_str()); in AddAnrTraceFiles()1037 if (anr_traces_file.empty() && anr_traces_dir.empty()) { in AddAnrTraceFiles()[all …]