Home
last modified time | relevance | path

Searched refs:nativeLibraryPath (Results 1 – 25 of 64) sorted by relevance

123

/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/quick_fix/
H A Dquick_fix_checker.cpp110 … (!qfInfo.nativeLibraryPath.empty() && !bundleInfo.applicationInfo.nativeLibraryPath.empty()); in CheckPatchNativeSoWithInstalledBundle()
118 if (qfInfo.nativeLibraryPath != bundleInfo.applicationInfo.nativeLibraryPath) { in CheckPatchNativeSoWithInstalledBundle()
120 … qfInfo.nativeLibraryPath.c_str(), bundleInfo.applicationInfo.nativeLibraryPath.c_str()); in CheckPatchNativeSoWithInstalledBundle()
255 std::string nativeLibraryPath = appqfInfo.nativeLibraryPath; in CheckMultiNativeSo() local
259 if (qfInfo.nativeLibraryPath.empty()) { in CheckMultiNativeSo()
262 if (nativeLibraryPath.empty()) { in CheckMultiNativeSo()
263 nativeLibraryPath = qfInfo.nativeLibraryPath; in CheckMultiNativeSo()
267 if (!qfInfo.nativeLibraryPath.empty()) { in CheckMultiNativeSo()
268 if ((nativeLibraryPath != qfInfo.nativeLibraryPath) || (cpuAbi != qfInfo.cpuAbi)) { in CheckMultiNativeSo()
276 if (!nativeLibraryPath.empty()) { in CheckMultiNativeSo()
[all …]
H A Dquick_fix_deployer.cpp293 std::string nativeLibraryPath = appQuickFix.deployingAppqfInfo.nativeLibraryPath; in ProcessNativeLibraryPath() local
295 appQuickFix.deployingAppqfInfo.nativeLibraryPath = nativeLibraryPath; in ProcessNativeLibraryPath()
300 std::string nativeLibraryPath = hqfInfo.nativeLibraryPath; in ProcessNativeLibraryPath() local
302 hqfInfo.nativeLibraryPath = nativeLibraryPath; in ProcessNativeLibraryPath()
330 nativeLibraryPath = in ProcessNativeLibraryPath()
478 nativeLibraryPath = hqfInfo.nativeLibraryPath; in FetchPatchNativeSoAttrs()
481 nativeLibraryPath = appqfInfo.nativeLibraryPath; in FetchPatchNativeSoAttrs()
801 std::string nativeLibraryPath = bundleInfo.applicationInfo.nativeLibraryPath; in ExtractSoFiles() local
804 nativeLibraryPath = iter->nativeLibraryPath; in ExtractSoFiles()
868 std::string nativeLibraryPath = bundleInfo.applicationInfo.nativeLibraryPath; in ExtractEncryptedSoFiles() local
[all …]
H A Dpatch_profile.cpp225 appqfInfo.nativeLibraryPath = ServiceConstants::LIBS + iter->second; in DefaultNativeSo()
239 appqfInfo.nativeLibraryPath = ServiceConstants::LIBS + iter->second; in DefaultNativeSo()
250 appqfInfo.nativeLibraryPath = ServiceConstants::LIBS + iter->second; in DefaultNativeSo()
302 appqfInfo.nativeLibraryPath = ServiceConstants::LIBS + iter->second; in ParseNativeSo()
H A Dquick_fix_deleter.cpp123 if (appqfInfo.nativeLibraryPath.substr(0, in InnerDeletePatchDir()
124 appqfInfo.nativeLibraryPath.find(ServiceConstants::PATH_SEPARATOR)) == PATCH_DIR) { in InnerDeletePatchDir()
/ohos5.0/foundation/ability/ability_runtime/frameworks/native/appkit/app/
H A Dnative_lib_util.cpp35 if (hapInfo.nativeLibraryPath.empty()) { in GetHapSoPath()
48 … libPath += (libPath.back() == '/') ? hapInfo.nativeLibraryPath : "/" + hapInfo.nativeLibraryPath; in GetHapSoPath()
56 if (hspInfo.nativeLibraryPath.empty()) { in GetHspNativeLibPath()
66 libPath += hspInfo.nativeLibraryPath; in GetHspNativeLibPath()
68 … libPath += hspInfo.bundleName + "/" + hspInfo.moduleName + "/" + hspInfo.nativeLibraryPath; in GetHspNativeLibPath()
72 libPath += hspInfo.bundleName + "/" + hspInfo.nativeLibraryPath; in GetHspNativeLibPath()
84 patchNativeLibraryPath = hapInfo.hqfInfo.nativeLibraryPath; in GetPatchNativeLibPath()
H A Dchild_main_thread.cpp415 std::string nativeLibraryPath = bundleInfo.applicationInfo.nativeLibraryPath; in GetNativeLibPath() local
416 if (!nativeLibraryPath.empty()) { in GetNativeLibPath()
417 if (nativeLibraryPath.back() == '/') { in GetNativeLibPath()
418 nativeLibraryPath.pop_back(); in GetNativeLibPath()
421 libPath += (libPath.back() == '/') ? nativeLibraryPath : "/" + nativeLibraryPath; in GetNativeLibPath()
435 hspInfo.moduleName.c_str(), hspInfo.nativeLibraryPath.c_str()); in GetNativeLibPath()
H A Dmain_thread.cpp195 std::string nativeLibraryPath = bundleInfo.applicationInfo.nativeLibraryPath; in GetNativeLibPath() local
196 if (!nativeLibraryPath.empty()) { in GetNativeLibPath()
197 if (nativeLibraryPath.back() == '/') { in GetNativeLibPath()
198 nativeLibraryPath.pop_back(); in GetNativeLibPath()
201 libPath += (libPath.back() == '/') ? nativeLibraryPath : "/" + nativeLibraryPath; in GetNativeLibPath()
1880 if (item.nativeLibraryPath.empty()) { in CalcNativeLiabraryEntries()
1885 … libPath += (libPath.back() == '/') ? item.nativeLibraryPath : "/" + item.nativeLibraryPath; in CalcNativeLiabraryEntries()
1901 if (nativeLibraryPath.empty()) { in CalcNativeLiabraryEntries()
1906 if (nativeLibraryPath.back() == '/') { in CalcNativeLiabraryEntries()
1907 nativeLibraryPath.pop_back(); in CalcNativeLiabraryEntries()
[all …]
/ohos5.0/foundation/bundlemanager/bundle_framework/test/benchmarktest/application_info_test/
H A Dapplication_info_test.cpp45 info.nativeLibraryPath = "libs/arm"; in BenchmarkTestForReadFromParcel()
74 info.nativeLibraryPath = "libs/arm"; in BenchmarkTestForReadMetaDataFromParcel()
103 info.nativeLibraryPath = "libs/arm"; in BenchmarkTestForMarshalling()
131 info.nativeLibraryPath = "libs/arm"; in BenchmarkTestForUnmarshalling()
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/src/quick_fix/
H A Dhqf_info.cpp43 {HQF_INFO_NATIVE_LIBRARY_PATH, hqfInfo.nativeLibraryPath} in to_json()
94 hqfInfo.nativeLibraryPath, in from_json()
111 nativeLibraryPath = Str16ToStr8(parcel.ReadString16()); in ReadFromParcel()
122 WRITE_PARCEL_AND_RETURN_FALSE_IF_FAIL(String16, parcel, Str8ToStr16(nativeLibraryPath)); in Marshalling()
H A Dappqf_info.cpp42 {APP_QF_INFO_NATIVE_LIBRARY_PATH, appqfInfo.nativeLibraryPath}, in to_json()
68 APP_QF_INFO_NATIVE_LIBRARY_PATH, appqfInfo.nativeLibraryPath, in from_json()
91 nativeLibraryPath = Str16ToStr8(parcel.ReadString16()); in ReadFromParcel()
112 WRITE_PARCEL_AND_RETURN_FALSE_IF_FAIL(String16, parcel, Str8ToStr16(nativeLibraryPath)); in Marshalling()
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/src/shared/
H A Dshared_module_info.cpp49 nativeLibraryPath = Str16ToStr8(parcel.ReadString16()); in ReadFromParcel()
69 WRITE_PARCEL_AND_RETURN_FALSE_IF_FAIL(String16, parcel, Str8ToStr16(nativeLibraryPath)); in Marshalling()
99 {SHARED_MODULE_INFO_NATIVE_LIBRARY_PATH, sharedModuleInfo.nativeLibraryPath}, in to_json()
142 sharedModuleInfo.nativeLibraryPath, JsonType::STRING, false, parseResult, in from_json()
H A Dbase_shared_bundle_info.cpp31 nativeLibraryPath = Str16ToStr8(parcel.ReadString16()); in ReadFromParcel()
48 WRITE_PARCEL_AND_RETURN_FALSE_IF_FAIL(String16, parcel, Str8ToStr16(nativeLibraryPath)); in Marshalling()
/ohos5.0/foundation/bundlemanager/bundle_framework/test/benchmarktest/extension_ability_info_test/
H A Dextension_ability_info_test.cpp54 info.applicationInfo.nativeLibraryPath = "libs/arm"; in BenchmarkTestForReadFromParcel()
92 info.applicationInfo.nativeLibraryPath = "libs/arm"; in BenchmarkTestForMarshalling()
129 info.applicationInfo.nativeLibraryPath = "libs/arm"; in BenchmarkTestForUnmarshalling()
/ohos5.0/foundation/bundlemanager/bundle_framework/test/benchmarktest/bundle_info_test/
H A Dbundle_info_test.cpp55 info.applicationInfo.nativeLibraryPath = "libs/arm"; in BenchmarkTestForReadFromParcel()
94 info.applicationInfo.nativeLibraryPath = "libs/arm"; in BenchmarkTestForMarshalling()
132 info.applicationInfo.nativeLibraryPath = "libs/arm"; in BenchmarkTestForUnmarshalling()
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_quick_fix_test/
H A Dbms_bundle_quick_fix_test.cpp257 deployedAppqfInfo.nativeLibraryPath = QUICK_FIX_SO_PATH; in AddInnerBundleInfo()
271 applicationInfo.nativeLibraryPath = QUICK_FIX_SO_PATH; in AddInnerBundleInfo()
2357 std::string nativeLibraryPath; variable
2360 nativeLibraryPath, cpuAbi);
2365 nativeLibraryPath, cpuAbi);
2373 hqfInfo.nativeLibraryPath = QUICK_FIX_SO_PATH;
3185 appQuickFix.deployingAppqfInfo.nativeLibraryPath = "";
3349 qfInfo.nativeLibraryPath = QUICK_FIX_SO_PATH;
4610 bundleInfo.applicationInfo.nativeLibraryPath = "";
4615 moduleInfo.nativeLibraryPath = "";
[all …]
/ohos5.0/foundation/ability/ability_runtime/test/unittest/appkit/main_thread_test/
H A Dmain_thread_test.cpp1504 std::string nativeLibraryPath = ""; variable
1507 mainThread_->LoadNativeLiabrary(bundleInfo, nativeLibraryPath);
1509 nativeLibraryPath = "test/";
1510 mainThread_->LoadNativeLiabrary(bundleInfo, nativeLibraryPath);
2232 bundleInfo.applicationInfo.nativeLibraryPath = "libs/arm";
2268 hapModuleInfo1.nativeLibraryPath = "entry/libs/arm";
2277 hapModuleInfo2.nativeLibraryPath = "feature/libs/arm";
2285 hspInfo1.nativeLibraryPath = "library/libs/arm";
2324 hapModuleInfo1.nativeLibraryPath = "entry.hap!/libs/armeabi-v7a";
2341 hspInfo1.nativeLibraryPath = "library.hsp!/libs/armeabi-v7a";
[all …]
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_quick_fix_query_test/
H A Dbms_bundle_quick_fix_query_test.cpp122 EXPECT_EQ(QUICK_FIX_SO_PATH, appqfInfo.nativeLibraryPath); in CheckAppQuickFixInfo()
130 EXPECT_EQ(EMPTY_STRING, appqfInfo.nativeLibraryPath); in CheckAppQuickFixInfoEmpty()
142 applicationInfo.nativeLibraryPath = QUICK_FIX_SO_PATH; in MockInstallBundleInfo()
238 appqfInfo.nativeLibraryPath = QUICK_FIX_SO_PATH; in MockDeployQuickFix()
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_accesstokenid_test/
H A Dbms_bundle_accesstokenid_test.cpp872 EXPECT_FALSE(applicationInfo.nativeLibraryPath.empty());
896 EXPECT_FALSE(applicationInfo.nativeLibraryPath.empty());
907 EXPECT_FALSE(applicationInfo.nativeLibraryPath.empty());
931 EXPECT_FALSE(applicationInfo.nativeLibraryPath.empty());
942 EXPECT_FALSE(applicationInfo.nativeLibraryPath.empty());
966 EXPECT_FALSE(applicationInfo.nativeLibraryPath.empty());
990 EXPECT_FALSE(applicationInfo.nativeLibraryPath.empty());
999 EXPECT_FALSE(applicationInfo.nativeLibraryPath.empty());
/ohos5.0/foundation/ability/ability_runtime/test/mock/services_appmgr_test/src/
H A Dmock_bundle_manager.cpp47 …bundleInfo.applicationInfo.appQuickFix.deployedAppqfInfo.nativeLibraryPath = "patch_1000/libs/arm"; in ConstructHqfInfo()
53 hqfInfo1.nativeLibraryPath = "patch_1000/libs/arm"; in ConstructHqfInfo()
58 hqfInfo2.nativeLibraryPath = "patch_1000/libs/arm"; in ConstructHqfInfo()
88 bundleInfo.applicationInfo.nativeLibraryPath = "libs/arm"; in ConstructHqfInfo()
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/
H A Dbase_bundle_installer.cpp139 return nativeLibraryPath; in BuildTempNativeLibraryPath()
2396 std::string nativeLibraryPath; in ProcessHqfInfo() local
2404 nativeLibraryPath = nativeLibraryPath.substr(pos, nativeLibraryPath.length() - pos); in ProcessHqfInfo()
2599 std::string nativeLibraryPath = ""; in ExtractEncryptedSoFiles() local
4991 std::string nativeLibraryPath; in InnerProcessNativeLibs() local
4999 nativeLibraryPath = BuildTempNativeLibraryPath(nativeLibraryPath); in InnerProcessNativeLibs()
5072 std::string nativeLibraryPath; in VerifyCodeSignatureForHap() local
5471 std::string nativeLibraryPath = ""; in MoveSoFileToRealInstallationDir() local
5473 nativeLibraryPath); in MoveSoFileToRealInstallationDir()
5480 .append(nativeLibraryPath); in MoveSoFileToRealInstallationDir()
[all …]
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/driver/
H A Ddriver_installer.cpp55 std::string nativeLibraryPath = ""; in CopyDriverSoFile() local
56 info.FetchNativeSoAttrs(info.GetCurrentModulePackage(), cpuAbi, nativeLibraryPath); in CopyDriverSoFile()
78 .append(nativeLibraryPath); in CopyDriverSoFile()
/ohos5.0/foundation/graphic/graphic_2d/frameworks/opengl_wrapper/src/EGL/
H A Degl_wrapper_layer.cpp149 std::string appLibPath = g_bundleInfo.applicationInfo.nativeLibraryPath; in GetDebugLayerPaths()
155 if (!hapModuleInfo.nativeLibraryPath.empty()) { in GetDebugLayerPaths()
156 layerPaths.push_back(hapModuleInfo.nativeLibraryPath + "/"); in GetDebugLayerPaths()
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/quick_fix/
H A Dquick_fix_deployer.h88 … std::string &patchPath, const InnerAppQuickFix &innerAppQuickFix, std::string &nativeLibraryPath);
102 … const HqfInfo hqfInfo, bool isLibIsolated, std::string &nativeLibraryPath, std::string &cpuAbi);
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/include/quick_fix/
H A Dappqf_info.h31 std::string nativeLibraryPath; // quick fix so path member
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/include/shared/
H A Dbase_shared_bundle_info.h30 std::string nativeLibraryPath; member

123