Searched refs:zip_file (Results 1 – 2 of 2) sorted by relevance
/art/dex2oat/linker/ |
D | oat_writer_test.cc | 328 explicit ZipBuilder(File* zip_file) : zip_file_(zip_file) { } in ZipBuilder() argument 727 ScratchFile zip_file; in TestZipFileInput() local 728 ZipBuilder zip_builder(zip_file.GetFile()); in TestZipFileInput() 772 std::vector<const char*> input_filenames = { zip_file.GetFilename().c_str() }; in TestZipFileInput() 806 ASSERT_EQ(DexFileLoader::GetMultiDexLocation(0, zip_file.GetFilename().c_str()), in TestZipFileInput() 813 ASSERT_EQ(DexFileLoader::GetMultiDexLocation(1, zip_file.GetFilename().c_str()), in TestZipFileInput() 820 File zip_fd(DupCloexec(zip_file.GetFd()), /*check_usage=*/ false); in TestZipFileInput() 828 zip_file.GetFilename().c_str(), in TestZipFileInput() 855 ASSERT_EQ(DexFileLoader::GetMultiDexLocation(0, zip_file.GetFilename().c_str()), in TestZipFileInput() 862 ASSERT_EQ(DexFileLoader::GetMultiDexLocation(1, zip_file.GetFilename().c_str()), in TestZipFileInput() [all …]
|
/art/dex2oat/ |
D | dex2oat_test.cc | 2283 std::unique_ptr<File> zip_file(OS::OpenFileForReading(zip_location.c_str())); in TEST_F() local 2284 ASSERT_NE(-1, zip_file->Fd()); in TEST_F() 2287 ZipArchive::OpenFromFd(zip_file->Release(), zip_location.c_str(), &error_msg)); in TEST_F()
|