/base/update/updater/test/fuzztest/package_fuzzer/ |
H A D | pkg_fuzz_test.h | 143 PKG_LOGI("comp [%zu] file name: %s \r\n", num, (TEST_PATH_TO + components[num]).c_str()); in ExtractFile() 154 PKG_LOGI("comp [%zu] componentAddr: %s \n", num, (*compInfo).fileInfo.identity.c_str()); in ExtractFile() 155 PKG_LOGI("comp [%zu] version: %s \n", num, (*compInfo).version.c_str()); in ExtractFile() 156 PKG_LOGI("comp [%zu] originalSize: %zu \n", num, (*compInfo).originalSize); in ExtractFile() 157 PKG_LOGI("comp [%zu] size: %zu \n", num, (*compInfo).fileInfo.unpackedSize); in ExtractFile() 158 PKG_LOGI("comp [%zu] id: %d \n", num, (*compInfo).id); in ExtractFile() 159 PKG_LOGI("comp [%zu] resType: %d \n", num, (*compInfo).resType); in ExtractFile() 160 PKG_LOGI("comp [%zu] flags: %d \n", num, (*compInfo).compFlags); in ExtractFile() 161 PKG_LOGI("comp [%zu] type: %d \n", num, (*compInfo).type); in ExtractFile() 164 PKG_LOGI("FileInf in ExtractFile() [all...] |
H A D | package_fuzzer.cpp | 142 PKG_LOGI("comp [%zu] file name: %s \r\n", n, (TEST_PATH_TO + componentsList[n]).c_str()); in TestPackageUnpack() 155 PKG_LOGI("file name: %s \r\n", (TEST_PATH_TO + componentsList[n]).c_str()); in TestZipPkgDecompress() 196 [](int32_t result, uint32_t percent) { PKG_LOGI("progress: %u\n", percent); }); in TestVerifyPackageWithCallback() 200 [](int32_t result, uint32_t percent) { PKG_LOGI("progress: %u\n", percent); }); in TestVerifyPackageWithCallback() 207 [](int32_t result, uint32_t percent) { PKG_LOGI("progress: %u\n", percent); }); in TestVerifyPackageWithCallback()
|
/base/update/updater/test/unittest/package/ |
H A D | pkg_test.h | 120 PKG_LOGI("comp [%zu] file name: %s \r\n", i, (TEST_PATH_TO + components[i]).c_str()); in ExtractFile() 134 PKG_LOGI("comp [%zu] componentAddr: %s \n", i, (*compInfo).fileInfo.identity.c_str()); in ExtractFile() 135 PKG_LOGI("comp [%zu] version: %s \n", i, (*compInfo).version.c_str()); in ExtractFile() 136 PKG_LOGI("comp [%zu] originalSize: %zu \n", i, (*compInfo).originalSize); in ExtractFile() 137 PKG_LOGI("comp [%zu] size: %zu \n", i, (*compInfo).fileInfo.unpackedSize); in ExtractFile() 138 PKG_LOGI("comp [%zu] id: %d \n", i, (*compInfo).id); in ExtractFile() 139 PKG_LOGI("comp [%zu] resType: %d \n", i, (*compInfo).resType); in ExtractFile() 140 PKG_LOGI("comp [%zu] flags: %d \n", i, (*compInfo).compFlags); in ExtractFile() 141 PKG_LOGI("comp [%zu] type: %d \n", i, (*compInfo).type); in ExtractFile() 144 PKG_LOGI("FileInf in ExtractFile() [all...] |
H A D | package_unittest.cpp | 145 PKG_LOGI("comp [%zu] file name: %s \r\n", i, (TEST_PATH_TO + components[i]).c_str()); in TestPackageUnpack() 165 PKG_LOGI("file name: %s \r\n", (TEST_PATH_TO + components[i]).c_str()); in TestZipPkgDecompress() 209 [](int32_t result, uint32_t percent) { PKG_LOGI("current progress: %u\n", percent); }); in TestVerifyPackageWithCallback() 214 [](int32_t result, uint32_t percent) { PKG_LOGI("current progress: %u\n", percent); }); in TestVerifyPackageWithCallback() 223 [](int32_t result, uint32_t percent) { PKG_LOGI("current progress: %u\n", percent); }); in TestVerifyPackageWithCallback()
|
H A D | pkg_manager_unittest.cpp | 93 PKG_LOGI("TestStreamProcess size %zu, start %zu finish %d", size, start, isFinish); in TestStreamProcess() 134 PKG_LOGI("\n\n ************* TestPackagePack %s \r\n", testPackageName.c_str()); in TestPackagePack() 149 PKG_LOGI("\n\n ************* TestPackagePackFileNotExist %s \r\n", testPackageName.c_str()); in TestPackagePackFileNotExist() 165 PKG_LOGI("\n\n ************* TestPackagePackParamInvalid %s \r\n", testPackageName.c_str()); in TestPackagePackParamInvalid() 396 PKG_LOGI("GetLz4UncompressedData packedSize:%zu unpackedSize:%zu fileSize: %zu", in CheckDataIntegrityLz4() 508 PKG_LOGI("GetGZipUncompressedData packedSize:%zu unpackedSize:%zu", in CheckDataIntegrityGzip()
|
/base/update/updater/services/package/pkg_package/ |
H A D | pkg_lz4file.cpp | 72 PKG_LOGI("Pack packedSize:%zu unpackedSize: %zu offset: %zu %zu", fileInfo_.fileInfo.packedSize,
in Pack() 102 PKG_LOGI("packedSize: %zu unpackedSize: %zu offset header: %zu data: %zu", fileInfo_.fileInfo.packedSize,
in Unpack() 139 PKG_LOGI("Add file %s to package", file->identity.c_str());
in AddEntry() 165 PKG_LOGI("offset:%zu ", currentOffset_);
in AddEntry() 183 PKG_LOGI("LoadPackage %s ", pkgStream_->GetFileName().c_str());
in LoadPackage() 200 PKG_LOGI("LoadPackage magic 0x%x", magicNumber);
in LoadPackage()
|
H A D | pkg_gzipfile.cpp | 166 PKG_LOGI("Pack packedSize:%zu unpackedSize: %zu offset: %zu %zu", fileInfo_.fileInfo.packedSize,
in Pack() 203 PKG_LOGI("packedSize: %zu unpackedSize: %zu offset header: %zu data: %zu", fileInfo_.fileInfo.packedSize,
in Unpack() 229 PKG_LOGI("packedSize: %zu unpackedSize: %zu offset header: %zu data: %zu", fileInfo_.fileInfo.packedSize,
in Unpack() 303 PKG_LOGI("GZipFileEntry::DecodeHeader dataOffset %zu, packedSize: %zu %zu", fileInfo_.fileInfo.dataOffset,
in DecodeHeader() 319 PKG_LOGI("Add file %s to package", file->identity.c_str());
in AddEntry() 363 PKG_LOGI("LoadPackage %s ", pkgStream_->GetFileName().c_str());
in LoadPackage()
|
H A D | pkg_pkgfile.cpp | 71 PKG_LOGI("ExtractFile %s", output->GetFileName().c_str());
in ExtractFile() 183 PKG_LOGI("SavePackage success file length: %zu signOffset %zu", pkgStream_->GetFileLength(), signOffset);
in AddSignData()
|
H A D | pkg_upgradefile.cpp | 101 PKG_LOGI("Add file %s to package", file->identity.c_str());
in GetEntryOffset() 153 PKG_LOGI("Header offset:%zu data offset:%zu packedFileSize: %zu", offset, dataOffset, packedFileSize_);
in AddEntry() 212 PKG_LOGI("SavePackage success file length: %zu signOffset %zu", pkgStream_->GetFileLength(), signOffset);
in WriteBuffer() 219 PKG_LOGI("SavePackage %s", pkgStream_->GetFileName().c_str());
in SavePackage() 348 PKG_LOGI("ignore image hash check");
in ReadImgHashData() 447 PKG_LOGI("LoadPackage %s ", pkgStream_->GetFileName().c_str());
in LoadPackage() 625 PKG_LOGI("Component packedSize %zu unpackedSize %zu %s", entry->GetFileInfo()->packedSize,
in SaveEntry() 827 PKG_LOGI("EncodeHeader startOffset: %zu %zu packedSize:%zu %zu ", headerOffset_, dataOffset_,
in EncodeHeader() 864 PKG_LOGI("Pack start:%zu unpackSize:%zu packSize:%zu", startOffset, fileInfo_.fileInfo.unpackedSize,
in Pack() 916 PKG_LOGI("Componen in DecodeHeader() [all...] |
H A D | pkg_zipfile.cpp | 54 PKG_LOGI("ZipPkgFile::AddEntry %s ", file->identity.c_str());
in AddEntry() 188 PKG_LOGI("LoadPackage %s :%zu", pkgStream_->GetFileName().c_str(), pkgStream_->GetFileLength());
in LoadPackage() 347 PKG_LOGI("Pack packedSize:%zu unpackedSize: %zu offset: %zu %zu", fileInfo_.fileInfo.packedSize,
in PackStream() 576 PKG_LOGI("DecodeLocalFileHeaderCheck: packedSize: %zu unpackedSize: %zu", packedSize, unpackedSize);
in DecodeLocalFileHeaderCheck() 696 PKG_LOGI("packedSize: %zu unpackedSize: %zu offset header: %zu data: %zu", fileInfo_.fileInfo.packedSize,
in Unpack() 755 PKG_LOGI("packedSize: %zu unpackedSize: %zu offset header: %zu data: %zu %s",
in DecodeHeader()
|
/base/update/updater/test/fuzztest/UpdaterStartUpdaterProc_fuzzer/ |
H A D | UpdaterStartUpdaterProc_fuzzer.cpp | 111 PKG_LOGI("\n\n ************* CreatePackageZip %s \r\n", testPackageName.c_str()); in CreatePackageZip() 145 PKG_LOGI("CreatePackage success offset"); in CreatePackageZip()
|
/base/update/updater/services/package/pkg_manager/ |
H A D | pkg_utils.h | 53 #define PKG_LOGI(format, ...) Logger(Updater::INFO, (UPDATER_LOG_FILE_NAME), (__LINE__), format, ##__VA_ARGS__) macro
|
H A D | pkg_managerImpl.cpp | 714 PKG_LOGI("Verify file %s success", packagePath.c_str());
in DoCreatePkgStream() 872 PKG_LOGI("Signature %zu %zu %s", offset, signDataLen, stream->GetFileName().c_str());
in DoCreatePkgStream() 922 PKG_LOGI("packedSize: %zu unpackedSize: %zu ", buffer.length, context.unpackedSize);
in DoCreatePkgStream() 954 PKG_LOGI("packedSize: %zu unpackedSize: %zu ", context.packedSize, context.unpackedSize);
in DoCreatePkgStream()
|
H A D | pkg_stream.cpp | 378 PKG_LOGI("FlowDataStream stop"); in Stop()
|
/base/update/updater/services/package/pkg_algorithm/ |
H A D | pkg_algo_lz4.cpp | 127 PKG_LOGI("frameInfo blockSizeID %d compressionLevel_: %d blockIndependence_:%d contentChecksumFlag_:%d %zu",
in Pack() 238 PKG_LOGI("frameInfo blockSizeID %d compressionLevel_: %d blockIndependence_:%d contentChecksumFlag_:%d",
in GetPackParam() 241 PKG_LOGI("blockSize %zu %zu %zu", blockSize, GetBlockSizeFromBlockId(blockSizeID_), outBuffSize);
in GetPackParam() 467 PKG_LOGI("Block size ID %d outBuffSize:%d", blockSizeID_, outBuffSize);
in Unpack()
|
H A D | pkg_algo_deflate.cpp | 222 PKG_LOGI("InitStream level_:%d method_:%d windowBits_:%d memLevel_:%d strategy_:%d",
in InitStream()
|
/base/update/updater/test/fuzztest/extractandexecutescript_fuzzer/ |
H A D | extractandexecutescript_fuzzer.cpp | 244 PKG_LOGI("\n\n ************* CreatePackageBin %s \r\n", testPackageName.c_str()); in CreatePackageBin() 278 PKG_LOGI("CreatePackage success offset"); in CreatePackageBin()
|
/base/update/updater/services/package/pkg_verify/ |
H A D | hash_data_verifier.cpp | 178 PKG_LOGI("verify hash signed data for %s successfully", fileName.c_str()); in VerifyHashData()
|
H A D | pkg_verify_util.cpp | 125 PKG_LOGI("verify package signature %s", ret == PKG_SUCCESS ? "successfull" : "failed"); in VerifyPackageSign()
|
H A D | pkcs7_signed_data.cpp | 111 PKG_LOGI("p7sourceData check success"); in Verify() 114 PKG_LOGI("p7sourceData continue"); in Verify()
|
/base/update/updater/test/fuzztest/scriptmanager_fuzzer/ |
H A D | scriptmanager_fuzzer.cpp | 71 PKG_LOGI("create pkg stream success for %s ", fileName.c_str());
|
/base/update/updater/test/unittest/updater_binary/ |
H A D | updater_binary_unittest.cpp | 128 PKG_LOGI("\n\n ************* CreatePackageBin %s \r\n", testPackageName.c_str()); in CreatePackageBin()
|