/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/ipc/ |
H A D | code_signature_param.cpp | 28 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 D | check_encryption_param.cpp | 27 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 D | basebundleinstallerextractmodulefiles_fuzzer.cpp | 33 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 D | appservicefwkinstallerupdateappservice_fuzzer.cpp | 55 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 D | check_encryption_param.h | 34 std::string targetSoPath; member
|
H A D | code_signature_param.h | 30 std::string targetSoPath; member
|
H A D | installd_interface.h | 51 * @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 D | installd_proxy.h | 43 * @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 D | bms_install_daemon_operator_test.cpp | 228 * 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 D | bms_install_daemon_ipc_test.cpp | 552 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 D | installd_operator.cpp | 219 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 D | inner_shared_bundle_installer.h | 119 const std::string &targetSoPath, const std::string &signatureFileDir, bool isPreInstalledBundle) const;
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/shared/ |
H A D | inner_shared_bundle_installer.cpp | 719 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 D | installd_client.cpp | 36 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 D | mock_installd_host_impl.cpp | 38 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 D | mock_install_client.cpp | 26 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 D | app_service_fwk_installer.h | 106 const std::string &targetSoPath) const;
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_installd_client_test/ |
H A D | bms_installd_client_test.cpp | 34 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 D | base_bundle_installer.h | 303 * @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 D | installd_client.h | 47 * @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 D | app_service_fwk_installer.cpp | 612 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 D | installd_client.cpp | 41 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 D | base_bundle_installer.cpp | 3654 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 D | installd_host_impl.h | 41 * @param targetSoPath so files decompression path. 46 const std::string &targetSoPath, const std::string &cpuAbi) override;
|
H A D | installd_operator.h | 80 * @param targetSoPath so files decompression path. 84 static bool ExtractFiles(const std::string &sourcePath, const std::string &targetSoPath,
|