/art/oatdump/ |
D | oatdump_test.cc | 31 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 …]
|
D | oatdump_app_test.cc | 23 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()
|
D | oatdump_image_test.cc | 29 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()
|
D | oatdump_test.h | 169 ::testing::AssertionResult Exec(Flavor flavor,
|
/art/dexlist/ |
D | dexlist_test.cc | 43 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/dexdump/ |
D | dexdump_test.cc | 41 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/dexlayout/ |
D | dexdiag_test.cc | 77 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: "
|
D | dexlayout_test.cc | 274 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/ |
D | exec_utils_test.cc | 41 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()
|
D | exec_utils.h | 29 bool Exec(std::vector<std::string>& arg_vector, std::string* error_msg);
|
D | exec_utils.cc | 90 bool Exec(std::vector<std::string>& arg_vector, std::string* error_msg) { in Exec() function
|
D | dexopt_test.cc | 69 return Exec(argv, error_msg); in Dex2Oat()
|
/art/imgdiag/ |
D | imgdiag_test.cc | 79 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/ |
D | dexanalyze_test.cc | 35 ASSERT_EQ(::art::Exec(argv, &error_msg), expect_success) << error_msg; in DexAnalyzeExec()
|
/art/compiler/utils/ |
D | assembler_test_base.h | 234 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()
|