/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_others/quickfixdeployer_fuzzer/ |
H A D | quickfixdeployer_fuzzer.cpp | 135 std::string oldSoPath(data, size); in DoSomething2() 137 appQuickFix.deployingAppqfInfo.hqfInfos[0], oldSoPath, hqfSoPath, reinterpret_cast<uintptr_t>(data)); in DoSomething2() 138 quickFixDeployer.ExtractEncryptedSoFiles(bundleInfo, moduleName, reinterpret_cast<uintptr_t>(data), oldSoPath); in DoSomething2() 144 quickFixDeployer.VerifyCodeSignatureForHqf(innerAppQuickFix, oldSoPath); in DoSomething2()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/mock/src/ |
H A D | installd_client.cpp | 302 ErrCode InstalldClient::ApplyDiffPatch(const std::string &oldSoPath, const std::string &diffFilePath, in ApplyDiffPatch() argument 305 if (oldSoPath.empty() || diffFilePath.empty() || newSoPath.empty()) { in ApplyDiffPatch() 308 return CallService(&IInstalld::ApplyDiffPatch, oldSoPath, diffFilePath, newSoPath, uid); in ApplyDiffPatch()
|
H A D | mock_installd_host_impl.cpp | 168 ErrCode InstalldHostImpl::ApplyDiffPatch(const std::string &oldSoPath, const std::string &diffFilePath,
in ApplyDiffPatch() argument
|
H A D | mock_install_client.cpp | 188 const std::string &oldSoPath, const std::string &diffFilePath, const std::string &newSoPath, int32_t uid) in ApplyDiffPatch() 187 ApplyDiffPatch( const std::string &oldSoPath, const std::string &diffFilePath, const std::string &newSoPath, int32_t uid) ApplyDiffPatch() argument
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/installd/ |
H A D | installd_operator.h | 233 static bool ApplyDiffPatch(const std::string &oldSoPath, const std::string &diffFilePath, 313 static bool ProcessApplyDiffPatchPath(const std::string &oldSoPath, const std::string &diffFilePath,
|
H A D | installd_host_impl.h | 179 virtual ErrCode ApplyDiffPatch(const std::string &oldSoPath, const std::string &diffFilePath,
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_installd_client_test/ |
H A D | bms_installd_client_test.cpp | 45 const std::string OLD_SO_PATH = "oldSoPath"; 984 * @tc.desc: Test whether ApplyDiffPatch is called normally.(oldSoPath is empty) 989 std::string oldSoPath = EMPTY_STRING; in HWTEST_F() local 992 ErrCode result = installClient_->ApplyDiffPatch(oldSoPath, diffFilePath, newSoPath, 0); in HWTEST_F() 1005 std::string oldSoPath = OLD_SO_PATH; in HWTEST_F() local 1008 ErrCode result = installClient_->ApplyDiffPatch(oldSoPath, diffFilePath, newSoPath, 0); in HWTEST_F() 1021 std::string oldSoPath = OLD_SO_PATH; in HWTEST_F() local 1024 ErrCode result = installClient_->ApplyDiffPatch(oldSoPath, diffFilePath, newSoPath, 0); in HWTEST_F() 1037 std::string oldSoPath = OLD_SO_PATH; in HWTEST_F() local 1040 ErrCode result = installClient_->ApplyDiffPatch(oldSoPath, diffFilePat in HWTEST_F() [all...] |
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/quick_fix/ |
H A D | quick_fix_deployer.h | 114 const std::string &oldSoPath, const std::string &patchPath, int32_t uid = Constants::INVALID_UID);
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_installer_test/ |
H A D | bms_bundle_installer_permission_test.cpp | 531 std::string oldSoPath = "test.old.so.path"; in HWTEST_F() local 535 ErrCode ret = installdHostImpl.ApplyDiffPatch(oldSoPath, diffFilePath, newSoPath, uid); in HWTEST_F() 538 ret = installdHostImpl.ApplyDiffPatch(oldSoPath, diffFilePath, newSoPath, uid); in HWTEST_F()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/ |
H A D | installd_client.cpp | 361 ErrCode InstalldClient::ApplyDiffPatch(const std::string &oldSoPath, const std::string &diffFilePath, in ApplyDiffPatch() argument 364 if (oldSoPath.empty() || diffFilePath.empty() || newSoPath.empty()) { in ApplyDiffPatch() 368 return CallService(&IInstalld::ApplyDiffPatch, oldSoPath, diffFilePath, newSoPath, uid); in ApplyDiffPatch()
|
H A D | base_bundle_installer.cpp | 2661 std::string oldSoPath = std::string(ServiceConstants::HAP_COPY_PATH) + ServiceConstants::PATH_SEPARATOR + in ProcessDiffFiles() local 2663 ScopeGuard guardRemoveOldSoPath([oldSoPath] {InstalldClient::GetInstance()->RemoveDir(oldSoPath);}); in ProcessDiffFiles() 2679 if (!ExtractEncryptedSoFiles(innerBundleInfo, oldSoPath, bundleUid)) { in ProcessDiffFiles() 2684 if (!ExtractSoFiles(oldSoPath, cpuAbi)) { in ProcessDiffFiles() 2703 ret = InstalldClient::GetInstance()->ApplyDiffPatch(oldSoPath, tempDiffPath, newSoPath, bundleUid); in ProcessDiffFiles()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/installd/ |
H A D | installd_operator.cpp | 1186 const std::string &oldSoPath, const std::string &diffFilePath, in ProcessApplyDiffPatchPath() 1189 LOG_I(BMS_TAG_INSTALLD, "oldSoPath: %{public}s, diffFilePath: %{public}s, newSoPath: %{public}s", in ProcessApplyDiffPatchPath() 1190 oldSoPath.c_str(), diffFilePath.c_str(), newSoPath.c_str()); in ProcessApplyDiffPatchPath() 1191 if (oldSoPath.empty() || diffFilePath.empty() || newSoPath.empty()) { in ProcessApplyDiffPatchPath() 1194 if (!IsExistDir(oldSoPath) || !IsExistDir(diffFilePath)) { in ProcessApplyDiffPatchPath() 1195 LOG_E(BMS_TAG_INSTALLD, "oldSoPath or diffFilePath not exist"); in ProcessApplyDiffPatchPath() 1199 if (!ScanSoFiles(newSoPath, oldSoPath, oldSoPath, oldSoFileNames)) { in ProcessApplyDiffPatchPath() 1200 LOG_E(BMS_TAG_INSTALLD, "ScanSoFiles oldSoPath failed"); in ProcessApplyDiffPatchPath() 1226 bool InstalldOperator::ApplyDiffPatch(const std::string &oldSoPath, cons argument 1185 ProcessApplyDiffPatchPath( const std::string &oldSoPath, const std::string &diffFilePath, const std::string &newSoPath, std::vector<std::string> &oldSoFileNames, std::vector<std::string> &diffFileNames) ProcessApplyDiffPatchPath() argument [all...] |
H A D | installd_host_impl.cpp | 1160 ErrCode InstalldHostImpl::ApplyDiffPatch(const std::string &oldSoPath, const std::string &diffFilePath, in ApplyDiffPatch() argument 1163 if (oldSoPath.empty() || diffFilePath.empty() || newSoPath.empty()) { in ApplyDiffPatch() 1171 if (!InstalldOperator::ApplyDiffPatch(oldSoPath, diffFilePath, newSoPath, uid)) { in ApplyDiffPatch()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/ |
H A D | installd_client.h | 165 ErrCode ApplyDiffPatch(const std::string &oldSoPath, const std::string &diffFilePath,
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/ipc/ |
H A D | installd_interface.h | 304 virtual ErrCode ApplyDiffPatch(const std::string &oldSoPath, const std::string &diffFilePath, in ApplyDiffPatch() argument
|
H A D | installd_proxy.h | 180 virtual ErrCode ApplyDiffPatch(const std::string &oldSoPath, const std::string &diffFilePath,
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/quick_fix/ |
H A D | quick_fix_deployer.cpp | 827 const std::string &oldSoPath, const std::string &patchPath, int32_t uid) in ProcessApplyDiffPatch() 847 ret = InstalldClient::GetInstance()->ApplyDiffPatch(oldSoPath, diffFilePath, newSoPath, uid); in ProcessApplyDiffPatch() 826 ProcessApplyDiffPatch(const AppQuickFix &appQuickFix, const HqfInfo &hqf, const std::string &oldSoPath, const std::string &patchPath, int32_t uid) ProcessApplyDiffPatch() argument
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/ipc/ |
H A D | installd_host.cpp | 585 std::string oldSoPath = Str16ToStr8(data.ReadString16()); in HandleApplyDiffPatch() local 590 ErrCode result = ApplyDiffPatch(oldSoPath, diffFilePath, newSoPath, uid); in HandleApplyDiffPatch()
|
H A D | installd_proxy.cpp | 470 ErrCode InstalldProxy::ApplyDiffPatch(const std::string &oldSoPath, const std::string &diffFilePath, in ApplyDiffPatch() argument 475 INSTALLD_PARCEL_WRITE(data, String16, Str8ToStr16(oldSoPath)); in ApplyDiffPatch()
|