Home | History | Annotate | Download | only in util

Lines Matching refs:bugreport

35  * Object holding the bugreport files references, compatible of flat bugreport and zipped bugreport
38 public class Bugreport implements Closeable {
42 public Bugreport(File bugreportFile, boolean isZipped) {
48 * Return true if it's a zipped bugreport, false otherwise.
55 * Helper to log the Bugreport whether its zipped or not.
61 LogDataType type = isZipped() ? LogDataType.BUGREPORTZ : LogDataType.BUGREPORT;
68 * Return a {@link File} pointing to the bugreport main file. For a flat bugreport, it returns
69 * the flat bugreport itself. For a zipped bugreport, it returns the main entry file.
82 // We get the main_entry.txt that contains the bugreport name.
85 CLog.w("main_entry.txt was not found inside the bugreport");
89 CLog.d("bugreport name: '%s'", bugreportName);
103 * Returns the list of files contained inside the zipped bugreport. Null if it's not a zipped
104 * bugreport.
119 CLog.e("Error reading the list of files in the bugreport");
126 * Return the {@link File} associated with the name in the bugreport. Null if not found or if
127 * name is null. Non zipped bugreport always return null.
141 * Helper to extract and return a file from the zipped bugreport.
144 File bugreport = null;
146 bugreport = ZipUtil2.extractFileFromZip(zip, name);
147 return bugreport;
156 * Clean up the files held by the bugreport object. Must be called when the object is not used