Home
last modified time | relevance | path

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

/art/oatdump/
Doatdump_test.cc31 ASSERT_TRUE(Exec(kDynamic, kModeArt, {"--no-dump:vmap"}, kListAndCode)); in TEST_F()
37 ASSERT_TRUE(Exec(kStatic, kModeArt, {"--no-dump:vmap"}, kListAndCode)); in TEST_F()
43 ASSERT_TRUE(Exec(kDynamic, kModeArt, {"--no-disassemble"}, kListAndCode)); in TEST_F()
49 ASSERT_TRUE(Exec(kStatic, kModeArt, {"--no-disassemble"}, kListAndCode)); in TEST_F()
55 ASSERT_TRUE(Exec(kDynamic, kModeArt, {"--list-classes"}, kListOnly)); in TEST_F()
61 ASSERT_TRUE(Exec(kStatic, kModeArt, {"--list-classes"}, kListOnly)); in TEST_F()
67 ASSERT_TRUE(Exec(kDynamic, kModeArt, {"--list-methods"}, kListOnly)); in TEST_F()
73 ASSERT_TRUE(Exec(kStatic, kModeArt, {"--list-methods"}, kListOnly)); in TEST_F()
79 ASSERT_TRUE(Exec(kDynamic, kModeSymbolize, {}, kListOnly)); in TEST_F()
85 ASSERT_TRUE(Exec(kStatic, kModeSymbolize, {}, kListOnly)); in TEST_F()
[all …]
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()
51 ASSERT_TRUE(Exec(kStatic, kModeAppImage, {}, kListAndCode, /*expect_failure=*/true)); in TEST_F()
Doatdump_image_test.cc29 ASSERT_TRUE(Exec(kDynamic, kModeArt, {}, kListAndCode)); in TEST_F()
35 ASSERT_TRUE(Exec(kStatic, kModeArt, {}, kListAndCode)); in TEST_F()
41 ASSERT_TRUE(Exec(kDynamic, kModeCoreOat, {}, kListAndCode)); in TEST_F()
47 ASSERT_TRUE(Exec(kStatic, kModeCoreOat, {}, kListAndCode)); in TEST_F()
Doatdump_test.h169 ::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()
70 ASSERT_TRUE(Exec({"-d", "-f", "-h", "-l", "plain", "-o", "/dev/null", in TEST_F()
76 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/dexlayout/
Ddexdiag_test.cc77 bool Exec(pid_t this_pid, const std::vector<std::string>& args, std::string* error_msg) { in Exec() function in art::DexDiagTest
93 return ::art::Exec(exec_argv, error_msg); in Exec()
105 ASSERT_TRUE(Exec(getpid(), { kDexDiagHelp }, &error_msg)) << "Failed to execute -- because: " in TEST_F()
117 ASSERT_TRUE(Exec(getpid(), { kDexDiagContains }, &error_msg)) << "Failed to execute -- because: "
129 ASSERT_FALSE(Exec(getpid(), { kDexDiagContainsFails }, &error_msg))
142 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()
429 if (!art::Exec(unzip_args, error_msg)) { in DexFileLayoutFixedPointExec()
453 art::Exec(cp_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()
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.cc69 return Exec(argv, error_msg); in Dex2Oat()
/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/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.cc202 return Exec(arg_vector, error_msg); in GenerateImage()
2247 if (!Exec(args, error_msg)) { in CompileExtension()