/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/installd/ |
H A D | installd_operator.h | 218 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 D | installd_host_impl.h | 180 const std::string &newSoPath, int32_t uid) override;
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/mock/src/ |
H A D | installd_client.cpp | 303 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 D | mock_installd_host_impl.cpp | 169 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 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/src/installd/ |
H A D | installd_operator.cpp | 1073 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 D | installd_host_impl.cpp | 1161 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 D | bms_installd_client_test.cpp | 47 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 D | bms_bundle_installer_permission_test.cpp | 533 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 D | installd_client.cpp | 362 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 D | base_bundle_installer.cpp | 2479 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 D | installd_client.h | 166 const std::string &newSoPath, int32_t uid = Constants::INVALID_UID);
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/ipc/ |
H A D | installd_interface.h | 305 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 D | installd_proxy.h | 181 const std::string &newSoPath, int32_t uid) override;
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_install_daemon_test/ |
H A D | bms_install_daemon_operator_test.cpp | 1521 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 D | ipc_object_proxy.cpp | 1090 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 D | quick_fix_deployer.cpp | 846 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 D | installd_host.cpp | 587 std::string newSoPath = Str16ToStr8(data.ReadString16()); in HandleApplyDiffPatch() local 590 ErrCode result = ApplyDiffPatch(oldSoPath, diffFilePath, newSoPath, uid); in HandleApplyDiffPatch()
|
H A D | installd_proxy.cpp | 471 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
|