Searched refs:FileHelper (Results 1 - 5 of 5) sorted by relevance

/system/extras/simpleperf/
H A Dutils.h59 class FileHelper { class
61 static FileHelper OpenReadOnly(const std::string& filename);
62 static FileHelper OpenWriteOnly(const std::string& filename);
64 FileHelper(FileHelper&& other) { function in class:FileHelper
69 ~FileHelper();
80 FileHelper(int fd) : fd_(fd) {} function in class:FileHelper
83 DISALLOW_COPY_AND_ASSIGN(FileHelper);
H A Dutils.cpp59 FileHelper FileHelper::OpenReadOnly(const std::string& filename) {
61 return FileHelper(fd);
64 FileHelper FileHelper::OpenWriteOnly(const std::string& filename) {
66 return FileHelper(fd);
69 FileHelper::~FileHelper() {
H A Dread_apk.cpp57 FileHelper fhelper = FileHelper::OpenReadOnly(apk_path);
117 FileHelper fhelper = FileHelper::OpenReadOnly(apk_path);
H A Dgtest_main.cpp80 FileHelper fhelper = FileHelper::OpenWriteOnly(path);
H A Dread_elf.cpp149 FileHelper fhelper = FileHelper::OpenReadOnly(filename);

Completed in 69 milliseconds