/ohos5.0/foundation/ability/form_fwk/services/src/ |
H A D | form_bms_helper.cpp | 29 FormBmsHelper::FormBmsHelper() in FormBmsHelper() function in OHOS::AppExecFwk::FormBmsHelper 34 FormBmsHelper::~FormBmsHelper() in ~FormBmsHelper() 39 sptr<IBundleMgr> FormBmsHelper::GetBundleMgr() in GetBundleMgr() 64 sptr<IBundleInstaller> FormBmsHelper::GetBundleInstaller() in GetBundleInstaller() 77 void FormBmsHelper::SetBundleManager(const sptr<IBundleMgr> &bundleManager) in SetBundleManager() 140 bool FormBmsHelper::GetBundlePackInfo(const std::string &bundleName, const int32_t userId, in GetBundlePackInfo() 197 bool FormBmsHelper::GetAbilityInfoByAction(const std::string &action, int32_t userId, in GetAbilityInfoByAction() 268 int32_t FormBmsHelper::GetCallerBundleName(std::string &callerBundleName) in GetCallerBundleName() 283 int32_t FormBmsHelper::GetBundleNameByUid(const int32_t uid, std::string &bundleName) in GetBundleNameByUid() 393 ErrCode FormBmsHelper::RegisterBundleEventCallback() in RegisterBundleEventCallback() [all …]
|
H A D | form_sandbox_render_mgr_inner.cpp | 41 sptr<IBundleMgr> iBundleMgr = FormBmsHelper::GetInstance().GetBundleMgr(); in IsSandboxFRSInstalled() 57 sptr<IBundleInstaller> bundleInstallerProxy = FormBmsHelper::GetInstance().GetBundleInstaller(); in InstallSandboxFRS()
|
H A D | form_event_util.cpp | 94 …bool hasPackInfo = FormBmsHelper::GetInstance().GetBundlePackInfo(bundleName, userId, bundlePackIn… in HandleProviderUpdated() 96 if (FormBmsHelper::GetInstance().GetBundleInfoV9(bundleName, userId, bundleInfo) != ERR_OK) { in HandleProviderUpdated() 172 … FormBmsHelper::GetInstance().NotifyModuleRemovable(dbForm.bundleName, dbForm.moduleName); in HandleProviderRemoved() 207 int32_t uid = FormBmsHelper::GetInstance().GetUidByBundleName(bundleName, userId); in HandleBundleDataCleared() 208 if (uid == FormBmsHelper::INVALID_UID) { in HandleBundleDataCleared() 257 …FormBmsHelper::GetInstance().NotifyModuleNotRemovable(formRecord.bundleName, formRecord.moduleName… in ProviderFormUpdated() 546 FormBmsHelper::GetInstance().NotifyModuleRemovable(item.bundleName, item.moduleName); in BatchDeleteNoHostDBForms()
|
H A D | form_share_mgr.cpp | 119 if (!FormBmsHelper::GetInstance().GetAbilityInfoByAction( in HandleRecvFormShareInfoFromRemoteTask() 230 if (!FormBmsHelper::GetInstance().GetAbilityInfoByAction( in StartFormUser() 266 if (!FormBmsHelper::GetInstance().GetBundleInfo(bundleName, userId, bundleInfo)) { in IsExistFormPackage() 419 FormBmsHelper::GetInstance().NotifyModuleNotRemovable(bundleName, moduleName); in AddProviderData()
|
H A D | form_db_cache.cpp | 257 … FormBmsHelper::GetInstance().NotifyModuleNotRemovable(dbInfo.bundleName, dbInfo.moduleName); in GetNoHostDBForms() 349 …FormBmsHelper::GetInstance().NotifyModuleNotRemovable(formRecord.bundleName, formRecord.moduleName… in GetNoHostInvalidDBForms() 387 FormBmsHelper::GetInstance().NotifyModuleRemovable(item.bundleName, item.moduleName); in BatchDeleteNoHostDBForms()
|
H A D | form_free_install_operator.cpp | 50 sptr<IBundleMgr> iBundleMgr = FormBmsHelper::GetInstance().GetBundleMgr(); in StartFreeInstall()
|
/ohos5.0/foundation/ability/form_fwk/test/unittest/fms_form_mgr_adapter_test/ |
H A D | mock_form_bms_helper.cpp | 63 FormBmsHelper::FormBmsHelper() in FormBmsHelper() function in OHOS::AppExecFwk::FormBmsHelper 66 FormBmsHelper::~FormBmsHelper() in ~FormBmsHelper() 69 int32_t FormBmsHelper::GetCallerBundleName(std::string &callerBundleName) in GetCallerBundleName() 77 int32_t FormBmsHelper::GetUidByBundleName(const std::string &bundleName, const int32_t userId) in GetUidByBundleName() 85 bool FormBmsHelper::GetAbilityInfoByAction(const std::string &action, int32_t userId, in GetAbilityInfoByAction() 97 bool FormBmsHelper::GetAbilityInfo(const AAFwk::Want &want, int32_t userId, AbilityInfo &abilityInf… in GetAbilityInfo() 106 bool FormBmsHelper::GetBundleInfoWithPermission(const std::string &bundleName, int32_t userId, Bund… in GetBundleInfoWithPermission()
|
H A D | fms_form_mgr_adapter_test2.cpp | 119 FormBmsHelper::GetInstance().iBundleMgr_ = bmsProxy; 137 FormBmsHelper::GetInstance().iBundleMgr_ = backup; 472 FormBmsHelper::GetInstance().iBundleMgr_ = bmsProxy; 479 FormBmsHelper::GetInstance().iBundleMgr_ = backup; 510 FormBmsHelper::GetInstance().iBundleMgr_ = backup; 708 FormBmsHelper::GetInstance().iBundleMgr_ = backup; 740 FormBmsHelper::GetInstance().iBundleMgr_ = backup; 1421 FormBmsHelper::GetInstance().iBundleMgr_ = backup; 1445 FormBmsHelper::GetInstance().iBundleMgr_ = backup; 1469 FormBmsHelper::GetInstance().iBundleMgr_ = backup; [all …]
|
H A D | fms_form_mgr_adapter_test.cpp | 969 sptr<IBundleMgr> backup = FormBmsHelper::GetInstance().GetBundleMgr(); 970 FormBmsHelper::GetInstance().iBundleMgr_ = bmsProxy; 979 FormBmsHelper::GetInstance().iBundleMgr_ = backup; 1738 sptr<IBundleMgr> backup = FormBmsHelper::GetInstance().GetBundleMgr(); 1739 FormBmsHelper::GetInstance().iBundleMgr_ = bmsProxy; 1757 FormBmsHelper::GetInstance().iBundleMgr_ = backup; 1780 sptr<IBundleMgr> backup = FormBmsHelper::GetInstance().GetBundleMgr(); 1781 FormBmsHelper::GetInstance().iBundleMgr_ = bmsProxy; 1800 FormBmsHelper::GetInstance().iBundleMgr_ = backup; 1824 FormBmsHelper::GetInstance().iBundleMgr_ = bmsProxy; [all …]
|
/ohos5.0/foundation/ability/form_fwk/test/unittest/fms_form_event_util_test/ |
H A D | mock_form_bms_helper.cpp | 38 FormBmsHelper::FormBmsHelper() in FormBmsHelper() function in OHOS::AppExecFwk::FormBmsHelper 41 FormBmsHelper::~FormBmsHelper() in ~FormBmsHelper() 44 bool FormBmsHelper::GetBundlePackInfo(const std::string &bundleName, const int32_t userId, in GetBundlePackInfo() 50 int32_t FormBmsHelper::GetUidByBundleName(const std::string &bundleName, const int32_t userId) in GetUidByBundleName()
|
/ohos5.0/foundation/ability/form_fwk/test/unittest/fms_form_provider_data_new_leg_test/ |
H A D | mock_form_bms_helper.cpp | 35 FormBmsHelper::FormBmsHelper() in FormBmsHelper() function in OHOS::AppExecFwk::FormBmsHelper 38 FormBmsHelper::~FormBmsHelper() in ~FormBmsHelper() 41 bool FormBmsHelper::GetBundleInfo(const std::string &bundleName, int32_t userId, BundleInfo &bundle… in GetBundleInfo() 46 bool FormBmsHelper::GetAbilityInfoByAction(const std::string &action, int32_t userId, in GetAbilityInfoByAction()
|
/ohos5.0/foundation/ability/form_fwk/test/unittest/fms_form_mgr_publish_form_test/ |
H A D | mock_form_bms_helper.cpp | 37 FormBmsHelper::FormBmsHelper() in FormBmsHelper() function in OHOS::AppExecFwk::FormBmsHelper 40 FormBmsHelper::~FormBmsHelper() in ~FormBmsHelper() 43 bool FormBmsHelper::GetAbilityInfo(const AAFwk::Want &want, int32_t userId, AbilityInfo &abilityInf… in GetAbilityInfo() 52 bool FormBmsHelper::GetAbilityInfoByAction(const std::string &action, int32_t userId, in GetAbilityInfoByAction()
|
H A D | fms_form_mgr_publish_form_test.cpp | 248 FormBmsHelper::GetInstance().SetBundleManager(mockBms_); 263 FormBmsHelper::GetInstance().SetBundleManager(nullptr); 294 FormBmsHelper::GetInstance().SetBundleManager(mockBms_); 307 FormBmsHelper::GetInstance().SetBundleManager(nullptr);
|
/ohos5.0/foundation/ability/form_fwk/test/unittest/fms_form_bms_helper_test/ |
H A D | fms_form_bms_helper_test.cpp | 190 FormBmsHelper formBmsHelper; 206 FormBmsHelper formBmsHelper; 225 FormBmsHelper formBmsHelper; 244 FormBmsHelper formBmsHelper; 263 FormBmsHelper formBmsHelper; 284 FormBmsHelper formBmsHelper; 305 FormBmsHelper formBmsHelper; 324 FormBmsHelper formBmsHelper; 343 FormBmsHelper formBmsHelper; 362 FormBmsHelper formBmsHelper; [all …]
|
/ohos5.0/foundation/ability/form_fwk/test/unittest/fms_form_render_connection_test/ |
H A D | mock_form_bms_helper.cpp | 29 FormBmsHelper::FormBmsHelper() in FormBmsHelper() function in OHOS::AppExecFwk::FormBmsHelper 32 FormBmsHelper::~FormBmsHelper() in ~FormBmsHelper() 35 bool FormBmsHelper::GetCompileMode(const std::string &bundleName, const std::string &moduleName, in GetCompileMode()
|
/ohos5.0/foundation/ability/form_fwk/test/unittest/fms_form_mgr_service_test/ |
H A D | mock_form_bms_helper.cpp | 33 FormBmsHelper::FormBmsHelper() in FormBmsHelper() function in OHOS::AppExecFwk::FormBmsHelper 36 FormBmsHelper::~FormBmsHelper() in ~FormBmsHelper() 39 int32_t FormBmsHelper::GetCallerBundleName(std::string &callerBundleName) in GetCallerBundleName()
|
/ohos5.0/foundation/ability/form_fwk/test/unittest/fms_form_data_mgr_test/ |
H A D | mock_form_bms_helper.cpp | 32 FormBmsHelper::FormBmsHelper() in FormBmsHelper() function in OHOS::AppExecFwk::FormBmsHelper 35 FormBmsHelper::~FormBmsHelper() in ~FormBmsHelper() 38 ErrCode FormBmsHelper::GetBundleNameByUid(const int32_t uid, std::string &bundleName) in GetBundleNameByUid()
|
/ohos5.0/foundation/ability/form_fwk/test/unittest/fms_form_render_mgr_inner_test/ |
H A D | mock_form_bms_helper.cpp | 27 FormBmsHelper::FormBmsHelper() in FormBmsHelper() function in OHOS::AppExecFwk::FormBmsHelper 30 FormBmsHelper::~FormBmsHelper() in ~FormBmsHelper() 33 bool FormBmsHelper::GetBundleInfoDefault(const std::string& bundleName, int32_t userId, BundleInfo … in GetBundleInfoDefault()
|
/ohos5.0/foundation/ability/form_fwk/test/unittest/fms_form_data_proxy_record_test/ |
H A D | mock_form_bms_helper.cpp | 36 FormBmsHelper::FormBmsHelper() in FormBmsHelper() function in OHOS::AppExecFwk::FormBmsHelper 39 FormBmsHelper::~FormBmsHelper() in ~FormBmsHelper() 42 ErrCode FormBmsHelper::GetAllProxyDataInfos(int32_t userId, std::vector<ProxyData> &proxyData) in GetAllProxyDataInfos()
|
/ohos5.0/foundation/ability/form_fwk/test/unittest/form_info_mgr_test/ |
H A D | form_info_mgr_test.cpp | 129 FormBmsHelper::GetInstance().iBundleMgr_ = bmsProxy; 137 FormBmsHelper::GetInstance().iBundleMgr_ = backup; 233 FormBmsHelper::GetInstance().iBundleMgr_ = bmsProxy; 241 FormBmsHelper::GetInstance().iBundleMgr_ = backup; 285 FormBmsHelper::GetInstance().iBundleMgr_ = backup; 311 FormBmsHelper::GetInstance().iBundleMgr_ = backup; 492 FormBmsHelper::GetInstance().iBundleMgr_ = backup; 561 FormBmsHelper::GetInstance().iBundleMgr_ = bms; 579 FormBmsHelper::GetInstance().iBundleMgr_ = backup; 593 FormBmsHelper::GetInstance().iBundleMgr_ = bms; [all …]
|
/ohos5.0/foundation/ability/form_fwk/test/unittest/fms_form_host_record_test/ |
H A D | fms_form_host_record_test.cpp | 163 FormBmsHelper formBmsHelper; 180 std::shared_ptr<FormBmsHelper> formBmsHelper = std::make_shared<FormBmsHelper>(); 196 std::shared_ptr<FormBmsHelper> formBmsHelper = std::make_shared<FormBmsHelper>(); 212 std::shared_ptr<FormBmsHelper> formBmsHelper = std::make_shared<FormBmsHelper>(); 228 std::shared_ptr<FormBmsHelper> formBmsHelper = std::make_shared<FormBmsHelper>(); 244 std::shared_ptr<FormBmsHelper> formBmsHelper = std::make_shared<FormBmsHelper>(); 260 std::shared_ptr<FormBmsHelper> formBmsHelper = std::make_shared<FormBmsHelper>(); 276 std::shared_ptr<FormBmsHelper> formBmsHelper = std::make_shared<FormBmsHelper>(); 292 std::shared_ptr<FormBmsHelper> formBmsHelper = std::make_shared<FormBmsHelper>(); 308 FormBmsHelper formBmsHelper; [all …]
|
/ohos5.0/foundation/ability/form_fwk/test/unittest/fms_form_data_proxy_mgr_test/ |
H A D | fms_form_data_proxy_mgr_test.cpp | 51 FormBmsHelper::FormBmsHelper() in FormBmsHelper() function in OHOS::AppExecFwk::FormBmsHelper 54 FormBmsHelper::~FormBmsHelper() in ~FormBmsHelper() 57 ErrCode FormBmsHelper::GetApplicationInfo(const std::string &bundleName, int32_t userId, Applicatio… in GetApplicationInfo()
|
/ohos5.0/foundation/ability/form_fwk/services/include/ |
H A D | form_bms_helper.h | 34 class FormBmsHelper final : public DelayedRefSingleton<FormBmsHelper> { 35 DECLARE_DELAYED_REF_SINGLETON(FormBmsHelper) 38 DISALLOW_COPY_AND_MOVE(FormBmsHelper);
|
/ohos5.0/foundation/ability/form_fwk/test/unittest/fms_form_mgr_notify_forms_privacy_protected_test/ |
H A D | fms_form_mgr_notify_forms_privacy_protected_test.cpp | 67 FormBmsHelper::GetInstance().SetBundleManager(new BundleMgrService()); in SetUpTestCase()
|
/ohos5.0/foundation/ability/form_fwk/test/fuzztest/formbmshelper_fuzzer/ |
H A D | formbmshelper_fuzzer.cpp | 40 FormBmsHelper formBmsHelper; in DoSomethingInterestingWithMyAPI()
|