Lines Matching refs:app_image_file
502 std::string app_image_file = GetScratchDir() + "/Test.art"; local
507 new_args.push_back("--app-image-file=" + app_image_file);
514 app_image_file,
522 const std::string& app_image_file, in CheckResult() argument
539 EXPECT_GT(app_image_file.length(), 0u); in CheckResult()
540 std::unique_ptr<File> file(OS::OpenFileForReading(app_image_file.c_str())); in CheckResult()
570 ASSERT_TRUE(file != nullptr) << app_image_file; in CheckResult()
687 std::unique_ptr<File> app_image_file; local
690 app_image_file.reset(OS::CreateEmptyFile(app_image_file_name.c_str()));
691 copy.push_back("--app-image-fd=" + std::to_string(app_image_file->Fd()));
702 if (app_image_file != nullptr) {
703 ASSERT_EQ(app_image_file->FlushCloseOrErase(), 0) << "Could not flush and close art file";
722 std::string app_image_file = app_image ? (GetOdexDir() + "/DexOdexNoOat.art"): ""; in RunTest() local
729 app_image_file, in RunTest()
735 image_file_empty_profile = GetImageObjectSectionSize(app_image_file); in RunTest()
742 app_image_file, in RunTest()
747 CheckResult(dex_location, odex_location, app_image_file); in RunTest()
751 const uint64_t image_file_small_profile = GetImageObjectSectionSize(app_image_file); in RunTest()
1357 std::unique_ptr<File> app_image_file(OS::OpenFileForReading(app_image_name.c_str())); in TEST_F() local
1358 ASSERT_TRUE(app_image_file != nullptr); in TEST_F()
1359 EXPECT_GT(app_image_file->GetLength(), 0u); in TEST_F()
2168 ScratchFile app_image_file; in TEST_F() local
2174 { "--app-image-fd=" + std::to_string(app_image_file.GetFd()) }, in TEST_F()
2189 ASSERT_TRUE(app_image_file.GetFile()->PreadFully( in TEST_F()
2192 /*offset*/ 0u)) << app_image_file.GetFile()->GetLength(); in TEST_F()