/ohos5.0/base/security/security_guard/oem_property/hos/ |
H A D | security_audit.cfg | 7 "modulePath":"/system/lib64/", 15 "modulePath":"/system/lib64/", 23 "modulePath":"/system/lib64/", 31 "modulePath":"/system/lib64/", 39 "modulePath":"/system/lib64/", 47 "modulePath":"/system/lib64/", 55 "modulePath":"/system/lib64/", 63 "modulePath":"/system/lib64/", 71 "modulePath":"/system/lib64/", 79 "modulePath":"/system/lib64/", [all …]
|
/ohos5.0/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/load/ |
H A D | module_loader.cpp | 39 std::string modulePath; in GetModulePath() local 44 modulePath = tempModulePath; in GetModulePath() 48 return modulePath; in GetModulePath() 73 std::string modulePath = GetModulePath(moduleName); in Load() local 74 if (modulePath.empty()) { in Load() 79 if (handler = dlopen(modulePath.c_str(), RTLD_GLOBAL); handler == nullptr) { in Load() 80 …HILOG_ERROR(LOG_CORE, "failed to load module=%{public}s, error=%{public}s.", modulePath.c_str(), d… in Load() 83 HILOG_INFO(LOG_CORE, "succ to load module=%{public}s.", modulePath.c_str()); in Load()
|
/ohos5.0/base/startup/init/interfaces/innerkits/modulemgr/ |
H A D | modulemgr.c | 237 MODULE_MGR *ModuleMgrScan(const char *modulePath) in ModuleMgrScan() argument 241 BEGET_LOGV("ModuleMgrScan moduleName %s", modulePath); in ModuleMgrScan() 242 moduleMgr = ModuleMgrCreate(modulePath); in ModuleMgrScan() 245 if (modulePath[0] == '/') { in ModuleMgrScan() 246 ScanModules(moduleMgr, modulePath); in ModuleMgrScan() 249 "/%s/%s", MODULE_LIB_NAME, modulePath) > 0, free((void *)moduleMgr); return NULL); in ModuleMgrScan() 253 "%s/%s", MODULE_LIB_NAME, modulePath) > 0, free((void *)moduleMgr); return NULL); in ModuleMgrScan()
|
/ohos5.0/base/update/sys_installer/services/module_update/util/src/ |
H A D | module_hvb_ops.cpp | 40 std::string modulePath = OHOS::ExtractFilePath(path) + HMP_INFO_NAME; in ParseReadParam() local 41 std::unique_ptr<ModuleFile> file = ModuleFile::Open(modulePath); in ParseReadParam() 43 LOG(ERROR) << "failed to parse file " << modulePath; in ParseReadParam() 47 LOG(ERROR) << modulePath << " has no image"; in ParseReadParam()
|
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/ipc/ |
H A D | code_signature_param.cpp | 38 modulePath = Str16ToStr8(parcel.ReadString16()); in ReadFromParcel() 51 WRITE_PARCEL_AND_RETURN_FALSE_IF_FAIL(String16, parcel, Str8ToStr16(modulePath)); in Marshalling() 76 { CODE_SIGNATURE_MODULE_PATH, modulePath }, in ToString()
|
H A D | check_encryption_param.cpp | 25 modulePath = Str16ToStr8(parcel.ReadString16()); in ReadFromParcel() 36 WRITE_PARCEL_AND_RETURN_FALSE_IF_FAIL(String16, parcel, Str8ToStr16(modulePath)); in Marshalling()
|
/ohos5.0/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_others/basebundleinstallerremovemoduledir_fuzzer/ |
H A D | basebundleinstallerremovemoduledir_fuzzer.cpp | 31 std::string modulePath; in DoSomethingInterestingWithMyAPI() local 32 auto ret1 = basebundleinstall.RemoveModuleDir(modulePath); in DoSomethingInterestingWithMyAPI()
|
/ohos5.0/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_others/basebundleinstallerextractmodule_fuzzer/ |
H A D | basebundleinstallerextractmodule_fuzzer.cpp | 32 std::string modulePath; in DoSomethingInterestingWithMyAPI() local 33 auto ret1 = basebundleinstall.ExtractModule(info, modulePath); in DoSomethingInterestingWithMyAPI()
|
/ohos5.0/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_others/basebundleinstallerextractmodulefiles_fuzzer/ |
H A D | basebundleinstallerextractmodulefiles_fuzzer.cpp | 32 std::string modulePath; in DoSomethingInterestingWithMyAPI() local 35 auto ret1 = basebundleinstall.ExtractModuleFiles(info, modulePath, targetSoPath, cpuAbi); in DoSomethingInterestingWithMyAPI()
|
/ohos5.0/foundation/ability/ability_lite/frameworks/ability_lite/src/ |
H A D | ability_thread.cpp | 173 …std::string modulePath = appInfo.srcPath + PATH_SEPARATOR + module + LIB_PREFIX + module + LIB_SUF… in PerformAppInit() local 174 if (modulePath.size() > PATH_MAX) { in PerformAppInit() 178 if (realpath(modulePath.c_str(), realPath) == nullptr) { in PerformAppInit() 179 … HILOG_ERROR(HILOG_MODULE_APP, "Fail to get realpath of %{public}s", modulePath.c_str()); in PerformAppInit() 184 …HILOG_ERROR(HILOG_MODULE_APP, "Fail to dlopen %{public}s, [%{public}s]", modulePath.c_str(), dlerr… in PerformAppInit()
|
/ohos5.0/base/security/security_guard/services/security_collector/src/ |
H A D | collector_cfg_marshalling.cpp | 32 { MODULE_PATH, moduleCfg.modulePath }, in to_json() 52 SecurityGuard::JsonCfg::Unmarshal(moduleCfg.modulePath, jsonObj, MODULE_PATH); in from_json()
|
/ohos5.0/foundation/ability/ability_runtime/test/unittest/file_path_utils_test/ |
H A D | file_path_utils_test.cpp | 581 const std::string& modulePath = ""; variable 583 bool newJsModulePath = MakeFilePath(codePath, modulePath, fileName); 596 const std::string& modulePath = ""; variable 598 bool newJsModulePath = MakeFilePath(codePath, modulePath, fileName); 611 const std::string& modulePath = ""; variable 613 bool newJsModulePath = MakeFilePath(codePath, modulePath, fileName);
|
/ohos5.0/drivers/hdf_core/adapter/uhdf2/manager/src/ |
H A D | devmgr_service_stub.c | 211 char modulePath[PATH_MAX] = {0}; in ModuleSysEventHandle() local 212 int32_t ret = MakeModulePath(modulePath, content); in ModuleSysEventHandle() 218 ret = InstallModule(modulePath); in ModuleSysEventHandle() 221 RemoveModule(modulePath); in ModuleSysEventHandle()
|
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/ |
H A D | base_bundle_installer.h | 264 ErrCode ExtractModule(InnerBundleInfo &info, const std::string &modulePath); 287 ErrCode RemoveModuleDir(const std::string &modulePath) const; 296 ErrCode ExtractModuleFiles(const InnerBundleInfo &info, const std::string &modulePath, 585 ErrCode ExtractArkNativeFile(InnerBundleInfo &info, const std::string &modulePath); 593 ErrCode ExtractArkProfileFile(const std::string &modulePath, const std::string &bundleName, 596 ErrCode CopyPgoFileToArkProfileDir(const std::string &moduleName, const std::string &modulePath, 622 ErrCode InnerProcessNativeLibs(InnerBundleInfo &info, const std::string &modulePath); 678 ErrCode ExtractResFileDir(const std::string &modulePath) const; 680 const std::string &modulePath) const;
|
/ohos5.0/base/update/sys_installer/services/module_update/util/include/ |
H A D | module_file.h | 106 ModuleFile(const std::string &modulePath, in ModuleFile() argument 109 : modulePath_(modulePath), in ModuleFile()
|
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/ipc/ |
H A D | check_encryption_param.h | 32 std::string modulePath; member
|
H A D | code_signature_param.h | 24 std::string modulePath; member
|
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/ |
H A D | base_bundle_installer.cpp | 2075 result = ExtractModule(info, modulePath); in ProcessBundleInstallStatus() 2225 result = ExtractModule(newInfo, modulePath); in ProcessNewModuleInstall() 3160 ExtractResourceFiles(info, modulePath); in ExtractModule() 3162 result = ExtractResFileDir(modulePath); in ExtractModule() 3194 info.AddModuleHnpsPath(modulePath); in ExtractModule() 3233 const std::string &modulePath) const in ExtractHnpFileDir() 3320 const std::string &modulePath, in CopyPgoFileToArkProfileDir() argument 3350 const std::string &modulePath, in ExtractArkProfileFile() argument 3360 extractParam.srcPath = modulePath; in ExtractArkProfileFile() 5101 param.modulePath = modulePath_; in CheckSoEncryption() [all …]
|
/ohos5.0/base/startup/init/interfaces/innerkits/include/ |
H A D | modulemgr.h | 112 MODULE_MGR *ModuleMgrScan(const char *modulePath);
|
/ohos5.0/base/security/security_guard/frameworks/common/constants/include/ |
H A D | security_collector_define.h | 50 std::string modulePath; member
|
/ohos5.0/foundation/ability/ability_runtime/frameworks/native/runtime/ |
H A D | js_runtime.cpp | 1006 …ativeReference> JsRuntime::LoadModule(const std::string& moduleName, const std::string& modulePath, in LoadModule() argument 1011 moduleName.c_str(), modulePath.c_str(), hapPath.c_str(), esmodule ? "true" : "false"); in LoadModule() 1031 auto it = modules_.find(modulePath); in LoadModule() 1037 fileName.append(codePath_).append(Constants::FILE_SEPARATOR).append(modulePath); in LoadModule() 1041 if (!MakeFilePath(codePath_, modulePath, fileName)) { in LoadModule() 1042 … TAG_LOGE(AAFwkTag::JSRUNTIME, "Failed to make module file path: %{private}s", modulePath.c_str()); in LoadModule() 1054 modules_.emplace(modulePath, reinterpret_cast<NativeReference*>(tmpRef)); in LoadModule() 1129 auto func = [&](std::string modulePath, const std::string abcPath) { in RunScript() argument 1131 if (!extractor->IsHapCompress(modulePath) && useSafeMempry) { in RunScript() 1132 auto safeData = extractor->GetSafeData(modulePath); in RunScript() [all …]
|
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_installer_test/ |
H A D | bms_bundle_installer_test.cpp | 1892 std::string modulePath; variable 2267 std::string modulePath; variable 3490 std::string modulePath = ""; variable 4385 std::string modulePath = ""; variable 4398 modulePath = "package_tmp"; 4408 modulePath = "/data/test/bms_bundle_installer"; 4438 std::string modulePath = ""; variable 4443 modulePath = "package_tmp"; 5517 codeSignatureParam.modulePath = ""; 5531 checkEncryptionParam.modulePath = ""; [all …]
|
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_install_daemon_test/ |
H A D | bms_install_daemon_ipc_test.cpp | 550 codeSignatureParam.modulePath = TEST_STRING; 572 codeSignatureParam.modulePath = TEST_STRING; 640 checkEncryptionParam.modulePath = TEST_STRING; 660 checkEncryptionParam.modulePath = TEST_STRING;
|
/ohos5.0/foundation/ability/ability_base/interfaces/kits/native/extractortool/include/ |
H A D | file_path_utils.h | 40 …bool MakeFilePath(const std::string& codePath, const std::string& modulePath, std::string& fileNam…
|
/ohos5.0/foundation/ability/ability_runtime/test/unittest/runtime_test/ |
H A D | mock_js_runtime.h | 85 …const std::string& moduleName, const std::string& modulePath, const std::string& hapPath, bool esm…
|