Home
last modified time | relevance | path

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

/frameworks/native/cmds/dumpstate/
Ddumpstate.cpp443 std::string modem_log_file = GetLastModifiedFileWithPrefix(radio_bugreport_dir, file_prefix); in DumpModemLogs() local
446 if (modem_log_file.empty() || stat(modem_log_file.c_str(), &s) != 0) { in DumpModemLogs()
447 MYLOGD("Modem log %s does not exist\n", modem_log_file.c_str()); in DumpModemLogs()
451 std::string filename = basename(modem_log_file.c_str()); in DumpModemLogs()
452 if (!ds.AddZipEntry(filename, modem_log_file)) { in DumpModemLogs()
453 MYLOGE("Unable to add modem log %s to zip file\n", modem_log_file.c_str()); in DumpModemLogs()
455 MYLOGD("Modem Log %s is added to zip\n", modem_log_file.c_str()); in DumpModemLogs()
456 if (remove(modem_log_file.c_str())) { in DumpModemLogs()
457 MYLOGE("Error removing modem log %s\n", modem_log_file.c_str()); in DumpModemLogs()