Lines Matching refs:app_image_file
487 std::string app_image_file = GetScratchDir() + "/Test.art"; local
492 new_args.push_back("--app-image-file=" + app_image_file);
499 app_image_file,
507 const std::string& app_image_file, in CheckResult() argument
525 EXPECT_GT(app_image_file.length(), 0u); in CheckResult()
526 std::unique_ptr<File> file(OS::OpenFileForReading(app_image_file.c_str())); in CheckResult()
556 ASSERT_TRUE(file != nullptr) << app_image_file; in CheckResult()
675 std::unique_ptr<File> app_image_file; local
678 app_image_file.reset(OS::CreateEmptyFile(app_image_file_name.c_str()));
679 copy.push_back("--app-image-fd=" + std::to_string(app_image_file->Fd()));
690 if (app_image_file != nullptr) {
691 ASSERT_EQ(app_image_file->FlushCloseOrErase(), 0) << "Could not flush and close art file";
710 std::string app_image_file = app_image ? (GetOdexDir() + "/DexOdexNoOat.art"): ""; in RunTest() local
717 app_image_file, in RunTest()
723 image_file_empty_profile = GetImageObjectSectionSize(app_image_file); in RunTest()
730 app_image_file, in RunTest()
735 CheckResult(dex_location, odex_location, app_image_file); in RunTest()
739 const uint64_t image_file_small_profile = GetImageObjectSectionSize(app_image_file); in RunTest()
1325 std::unique_ptr<File> app_image_file(OS::OpenFileForReading(app_image_name.c_str())); in TEST_F() local
1326 ASSERT_TRUE(app_image_file != nullptr); in TEST_F()
1327 EXPECT_GT(app_image_file->GetLength(), 0u); in TEST_F()
2136 ScratchFile app_image_file; in TEST_F() local
2142 { "--app-image-fd=" + std::to_string(app_image_file.GetFd()) }, in TEST_F()
2158 ASSERT_TRUE(app_image_file.GetFile()->PreadFully( in TEST_F()
2161 /*offset*/ 0u)) << app_image_file.GetFile()->GetLength(); in TEST_F()