Home
last modified time | relevance | path

Searched refs:bundlePackInfo (Results 1 - 25 of 48) sorted by relevance

12

/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_information/getbundlepackinfo_fuzzer/
H A Dgetbundlepackinfo_fuzzer.cpp31 BundlePackInfo bundlePackInfo; in DoSomethingInterestingWithMyAPI() local
32 bundleMgrProxy.GetBundlePackInfo(bundleName, flag, bundlePackInfo, reinterpret_cast<uintptr_t>(data)); in DoSomethingInterestingWithMyAPI()
34 bundlePackInfo, reinterpret_cast<uintptr_t>(data)); in DoSomethingInterestingWithMyAPI()
/foundation/bundlemanager/bundle_framework/interfaces/kits/js/free_install/
H A Dfree_install.cpp281 static void ConvertSummaryApp(napi_env env, napi_value &app, const BundlePackInfo &bundlePackInfo) in ConvertSummaryApp() argument
285 napi_create_string_utf8(env, bundlePackInfo.summary.app.bundleName.c_str(), NAPI_AUTO_LENGTH, &bundleName)); in ConvertSummaryApp()
291 napi_create_string_utf8(env, bundlePackInfo.summary.app.version.name.c_str(), NAPI_AUTO_LENGTH, &versionName)); in ConvertSummaryApp()
294 NAPI_CALL_RETURN_VOID(env, napi_create_int32(env, bundlePackInfo.summary.app.version.code, &versionCode)); in ConvertSummaryApp()
298 napi_create_int32(env, bundlePackInfo.summary.app.version.minCompatibleVersionCode, &minCompatibleVersionCode)); in ConvertSummaryApp()
454 napi_env env, napi_value &modulesArray, const BundlePackInfo &bundlePackInfo) in ConvertSummaryModules()
457 for (const auto &module : bundlePackInfo.summary.modules) { in ConvertSummaryModules()
475 napi_env env, napi_value &jsSummary, const BundlePackInfo &bundlePackInfo) in ConvertPackageSummary()
479 ConvertSummaryApp(env, app, bundlePackInfo); in ConvertPackageSummary()
482 ConvertSummaryModules(env, modules, bundlePackInfo); in ConvertPackageSummary()
453 ConvertSummaryModules( napi_env env, napi_value &modulesArray, const BundlePackInfo &bundlePackInfo) ConvertSummaryModules() argument
474 ConvertPackageSummary( napi_env env, napi_value &jsSummary, const BundlePackInfo &bundlePackInfo) ConvertPackageSummary() argument
487 ConvertPackages( napi_env env, napi_value &jsPackagesArray, const BundlePackInfo &bundlePackInfo) ConvertPackages() argument
511 ConvertBundlePackInfo( napi_env env, napi_value &result, int32_t flag, const BundlePackInfo &bundlePackInfo) ConvertBundlePackInfo() argument
549 InnerGetBundlePackInfo(const std::string &bundleName, int32_t flags, BundlePackInfo &bundlePackInfo) InnerGetBundlePackInfo() argument
[all...]
H A Dfree_install.h45 BundlePackInfo bundlePackInfo; member
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/
H A Dbundle_profile.h40 ErrCode TransformTo(const std::ostringstream &source, BundlePackInfo &bundlePackInfo);
H A Dbundle_parser.h45 ErrCode ParsePackInfo(const std::string &pathName, BundlePackInfo &bundlePackInfo) const;
H A Dbundle_install_checker.h193 const BundlePackInfo &bundlePackInfo,
196 void SetPackInstallationFree(BundlePackInfo &bundlePackInfo, const InnerBundleInfo &innerBundleInfo) const;
/foundation/ability/form_fwk/test/unittest/fms_form_event_util_test/
H A Dmock_form_bms_helper.cpp45 BundlePackInfo &bundlePackInfo) in GetBundlePackInfo()
44 GetBundlePackInfo(const std::string &bundleName, const int32_t userId, BundlePackInfo &bundlePackInfo) GetBundlePackInfo() argument
H A Dmock_form_data_mgr.cpp121 bool FormDataMgr::GetPackageForm(const FormRecord &record, const BundlePackInfo &bundlePackInfo, in GetPackageForm() argument
H A Dfms_form_event_util_test.cpp248 BundlePackInfo bundlePackInfo; in HWTEST_F() local
251 EXPECT_EQ(false, FormEventUtil::ProviderFormUpdated(formId, formRecord, bundlePackInfo, bundleInfo)); in HWTEST_F()
265 BundlePackInfo bundlePackInfo; in HWTEST_F() local
268 EXPECT_EQ(true, FormEventUtil::ProviderFormUpdated(formId, formRecord, bundlePackInfo, bundleInfo)); in HWTEST_F()
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/src/
H A Dbundle_pack_info.cpp499 void to_json(nlohmann::json &jsonObject, const BundlePackInfo &bundlePackInfo) in to_json() argument
502 {BUNDLE_PACK_INFO_SUMMARY, bundlePackInfo.summary}, in to_json()
503 {BUNDLE_PACK_INFO_PACKAGES, bundlePackInfo.packages} in to_json()
507 void from_json(const nlohmann::json &jsonObject, BundlePackInfo &bundlePackInfo) in from_json() argument
514 bundlePackInfo.summary, in from_json()
522 bundlePackInfo.packages, in from_json()
/foundation/ability/form_fwk/test/fuzztest/formsyseventreceiver_fuzzer/
H A Dformsyseventreceiver_fuzzer.cpp55 BundlePackInfo bundlePackInfo; in DoSomethingInterestingWithMyAPI() local
57 FormEventUtil::ProviderFormUpdated(formId, formRecord, bundlePackInfo, bundleInfo); in DoSomethingInterestingWithMyAPI()
/foundation/ability/form_fwk/test/fuzztest/formdatamgrfour_fuzzer/
H A Dformdatamgrfour_fuzzer.cpp71 BundlePackInfo bundlePackInfo; in DoSomethingInterestingWithMyAPI() local
73 formDataMgr.GetPackageForm(record, bundlePackInfo, abilityFormInfo); in DoSomethingInterestingWithMyAPI()
/foundation/ability/form_fwk/test/unittest/fms_form_bms_helper_test/
H A Dfms_form_bms_helper_test.cpp137 BundlePackInfo &bundlePackInfo, int32_t userId = Constants::UNSPECIFIED_USERID) override
144 BundlePackInfo &bundlePackInfo, int32_t userId = Constants::UNSPECIFIED_USERID) override
365 BundlePackInfo bundlePackInfo; in HWTEST_F() local
366 EXPECT_FALSE(formBmsHelper.GetBundlePackInfo(bundleName, userId, bundlePackInfo)); in HWTEST_F()
371 EXPECT_FALSE(formBmsHelper.GetBundlePackInfo(bundleName, userId, bundlePackInfo)); in HWTEST_F()
493 BundlePackInfo bundlePackInfo; in HWTEST_F() local
494 EXPECT_TRUE(formBmsHelper.GetBundlePackInfo(bundleName, userId, bundlePackInfo)); in HWTEST_F()
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_core/src/bundlemgr/
H A Dbundle_mgr_client.cpp58 const std::string &bundleName, const BundlePackFlag flag, BundlePackInfo &bundlePackInfo, int32_t userId) in GetBundlePackInfo()
64 return impl_->GetBundlePackInfo(bundleName, flag, bundlePackInfo, userId); in GetBundlePackInfo()
57 GetBundlePackInfo( const std::string &bundleName, const BundlePackFlag flag, BundlePackInfo &bundlePackInfo, int32_t userId) GetBundlePackInfo() argument
/foundation/ability/form_fwk/services/include/
H A Dform_event_util.h44 static bool ProviderFormUpdated(int64_t formId, FormRecord &formRecord, const BundlePackInfo &bundlePackInfo,
H A Dform_bms_helper.h75 * @param bundlePackInfo Indicates the obtained BundlePackInfo object.
78 bool GetBundlePackInfo(const std::string &bundleName, int32_t userId, BundlePackInfo &bundlePackInfo);
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_mgr_proxy_test/
H A Dbms_bundle_mgr_proxy_test.cpp286 BundlePackInfo bundlePackInfo; in HWTEST_F() local
288 auto res = bundleMgrProxy.GetBundlePackInfo(bundleName, flag, bundlePackInfo, userId); in HWTEST_F()
291 res = bundleMgrProxy.GetBundlePackInfo(bundleName, flag, bundlePackInfo, userId); in HWTEST_F()
308 BundlePackInfo bundlePackInfo; in HWTEST_F() local
310 auto res = bundleMgrProxy.GetBundlePackInfo(bundleName, flags, bundlePackInfo, userId); in HWTEST_F()
313 res = bundleMgrProxy.GetBundlePackInfo(bundleName, flags, bundlePackInfo, userId); in HWTEST_F()
/foundation/ability/form_fwk/services/src/
H A Dform_event_util.cpp93 BundlePackInfo bundlePackInfo; in HandleProviderUpdated() local
94 bool hasPackInfo = FormBmsHelper::GetInstance().GetBundlePackInfo(bundleName, userId, bundlePackInfo); in HandleProviderUpdated()
109 if (hasPackInfo && ProviderFormUpdated(formId, formRecord, bundlePackInfo, bundleInfo)) { in HandleProviderUpdated()
260 const BundlePackInfo &bundlePackInfo, const BundleInfo &bundleInfo) in ProviderFormUpdated()
264 if (!FormDataMgr::GetInstance().GetPackageForm(formRecord, bundlePackInfo, packForm)) { in ProviderFormUpdated()
259 ProviderFormUpdated(const int64_t formId, FormRecord &formRecord, const BundlePackInfo &bundlePackInfo, const BundleInfo &bundleInfo) ProviderFormUpdated() argument
H A Dform_bms_helper.cpp141 BundlePackInfo &bundlePackInfo) in GetBundlePackInfo()
150 if (IN_PROCESS_CALL(iBundleMgr->GetBundlePackInfo(bundleName, GET_PACK_INFO_ALL, bundlePackInfo, userId)) in GetBundlePackInfo()
140 GetBundlePackInfo(const std::string &bundleName, const int32_t userId, BundlePackInfo &bundlePackInfo) GetBundlePackInfo() argument
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_core/include/bundlemgr/
H A Dbundle_mgr_client.h40 ErrCode GetBundlePackInfo(const std::string &bundleName, const BundlePackFlag flag, BundlePackInfo &bundlePackInfo,
H A Dbundle_mgr_client_impl.h44 const std::string &bundleName, const BundlePackFlag flag, BundlePackInfo &bundlePackInfo, int32_t userId);
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/
H A Dbundle_parser.cpp146 ErrCode BundleParser::ParsePackInfo(const std::string &pathName, BundlePackInfo &bundlePackInfo) const in ParsePackInfo()
166 ErrCode ret = bundleProfile.TransformTo(outStreamForPackInfo, bundlePackInfo); in ParsePackInfo()
H A Dbundle_install_checker.cpp744 void BundleInstallChecker::SetPackInstallationFree(BundlePackInfo &bundlePackInfo, in SetPackInstallationFree() argument
749 for (auto &item : bundlePackInfo.summary.modules) { in SetPackInstallationFree()
754 for (auto &item : bundlePackInfo.summary.modules) { in SetPackInstallationFree()
796 const BundlePackInfo &bundlePackInfo, in SetEntryInstallationFree()
799 if (!bundlePackInfo.GetValid()) { in SetEntryInstallationFree()
804 auto packageModule = bundlePackInfo.summary.modules; in SetEntryInstallationFree()
795 SetEntryInstallationFree( const BundlePackInfo &bundlePackInfo, InnerBundleInfo &innerBundleInfo) SetEntryInstallationFree() argument
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_application/bundlemgrproxy_fuzzer/
H A Dbundlemgrproxy_fuzzer.cpp184 BundlePackInfo bundlePackInfo; in DoSomethingInterestingWithMyAPI() local
185 bundleMgrProxy.GetBundlePackInfo(bundleName + "1", 0, bundlePackInfo, reinterpret_cast<uintptr_t>(data)); in DoSomethingInterestingWithMyAPI()
187 bundleName + "1", BundleFlag::GET_BUNDLE_DEFAULT, bundlePackInfo, reinterpret_cast<uintptr_t>(data)); in DoSomethingInterestingWithMyAPI()
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/include/
H A Djson_serializer.h117 void to_json(nlohmann::json &jsonObject, const BundlePackInfo &bundlePackInfo);
118 void from_json(const nlohmann::json &jsonObject, BundlePackInfo &bundlePackInfo);

Completed in 20 milliseconds

12