/art/odrefresh/ |
D | odr_metrics_record_test.cc | 44 std::string file_path = dir.GetPath() + "/metrics-record.txt"; in TEST_F() local 47 std::ofstream ofs(file_path); in TEST_F() 55 std::ifstream ifs(file_path); in TEST_F() 74 std::string file_path = dir.GetPath() + "/metrics-record.txt"; in TEST_F() local 76 std::ifstream ifs(file_path); in TEST_F() 86 std::string file_path = dir.GetPath() + "/metrics-record.txt"; in TEST_F() local 88 std::ifstream ifs(file_path); in TEST_F() 100 std::string file_path = dir.GetPath() + "/metrics-record.txt"; in TEST_F() local 102 std::ofstream ofs(file_path); in TEST_F()
|
D | odr_fs_utils_test.cc | 39 static bool CreateFile(const char* file_path, size_t bytes) { in CreateFile() argument 40 std::unique_ptr<File> fp(OS::CreateEmptyFile(file_path)); in CreateFile() 82 for (const auto& file_path : file_paths) { in TEST_F() local 83 ASSERT_TRUE(CreateFile(file_path.c_str(), 4096)); in TEST_F() 94 for (const auto& file_path : file_paths) { in TEST_F() local 95 ASSERT_FALSE(OS::FileExists(file_path.c_str(), true)); in TEST_F()
|
D | odr_config.h | 121 void SetApexInfoListFile(const std::string& file_path) { apex_info_list_file_ = file_path; } in SetApexInfoListFile() argument
|
/art/dexdump/ |
D | dexdump_test.cc | 42 std::string file_path = GetArtBinDir() + "/dexdump"; in Exec() local 43 EXPECT_TRUE(OS::FileExists(file_path.c_str())) << file_path << " should be a valid file path"; in Exec() 44 std::vector<std::string> exec_argv = { file_path }; in Exec()
|
/art/dexlist/ |
D | dexlist_test.cc | 44 std::string file_path = GetArtBinDir() + "/dexlist"; in Exec() local 45 EXPECT_TRUE(OS::FileExists(file_path.c_str())) << file_path << " should be a valid file path"; in Exec() 46 std::vector<std::string> exec_argv = { file_path }; in Exec()
|
/art/imgdiag/ |
D | imgdiag_test.cc | 83 std::string file_path = GetImgDiagFilePath(); in Exec() local 84 EXPECT_TRUE(OS::FileExists(file_path.c_str())) << file_path << " should be a valid file path"; in Exec() 88 file_path, in Exec()
|
/art/tools/common/ |
D | common.py | 244 def WriteLines(self, file_path, lines): argument 330 def WriteLines(self, file_path, lines): argument 331 with open(file_path, 'w') as f: 358 for file_path in os.listdir(arch_cache_path): 359 file_path = '{0}/{1}'.format(arch_cache_path, file_path) 360 if os.path.isfile(file_path): 361 os.unlink(file_path) 411 def WriteLines(self, file_path, lines): argument 415 self._AdbPush(temp_file.name, file_path)
|
/art/dexoptanalyzer/ |
D | dexoptanalyzer_test.cc | 32 std::string file_path = GetArtBinDir() + "/dexoptanalyzer"; in GetDexoptAnalyzerCmd() local 34 file_path += 'd'; in GetDexoptAnalyzerCmd() 36 EXPECT_TRUE(OS::FileExists(file_path.c_str())) << file_path << " should be a valid file path"; in GetDexoptAnalyzerCmd() 37 return file_path; in GetDexoptAnalyzerCmd()
|
/art/libartbase/base/unix_file/ |
D | fd_file.h | 161 bool Open(const std::string& file_path, int flags); 162 bool Open(const std::string& file_path, int flags, mode_t mode);
|
/art/oatdump/ |
D | oatdump_test.h | 174 std::string file_path = GetExecutableFilePath(flavor, "oatdump", /* bitness= */ false); variable 176 if (!OS::FileExists(file_path.c_str())) { 177 return ::testing::AssertionFailure() << file_path << " should be a valid file path"; 181 std::vector<std::string> exec_argv = { file_path };
|
/art/tools/jfuzz/ |
D | run_jfuzz_test.py | 604 file_path = os.path.join(self._jfuzz_dir, file_name) 605 if os.path.isfile(file_path): 606 os.unlink(file_path) 607 elif os.path.isdir(file_path): 608 shutil.rmtree(file_path)
|
/art/tools/hiddenapi/ |
D | hiddenapi_test.cc | 34 std::string file_path = GetArtBinDir() + "/hiddenapi"; in GetHiddenApiCmd() local 36 file_path += 'd'; in GetHiddenApiCmd() 38 if (!OS::FileExists(file_path.c_str())) { in GetHiddenApiCmd() 39 LOG(FATAL) << "Could not find binary " << file_path; in GetHiddenApiCmd() 42 return file_path; in GetHiddenApiCmd()
|
/art/runtime/ |
D | oat_file.cc | 165 bool ComputeFields(const std::string& file_path, std::string* error_msg); 345 bool OatFileBase::ComputeFields(const std::string& file_path, std::string* error_msg) { in ComputeFields() argument 350 file_path.c_str(), in ComputeFields() 357 file_path.c_str(), in ComputeFields() 370 StringPrintf("Failed to find oatdatabimgrelrolastword symbol in '%s'", file_path.c_str()); in ComputeFields() 384 *error_msg = StringPrintf("Failed to find oatbsslastword symbol in '%s'", file_path.c_str()); in ComputeFields() 403 *error_msg = StringPrintf("Failed to find oatdexlastword symbol in '%s'", file_path.c_str()); in ComputeFields()
|
/art/dexlayout/ |
D | dexlayout_test.cc | 545 bool UnlinkFile(const std::string& file_path) { in UnlinkFile() argument 546 return unix_file::FdFile(file_path, 0, false).Unlink(); in UnlinkFile()
|
/art/profman/ |
D | profile_assistant_test.cc | 161 std::string file_path = GetArtBinDir() + "/profman"; in GetProfmanCmd() local 163 file_path += "d"; in GetProfmanCmd() 165 EXPECT_TRUE(OS::FileExists(file_path.c_str())) << file_path << " should be a valid file path"; in GetProfmanCmd() 166 return file_path; in GetProfmanCmd()
|