Home
last modified time | relevance | path

Searched refs:PATCH_LOGE (Results 1 - 14 of 14) sorted by relevance

/base/update/updater/services/diffpatch/bzip2/
H A Dlz4_adapter.cpp47 PATCH_LOGE("Has been open"); in Open()
53 PATCH_LOGE("Failed to create compress context %s", LZ4F_getErrorName(errorCode)); in Open()
57 PATCH_LOGE("Memset failed"); in Open()
71 PATCH_LOGE("BufferSize must > 0"); in Open()
83 PATCH_LOGE("Failed to generate header %s", LZ4F_getErrorName(dataSize)); in Open()
88 PATCH_LOGE("Failed to deflate data"); in Open()
99 PATCH_LOGE("Has been close"); in Close()
104 PATCH_LOGE("Failed to free compress context %s", LZ4F_getErrorName(errorCode)); in Close()
118 PATCH_LOGE("Failed to copy data "); in WriteData()
126 PATCH_LOGE("Faile in WriteData()
[all...]
H A Dzip_adapter.cpp38 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("FlushDat in FlushData()
[all...]
H A Dbzip2_adapter.cpp27 PATCH_LOGE("Failed to bzcompressinit %d", ret); in Open()
41 PATCH_LOGE("Failed to bz_compressEnd %d", ret); in Close()
72 PATCH_LOGE("BZipBuffer2Adapter::WriteData : Failed to write data ret %d", ret); in WriteData()
76 PATCH_LOGE("BZipBuffer2Adapter::WriteData : Failed to write data"); in WriteData()
104 PATCH_LOGE("Failed to write data %d", ret); in FlushData()
140 PATCH_LOGE("BZip2StreamAdapter::WriteData : Failed to write data ret %d", ret); in WriteData()
144 PATCH_LOGE("BZip2StreamAdapter::WriteData : Failed to write data"); in WriteData()
172 PATCH_LOGE("Failed to write data %d", ret); in FlushData()
187 PATCH_LOGE("State error %d", init_); in Open()
191 PATCH_LOGE("Invali in Open()
[all...]
/base/update/updater/services/diffpatch/patch/
H A Dupdate_patch.cpp31 PATCH_LOGE("ApplyImagePatch : processor is null"); in ApplyImagePatch()
36 PATCH_LOGE("ApplyImagePatch : Failed to create patch writer"); in ApplyImagePatch()
41 PATCH_LOGE("ApplyImagePatch : Failed to init patch writer"); in ApplyImagePatch()
46 PATCH_LOGE("ApplyImagePatch : Failed to apply image patch"); in ApplyImagePatch()
55 PATCH_LOGE("check param fail "); in PreCheck()
59 PATCH_LOGE("patch too short to contain header "); in PreCheck()
63 PATCH_LOGE("corrupt patch file header (magic number) "); in PreCheck()
83 PATCH_LOGE("Failed to read chunk record "); in ApplyImagePatch()
107 PATCH_LOGE("Failed to creareimg patch "); in ApplyImagePatch()
112 PATCH_LOGE("Appl in ApplyImagePatch()
[all...]
H A Dblocks_patch.cpp66 PATCH_LOGE("Failed to read header "); in ApplyPatch()
74 PATCH_LOGE("Failed to read control data"); in ApplyPatch()
78 PATCH_LOGE("Failed to check new offset %ld %zu", ctrlData.diffLength, newOffset_); in ApplyPatch()
84 PATCH_LOGE("Failed to read diff data"); in ApplyPatch()
90 PATCH_LOGE("Failed to check new offset %ld %zu", ctrlData.diffLength, newOffset_); in ApplyPatch()
96 PATCH_LOGE("Failed to read extra data"); in ApplyPatch()
113 PATCH_LOGE("Invalid parm"); in ReadHeader()
121 PATCH_LOGE("Corrupt patch, patch head != BSDIFF40"); in ReadHeader()
133 PATCH_LOGE("Invalid control data size"); in ReadHeader()
137 PATCH_LOGE("Invali in ReadHeader()
[all...]
H A Dimage_patch.cpp37 PATCH_LOGE("Failed to check datalen"); in ApplyImagePatch()
49 PATCH_LOGE("error, srcStart: %zu srcLen: %zu , param.oldSize: %zu, patchOffset: %zu", in ApplyImagePatch()
58 PATCH_LOGE("Failed to apply bsdiff patch"); 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()
102 PATCH_LOGE("Failed to check patch"); in StartReadHeader()
119 PATCH_LOGE("CreatePackageInstance fail"); in ApplyImagePatch()
128 PATCH_LOGE("Faile in ApplyImagePatch()
[all...]
H A Dimage_patch.h41 PATCH_LOGE("Failed to memcpy"); in ReadLE()
/base/update/updater/services/diffpatch/diff/
H A Dupdate_diff.cpp59 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()
130 PATCH_LOGE("Failed to check uncompress data size %zu %zu", fileInfo->unpackedSize, bufferSize); in Extract()
146 PATCH_LOGE("Failed to create parser"); in MakePatch()
151 PATCH_LOGE("Failed to parse image"); in MakePatch()
159 PATCH_LOGE("Faile in MakePatch()
[all...]
H A Dblocks_diff.cpp68 PATCH_LOGE("Failed to open %s", strerror(errno)); in MakePatch()
77 PATCH_LOGE("Failed to open %s", newFileName.c_str()); in MakePatch()
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()
136 PATCH_LOGE("Failed to create SuffixArray"); in MakePatch()
145 PATCH_LOGE("Failed to get control data"); in MakePatch()
158 PATCH_LOGE("Failed to write patch header"); in WritePatchData()
165 PATCH_LOGE("Faile in WritePatchData()
[all...]
H A Dimage_diff.cpp55 PATCH_LOGE("Invalid parser"); in MakePatch()
63 PATCH_LOGE("Failed to get pkgbuffer"); in MakePatch()
81 PATCH_LOGE("Failed to split imgage"); in MakePatch()
124 PATCH_LOGE("Failed to make block patch"); in WriteHeader()
161 PATCH_LOGE("Failed to make block patch"); in MakeBlockPatch()
170 PATCH_LOGE("Failed to make block patch"); in MakeBlockPatch()
213 PATCH_LOGE("Failed to open %s", patchName.c_str()); in DiffImage()
233 PATCH_LOGE("Failed to open bspatch %s", patchName.c_str()); in DiffImage()
244 PATCH_LOGE("Failed to write header"); in DiffImage()
251 PATCH_LOGE("Faile in DiffImage()
[all...]
/base/update/updater/services/diffpatch/
H A Ddiffpatch.cpp34 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 Ddiffpatch.h35 #define PATCH_LOGE(format, ...) Logger(Updater::ERROR, (UPDATER_LOG_FILE_NAME), (__LINE__), format, ##__VA_ARGS__) macro
/base/update/updater/test/unittest/diffpatch/
H A Ddiffpatch_unittest.cpp88 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 Dbzip2_unittest.cpp185 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()

Completed in 12 milliseconds