Home
last modified time | relevance | path

Searched refs:hspInfo (Results 1 - 9 of 9) sorted by relevance

/foundation/ability/ability_runtime/frameworks/native/appkit/app/
H A Dnative_lib_util.cpp54 void GetHspNativeLibPath(const BaseSharedBundleInfo &hspInfo, AppLibPathMap &appLibPaths, bool isPreInstallApp) in GetHspNativeLibPath() argument
56 if (hspInfo.nativeLibraryPath.empty()) { in GetHspNativeLibPath()
60 std::string appLibPathKey = hspInfo.bundleName + "/" + hspInfo.moduleName; in GetHspNativeLibPath()
62 if (!hspInfo.compressNativeLibs) { in GetHspNativeLibPath()
63 libPath = GetLibPath(hspInfo.hapPath, isPreInstallApp); in GetHspNativeLibPath()
66 libPath += hspInfo.nativeLibraryPath; in GetHspNativeLibPath()
68 libPath += hspInfo.bundleName + "/" + hspInfo.moduleName + "/" + hspInfo in GetHspNativeLibPath()
[all...]
H A Dchild_main_thread.cpp440 for (auto &hspInfo : hspList) { in GetNativeLibPath()
441 TAG_LOGD(AAFwkTag::APPKIT, "bundle:%s, module:%s, nativeLibraryPath:%s", hspInfo.bundleName.c_str(), in GetNativeLibPath()
442 hspInfo.moduleName.c_str(), hspInfo.nativeLibraryPath.c_str()); in GetNativeLibPath()
443 GetHspNativeLibPath(hspInfo, appLibPaths, hspInfo.hapPath.find(ABS_CODE_PATH) != 0u); in GetNativeLibPath()
H A Dmain_thread.cpp204 for (auto &hspInfo : hspList) { in GetNativeLibPath()
205 TAG_LOGD(AAFwkTag::APPKIT, "bundle:%s, module:%s, nativeLibraryPath:%s", hspInfo.bundleName.c_str(), in GetNativeLibPath()
206 hspInfo.moduleName.c_str(), hspInfo.nativeLibraryPath.c_str()); in GetNativeLibPath()
207 GetHspNativeLibPath(hspInfo, appLibPaths, hspInfo.hapPath.find(ABS_CODE_PATH) != 0u); in GetNativeLibPath()
/foundation/ability/ability_runtime/test/unittest/frameworks_kits_appkit_native_test/
H A Dnative_lib_util_test.cpp89 AppExecFwk::BaseSharedBundleInfo hspInfo; in HWTEST_F() local
92 hspInfo.nativeLibraryPath = ""; in HWTEST_F()
93 AppExecFwk::GetHspNativeLibPath(hspInfo, appLibPaths, isPreInstallApp); in HWTEST_F()
96 hspInfo.nativeLibraryPath = "/data/test/nativeLibraryPath"; in HWTEST_F()
97 hspInfo.bundleName = "nativeLibraryTest"; in HWTEST_F()
98 hspInfo.moduleName = "library"; in HWTEST_F()
100 hspInfo.compressNativeLibs = false; in HWTEST_F()
101 AppExecFwk::GetHspNativeLibPath(hspInfo, appLibPaths, isPreInstallApp); in HWTEST_F()
106 AppExecFwk::GetHspNativeLibPath(hspInfo, appLibPaths, isPreInstallApp); in HWTEST_F()
110 hspInfo in HWTEST_F()
[all...]
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/aot/
H A Daot_args.cpp56 HspInfo *hspInfo = new (std::nothrow) HspInfo(); in Unmarshalling() local
57 if (hspInfo && !hspInfo->ReadFromParcel(parcel)) { in Unmarshalling()
59 delete hspInfo; in Unmarshalling()
60 hspInfo = nullptr; in Unmarshalling()
62 return hspInfo; in Unmarshalling()
141 for (const auto &hspInfo : hspVector) { in Marshalling()
142 WRITE_PARCEL_AND_RETURN_FALSE_IF_FAIL(Parcelable, parcel, &hspInfo); in Marshalling()
185 for (const auto &hspInfo : hspVector) { in ToString()
186 ret.append(hspInfo in ToString()
[all...]
H A Daot_executor.cpp125 for (auto &hspInfo : completeArgs.hspVector) { in PrepareArgs()
126 (void)GetAbcFileInfo(hspInfo.hapPath, hspInfo.offset, hspInfo.length); in PrepareArgs()
160 for (const auto &hspInfo : aotArgs.hspVector) { in MapArgs()
162 object[BUNDLE_NAME] = hspInfo.bundleName; in MapArgs()
163 object[MODULE_NAME] = hspInfo.moduleName; in MapArgs()
164 object[PKG_PATH] = hspInfo.hapPath; in MapArgs()
166 object[ABC_OFFSET] = DecToHex(hspInfo.offset); in MapArgs()
167 object[ABC_SIZE] = DecToHex(hspInfo in MapArgs()
[all...]
/foundation/ability/ability_runtime/interfaces/kits/native/appkit/app/
H A Dnative_lib_util.h31 void GetHspNativeLibPath(const BaseSharedBundleInfo &hspInfo, AppLibPathMap &appLibPaths, bool isPreInstallApp);
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_aot_test/
H A Dbms_data_aot_test.cpp137 HspInfo hspInfo; in CreateHspInfo() local
138 hspInfo.bundleName = "bundleName"; in CreateHspInfo()
139 hspInfo.moduleName = "moduleName"; in CreateHspInfo()
140 hspInfo.versionCode = VERSION_CODE; in CreateHspInfo()
141 hspInfo.hapPath = "hapPath"; in CreateHspInfo()
142 hspInfo.offset = OFFSET; in CreateHspInfo()
143 hspInfo.length = LENGTH; in CreateHspInfo()
144 return hspInfo; in CreateHspInfo()
691 HspInfo hspInfo = CreateHspInfo(); in HWTEST_F() local
693 bool ret = hspInfo in HWTEST_F()
1700 HspInfo hspInfo = CreateHspInfo(); HWTEST_F() local
[all...]
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/
H A Dinner_bundle_info.cpp255 HspInfo hspInfo; in GetInternalDependentHspInfo() local
256 hspInfo.bundleName = baseApplicationInfo_->bundleName; in GetInternalDependentHspInfo()
257 hspInfo.moduleName = item->second.moduleName; in GetInternalDependentHspInfo()
258 hspInfo.hapPath = item->second.hapPath; in GetInternalDependentHspInfo()
259 hspInfoVector.emplace_back(hspInfo); in GetInternalDependentHspInfo()

Completed in 25 milliseconds