Searched refs:file_path (Results 1 – 13 of 13) sorted by relevance
/art/dexlist/ |
D | dexlist_test.cc | 44 std::string file_path = GetTestAndroidRoot(); in Exec() local 45 file_path += "/bin/dexlist"; in Exec() 46 EXPECT_TRUE(OS::FileExists(file_path.c_str())) << file_path << " should be a valid file path"; in Exec() 47 std::vector<std::string> exec_argv = { file_path }; in Exec()
|
/art/dexdump/ |
D | dexdump_test.cc | 43 std::string file_path = GetTestAndroidRoot() + "/bin/dexdump2"; in Exec() local 44 EXPECT_TRUE(OS::FileExists(file_path.c_str())) << file_path << " should be a valid file path"; in Exec() 45 std::vector<std::string> exec_argv = { file_path }; in Exec()
|
/art/imgdiag/ |
D | imgdiag_test.cc | 92 std::string file_path = GetImgDiagFilePath(); in Exec() local 93 EXPECT_TRUE(OS::FileExists(file_path.c_str())) << file_path << " should be a valid file path"; in Exec() 111 file_path, in Exec()
|
/art/tools/common/ |
D | common.py | 252 def WriteLines(self, file_path, lines): argument 332 def WriteLines(self, file_path, lines): argument 333 with open(file_path, 'w') as f: 360 for file_path in os.listdir(arch_cache_path): 361 file_path = '{0}/{1}'.format(arch_cache_path, file_path) 362 if os.path.isfile(file_path): 363 os.unlink(file_path) 413 def WriteLines(self, file_path, lines): argument 417 self._AdbPush(temp_file.name, file_path)
|
/art/dexoptanalyzer/ |
D | dexoptanalyzer_test.cc | 28 std::string file_path = GetTestAndroidRoot(); in GetDexoptAnalyzerCmd() local 29 file_path += "/bin/dexoptanalyzer"; in GetDexoptAnalyzerCmd() 31 file_path += "d"; in GetDexoptAnalyzerCmd() 33 EXPECT_TRUE(OS::FileExists(file_path.c_str())) << file_path << " should be a valid file path"; in GetDexoptAnalyzerCmd() 34 return file_path; in GetDexoptAnalyzerCmd()
|
/art/oatdump/ |
D | oatdump_test.h | 143 std::string file_path = GetExecutableFilePath(flavor, "oatdump"); in Exec() local 145 EXPECT_TRUE(OS::FileExists(file_path.c_str())) << file_path << " should be a valid file path"; in Exec() 148 std::vector<std::string> exec_argv = { file_path }; in Exec()
|
/art/libartbase/base/unix_file/ |
D | fd_file.h | 174 bool Open(const std::string& file_path, int flags); 175 bool Open(const std::string& file_path, int flags, mode_t mode);
|
/art/tools/jfuzz/ |
D | run_jfuzz_test.py | 610 file_path = os.path.join(self._jfuzz_dir, file_name) 611 if os.path.isfile(file_path): 612 os.unlink(file_path) 613 elif os.path.isdir(file_path): 614 shutil.rmtree(file_path)
|
/art/tools/hiddenapi/ |
D | hiddenapi_test.cc | 31 std::string file_path = GetTestAndroidRoot(); in GetHiddenApiCmd() local 32 file_path += "/bin/hiddenapi"; in GetHiddenApiCmd() 34 file_path += "d"; in GetHiddenApiCmd() 36 if (!OS::FileExists(file_path.c_str())) { in GetHiddenApiCmd() 37 LOG(FATAL) << "Could not find binary " << file_path; in GetHiddenApiCmd() 40 return file_path; in GetHiddenApiCmd()
|
/art/profman/ |
D | profile_assistant_test.cc | 199 std::string file_path = GetTestAndroidRoot(); in GetProfmanCmd() local 200 file_path += "/bin/profman"; in GetProfmanCmd() 202 file_path += "d"; in GetProfmanCmd() 204 EXPECT_TRUE(OS::FileExists(file_path.c_str())) in GetProfmanCmd() 205 << file_path << " should be a valid file path"; in GetProfmanCmd() 206 return file_path; in GetProfmanCmd()
|
/art/runtime/ |
D | oat_file.cc | 160 const std::string& file_path, 320 const std::string& file_path, in ComputeFields() argument 326 file_path.c_str(), in ComputeFields() 343 file_path.c_str(), in ComputeFields() 357 *error_msg = StringPrintf("Failed to find oatbsslastword symbol in '%s'", file_path.c_str()); in ComputeFields() 376 *error_msg = StringPrintf("Failed to find oatdexlastword symbol in '%s'", file_path.c_str()); in ComputeFields()
|
/art/patchoat/ |
D | patchoat.cc | 748 const std::string& file_path = oat_in->GetFilePath(); in IsOatPic() local 752 LOG(ERROR) << "Failed to find oat header in oat file " << file_path; in IsOatPic() 757 LOG(ERROR) << "Elf file " << file_path << " has an invalid oat header"; in IsOatPic() 763 LOG(INFO) << "Oat file at " << file_path << " is " << (is_pic ? "PIC" : "not pic"); in IsOatPic()
|
/art/dexlayout/ |
D | dexlayout_test.cc | 551 bool UnlinkFile(const std::string& file_path) { in UnlinkFile() argument 552 return unix_file::FdFile(file_path, 0, false).Unlink(); in UnlinkFile()
|