Home
last modified time | relevance | path

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

/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_others/quickfixdeployer_fuzzer/
H A Dquickfixdeployer_fuzzer.cpp135 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 Dinstalld_client.cpp302 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 Dmock_installd_host_impl.cpp168 ErrCode InstalldHostImpl::ApplyDiffPatch(const std::string &oldSoPath, const std::string &diffFilePath, in 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/include/installd/
H A Dinstalld_operator.h233 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 Dinstalld_host_impl.h179 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 Dbms_installd_client_test.cpp45 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 Dquick_fix_deployer.h114 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 Dbms_bundle_installer_permission_test.cpp531 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 Dinstalld_client.cpp361 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 Dbase_bundle_installer.cpp2661 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 Dinstalld_operator.cpp1186 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 Dinstalld_host_impl.cpp1160 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 Dinstalld_client.h165 ErrCode ApplyDiffPatch(const std::string &oldSoPath, const std::string &diffFilePath,
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/ipc/
H A Dinstalld_interface.h304 virtual ErrCode ApplyDiffPatch(const std::string &oldSoPath, const std::string &diffFilePath, in ApplyDiffPatch() argument
H A Dinstalld_proxy.h180 virtual ErrCode ApplyDiffPatch(const std::string &oldSoPath, const std::string &diffFilePath,
/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()
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 Dinstalld_host.cpp585 std::string oldSoPath = Str16ToStr8(data.ReadString16()); in HandleApplyDiffPatch() local
590 ErrCode result = ApplyDiffPatch(oldSoPath, diffFilePath, newSoPath, uid); in HandleApplyDiffPatch()
H A Dinstalld_proxy.cpp470 ErrCode InstalldProxy::ApplyDiffPatch(const std::string &oldSoPath, const std::string &diffFilePath, in ApplyDiffPatch() argument
475 INSTALLD_PARCEL_WRITE(data, String16, Str8ToStr16(oldSoPath)); in ApplyDiffPatch()

Completed in 32 milliseconds