HomeSort by relevance Sort by last modified time
    Searched refs:bugreport (Results 26 - 50 of 71) sorted by null

12 3

  /development/tools/bugreport/src/com/android/bugreport/inspector/
DeadlockDetector.java 17 package com.android.bugreport.inspector;
19 import com.android.bugreport.anr.Anr;
20 import com.android.bugreport.stacks.ProcessSnapshot;
21 import com.android.bugreport.stacks.JavaStackFrameSnapshot;
22 import com.android.bugreport.stacks.LockSnapshot;
23 import com.android.bugreport.stacks.StackFrameSnapshot;
24 import com.android.bugreport.stacks.ThreadSnapshot;
25 import com.android.bugreport.stacks.VmTraces;
  /external/drrickorang/LoopbackApp/app/src/main/res/raw/
loopback_listener 6 # Writes output of atrace and bugreport to files with supplied prefix
57 echo "LOOPBACK LISTENER: dumping bugreport to file $filename"
58 bugreport | gzip > $filename
  /tools/loganalysis/src/com/android/loganalysis/
LogAnalyzer.java 52 * A command line tool to parse a bugreport, logcat, or kernel log file and return the output.
65 @Option(name="bugreport", description="The path to the bugreport")
117 BugreportItem bugreport = new BugreportParser().parse(reader); local
118 printBugreport(bugreport);
176 * Print the bugreport to stdout.
178 private void printBugreport(BugreportItem bugreport) {
181 printJson(bugreport);
185 printJson(bugreport);
188 printBugreportAnalysis(getBugreportAnalysis(bugreport));
    [all...]
  /development/tools/bugreport/src/com/android/bugreport/bugreport/
BugreportParser.java 17 package com.android.bugreport.bugreport;
19 import com.android.bugreport.logcat.LogcatParser;
20 import com.android.bugreport.stacks.VmTracesParser;
21 import com.android.bugreport.util.Utils;
22 import com.android.bugreport.util.Line;
23 import com.android.bugreport.util.Lines;
36 * Parses a bugreport text file. The object can be reused, but can only parse
37 * one bugreport at a time (i.e. any single object is not thread-safe).
57 private Bugreport mBugreport
    [all...]
  /tools/tradefederation/core/tests/src/com/android/tradefed/util/
BugreportTest.java 38 * Unit test suite for {@link Bugreport}
43 private static final String BUGREPORT_CONTENT = "BUGREPORT CONTENT";
45 private Bugreport mBugreport;
51 mRegularFile = FileUtil.createTempFile("bugreport-test", "txt");
56 File bugreport = FileUtil.createTempFile(BUGREPORT_PREFIX, ".txt", tempDir); local
57 InputStream name = new ByteArrayInputStream(bugreport.getName().getBytes());
60 FileUtil.writeToFile(content, bugreport);
62 // We create a fake bugreport zip with main_entry.txt and the bugreport.
66 ZipUtil.addToZip(out, bugreport, new LinkedList<String>())
162 File bugreport = FileUtil.createTempFile(BUGREPORT_PREFIX, ".txt", tempDir); local
    [all...]
  /tools/tradefederation/contrib/src/com/android/media/tests/
PanoramaBenchMarkTest.java 122 InputStreamSource bugreport = mTestDevice.getBugreport(); local
123 listener.testLog("bugreport", LogDataType.BUGREPORT, bugreport);
124 bugreport.close();
CameraSettingsTest.java 215 InputStreamSource bugreport = mTestDevice.getBugreport(); local
216 listener.testLog("bugreport", LogDataType.BUGREPORT, bugreport);
217 bugreport.close();
CameraShotToShotLatencyTest.java 177 InputStreamSource bugreport = mTestDevice.getBugreport(); local
178 listener.testLog("bugreport", LogDataType.BUGREPORT, bugreport);
179 bugreport.close();
CameraLatencyTest.java 171 // Grab a bugreport if warranted
173 CLog.i("Grabbing bugreport after test '%s' finished with %d failures.",
175 InputStreamSource bugreport = mTestDevice.getBugreport(); local
176 listener.testLog(String.format("bugreport-%s.txt", test.mTestName),
177 LogDataType.BUGREPORT, bugreport);
178 bugreport.close();
  /tools/tradefederation/core/src/com/android/tradefed/util/
Bugreport.java 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 return
144 File bugreport = null; local
    [all...]
  /development/tools/bugreport/src/com/android/bugreport/logcat/
Logcat.java 17 package com.android.bugreport.logcat;
  /development/tools/bugreport/src/com/android/bugreport/stacks/
JavaStackFrameSnapshot.java 17 package com.android.bugreport.stacks;
ProcessSnapshotParser.java 17 package com.android.bugreport.stacks;
19 import com.android.bugreport.util.Line;
20 import com.android.bugreport.util.Lines;
21 import com.android.bugreport.util.Utils;
LockSnapshot.java 17 package com.android.bugreport.stacks;
ProcessSnapshot.java 17 package com.android.bugreport.stacks;
ThreadSnapshot.java 17 package com.android.bugreport.stacks;
ThreadSnapshotParser.java 17 package com.android.bugreport.stacks;
19 import com.android.bugreport.util.Line;
20 import com.android.bugreport.util.Lines;
21 import com.android.bugreport.util.Utils;
  /tools/tradefederation/core/prod-tests/src/com/android/performance/tests/
StartupMetricsTest.java 57 description="Delay in ms after boot complete before taking the bugreport.")
118 * Fetch proc rank metrics from the bugreport after reboot.
125 // Make sure the device is available and settled, before getting bugreport.
129 BugreportItem bugreport = null; local
130 // Retrieve bugreport
132 listener.testLog(BUGREPORT_LOG_NAME, LogDataType.BUGREPORT, bugSource);
133 bugreport = parser.parse(new BufferedReader(new InputStreamReader(
136 Assert.fail(String.format("Failed to fetch and parse bugreport for device %s: %s",
140 if (bugreport != null) {
142 MemInfoItem item = bugreport.getMemInfo()
    [all...]
  /tools/tradefederation/core/prod-tests/src/com/android/framework/tests/
FrameworkStressTest.java 145 // Retrieve bugreport
147 BugreportItem bugreport = null; local
149 mListener.testLog(BUGREPORT_LOG_NAME, LogDataType.BUGREPORT, bugSource);
150 bugreport = parser.parse(new BufferedReader(new InputStreamReader(
152 Assert.assertNotNull(bugreport);
153 Assert.assertNotNull(bugreport.getSystemLog());
155 Assert.fail(String.format("Failed to fetch and parse bugreport for device %s: "
158 LogcatItem systemLog = bugreport.getSystemLog();
DataIdleTest.java 70 private static final String BUG_REPORT_LABEL = "bugreport";
113 // Capture the bugreport.
119 * Capture the bugreport and log it.
123 try (InputStreamSource bugreport = mTestDevice.getBugreport()) {
124 listener.testLog(BUG_REPORT_LABEL, LogDataType.BUGREPORT, bugreport);
  /tools/loganalysis/src/com/android/loganalysis/parser/
BugreportParser.java 81 BugreportItem bugreport = null;
83 if (bugreport == null && !"".equals(line.trim())) {
84 bugreport = new BugreportItem();
88 bugreport.setTime(parseTime(m.group(1)));
106 return bugreport;
126 * Parse a bugreport from a {@link BufferedReader} into an {@link BugreportItem} object.
168 * parse the bugreport header.
289 * Set the {@link BugreportItem} and the year of the {@link LogcatParser} from the bugreport
  /tools/tradefederation/core/prod-tests/src/com/android/graphics/tests/
ImageProcessingTest.java 79 // Add bugreport listener for failed test
89 // Capture a bugreport after the test
90 try (InputStreamSource bugreport = mTestDevice.getBugreport()) {
91 standardListener.testLog("bugreport.txt", LogDataType.BUGREPORT, bugreport);
  /development/tools/bugreport/src/com/android/bugreport/util/
Lines.java 17 package com.android.bugreport.util;
Utils.java 17 package com.android.bugreport.util;
  /frameworks/base/tests/backup/
test_restore.sh 95 echo "Grabbing bugreport; filename is $filename"
96 a bugreport > "$BUGREPORT_DIR/$filename.txt"

Completed in 245 milliseconds

12 3