Home
last modified time | relevance | path

Searched refs:targetSoPath (Results 1 - 25 of 34) sorted by relevance

12

/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/ipc/
H A Dcode_signature_param.cpp28 constexpr const char* CODE_SIGNATURE_TARGET_SO_PATH = "targetSoPath";
40 targetSoPath = Str16ToStr8(parcel.ReadString16()); in ReadFromParcel()
53 WRITE_PARCEL_AND_RETURN_FALSE_IF_FAIL(String16, parcel, Str8ToStr16(targetSoPath)); in Marshalling()
78 { CODE_SIGNATURE_TARGET_SO_PATH, targetSoPath }, in ToString()
H A Dcheck_encryption_param.cpp27 targetSoPath = Str16ToStr8(parcel.ReadString16()); in ReadFromParcel()
38 WRITE_PARCEL_AND_RETURN_FALSE_IF_FAIL(String16, parcel, Str8ToStr16(targetSoPath)); in Marshalling()
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_others/basebundleinstallerextractmodulefiles_fuzzer/
H A Dbasebundleinstallerextractmodulefiles_fuzzer.cpp33 std::string targetSoPath; in DoSomethingInterestingWithMyAPI() local
35 auto ret1 = basebundleinstall.ExtractModuleFiles(info, modulePath, targetSoPath, cpuAbi); in DoSomethingInterestingWithMyAPI()
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_others/appservicefwkinstallerupdateappservice_fuzzer/
H A Dappservicefwkinstallerupdateappservice_fuzzer.cpp55 std::string targetSoPath(data, size); in DoSomethingInterestingWithMyAPI()
57 appServiceFwk.VerifyCodeSignatureForNativeFiles(bundlePath, cpuAbi, targetSoPath); in DoSomethingInterestingWithMyAPI()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/ipc/
H A Dcheck_encryption_param.h34 std::string targetSoPath; member
H A Dcode_signature_param.h30 std::string targetSoPath; member
H A Dinstalld_interface.h51 * @param targetSoPath so files decompression path.
56 const std::string &targetSoPath, const std::string &cpuAbi) in ExtractModuleFiles()
55 ExtractModuleFiles(const std::string &srcModulePath, const std::string &targetPath, const std::string &targetSoPath, const std::string &cpuAbi) ExtractModuleFiles() argument
H A Dinstalld_proxy.h43 * @param targetSoPath so files decompression path.
48 const std::string &targetSoPath, const std::string &cpuAbi) override;
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_install_daemon_test/
H A Dbms_install_daemon_operator_test.cpp228 * 2. targetSoPath is empty and return false
280 * 2. targetSoPath is empty and return false
973 codeSignatureParam.targetSoPath = TEST_STRING; in HWTEST_F()
1124 checkEncryptionParam.targetSoPath = TEST_STRING; in HWTEST_F()
1412 codeSignatureParam.targetSoPath = "target/file.path"; in HWTEST_F()
1417 codeSignatureParam.targetSoPath = ""; in HWTEST_F()
1420 codeSignatureParam.targetSoPath = "target"; in HWTEST_F()
1539 codeSignatureParam.targetSoPath = TEST_STRING; in HWTEST_F()
1557 checkEncryptionParam.targetSoPath = TEST_STRING; in HWTEST_F()
1591 checkEncryptionParam.targetSoPath in HWTEST_F()
[all...]
H A Dbms_install_daemon_ipc_test.cpp552 codeSignatureParam.targetSoPath = TEST_STRING; in HWTEST_F()
574 codeSignatureParam.targetSoPath = TEST_STRING; in HWTEST_F()
642 checkEncryptionParam.targetSoPath = TEST_STRING; in HWTEST_F()
662 checkEncryptionParam.targetSoPath = TEST_STRING; in HWTEST_F()
924 codeSignatureParam.targetSoPath = TEST_STRING; in HWTEST_F()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/installd/
H A Dinstalld_operator.cpp219 bool InstalldOperator::ExtractFiles(const std::string &sourcePath, const std::string &targetSoPath, in ExtractFiles() argument
223 if (targetSoPath.empty()) { in ExtractFiles()
224 LOG_D(BMS_TAG_INSTALLD, "targetSoPath is empty"); in ExtractFiles()
239 for_each(soEntryFiles.begin(), soEntryFiles.end(), [&extractor, &targetSoPath, &cpuAbi](const auto &entry) { in ExtractFiles()
240 ExtractTargetFile(extractor, entry, targetSoPath, cpuAbi); in ExtractFiles()
1346 if (codeSignatureParam.targetSoPath.empty()) { in PrepareEntryMap()
1353 std::string path = codeSignatureParam.targetSoPath; in PrepareEntryMap()
1358 LOG_D(BMS_TAG_INSTALLD, "VerifyCode the targetSoPath is %{public}s", (path + fileName).c_str()); in PrepareEntryMap()
1427 if (checkEncryptionParam.cpuAbi.empty() && checkEncryptionParam.targetSoPath.empty()) { in CheckEncryption()
1456 const std::string targetSoPath in CheckEncryption() local
[all...]
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/shared/
H A Dinner_shared_bundle_installer.h119 const std::string &targetSoPath, const std::string &signatureFileDir, bool isPreInstalledBundle) const;
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/shared/
H A Dinner_shared_bundle_installer.cpp719 const std::string &cpuAbi, const std::string &targetSoPath, const std::string &signatureFileDir, in VerifyCodeSignatureForNativeFiles()
731 codeSignatureParam.targetSoPath = targetSoPath; in VerifyCodeSignatureForNativeFiles()
748 codeSignatureParam.targetSoPath = tempSoPath_; in VerifyCodeSignatureForHsp()
718 VerifyCodeSignatureForNativeFiles(const std::string &bundlePath, const std::string &cpuAbi, const std::string &targetSoPath, const std::string &signatureFileDir, bool isPreInstalledBundle) const VerifyCodeSignatureForNativeFiles() argument
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/mock/src/
H A Dinstalld_client.cpp36 const std::string &targetSoPath, const std::string &cpuAbi) in ExtractModuleFiles()
43 return CallService(&IInstalld::ExtractModuleFiles, srcModulePath, targetPath, targetSoPath, cpuAbi); in ExtractModuleFiles()
35 ExtractModuleFiles(const std::string &srcModulePath, const std::string &targetPath, const std::string &targetSoPath, const std::string &cpuAbi) ExtractModuleFiles() argument
H A Dmock_installd_host_impl.cpp38 const std::string &targetSoPath, const std::string &cpuAbi) in ExtractModuleFiles()
37 ExtractModuleFiles(const std::string &srcModulePath, const std::string &targetPath, const std::string &targetSoPath, const std::string &cpuAbi) ExtractModuleFiles() argument
H A Dmock_install_client.cpp26 const std::string &targetSoPath, const std::string &cpuAbi) in ExtractModuleFiles()
25 ExtractModuleFiles(const std::string &srcModulePath, const std::string &targetPath, const std::string &targetSoPath, const std::string &cpuAbi) ExtractModuleFiles() argument
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/app_service_fwk/
H A Dapp_service_fwk_installer.h106 const std::string &targetSoPath) const;
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_installd_client_test/
H A Dbms_installd_client_test.cpp34 const std::string TARGET_SO_PATH = "targetSoPath";
125 std::string targetSoPath = TARGET_SO_PATH; in HWTEST_F() local
127 ErrCode result = installClient_->ExtractModuleFiles(srcModulePath, targetPath, targetSoPath, cpuAbi); in HWTEST_F()
142 std::string targetSoPath = TARGET_SO_PATH; in HWTEST_F() local
144 ErrCode result = installClient_->ExtractModuleFiles(srcModulePath, targetPath, targetSoPath, cpuAbi); in HWTEST_F()
159 std::string targetSoPath = TARGET_SO_PATH; in HWTEST_F() local
161 ErrCode result = installClient_->ExtractModuleFiles(srcModulePath, targetPath, targetSoPath, cpuAbi); in HWTEST_F()
163 srcModulePath, targetPath, targetSoPath, cpuAbi)); in HWTEST_F()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/
H A Dbase_bundle_installer.h303 * @param targetSoPath so files decompression path.
308 const std::string &targetSoPath, const std::string &cpuAbi);
628 ErrCode CheckSoEncryption(InnerBundleInfo &info, const std::string &cpuAbi, const std::string &targetSoPath);
680 const std::string &targetSoPath, const std::string &signatureFileDir) const;
H A Dinstalld_client.h47 * @param targetSoPath so files decompression path.
52 const std::string &targetSoPath, const std::string &cpuAbi);
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/app_service_fwk/
H A Dapp_service_fwk_installer.cpp612 codeSignatureParam.targetSoPath = realSoPath; in VerifyCodeSignatureForHsp()
1086 const std::string &cpuAbi, const std::string &targetSoPath) const in VerifyCodeSignatureForNativeFiles()
1092 codeSignatureParam.targetSoPath = targetSoPath; in VerifyCodeSignatureForNativeFiles()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/
H A Dinstalld_client.cpp41 const std::string &targetSoPath, const std::string &cpuAbi) in ExtractModuleFiles()
48 return CallService(&IInstalld::ExtractModuleFiles, srcModulePath, targetPath, targetSoPath, cpuAbi); in ExtractModuleFiles()
40 ExtractModuleFiles(const std::string &srcModulePath, const std::string &targetPath, const std::string &targetSoPath, const std::string &cpuAbi) ExtractModuleFiles() argument
H A Dbase_bundle_installer.cpp3654 const std::string &targetSoPath, const std::string &cpuAbi) in ExtractModuleFiles()
3657 auto result = InstalldClient::GetInstance()->ExtractModuleFiles(modulePath_, modulePath, targetSoPath, cpuAbi); in ExtractModuleFiles()
5195 std::string targetSoPath; in InnerProcessNativeLibs() local
5212 targetSoPath.append(Constants::BUNDLE_CODE_DIR).append(ServiceConstants::PATH_SEPARATOR) in InnerProcessNativeLibs()
5215 targetSoPathMap_.emplace(info.GetCurModuleName(), targetSoPath); in InnerProcessNativeLibs()
5219 LOG_D(BMS_TAG_INSTALLER, "begin extract module modulePath:%{public}s targetSoPath:%{public}s cpuAbi:%{public}s", in InnerProcessNativeLibs()
5220 modulePath.c_str(), targetSoPath.c_str(), cpuAbi.c_str()); in InnerProcessNativeLibs()
5227 auto result = ExtractModuleFiles(info, modulePath, targetSoPath, cpuAbi); in InnerProcessNativeLibs()
5230 result = VerifyCodeSignatureForNativeFiles(info, cpuAbi, targetSoPath, signatureFileDir); in InnerProcessNativeLibs()
5233 result = CheckSoEncryption(info, cpuAbi, targetSoPath); in InnerProcessNativeLibs()
3653 ExtractModuleFiles(const InnerBundleInfo &info, const std::string &modulePath, const std::string &targetSoPath, const std::string &cpuAbi) ExtractModuleFiles() argument
5246 VerifyCodeSignatureForNativeFiles(InnerBundleInfo &info, const std::string &cpuAbi, const std::string &targetSoPath, const std::string &signatureFileDir) const VerifyCodeSignatureForNativeFiles() argument
5286 auto targetSoPath = targetSoPathMap_.find(moduleName); VerifyCodeSignatureForHap() local
5302 CheckSoEncryption(InnerBundleInfo &info, const std::string &cpuAbi, const std::string &targetSoPath) CheckSoEncryption() argument
[all...]
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/installd/
H A Dinstalld_host_impl.h41 * @param targetSoPath so files decompression path.
46 const std::string &targetSoPath, const std::string &cpuAbi) override;
H A Dinstalld_operator.h80 * @param targetSoPath so files decompression path.
84 static bool ExtractFiles(const std::string &sourcePath, const std::string &targetSoPath,

Completed in 47 milliseconds

12