Home
last modified time | relevance | path

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

/art/oatdump/
Doatdump_test.cc33 ASSERT_TRUE(Exec(kDynamic, kModeArt, {"--no-dump:vmap"}, kListAndCode)); in TEST_F()
39 ASSERT_TRUE(Exec(kStatic, kModeArt, {"--no-dump:vmap"}, kListAndCode)); in TEST_F()
45 ASSERT_TRUE(Exec(kDynamic, kModeArt, {"--no-disassemble"}, kListAndCode)); in TEST_F()
51 ASSERT_TRUE(Exec(kStatic, kModeArt, {"--no-disassemble"}, kListAndCode)); in TEST_F()
57 ASSERT_TRUE(Exec(kDynamic, kModeArt, {"--list-classes"}, kListOnly)); in TEST_F()
63 ASSERT_TRUE(Exec(kStatic, kModeArt, {"--list-classes"}, kListOnly)); in TEST_F()
69 ASSERT_TRUE(Exec(kDynamic, kModeArt, {"--list-methods"}, kListOnly)); in TEST_F()
75 ASSERT_TRUE(Exec(kStatic, kModeArt, {"--list-methods"}, kListOnly)); in TEST_F()
81 ASSERT_TRUE(Exec(kDynamic, kModeSymbolize, {}, kListOnly)); in TEST_F()
87 ASSERT_TRUE(Exec(kStatic, kModeSymbolize, {}, kListOnly)); in TEST_F()
[all …]
Doatdump_image_test.cc31 ASSERT_TRUE(Exec(kDynamic, kModeArt, {}, kListAndCode)); in TEST_F()
37 ASSERT_TRUE(Exec(kStatic, kModeArt, {}, kListAndCode)); in TEST_F()
43 ASSERT_TRUE(Exec(kDynamic, kModeCoreOat, {}, kListAndCode)); in TEST_F()
49 ASSERT_TRUE(Exec(kStatic, kModeCoreOat, {}, kListAndCode)); in TEST_F()
Doatdump_app_test.cc23 ASSERT_TRUE(Exec(kDynamic, kModeOatWithBootImage, {}, kListAndCode)); in TEST_F()
28 ASSERT_TRUE(Exec(kStatic, kModeOatWithBootImage, {}, kListAndCode)); in TEST_F()
35 ASSERT_TRUE(Exec(kDynamic, kModeAppImage, {}, kListAndCode)); in TEST_F()
42 ASSERT_TRUE(Exec(kStatic, kModeAppImage, {}, kListAndCode)); in TEST_F()
Doatdump_test.h160 ::testing::AssertionResult Exec(Flavor flavor, in Exec() function
/art/dexdump/
Ddexdump_test.cc41 bool Exec(const std::vector<std::string>& args, std::string* error_msg) { in Exec() function in art::DexDumpTest
47 return ::art::Exec(exec_argv, error_msg); in Exec()
56 ASSERT_FALSE(Exec({}, &error_msg)) << error_msg; in TEST_F()
61 ASSERT_FALSE(Exec({"-o", "/non/existent/path", dex_file_}, &error_msg)) << error_msg; in TEST_F()
66 ASSERT_FALSE(Exec({"-c", "-i", dex_file_}, &error_msg)) << error_msg; in TEST_F()
71 ASSERT_TRUE(Exec({"-d", "-f", "-h", "-l", "plain", "-o", "/dev/null", 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
49 return ::art::Exec(exec_argv, error_msg); in Exec()
58 ASSERT_FALSE(Exec({}, &error_msg)) << error_msg; in TEST_F()
63 ASSERT_FALSE(Exec({"-o", "/non/existent/path", dex_file_}, &error_msg)) << error_msg; in TEST_F()
68 ASSERT_FALSE(Exec({"-m", "joho", dex_file_}, &error_msg)) << error_msg; in TEST_F()
73 ASSERT_TRUE(Exec({"-o", "/dev/null", dex_file_}, &error_msg)) << error_msg; in TEST_F()
78 ASSERT_TRUE(Exec({"-o", "/dev/null", "-m", "java.lang.Object.toString", in TEST_F()
/art/dexlayout/
Ddexdiag_test.cc84 bool Exec(pid_t this_pid, const std::vector<std::string>& args, std::string* error_msg) { in Exec() function in art::DexDiagTest
100 return ::art::Exec(exec_argv, error_msg); in Exec()
112 ASSERT_TRUE(Exec(getpid(), { kDexDiagHelp }, &error_msg)) << "Failed to execute -- because: " in TEST_F()
124 ASSERT_TRUE(Exec(getpid(), { kDexDiagContains }, &error_msg)) << "Failed to execute -- because: "
136 ASSERT_FALSE(Exec(getpid(), { kDexDiagContainsFails }, &error_msg))
149 ASSERT_TRUE(Exec(getpid(), { kDexDiagVerbose }, &error_msg)) << "Failed to execute -- because: "
Ddexlayout_test.cc275 if (!::art::Exec(dexdump_exec_argv, error_msg)) { in FullPlainOutputExec()
283 if (!::art::Exec(diff_exec_argv, error_msg)) { in FullPlainOutputExec()
307 if (!::art::Exec(unzip_exec_argv, error_msg)) { in DexFileOutputExec()
312 if (!::art::Exec(diff_exec_argv, error_msg)) { in DexFileOutputExec()
437 if (!art::Exec(unzip_args, error_msg)) { in DexFileLayoutFixedPointExec()
469 if (!::art::Exec(diff_exec_argv, error_msg)) { in DexFileLayoutFixedPointExec()
502 if (!::art::Exec(diff_exec_argv, error_msg)) { in UnreferencedCatchHandlerExec()
551 return ::art::Exec(argv, error_msg); in DexLayoutExec()
/art/runtime/
Dexec_utils_test.cc41 EXPECT_TRUE(Exec(command, &error_msg)); in TEST_F()
54 EXPECT_FALSE(Exec(command, &error_msg)); in TEST_F()
75 EXPECT_FALSE(Exec(command, &error_msg)); in TEST_F()
99 EXPECT_TRUE(Exec(command, &error_msg)); in TEST_F()
Dexec_utils.h29 bool Exec(std::vector<std::string>& arg_vector, std::string* error_msg);
Dexec_utils.cc90 bool Exec(std::vector<std::string>& arg_vector, std::string* error_msg) { in Exec() function
Ddexopt_test.cc68 return Exec(argv, error_msg); in Dex2Oat()
/art/imgdiag/
Dimgdiag_test.cc84 bool Exec(pid_t image_diff_pid, const std::string& boot_image, std::string* error_msg) { in Exec() function in art::ImgDiagTest
103 return ::art::Exec(exec_argv, error_msg); in Exec()
108 return Exec(image_diff_pid, boot_image_location_, error_msg); in ExecDefaultBootImage()
/art/tools/dexanalyze/
Ddexanalyze_test.cc35 ASSERT_EQ(::art::Exec(argv, &error_msg), expect_success) << error_msg; in DexAnalyzeExec()
/art/compiler/utils/
Dassembler_test_base.h234 bool success = Exec(args, error_msg); in Assemble()
270 if (!Exec(args, &error_msg)) { in Objdump()
351 return Exec(args, error_msg); in DisassembleBinary()
514 if (!Exec(args, &error_msg)) { in FindTool()
555 if (!Exec(args, &error_msg)) { in FindToolDumpPrintout()
/art/runtime/gc/space/
Dimage_space.cc181 return Exec(arg_vector, error_msg); in GenerateImage()