/bootable/recovery/tests/unit/ |
D | zip_test.cpp | 36 ZipArchiveHandle handle; in TEST() local 37 ASSERT_EQ(0, OpenArchiveFromMemory(map.addr, map.length, zip_path.c_str(), &handle)); in TEST() 42 ASSERT_EQ(0, FindEntry(handle, BINARY_PATH, &binary_entry)); in TEST() 46 ASSERT_EQ(0, ExtractEntryToFile(handle, &binary_entry, tmp_binary.fd)); in TEST() 48 CloseArchive(handle); in TEST()
|
D | updater_test.cpp | 228 void SetUpdaterOtaPackageHandle(ZipArchiveHandle handle) { in SetUpdaterOtaPackageHandle() argument 229 updater_.package_handle_ = handle; in SetUpdaterOtaPackageHandle() 349 ZipArchiveHandle handle; in TEST_F() local 350 ASSERT_EQ(0, OpenArchive(zip_path.c_str(), &handle)); in TEST_F() 353 SetUpdaterOtaPackageHandle(handle); in TEST_F()
|
/bootable/recovery/minui/ |
D | graphics_drm.h | 44 uint32_t handle) in GRSurfaceDrm() argument 45 : GRSurface(width, height, row_bytes, pixel_bytes), drm_fd_(drm_fd), handle(handle) {} in GRSurfaceDrm() 50 uint32_t handle{ 0 };
|
D | graphics_drm.cpp | 50 if (handle) { in ~GRSurfaceDrm() 52 gem_close.handle = handle; in ~GRSurfaceDrm() 111 width, height, create_dumb.pitch, create_dumb.bpp / 8, drm_fd, create_dumb.handle)); in Create() 115 handles[0] = surface->handle; in Create() 125 map_dumb.handle = create_dumb.handle; in Create()
|
/bootable/recovery/install/ |
D | verifier.cpp | 312 static std::vector<Certificate> IterateZipEntriesAndSearchForKeys(const ZipArchiveHandle& handle) { in IterateZipEntriesAndSearchForKeys() argument 314 int32_t iter_status = StartIteration(handle, &cookie, "", "x509.pem"); in IterateZipEntriesAndSearchForKeys() 328 ExtractToMemory(handle, &entry, pem_content.data(), pem_content.size()); in IterateZipEntriesAndSearchForKeys() 353 ZipArchiveHandle handle; in LoadKeysFromZipfile() local 354 if (int32_t open_status = OpenArchive(zip_name.c_str(), &handle); open_status != 0) { in LoadKeysFromZipfile() 359 std::vector<Certificate> result = IterateZipEntriesAndSearchForKeys(handle); in LoadKeysFromZipfile() 360 CloseArchive(handle); in LoadKeysFromZipfile()
|
/bootable/recovery/applypatch/ |
D | imgdiff.cpp | 657 ZipArchiveHandle handle; in Initialize() local 659 filename.c_str(), &handle); in Initialize() 662 CloseArchive(handle); in Initialize() 666 if (!InitializeChunks(filename, handle)) { in Initialize() 667 CloseArchive(handle); in Initialize() 671 CloseArchive(handle); in Initialize() 676 bool ZipModeImage::InitializeChunks(const std::string& filename, ZipArchiveHandle handle) { in InitializeChunks() argument 678 int ret = StartIteration(handle, &cookie); in InitializeChunks() 706 if (!AddZipEntryToChunks(handle, entry.first, &entry.second)) { in InitializeChunks() 734 if (!AddZipEntryToChunks(handle, entry_name, &temp_entries[nextentry].second)) { in InitializeChunks() [all …]
|
/bootable/recovery/recovery_utils/include/recovery_utils/ |
D | logging.h | 39 void SetLoggingSehandle(selabel_handle* handle);
|
/bootable/recovery/applypatch/include/applypatch/ |
D | imgdiff_image.h | 258 bool InitializeChunks(const std::string& filename, ZipArchiveHandle handle); 260 bool AddZipEntryToChunks(ZipArchiveHandle handle, const std::string& entry_name, ZipEntry* entry);
|
/bootable/recovery/recovery_utils/ |
D | logging.cpp | 55 void SetLoggingSehandle(selabel_handle* handle) { in SetLoggingSehandle() argument 56 logging_sehandle = handle; in SetLoggingSehandle()
|