/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/quick_fix/ |
H A D | quick_fix_checker.cpp | 110 … (!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 D | quick_fix_deployer.cpp | 293 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 D | patch_profile.cpp | 225 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 D | quick_fix_deleter.cpp | 123 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 D | native_lib_util.cpp | 35 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 D | child_main_thread.cpp | 415 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 D | main_thread.cpp | 195 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 D | application_info_test.cpp | 45 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 D | hqf_info.cpp | 43 {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 D | appqf_info.cpp | 42 {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 D | shared_module_info.cpp | 49 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 D | base_shared_bundle_info.cpp | 31 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 D | extension_ability_info_test.cpp | 54 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 D | bundle_info_test.cpp | 55 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 D | bms_bundle_quick_fix_test.cpp | 257 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 D | main_thread_test.cpp | 1504 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 D | bms_bundle_quick_fix_query_test.cpp | 122 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 D | bms_bundle_accesstokenid_test.cpp | 872 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 D | mock_bundle_manager.cpp | 47 …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 D | base_bundle_installer.cpp | 139 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 D | driver_installer.cpp | 55 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 D | egl_wrapper_layer.cpp | 149 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 D | quick_fix_deployer.h | 88 … 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 D | appqf_info.h | 31 std::string nativeLibraryPath; // quick fix so path member
|
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/include/shared/ |
H A D | base_shared_bundle_info.h | 30 std::string nativeLibraryPath; member
|