Home
last modified time | relevance | path

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

/art/oatdump/
Doatdump_test.cc25 ASSERT_TRUE(Exec(kDynamic, kModeArt, {"--no-dump:vmap"}, kListAndCode, &error_msg)) << error_msg; in TEST_F()
30 ASSERT_TRUE(Exec(kStatic, kModeArt, {"--no-dump:vmap"}, kListAndCode, &error_msg)) << error_msg; in TEST_F()
35 ASSERT_TRUE(Exec(kDynamic, kModeArt, {"--no-disassemble"}, kListAndCode, &error_msg)) in TEST_F()
41 ASSERT_TRUE(Exec(kStatic, kModeArt, {"--no-disassemble"}, kListAndCode, &error_msg)) << error_msg; in TEST_F()
46 ASSERT_TRUE(Exec(kDynamic, kModeArt, {"--list-classes"}, kListOnly, &error_msg)) << error_msg; in TEST_F()
51 ASSERT_TRUE(Exec(kStatic, kModeArt, {"--list-classes"}, kListOnly, &error_msg)) << error_msg; in TEST_F()
56 ASSERT_TRUE(Exec(kDynamic, kModeArt, {"--list-methods"}, kListOnly, &error_msg)) << error_msg; in TEST_F()
61 ASSERT_TRUE(Exec(kStatic, kModeArt, {"--list-methods"}, kListOnly, &error_msg)) << error_msg; in TEST_F()
66 ASSERT_TRUE(Exec(kDynamic, kModeSymbolize, {}, kListOnly, &error_msg)) << error_msg; in TEST_F()
71 ASSERT_TRUE(Exec(kStatic, kModeSymbolize, {}, kListOnly, &error_msg)) << error_msg; in TEST_F()
[all …]
Doatdump_image_test.cc25 ASSERT_TRUE(Exec(kDynamic, kModeArt, {}, kListAndCode, &error_msg)) << error_msg; in TEST_F()
30 ASSERT_TRUE(Exec(kStatic, kModeArt, {}, kListAndCode, &error_msg)) << error_msg; in TEST_F()
35 ASSERT_TRUE(Exec(kDynamic, kModeOat, {}, kListAndCode, &error_msg)) << error_msg; in TEST_F()
40 ASSERT_TRUE(Exec(kStatic, kModeOat, {}, kListAndCode, &error_msg)) << error_msg; in TEST_F()
Doatdump_app_test.cc24 ASSERT_TRUE(Exec(kDynamic, kModeOatWithBootImage, {}, kListAndCode, &error_msg)) << error_msg; in TEST_F()
30 ASSERT_TRUE(Exec(kStatic, kModeOatWithBootImage, {}, kListAndCode, &error_msg)) << error_msg; in TEST_F()
38 ASSERT_TRUE(Exec(kDynamic, kModeOatWithBootImage, {}, kListAndCode, &error_msg)) << error_msg; in TEST_F()
46 ASSERT_TRUE(Exec(kStatic, kModeOatWithBootImage, {}, kListAndCode, &error_msg)) << error_msg; in TEST_F()
Doatdump_test.h138 bool Exec(Flavor flavor, in Exec() function
/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", "/joho", 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/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", "/joho", 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/dexlayout/
Ddexdiag_test.cc85 bool Exec(pid_t this_pid, const std::vector<std::string>& args, std::string* error_msg) { in Exec() function in art::DexDiagTest
101 return ::art::Exec(exec_argv, error_msg); in Exec()
113 ASSERT_TRUE(Exec(getpid(), { kDexDiagHelp }, &error_msg)) << "Failed to execute -- because: " in TEST_F()
125 ASSERT_TRUE(Exec(getpid(), { kDexDiagContains }, &error_msg)) << "Failed to execute -- because: "
137 ASSERT_FALSE(Exec(getpid(), { kDexDiagContainsFails }, &error_msg))
150 ASSERT_TRUE(Exec(getpid(), { kDexDiagVerbose }, &error_msg)) << "Failed to execute -- because: "
Ddexlayout_test.cc274 if (!::art::Exec(dexdump_exec_argv, error_msg)) { in FullPlainOutputExec()
282 if (!::art::Exec(diff_exec_argv, error_msg)) { in FullPlainOutputExec()
306 if (!::art::Exec(unzip_exec_argv, error_msg)) { in DexFileOutputExec()
311 if (!::art::Exec(diff_exec_argv, error_msg)) { in DexFileOutputExec()
434 if (!art::Exec(unzip_args, error_msg)) { in DexFileLayoutFixedPointExec()
466 if (!::art::Exec(diff_exec_argv, error_msg)) { in DexFileLayoutFixedPointExec()
499 if (!::art::Exec(diff_exec_argv, error_msg)) { in UnreferencedCatchHandlerExec()
548 return ::art::Exec(argv, error_msg); in DexLayoutExec()
/art/runtime/
Dexec_utils_test.cc41 EXPECT_TRUE(Exec(command, &error_msg)); in TEST_F()
55 EXPECT_FALSE(Exec(command, &error_msg)); in TEST_F()
77 EXPECT_FALSE(Exec(command, &error_msg)); in TEST_F()
102 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.cc226 return Exec(argv, error_msg); in PreRelocateImage()
Doat_file_assistant.cc852 return Exec(argv, error_msg); in Dex2Oat()
/art/imgdiag/
Dimgdiag_test.cc88 bool Exec(pid_t image_diff_pid, const std::string& boot_image, std::string* error_msg) { in Exec() function in art::ImgDiagTest
117 return ::art::Exec(exec_argv, error_msg); in Exec()
122 return Exec(image_diff_pid, boot_image_location_, error_msg); in ExecDefaultBootImage()
/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.cc157 return Exec(arg_vector, error_msg); in GenerateImage()
277 return Exec(argv, error_msg); in RelocateImage()
307 return Exec(argv, error_msg); in VerifyImage()