HomeSort by relevance Sort by last modified time
    Searched refs:Bugreport (Results 1 - 17 of 17) sorted by null

  /system/core/adb/
bugreport.h 26 class Bugreport {
30 Bugreport() : line_printer_() {
47 DISALLOW_COPY_AND_ASSIGN(Bugreport);
bugreport.cpp 19 #include "bugreport.h"
41 bool show_progress, Bugreport* br)
85 "If the zipped bugreport was not generated, try 'adb bugreport' instead.\n");
140 fprintf(stderr, "adb: device failed to take a zipped bugreport: %s\n", error_message);
163 Bugreport* br_;
165 // Path of bugreport on device.
168 // Bugreport destination on host, depending on argument passed on constructor:
170 // of the bugreport reported by the device.
172 // name of the bugreport reported by the device
    [all...]
bugreport_test.cpp 17 #include "bugreport.h"
119 class BugreportMock : public Bugreport {
153 const char* args[] = {"bugreport", "to", "principal"};
157 // Tests the 'adb bugreport' option when the device does not support 'bugreportz' - it falls back
158 // to the flat-file format ('bugreport' binary on device)
167 std::string bugreport = "Reported the bug was."; local
169 EXPECT_CALL(br_, SendShellCommand("bugreport", false, _))
170 .WillOnce(DoAll(WithArg<2>(WriteOnStdout(bugreport)), Return(0)));
172 const char* args[] = {"bugreport"};
174 ASSERT_THAT(GetCapturedStdout(), StrEq(bugreport));
    [all...]
commandline.cpp 58 #include "bugreport.h"
171 " bugreport [PATH]\n"
172 " write bugreport to given PATH [default=bugreport.zip];\n"
1618 Bugreport bugreport; local
    [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...]
  /development/tools/bugreport/src/com/android/bugreport/bugreport/
MetadataParser.java 17 package com.android.bugreport.bugreport;
19 import com.android.bugreport.util.Line;
20 import com.android.bugreport.util.Lines;
21 import com.android.bugreport.util.Utils;
29 * Parse the header and footer of the bugreport.
41 private Bugreport mBugreport;
50 * Set the Bugreport that we're working on.
52 public void setBugreport(Bugreport bugreport) {
    [all...]
Bugreport.java 17 package com.android.bugreport.bugreport;
19 import com.android.bugreport.anr.Anr;
20 import com.android.bugreport.logcat.Logcat;
21 import com.android.bugreport.logcat.LogLine;
22 import com.android.bugreport.stacks.ProcessSnapshot;
23 import com.android.bugreport.stacks.VmTraces;
30 * Class to represent what we know and understand about a bugreport.
32 public class Bugreport {
39 * Timestamp for the beginning of the bugreport
    [all...]
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...]
  /development/tools/bugreport/src/com/android/bugreport/
Main.java 17 package com.android.bugreport;
19 import com.android.bugreport.bugreport.Bugreport;
20 import com.android.bugreport.bugreport.BugreportParser;
21 import com.android.bugreport.html.Renderer;
22 import com.android.bugreport.inspector.Inspector;
23 import com.android.bugreport.logcat.LogcatParser;
24 import com.android.bugreport.monkey.MonkeyLogParser
73 Bugreport bugreport = null; local
    [all...]
  /development/tools/bugreport/src/com/android/bugreport/monkey/
MonkeyLogParser.java 17 package com.android.bugreport.monkey;
19 import com.android.bugreport.anr.Anr;
20 import com.android.bugreport.anr.AnrParser;
21 import com.android.bugreport.bugreport.Bugreport;
22 import com.android.bugreport.util.Line;
23 import com.android.bugreport.util.Lines;
24 import com.android.bugreport.util.Utils;
46 * created bugreport
    [all...]
  /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...]
  /tools/tradefederation/core/src/com/android/tradefed/device/
INativeDevice.java 30 import com.android.tradefed.util.Bugreport;
    [all...]
NativeDevice.java 51 import com.android.tradefed.util.Bugreport;
99 * Allow pauses of up to 2 minutes while receiving bugreport.
109 private static final String BUGREPORT_CMD = "bugreport";
2078 InputStreamSource bugreport = getBugreportInternal(); local
2102 File bugreport = ZipUtil2.extractFileFromZip(zip, bugreportName); local
2147 InputStreamSource bugreport = null; local
2192 InputStreamSource bugreport = getBugreportInternal(); local
    [all...]
  /development/tools/bugreport/src/com/android/bugreport/html/
Renderer.java 17 package com.android.bugreport.html;
19 import com.android.bugreport.anr.Anr;
20 import com.android.bugreport.bugreport.Bugreport;
21 import com.android.bugreport.cpuinfo.CpuUsage;
22 import com.android.bugreport.cpuinfo.CpuUsageSnapshot;
23 import com.android.bugreport.logcat.Logcat;
24 import com.android.bugreport.logcat.LogLine;
25 import com.android.bugreport.stacks.ProcessSnapshot
    [all...]
  /development/tools/bugreport/src/com/android/bugreport/inspector/
Inspector.java 17 package com.android.bugreport.inspector;
19 import com.android.bugreport.anr.Anr;
20 import com.android.bugreport.anr.AnrParser;
21 import com.android.bugreport.bugreport.Bugreport;
22 import com.android.bugreport.bugreport.ProcessInfo;
23 import com.android.bugreport.bugreport.ThreadInfo
    [all...]
  /tools/tradefederation/core/prod-tests/src/com/android/monkey/
MonkeyBase.java 45 import com.android.tradefed.util.Bugreport;
77 public static final String BUGREPORT_NAME = "bugreport";
455 * Capture a bugreport and send it to a listener.
458 Bugreport bugreport = mTestDevice.takeBugreport(); local
459 if (bugreport == null) {
460 CLog.e("Could not take bugreport");
463 bugreport.log(bugreportName, listener);
467 main = bugreport.getMainFile();
469 CLog.e("Bugreport has no main file")
    [all...]
  /tools/tradefederation/core/tests/src/com/android/tradefed/device/
NativeDeviceTest.java 41 import com.android.tradefed.util.Bugreport;
    [all...]

Completed in 252 milliseconds