/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/installd/ |
H A D | installd_operator.h | 230 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 D | installd_host_impl.h | 183 const std::string &newSoPath, int32_t uid) override;
|
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_installd_client_test/ |
H A D | bms_installd_client_test.cpp | 993 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 D | installd_operator.cpp | 1195 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 D | installd_host_impl.cpp | 1213 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 D | installd_client.cpp | 308 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 D | mock_install_client.cpp | 195 …const std::string &oldSoPath, const std::string &diffFilePath, const std::string &newSoPath, int32… in ApplyDiffPatch() argument
|
H A D | mock_installd_host_impl.cpp | 171 const std::string &newSoPath, int32_t uid) in ApplyDiffPatch() argument
|
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/ |
H A D | installd_client.cpp | 373 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 D | base_bundle_installer.cpp | 2446 …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 D | ipc_object_proxy.cpp | 1098 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 D | installd_client.h | 169 const std::string &newSoPath, int32_t uid = Constants::INVALID_UID);
|
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/ipc/ |
H A D | installd_interface.h | 311 const std::string &newSoPath, int32_t uid) in ApplyDiffPatch() argument
|
H A D | installd_proxy.h | 184 const std::string &newSoPath, int32_t uid) override;
|
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/ipc/ |
H A D | installd_host.cpp | 614 std::string newSoPath = Str16ToStr8(data.ReadString16()); in HandleApplyDiffPatch() local 617 ErrCode result = ApplyDiffPatch(oldSoPath, diffFilePath, newSoPath, uid); in HandleApplyDiffPatch()
|
H A D | installd_proxy.cpp | 500 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 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()
|