Home
last modified time | relevance | path

Searched refs:newSoPath (Results 1 - 19 of 19) sorted by relevance

/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/installd/
H A Dinstalld_operator.h218 static bool ScanSoFiles(const std::string &newSoPath, const std::string &originPath,
234 const std::string &newSoPath, int32_t uid);
314 const std::string &newSoPath, std::vector<std::string> &oldSoFileNames,
H A Dinstalld_host_impl.h180 const std::string &newSoPath, int32_t uid) override;
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/mock/src/
H A Dinstalld_client.cpp303 const std::string &newSoPath, int32_t uid) in ApplyDiffPatch()
305 if (oldSoPath.empty() || diffFilePath.empty() || newSoPath.empty()) { in ApplyDiffPatch()
308 return CallService(&IInstalld::ApplyDiffPatch, oldSoPath, diffFilePath, newSoPath, uid); in ApplyDiffPatch()
302 ApplyDiffPatch(const std::string &oldSoPath, const std::string &diffFilePath, const std::string &newSoPath, int32_t uid) ApplyDiffPatch() argument
H A Dmock_installd_host_impl.cpp169 const std::string &newSoPath, int32_t uid) in ApplyDiffPatch()
168 ApplyDiffPatch(const std::string &oldSoPath, const std::string &diffFilePath, const std::string &newSoPath, int32_t uid) ApplyDiffPatch() argument
H A Dmock_install_client.cpp188 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/src/installd/
H A Dinstalld_operator.cpp1073 bool InstalldOperator::ScanSoFiles(const std::string &newSoPath, const std::string &originPath, in ScanSoFiles() argument
1100 if (!ScanSoFiles(newSoPath, originPath, currentDir, paths)) { in ScanSoFiles()
1113 std::string subNewSoPath = GetPathDir(newSoPath + ServiceConstants::PATH_SEPARATOR + relativePath); in ScanSoFiles()
1187 const std::string &newSoPath, std::vector<std::string> &oldSoFileNames, std::vector<std::string> &diffFileNames) 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()
1199 if (!ScanSoFiles(newSoPath, oldSoPath, oldSoPath, oldSoFileNames)) { in ProcessApplyDiffPatchPath()
1204 if (!ScanSoFiles(newSoPath, diffFilePath, diffFilePath, diffFileNames)) { in ProcessApplyDiffPatchPath()
1214 if (!IsExistDir(newSoPath)) { in ProcessApplyDiffPatchPath()
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
1226 ApplyDiffPatch(const std::string &oldSoPath, const std::string &diffFilePath, const std::string &newSoPath, int32_t uid) ApplyDiffPatch() argument
[all...]
H A Dinstalld_host_impl.cpp1161 const std::string &newSoPath, int32_t uid) in ApplyDiffPatch()
1163 if (oldSoPath.empty() || diffFilePath.empty() || newSoPath.empty()) { in ApplyDiffPatch()
1171 if (!InstalldOperator::ApplyDiffPatch(oldSoPath, diffFilePath, newSoPath, uid)) { in ApplyDiffPatch()
1160 ApplyDiffPatch(const std::string &oldSoPath, const std::string &diffFilePath, const std::string &newSoPath, int32_t uid) ApplyDiffPatch() argument
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_installd_client_test/
H A Dbms_installd_client_test.cpp47 const std::string NEW_SO_PATH = "newSoPath";
991 std::string newSoPath = NEW_SO_PATH; in HWTEST_F() local
992 ErrCode result = installClient_->ApplyDiffPatch(oldSoPath, diffFilePath, newSoPath, 0); in HWTEST_F()
1007 std::string newSoPath = NEW_SO_PATH; in HWTEST_F() local
1008 ErrCode result = installClient_->ApplyDiffPatch(oldSoPath, diffFilePath, newSoPath, 0); in HWTEST_F()
1016 * @tc.desc: Test whether ApplyDiffPatch is called normally.(newSoPath is empty)
1023 std::string newSoPath = EMPTY_STRING; in HWTEST_F() local
1024 ErrCode result = installClient_->ApplyDiffPatch(oldSoPath, diffFilePath, newSoPath, 0); in HWTEST_F()
1039 std::string newSoPath = NEW_SO_PATH; in HWTEST_F() local
1040 ErrCode result = installClient_->ApplyDiffPatch(oldSoPath, diffFilePath, newSoPath); in HWTEST_F()
[all...]
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_installer_test/
H A Dbms_bundle_installer_permission_test.cpp533 std::string newSoPath = "new.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 Dinstalld_client.cpp362 const std::string &newSoPath, int32_t uid) in ApplyDiffPatch()
364 if (oldSoPath.empty() || diffFilePath.empty() || newSoPath.empty()) { in ApplyDiffPatch()
368 return CallService(&IInstalld::ApplyDiffPatch, oldSoPath, diffFilePath, newSoPath, uid); in ApplyDiffPatch()
361 ApplyDiffPatch(const std::string &oldSoPath, const std::string &diffFilePath, const std::string &newSoPath, int32_t uid) ApplyDiffPatch() argument
H A Dbase_bundle_installer.cpp2479 std::string newSoPath = std::string(Constants::BUNDLE_CODE_DIR) + ServiceConstants::PATH_SEPARATOR + bundleName_ + in ProcessDeployedHqfInfo() local
2483 if ((InstalldClient::GetInstance()->IsExistDir(newSoPath, isExist) != ERR_OK) || !isExist) { in ProcessDeployedHqfInfo()
2533 std::string newSoPath = std::string(Constants::BUNDLE_CODE_DIR) + ServiceConstants::PATH_SEPARATOR + bundleName_ + in ProcessDeployingHqfInfo() local
2537 if ((InstalldClient::GetInstance()->IsExistDir(newSoPath, isExist) != ERR_OK) || !isExist) { in ProcessDeployingHqfInfo()
2699 std::string newSoPath = std::string(Constants::BUNDLE_CODE_DIR) + in ProcessDiffFiles() local
2703 ret = InstalldClient::GetInstance()->ApplyDiffPatch(oldSoPath, tempDiffPath, newSoPath, bundleUid); in ProcessDiffFiles()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/
H A Dinstalld_client.h166 const std::string &newSoPath, int32_t uid = Constants::INVALID_UID);
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/ipc/
H A Dinstalld_interface.h305 const std::string &newSoPath, int32_t uid) in ApplyDiffPatch()
304 ApplyDiffPatch(const std::string &oldSoPath, const std::string &diffFilePath, const std::string &newSoPath, int32_t uid) ApplyDiffPatch() argument
H A Dinstalld_proxy.h181 const std::string &newSoPath, int32_t uid) override;
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_install_daemon_test/
H A Dbms_install_daemon_operator_test.cpp1521 std::string newSoPath = ""; in HWTEST_F() local
1525 auto ret = InstalldOperator::ScanSoFiles(newSoPath, originPath, currentPath, paths); in HWTEST_F()
1779 std::string newSoPath; in HWTEST_F() local
1780 newSoPath.resize(4097, 'a'); in HWTEST_F()
1781 auto ret = InstalldOperator::ApplyDiffPatch(TEST_FILE_PATH, TEST_FILE_PATH, newSoPath, 1); in HWTEST_F()
/foundation/communication/ipc/ipc/native/src/core/source/
H A Dipc_object_proxy.cpp1090 std::string newSoPath = GetNewSoPath(); in IsDlclosed() local
1091 if (newSoPath.empty() || (newSoPath != soPath_)) { in IsDlclosed()
/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()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/ipc/
H A Dinstalld_host.cpp587 std::string newSoPath = Str16ToStr8(data.ReadString16()); in HandleApplyDiffPatch() local
590 ErrCode result = ApplyDiffPatch(oldSoPath, diffFilePath, newSoPath, uid); in HandleApplyDiffPatch()
H A Dinstalld_proxy.cpp471 const std::string &newSoPath, int32_t uid) in ApplyDiffPatch()
477 INSTALLD_PARCEL_WRITE(data, String16, Str8ToStr16(newSoPath)); in ApplyDiffPatch()
470 ApplyDiffPatch(const std::string &oldSoPath, const std::string &diffFilePath, const std::string &newSoPath, int32_t uid) ApplyDiffPatch() argument

Completed in 36 milliseconds