Home
last modified time | relevance | path

Searched refs:oldSoPath (Results 1 – 18 of 18) sorted by relevance

/ohos5.0/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_others/quickfixdeployer_fuzzer/
H A Dquickfixdeployer_fuzzer.cpp135 std::string oldSoPath(data, size); in DoSomething2() local
137 …appQuickFix.deployingAppqfInfo.hqfInfos[0], oldSoPath, hqfSoPath, reinterpret_cast<uintptr_t>(data… in DoSomething2()
138 …oyer.ExtractEncryptedSoFiles(bundleInfo, moduleName, reinterpret_cast<uintptr_t>(data), oldSoPath); in DoSomething2()
144 quickFixDeployer.VerifyCodeSignatureForHqf(innerAppQuickFix, oldSoPath); in DoSomething2()
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_installd_client_test/
H A Dbms_installd_client_test.cpp991 std::string oldSoPath = EMPTY_STRING; variable
994 ErrCode result = installClient_->ApplyDiffPatch(oldSoPath, diffFilePath, newSoPath, 0);
1007 std::string oldSoPath = OLD_SO_PATH; variable
1010 ErrCode result = installClient_->ApplyDiffPatch(oldSoPath, diffFilePath, newSoPath, 0);
1023 std::string oldSoPath = OLD_SO_PATH; variable
1026 ErrCode result = installClient_->ApplyDiffPatch(oldSoPath, diffFilePath, newSoPath, 0);
1039 std::string oldSoPath = OLD_SO_PATH; variable
1042 ErrCode result = installClient_->ApplyDiffPatch(oldSoPath, diffFilePath, newSoPath);
1043 …EXPECT_EQ(result, installClient_->CallService(&IInstalld::ApplyDiffPatch, oldSoPath, diffFilePath,…
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/mock/src/
H A Dinstalld_client.cpp307 ErrCode InstalldClient::ApplyDiffPatch(const std::string &oldSoPath, const std::string &diffFilePat… in ApplyDiffPatch() argument
310 if (oldSoPath.empty() || diffFilePath.empty() || newSoPath.empty()) { in ApplyDiffPatch()
313 return CallService(&IInstalld::ApplyDiffPatch, oldSoPath, diffFilePath, newSoPath, uid); in ApplyDiffPatch()
H A Dmock_install_client.cpp195 …const std::string &oldSoPath, const std::string &diffFilePath, const std::string &newSoPath, int32… in ApplyDiffPatch() argument
H A Dmock_installd_host_impl.cpp170 ErrCode InstalldHostImpl::ApplyDiffPatch(const std::string &oldSoPath, const std::string &diffFileP… in ApplyDiffPatch() argument
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/installd/
H A Dinstalld_operator.h245 static bool ApplyDiffPatch(const std::string &oldSoPath, const std::string &diffFilePath,
311 …static bool ProcessApplyDiffPatchPath(const std::string &oldSoPath, const std::string &diffFilePat…
H A Dinstalld_host_impl.h182 virtual ErrCode ApplyDiffPatch(const std::string &oldSoPath, const std::string &diffFilePath,
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/
H A Dinstalld_client.cpp372 ErrCode InstalldClient::ApplyDiffPatch(const std::string &oldSoPath, const std::string &diffFilePat… in ApplyDiffPatch() argument
375 if (oldSoPath.empty() || diffFilePath.empty() || newSoPath.empty()) { in ApplyDiffPatch()
379 return CallService(&IInstalld::ApplyDiffPatch, oldSoPath, diffFilePath, newSoPath, uid); in ApplyDiffPatch()
H A Dbase_bundle_installer.cpp2628 std::string oldSoPath = ServiceConstants::HAP_COPY_PATH + ServiceConstants::PATH_SEPARATOR + in ProcessDiffFiles() local
2630 …ScopeGuard guardRemoveOldSoPath([oldSoPath] {InstalldClient::GetInstance()->RemoveDir(oldSoPath);}… in ProcessDiffFiles()
2646 if (!ExtractEncryptedSoFiles(innerBundleInfo, oldSoPath, bundleUid)) { in ProcessDiffFiles()
2651 if (!ExtractSoFiles(oldSoPath, cpuAbi)) { in ProcessDiffFiles()
2668 …ret = InstalldClient::GetInstance()->ApplyDiffPatch(oldSoPath, tempDiffPath, newSoPath, bundleUid); in ProcessDiffFiles()
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/quick_fix/
H A Dquick_fix_deployer.h114 … const std::string &oldSoPath, const std::string &patchPath, int32_t uid = Constants::INVALID_UID);
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/installd/
H A Dinstalld_operator.cpp1308 const std::string &oldSoPath, const std::string &diffFilePath, in ProcessApplyDiffPatchPath() argument
1312 oldSoPath.c_str(), diffFilePath.c_str(), newSoPath.c_str()); in ProcessApplyDiffPatchPath()
1313 if (oldSoPath.empty() || diffFilePath.empty() || newSoPath.empty()) { in ProcessApplyDiffPatchPath()
1316 if (!IsExistDir(oldSoPath) || !IsExistDir(diffFilePath)) { in ProcessApplyDiffPatchPath()
1321 if (!ScanSoFiles(newSoPath, oldSoPath, oldSoPath, oldSoFileNames)) { in ProcessApplyDiffPatchPath()
1348 bool InstalldOperator::ApplyDiffPatch(const std::string &oldSoPath, const std::string &diffFilePath, in ApplyDiffPatch() argument
H A Dinstalld_host_impl.cpp1212 ErrCode InstalldHostImpl::ApplyDiffPatch(const std::string &oldSoPath, const std::string &diffFileP… in ApplyDiffPatch() argument
1215 if (oldSoPath.empty() || diffFilePath.empty() || newSoPath.empty()) { in ApplyDiffPatch()
1223 if (!InstalldOperator::ApplyDiffPatch(oldSoPath, diffFilePath, newSoPath, uid)) { in ApplyDiffPatch()
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/
H A Dinstalld_client.h168 ErrCode ApplyDiffPatch(const std::string &oldSoPath, const std::string &diffFilePath,
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/ipc/
H A Dinstalld_interface.h310 virtual ErrCode ApplyDiffPatch(const std::string &oldSoPath, const std::string &diffFilePath, in ApplyDiffPatch() argument
H A Dinstalld_proxy.h183 virtual ErrCode ApplyDiffPatch(const std::string &oldSoPath, const std::string &diffFilePath,
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/ipc/
H A Dinstalld_host.cpp612 std::string oldSoPath = Str16ToStr8(data.ReadString16()); in HandleApplyDiffPatch() local
617 ErrCode result = ApplyDiffPatch(oldSoPath, diffFilePath, newSoPath, uid); in HandleApplyDiffPatch()
H A Dinstalld_proxy.cpp499 ErrCode InstalldProxy::ApplyDiffPatch(const std::string &oldSoPath, const std::string &diffFilePath, in ApplyDiffPatch() argument
504 INSTALLD_PARCEL_WRITE(data, String16, Str8ToStr16(oldSoPath)); in ApplyDiffPatch()
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/quick_fix/
H A Dquick_fix_deployer.cpp827 const std::string &oldSoPath, const std::string &patchPath, int32_t uid) in ProcessApplyDiffPatch() argument
847 ret = InstalldClient::GetInstance()->ApplyDiffPatch(oldSoPath, diffFilePath, newSoPath, uid); in ProcessApplyDiffPatch()