Lines Matching full:bugreport
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, "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.
198 int Bugreport::DoIt(TransportType transport_type, const char* serial, int argc, const char** argv) {
199 if (argc > 2) return usage("usage: adb bugreport [PATH]");
212 // Device does not support bugreportz: if called as 'adb bugreport', just falls out to
217 return SendShellCommand(transport_type, serial, "bugreport", false);
221 // 'bugreport' would generate a lot of output the user might not be prepared to handle).
224 "If the device does not run Android 7.0 or above, try 'adb bugreport' instead.\n",
248 dest_file = "bugreport.zip";
261 "Bugreport is in progress and it could take minutes to complete.\n"
271 void Bugreport::UpdateProgress(const std::string& message, int progress_percentage) {
277 int Bugreport::SendShellCommand(TransportType transport_type, const char* serial,
283 bool Bugreport::DoSyncPull(const std::vector<const char*>& srcs, const char* dst, bool copy_attrs,