Lines Matching refs:error_msg

76                                     std::string* error_msg,  in GenerateOdexForTestWithStatus()  argument
103 int status = Dex2Oat(args, error_msg);
152 std::string error_msg; in GenerateOdexForTest() local
156 &error_msg, in GenerateOdexForTest()
163 << "Failed to compile odex: " << error_msg << std::endl << output_; in GenerateOdexForTest()
173 &error_msg)); in GenerateOdexForTest()
175 return ::testing::AssertionFailure() << "Could not open odex file: " << error_msg; in GenerateOdexForTest()
185 error_msg_ = error_msg; in GenerateOdexForTest()
195 &error_msg)); in GenerateOdexForTest()
197 return ::testing::AssertionFailure() << "Could open odex file: " << error_msg; in GenerateOdexForTest()
210 int Dex2Oat(const std::vector<std::string>& dex2oat_args, std::string* error_msg) { in Dex2Oat() argument
212 if (!CommonRuntimeTest::StartDex2OatCommandLine(&argv, error_msg)) { in Dex2Oat()
252 *error_msg = strerror(errno); in Dex2Oat()
530 std::string error_msg; in CheckResult() local
537 &error_msg)); in CheckResult()
538 ASSERT_TRUE(odex_file.get() != nullptr) << error_msg; in CheckResult()
549 std::unique_ptr<const DexFile> dex_file = oat_dex_file->OpenDexFile(&error_msg); in CheckResult()
677 std::string error_msg; local
681 location, location, /*verify=*/ true, /*verify_checksum=*/ true, &error_msg, &dex_files));
799 std::string error_msg; in CheckResult() local
806 &error_msg)); in CheckResult()
807 ASSERT_TRUE(odex_file.get() != nullptr) << error_msg; in CheckResult()
813 location, location, /*verify=*/ true, /*verify_checksum=*/ true, &error_msg, &dex_files)); in CheckResult()
818 std::unique_ptr<const DexFile> new_dex_file = oat_dex_file->OpenDexFile(&error_msg); in CheckResult()
968 std::string error_msg; in CheckResult() local
975 &error_msg)); in CheckResult()
976 ASSERT_TRUE(odex_file.get() != nullptr) << error_msg; in CheckResult()
981 std::unique_ptr<const DexFile> dex_file = oat_dex_file->OpenDexFile(&error_msg); in CheckResult()
995 std::string error_msg; in GetDexFileChecksums() local
1002 &error_msg)); in GetDexFileChecksums()
1003 ASSERT_TRUE(odex_file.get() != nullptr) << error_msg; in GetDexFileChecksums()
1074 std::string error_msg; local
1078 &error_msg,
1099 std::string error_msg; in RunTest() local
1305 std::string error_msg; in TEST_F() local
1314 &error_msg, in TEST_F()
1331 &error_msg, in TEST_F()
1411 std::string error_msg; in TEST_F() local
1416 &error_msg, in TEST_F()
1427 &error_msg)); in TEST_F()
1458 std::unique_ptr<const DexFile> dex_file(oat_dex->OpenDexFile(&error_msg)); in TEST_F()
1459 ASSERT_TRUE(dex_file != nullptr) << error_msg; in TEST_F()
1520 std::string error_msg; in TEST_F() local
1525 &error_msg, in TEST_F()
1535 &error_msg)); in TEST_F()
1542 std::unique_ptr<const DexFile> dex_file(oat_dex->OpenDexFile(&error_msg)); in TEST_F()
1543 ASSERT_TRUE(dex_file != nullptr) << error_msg; in TEST_F()
1580 std::string error_msg; in TEST_F() local
1585 &error_msg, in TEST_F()
1593 &error_msg, in TEST_F()
1603 std::string error_msg; in TEST_F() local
1608 &error_msg, in TEST_F()
1616 &error_msg, in TEST_F()
1674 std::string error_msg; in TEST_F() local
1679 &error_msg, in TEST_F()
1684 ASSERT_EQ(WEXITSTATUS(status), 1) << error_msg; in TEST_F()
1690 std::string error_msg; in TEST_F() local
1695 &error_msg, in TEST_F()
1700 ASSERT_EQ(WEXITSTATUS(status), 1) << error_msg; in TEST_F()
1791 std::string error_msg; in TEST_F() local
1798 &error_msg)); in TEST_F()
1804 std::unique_ptr<const DexFile> dex_file(oat_dex->OpenDexFile(&error_msg)); in TEST_F()
1805 ASSERT_TRUE(dex_file != nullptr) << error_msg; in TEST_F()
1867 std::string error_msg; in TEST_F() local
1874 &error_msg)); in TEST_F()
1891 std::string error_msg; in TEST_F() local
1898 &error_msg)); in TEST_F()
1905 std::string error_msg; in TEST_F() local
1924 &error_msg)); in TEST_F()
1934 &error_msg)); in TEST_F()
1940 std::unique_ptr<const DexFile> dex_file(oat_dex->OpenDexFile(&error_msg)); in TEST_F()
1941 ASSERT_TRUE(dex_file != nullptr) << error_msg; in TEST_F()
2001 std::string error_msg; in TEST_F() local
2062 &error_msg)); in TEST_F()
2064 bool result = vdex->OpenAllDexFiles(&dex_files, &error_msg); in TEST_F()
2065 ASSERT_TRUE(result) << error_msg; in TEST_F()
2066 ASSERT_EQ(dex_files.size(), 1u) << error_msg; in TEST_F()
2099 std::string error_msg; in TEST_F() local
2104 &error_msg, in TEST_F()
2136 std::string error_msg; in TEST_F() local
2143 &error_msg, in TEST_F()
2151 &error_msg, in TEST_F()
2169 std::string error_msg; in TEST_F() local
2175 &error_msg)); in TEST_F()
2259 std::string error_msg; in TEST_F() local
2265 &error_msg)); in TEST_F()
2270 std::string error_msg; in TEST_F() local
2276 ZipArchive::OpenFromFd(zip_file->Release(), zip_location.c_str(), &error_msg)); in TEST_F()
2280 std::unique_ptr<ZipEntry> entry(zip_archive->Find(entry_name.c_str(), &error_msg)); in TEST_F()
2287 bool success = entry->ExtractToFile(*(dex_file.GetFile()), &error_msg); in TEST_F()
2379 std::string error_msg; in TEST_F() local
2385 &error_msg)); in TEST_F()
2393 &error_msg); in TEST_F()
2394 ASSERT_TRUE(space != nullptr) << error_msg; in TEST_F()
2548 std::string error_msg; in TEST_F() local
2553 &error_msg, in TEST_F()
2561 &error_msg, in TEST_F()