Home
last modified time | relevance | path

Searched refs:newSoPath (Results 1 – 17 of 17) sorted by relevance

/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/installd/
H A Dinstalld_operator.h230 static bool ScanSoFiles(const std::string &newSoPath, const std::string &originPath,
246 const std::string &newSoPath, int32_t uid);
312 const std::string &newSoPath, std::vector<std::string> &oldSoFileNames,
H A Dinstalld_host_impl.h183 const std::string &newSoPath, int32_t uid) override;
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_installd_client_test/
H A Dbms_installd_client_test.cpp993 std::string newSoPath = NEW_SO_PATH; variable
994 ErrCode result = installClient_->ApplyDiffPatch(oldSoPath, diffFilePath, newSoPath, 0);
1009 std::string newSoPath = NEW_SO_PATH; variable
1010 ErrCode result = installClient_->ApplyDiffPatch(oldSoPath, diffFilePath, newSoPath, 0);
1025 std::string newSoPath = EMPTY_STRING; variable
1026 ErrCode result = installClient_->ApplyDiffPatch(oldSoPath, diffFilePath, newSoPath, 0);
1041 std::string newSoPath = NEW_SO_PATH; variable
1042 ErrCode result = installClient_->ApplyDiffPatch(oldSoPath, diffFilePath, newSoPath);
1043 …t, installClient_->CallService(&IInstalld::ApplyDiffPatch, oldSoPath, diffFilePath, newSoPath, 0));
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/installd/
H A Dinstalld_operator.cpp1195 bool InstalldOperator::ScanSoFiles(const std::string &newSoPath, const std::string &originPath, in ScanSoFiles() argument
1222 if (!ScanSoFiles(newSoPath, originPath, currentDir, paths)) { in ScanSoFiles()
1235 …std::string subNewSoPath = GetPathDir(newSoPath + ServiceConstants::PATH_SEPARATOR + relativePath); in ScanSoFiles()
1312 oldSoPath.c_str(), diffFilePath.c_str(), newSoPath.c_str()); in ProcessApplyDiffPatchPath()
1313 if (oldSoPath.empty() || diffFilePath.empty() || newSoPath.empty()) { in ProcessApplyDiffPatchPath()
1321 if (!ScanSoFiles(newSoPath, oldSoPath, oldSoPath, oldSoFileNames)) { in ProcessApplyDiffPatchPath()
1326 if (!ScanSoFiles(newSoPath, diffFilePath, diffFilePath, diffFileNames)) { in ProcessApplyDiffPatchPath()
1336 if (!IsExistDir(newSoPath)) { in ProcessApplyDiffPatchPath()
1338 if (!MkRecursiveDir(newSoPath, true)) { in ProcessApplyDiffPatchPath()
1340 newSoPath.c_str()); in ProcessApplyDiffPatchPath()
[all …]
H A Dinstalld_host_impl.cpp1213 const std::string &newSoPath, int32_t uid) 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/test/mock/src/
H A Dinstalld_client.cpp308 const std::string &newSoPath, int32_t uid) 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.cpp171 const std::string &newSoPath, int32_t uid) in ApplyDiffPatch() argument
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/
H A Dinstalld_client.cpp373 const std::string &newSoPath, int32_t uid) 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.cpp2446 …std::string newSoPath = Constants::BUNDLE_CODE_DIR + ServiceConstants::PATH_SEPARATOR + bundleName… in ProcessDeployedHqfInfo() local
2450 if ((InstalldClient::GetInstance()->IsExistDir(newSoPath, isExist) != ERR_OK) || !isExist) { in ProcessDeployedHqfInfo()
2500 …std::string newSoPath = Constants::BUNDLE_CODE_DIR + ServiceConstants::PATH_SEPARATOR + bundleName… in ProcessDeployingHqfInfo() local
2504 if ((InstalldClient::GetInstance()->IsExistDir(newSoPath, isExist) != ERR_OK) || !isExist) { in ProcessDeployingHqfInfo()
2665 …std::string newSoPath = Constants::BUNDLE_CODE_DIR + ServiceConstants::PATH_SEPARATOR + bundleName… in ProcessDiffFiles() local
2668 …ret = InstalldClient::GetInstance()->ApplyDiffPatch(oldSoPath, tempDiffPath, newSoPath, bundleUid); in ProcessDiffFiles()
/ohos5.0/foundation/communication/ipc/ipc/native/src/core/source/
H A Dipc_object_proxy.cpp1098 std::string newSoPath = GetNewSoPath(); in IsDlclosed() local
1099 if (newSoPath.empty() || (newSoPath != soPath_)) { in IsDlclosed()
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/
H A Dinstalld_client.h169 const std::string &newSoPath, int32_t uid = Constants::INVALID_UID);
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/ipc/
H A Dinstalld_interface.h311 const std::string &newSoPath, int32_t uid) in ApplyDiffPatch() argument
H A Dinstalld_proxy.h184 const std::string &newSoPath, int32_t uid) override;
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/ipc/
H A Dinstalld_host.cpp614 std::string newSoPath = Str16ToStr8(data.ReadString16()); in HandleApplyDiffPatch() local
617 ErrCode result = ApplyDiffPatch(oldSoPath, diffFilePath, newSoPath, uid); in HandleApplyDiffPatch()
H A Dinstalld_proxy.cpp500 const std::string &newSoPath, int32_t uid) in ApplyDiffPatch() argument
506 INSTALLD_PARCEL_WRITE(data, String16, Str8ToStr16(newSoPath)); in ApplyDiffPatch()
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/quick_fix/
H A Dquick_fix_deployer.cpp846 std::string newSoPath = patchPath + ServiceConstants::PATH_SEPARATOR + libraryPath; in ProcessApplyDiffPatch() local
847 ret = InstalldClient::GetInstance()->ApplyDiffPatch(oldSoPath, diffFilePath, newSoPath, uid); in ProcessApplyDiffPatch()