Home
last modified time | relevance | path

Searched refs:Exec (Results 1 – 15 of 15) sorted by relevance

/art/oatdump/
Doatdump_app_test.cc24 ASSERT_TRUE(Exec(GetParam(), in TEST_P()
34 ASSERT_TRUE(Exec(GetParam(), in TEST_P()
44 ASSERT_TRUE(Exec(GetParam(), kArgOatApp | kArgBootImage | kArgBcp | kArgIsa, {}, kExpectOat)); in TEST_P()
51 ASSERT_TRUE(Exec(GetParam(), in TEST_P()
60 ASSERT_TRUE(Exec(GetParam(), in TEST_P()
69 ASSERT_TRUE(Exec(GetParam(), kArgOatApp, {}, kExpectOat | kExpectCode | kExpectBssOffsetsForBcp)); in TEST_P()
76 ASSERT_TRUE(Exec(GetParam(), kArgOatApp, {}, kExpectOat)); in TEST_P()
83 ASSERT_TRUE(Exec( in TEST_P()
91 ASSERT_TRUE(Exec(GetParam(), in TEST_P()
102 ASSERT_TRUE(Exec(GetParam(), in TEST_P()
[all …]
Doatdump_test.cc40 ASSERT_TRUE(Exec(GetParam(), in TEST_P()
50 ASSERT_TRUE(Exec(GetParam(), in TEST_P()
60 ASSERT_TRUE(Exec( in TEST_P()
68 ASSERT_TRUE(Exec( in TEST_P()
80 ASSERT_TRUE(Exec(GetParam(), kArgSymbolize, {}, /*expects=*/0)); in TEST_P()
90 ASSERT_TRUE(Exec(GetParam(), kArgOatApp, {"--export-dex-to=" + tmp_dir_}, kExpectOat)); in TEST_P()
110 ASSERT_TRUE(Exec(GetParam(), in TEST_P()
Doatdump_image_test.cc35 Exec(GetParam(), kArgImage | kArgBcp | kArgIsa, {}, kExpectImage | kExpectOat | kExpectCode)); in TEST_P()
42 ASSERT_TRUE(Exec(GetParam(), kArgOatBcp | kArgDexBcp, {}, kExpectOat | kExpectCode)); in TEST_P()
Doatdump_test.h175 ::testing::AssertionResult Exec(Flavor flavor,
/art/dexdump/
Ddexdump_test.cc41 bool Exec(const std::vector<std::string>& args, std::string* error_msg) { in Exec() function in art::DexDumpTest
46 return ::art::Exec(exec_argv, error_msg); in Exec()
55 ASSERT_FALSE(Exec({}, &error_msg)) << error_msg; in TEST_F()
60 ASSERT_FALSE(Exec({"-o", "/non/existent/path", dex_file_}, &error_msg)) << error_msg; in TEST_F()
65 ASSERT_FALSE(Exec({"-c", "-i", dex_file_}, &error_msg)) << error_msg; in TEST_F()
71 Exec({"-d", "-f", "-h", "-s", "-l", "plain", "-o", "/dev/null", dex_file_}, &error_msg)) in TEST_F()
77 ASSERT_TRUE(Exec({"-l", "xml", "-o", "/dev/null", in TEST_F()
/art/dexlist/
Ddexlist_test.cc43 bool Exec(const std::vector<std::string>& args, std::string* error_msg) { in Exec() function in art::DexListTest
48 return ::art::Exec(exec_argv, error_msg); in Exec()
57 ASSERT_FALSE(Exec({}, &error_msg)) << error_msg; in TEST_F()
62 ASSERT_FALSE(Exec({"-o", "/non/existent/path", dex_file_}, &error_msg)) << error_msg; in TEST_F()
67 ASSERT_FALSE(Exec({"-m", "joho", dex_file_}, &error_msg)) << error_msg; in TEST_F()
72 ASSERT_TRUE(Exec({"-o", "/dev/null", dex_file_}, &error_msg)) << error_msg; in TEST_F()
77 ASSERT_TRUE(Exec({"-o", "/dev/null", "-m", "java.lang.Object.toString", in TEST_F()
/art/imgdiag/
Dimgdiag_test.cc79 bool Exec(pid_t image_diff_pid, const std::string& boot_image, std::string* error_msg) { in Exec() function in art::ImgDiagTest
98 return ::art::Exec(exec_argv, error_msg); in Exec()
103 return Exec(image_diff_pid, boot_image_location_, error_msg); in ExecDefaultBootImage()
/art/runtime/
Dexec_utils.h83 virtual bool Exec(const std::vector<std::string>& arg_vector,
124 inline bool Exec(const std::vector<std::string>& arg_vector, /*out*/ std::string* error_msg) { in Exec() function
125 return ExecUtils().Exec(arg_vector, error_msg); in Exec()
Dexec_utils_test.cc130 EXPECT_TRUE(exec_utils_->Exec(command, &error_msg)); in TEST_P()
158 EXPECT_FALSE(exec_utils_->Exec(command, &error_msg)); in TEST_P()
177 EXPECT_TRUE(exec_utils_->Exec(command, &error_msg)); in TEST_P()
Ddexopt_test.cc73 return Exec(argv, error_msg); in Dex2Oat()
Dexec_utils.cc318 bool ExecUtils::Exec(const std::vector<std::string>& arg_vector, std::string* error_msg) const { in Exec() function in art::ExecUtils
/art/tools/dexanalyze/
Ddexanalyze_test.cc35 ASSERT_EQ(::art::Exec(argv, &error_msg), expect_success) << error_msg; in DexAnalyzeExec()
/art/dexopt_chroot_setup/
Ddexopt_chroot_setup_test.cc172 EXPECT_TRUE(Exec(args.Get(), &error_msg)) << error_msg; in TEST_F()
Ddexopt_chroot_setup.cc95 if (!Exec(args, &error_msg)) { in Run()
/art/runtime/gc/space/
Dimage_space.cc2032 if (!Exec(args, error_msg)) { in CompileBootclasspathElements()