Lines Matching refs:string
76 explicit DurationReporter(const std::string& title, bool logcat_only = false,
82 std::string title_;
117 explicit Progress(const std::string& path = "");
135 void Dump(int fd, const std::string& prefix) const;
139 const std::string& path = ""); // Used by test cases.
148 std::string path_;
156 static std::string VERSION_CURRENT = "2.0";
162 static std::string VERSION_SPLIT_ANR = "3.0-dev-split-anr";
167 static std::string VERSION_DEFAULT = "default";
172 static const std::string DUMPSTATE_DIRECTORY = "/bugreports";
179 std::string name;
227 int RunCommand(const std::string& title, const std::vector<std::string>& fullCommand,
244 void RunDumpsys(const std::string& title, const std::vector<std::string>& dumpsys_args,
255 int DumpFile(const std::string& title, const std::string& path);
260 bool AddZipEntry(const std::string& entry_name, const std::string& entry_path);
270 android::status_t AddZipEntryFromFd(const std::string& entry_name, int fd,
276 bool AddTextZipEntry(const std::string& entry_name, const std::string& content);
281 void AddDir(const std::string& dir, bool recursive);
288 void TakeScreenshot(const std::string& path = "");
320 std::string GetPath(const std::string& directory, const std::string& suffix) const;
324 std::string GetPath(const std::string& suffix) const;
332 RunStatus Run(int32_t calling_uid, const std::string& calling_package);
371 std::string extra_options;
373 std::string args;
375 std::string notification_title;
376 std::string notification_description;
418 std::string version_ = VERSION_CURRENT;
424 std::string base_name_;
428 std::string name_;
430 std::string bugreport_internal_dir_ = DUMPSTATE_DIRECTORY;
434 std::string tmp_path_;
438 std::string log_path_;
441 std::string path_;
444 std::string screenshot_path_;
454 std::string listener_name_;
486 RunStatus RunInternal(int32_t calling_uid, const std::string& calling_package);
500 explicit Dumpstate(const std::string& version = VERSION_CURRENT);
527 int dump_files(const std::string& title, const char* dir, bool (*skip)(const char* path),
588 void format_args(int argc, const char *argv[], std::string *args);