/ohos5.0/base/update/updater/services/diffpatch/patch/ |
H A D | update_patch.cpp | 55 PATCH_LOGE("check param fail "); in PreCheck() 142 PATCH_LOGE("Failed to create stream"); in ApplyBlockPatch() 248 PATCH_LOGE("length error"); in ApplyPatch() 269 PATCH_LOGE("Invalid patch file"); in ApplyPatch() 279 PATCH_LOGE("Has beed init"); in Init() 283 PATCH_LOGE("Writer is null"); in Init() 294 PATCH_LOGE("Failed to check init"); in Write() 307 PATCH_LOGE("Failed to check init"); in Finish() 326 PATCH_LOGE("Has beed init"); in Init() 343 PATCH_LOGE("Failed to check init"); in Write() [all …]
|
H A D | blocks_patch.cpp | 66 PATCH_LOGE("Failed to read header "); in ApplyPatch() 133 PATCH_LOGE("Invalid control data size"); in ReadHeader() 137 PATCH_LOGE("Invalid new data size"); in ReadHeader() 141 PATCH_LOGE("Invalid patch data size"); in ReadHeader() 152 PATCH_LOGE("Failed to create reader"); in ReadHeader() 167 PATCH_LOGE("Failed to read diffLength"); in ReadControlData() 190 PATCH_LOGE("Failed to read header"); in ReadHeader() 206 PATCH_LOGE("Failed to read diff data"); in RestoreDiffData() 226 PATCH_LOGE("Failed to read extra data"); in RestoreExtraData() 241 PATCH_LOGE("Failed to read diff data"); in RestoreDiffData() [all …]
|
H A D | image_patch.cpp | 37 PATCH_LOGE("Failed to check datalen"); in ApplyImagePatch() 69 PATCH_LOGE("Failed to check datalen"); in ApplyImagePatch() 74 PATCH_LOGE("Failed to check datalen"); in ApplyImagePatch() 82 PATCH_LOGE("Failed to write chunk"); in ApplyImagePatch() 95 PATCH_LOGE("Failed to read header"); in StartReadHeader() 135 PATCH_LOGE("Failed to get file info"); in ApplyImagePatch() 168 PATCH_LOGE("Decompress data is null"); in DecompressData() 185 PATCH_LOGE("Failed to create stream"); in DecompressData() 192 PATCH_LOGE("Can not decompress buff"); in DecompressData() 200 PATCH_LOGE("Source inflation short"); in DecompressData() [all …]
|
H A D | image_patch.h | 41 PATCH_LOGE("Failed to memcpy"); in ReadLE()
|
/ohos5.0/base/update/updater/services/diffpatch/bzip2/ |
H A D | lz4_adapter.cpp | 47 PATCH_LOGE("Has been open"); in Open() 57 PATCH_LOGE("Memset failed"); in Open() 71 PATCH_LOGE("BufferSize must > 0"); in Open() 88 PATCH_LOGE("Failed to deflate data"); in Open() 99 PATCH_LOGE("Has been close"); in Close() 174 PATCH_LOGE("Failed write data "); in CompressData() 210 PATCH_LOGE("Has been open"); in Open() 230 PATCH_LOGE("Failed to memcpy "); in Open() 246 PATCH_LOGE("Has been close"); in Close() 276 PATCH_LOGE("Failed to memcpy "); in CompressData() [all …]
|
H A D | zip_adapter.cpp | 38 PATCH_LOGE("Has been open"); in Open() 42 PATCH_LOGE("Failed to memset stream"); in Open() 49 PATCH_LOGE("Failed to deflateInit2 ret %d", ret); in Open() 60 PATCH_LOGE("Has been close"); in Close() 65 PATCH_LOGE("Failed to deflateEnd %d", ret); in Close() 86 PATCH_LOGE("Failed to deflate data"); in WriteData() 99 PATCH_LOGE("WriteData : Failed to write data ret %d", ret); in WriteData() 103 PATCH_LOGE("WriteData : Failed to write data"); in WriteData() 123 PATCH_LOGE("Failed to deflate data"); in FlushData() 137 PATCH_LOGE("FlushData : Failed to write data ret %d", ret); in FlushData() [all …]
|
H A D | bzip2_adapter.cpp | 27 PATCH_LOGE("Failed to bzcompressinit %d", ret); in Open() 41 PATCH_LOGE("Failed to bz_compressEnd %d", ret); in Close() 76 PATCH_LOGE("BZipBuffer2Adapter::WriteData : Failed to write data"); in WriteData() 104 PATCH_LOGE("Failed to write data %d", ret); in FlushData() 172 PATCH_LOGE("Failed to write data %d", ret); in FlushData() 187 PATCH_LOGE("State error %d", init_); in Open() 200 PATCH_LOGE("Failed to open read mem ret %d", ret); in Open() 218 PATCH_LOGE("Failed to close read mem ret %d", ret); in Close() 228 PATCH_LOGE("State error %d", init_); in ReadData() 242 PATCH_LOGE("Failed to decompress ret %d", ret); in ReadData() [all …]
|
/ohos5.0/base/update/updater/services/diffpatch/diff/ |
H A D | update_diff.cpp | 59 PATCH_LOGE("Failed to get pkg manager"); in Parse() 64 PATCH_LOGE("Failed to read file"); in Parse() 71 PATCH_LOGE("Failed to create pkg stream"); in Parse() 99 PATCH_LOGE("Failed to get pkg manager"); in Extract() 117 PATCH_LOGE("Failed to extract data"); in Extract() 126 PATCH_LOGE("Failed to get file info"); in Extract() 146 PATCH_LOGE("Failed to create parser"); in MakePatch() 151 PATCH_LOGE("Failed to parse image"); in MakePatch() 159 PATCH_LOGE("Failed to diff file"); in MakePatch() 180 PATCH_LOGE("Failed to diff file"); in MakePatch() [all …]
|
H A D | image_diff.cpp | 55 PATCH_LOGE("Invalid parser"); in MakePatch() 63 PATCH_LOGE("Failed to get pkgbuffer"); in MakePatch() 81 PATCH_LOGE("Failed to split imgage"); in MakePatch() 251 PATCH_LOGE("Failed to write patch"); in DiffImage() 263 PATCH_LOGE("Invalid parser"); in MakePatch() 269 PATCH_LOGE("Failed to get pkgbuffer"); in MakePatch() 314 PATCH_LOGE("Failed to get pkgbuffer"); in DiffFile() 322 PATCH_LOGE("Failed to get new data"); in DiffFile() 343 PATCH_LOGE("Failed to get file info"); in DiffFile() 573 PATCH_LOGE("Can not get manager "); in CompressData() [all …]
|
H A D | blocks_diff.cpp | 86 PATCH_LOGE("Failed to generate patch"); in MakePatch() 104 PATCH_LOGE("Failed to generate patch"); in MakePatch() 108 PATCH_LOGE("Failed to make block patch"); in MakePatch() 123 PATCH_LOGE("Failed to generate patch"); in MakePatch() 145 PATCH_LOGE("Failed to get control data"); in MakePatch() 174 PATCH_LOGE("Failed to write diff data"); in WritePatchData() 227 PATCH_LOGE("Invalid patch size"); in WritePatchHeader() 234 PATCH_LOGE("Failed to copy magic"); in WritePatchHeader() 256 PATCH_LOGE("offset_ error"); in WritePatchHeader() 402 PATCH_LOGE("Failed to write data"); in WriteControlData() [all …]
|
/ohos5.0/base/update/updater/services/diffpatch/ |
H A D | diffpatch.cpp | 34 PATCH_LOGE("Failed to open %s", fileName.c_str()); in WriteDataToFile() 50 PATCH_LOGE("Failed to get realpath %s", fileName.c_str()); in PatchMapFile() 55 PATCH_LOGE("Failed to open file %s", fileName.c_str()); in PatchMapFile() 61 PATCH_LOGE("Failed to fstat"); in PatchMapFile() 72 PATCH_LOGE("Failed to memory map"); in PatchMapFile()
|
H A D | diffpatch.h | 35 #define PATCH_LOGE(format, ...) Logger(Updater::ERROR, (UPDATER_LOG_FILE_NAME), (__LINE__), format,… macro
|
/ohos5.0/base/update/updater/test/unittest/diffpatch/ |
H A D | diffpatch_unittest.cpp | 88 PATCH_LOGE("Failed to read patch file"); in TestApplyPatch() 93 PATCH_LOGE("Failed to read old file"); in TestApplyPatch() 108 PATCH_LOGE("Failed to apply image patch file"); in TestApplyPatch() 126 PATCH_LOGE("Failed to create writer"); in ImgageDiffPatchFileTest2() 151 PATCH_LOGE("Failed to read patch file"); in TestApplyBlockPatch() 156 PATCH_LOGE("Failed to read old file"); in TestApplyBlockPatch() 167 PATCH_LOGE("Failed to apply block patch file"); in TestApplyBlockPatch() 172 PATCH_LOGE("Failed to open %s", newName.c_str()); in TestApplyBlockPatch() 180 PATCH_LOGE("Failed to create writer"); in TestApplyBlockPatch()
|
H A D | bzip2_unittest.cpp | 185 PATCH_LOGE("Can not get manager "); in CompressData() 201 PATCH_LOGE("Can not Compress buff "); in CompressData() 216 PATCH_LOGE("Failed to create data writer"); in DeflateAdapterTest() 222 PATCH_LOGE("Failed to map file"); in DeflateAdapterTest() 229 PATCH_LOGE("Failed to compress file"); in DeflateAdapterTest() 244 PATCH_LOGE("Failed to create deflate adapter"); in DeflateAdapterTest() 255 PATCH_LOGE("Failed to compress data"); in DeflateAdapterTest()
|