Home
last modified time | relevance | path

Searched refs:file_path (Results 1 – 12 of 12) sorted by relevance

/art/dexlist/
Ddexlist_test.cc44 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/
Ddexdump_test.cc43 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/
Dimgdiag_test.cc88 std::string file_path = GetImgDiagFilePath(); in Exec() local
89 EXPECT_TRUE(OS::FileExists(file_path.c_str())) << file_path << " should be a valid file path"; in Exec()
93 file_path, in Exec()
/art/tools/common/
Dcommon.py244 def WriteLines(self, file_path, lines): argument
328 def WriteLines(self, file_path, lines): argument
329 with open(file_path, 'w') as f:
356 for file_path in os.listdir(arch_cache_path):
357 file_path = '{0}/{1}'.format(arch_cache_path, file_path)
358 if os.path.isfile(file_path):
359 os.unlink(file_path)
409 def WriteLines(self, file_path, lines): argument
413 self._AdbPush(temp_file.name, file_path)
/art/dexoptanalyzer/
Ddexoptanalyzer_test.cc28 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/libartbase/base/unix_file/
Dfd_file.h149 bool Open(const std::string& file_path, int flags);
150 bool Open(const std::string& file_path, int flags, mode_t mode);
/art/oatdump/
Doatdump_test.h164 std::string file_path = GetExecutableFilePath(flavor, "oatdump"); in Exec() local
166 if (!OS::FileExists(file_path.c_str())) { in Exec()
167 return ::testing::AssertionFailure() << file_path << " should be a valid file path"; in Exec()
171 std::vector<std::string> exec_argv = { file_path }; in Exec()
/art/tools/jfuzz/
Drun_jfuzz_test.py604 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/
Dhiddenapi_test.cc34 std::string file_path = GetTestAndroidRoot(); in GetHiddenApiCmd() local
35 file_path += "/bin/hiddenapi"; in GetHiddenApiCmd()
37 file_path += "d"; in GetHiddenApiCmd()
39 if (!OS::FileExists(file_path.c_str())) { in GetHiddenApiCmd()
40 LOG(FATAL) << "Could not find binary " << file_path; in GetHiddenApiCmd()
43 return file_path; in GetHiddenApiCmd()
/art/profman/
Dprofile_assistant_test.cc201 std::string file_path = GetTestAndroidRoot(); in GetProfmanCmd() local
202 file_path += "/bin/profman"; in GetProfmanCmd()
204 file_path += "d"; in GetProfmanCmd()
206 EXPECT_TRUE(OS::FileExists(file_path.c_str())) in GetProfmanCmd()
207 << file_path << " should be a valid file path"; in GetProfmanCmd()
208 return file_path; in GetProfmanCmd()
/art/runtime/
Doat_file.cc163 bool ComputeFields(const std::string& file_path, std::string* error_msg);
320 bool OatFileBase::ComputeFields(const std::string& file_path, std::string* error_msg) { in ComputeFields() argument
325 file_path.c_str(), in ComputeFields()
332 file_path.c_str(), in ComputeFields()
345 StringPrintf("Failed to find oatdatabimgrelrolastword symbol in '%s'", file_path.c_str()); in ComputeFields()
359 *error_msg = StringPrintf("Failed to find oatbsslastword symbol in '%s'", file_path.c_str()); in ComputeFields()
378 *error_msg = StringPrintf("Failed to find oatdexlastword symbol in '%s'", file_path.c_str()); in ComputeFields()
/art/dexlayout/
Ddexlayout_test.cc554 bool UnlinkFile(const std::string& file_path) { in UnlinkFile() argument
555 return unix_file::FdFile(file_path, 0, false).Unlink(); in UnlinkFile()