/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_information/getbundlepackinfo_fuzzer/ |
H A D | getbundlepackinfo_fuzzer.cpp | 31 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 D | free_install.cpp | 281 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 D | free_install.h | 45 BundlePackInfo bundlePackInfo; member
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/ |
H A D | bundle_profile.h | 40 ErrCode TransformTo(const std::ostringstream &source, BundlePackInfo &bundlePackInfo);
|
H A D | bundle_parser.h | 45 ErrCode ParsePackInfo(const std::string &pathName, BundlePackInfo &bundlePackInfo) const;
|
H A D | bundle_install_checker.h | 193 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 D | mock_form_bms_helper.cpp | 45 BundlePackInfo &bundlePackInfo)
in GetBundlePackInfo() 44 GetBundlePackInfo(const std::string &bundleName, const int32_t userId, BundlePackInfo &bundlePackInfo) GetBundlePackInfo() argument
|
H A D | mock_form_data_mgr.cpp | 121 bool FormDataMgr::GetPackageForm(const FormRecord &record, const BundlePackInfo &bundlePackInfo,
in GetPackageForm() argument
|
H A D | fms_form_event_util_test.cpp | 248 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 D | bundle_pack_info.cpp | 499 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 D | formsyseventreceiver_fuzzer.cpp | 55 BundlePackInfo bundlePackInfo; in DoSomethingInterestingWithMyAPI() local 57 FormEventUtil::ProviderFormUpdated(formId, formRecord, bundlePackInfo, bundleInfo); in DoSomethingInterestingWithMyAPI()
|
/foundation/ability/form_fwk/test/fuzztest/formdatamgrfour_fuzzer/ |
H A D | formdatamgrfour_fuzzer.cpp | 71 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 D | fms_form_bms_helper_test.cpp | 137 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 D | bundle_mgr_client.cpp | 58 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 D | form_event_util.h | 44 static bool ProviderFormUpdated(int64_t formId, FormRecord &formRecord, const BundlePackInfo &bundlePackInfo,
|
H A D | form_bms_helper.h | 75 * @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 D | bms_bundle_mgr_proxy_test.cpp | 286 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 D | form_event_util.cpp | 93 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 D | form_bms_helper.cpp | 141 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 D | bundle_mgr_client.h | 40 ErrCode GetBundlePackInfo(const std::string &bundleName, const BundlePackFlag flag, BundlePackInfo &bundlePackInfo,
|
H A D | bundle_mgr_client_impl.h | 44 const std::string &bundleName, const BundlePackFlag flag, BundlePackInfo &bundlePackInfo, int32_t userId);
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/ |
H A D | bundle_parser.cpp | 146 ErrCode BundleParser::ParsePackInfo(const std::string &pathName, BundlePackInfo &bundlePackInfo) const in ParsePackInfo() 166 ErrCode ret = bundleProfile.TransformTo(outStreamForPackInfo, bundlePackInfo); in ParsePackInfo()
|
H A D | bundle_install_checker.cpp | 744 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 D | bundlemgrproxy_fuzzer.cpp | 184 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 D | json_serializer.h | 117 void to_json(nlohmann::json &jsonObject, const BundlePackInfo &bundlePackInfo); 118 void from_json(const nlohmann::json &jsonObject, BundlePackInfo &bundlePackInfo);
|