Home
last modified time | relevance | path

Searched refs:FormBmsHelper (Results 1 - 25 of 54) sorted by relevance

123

/foundation/ability/form_fwk/test/unittest/fms_form_mgr_adapter_test/
H A Dmock_form_bms_helper.cpp63 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 &abilityInfo, in GetAbilityInfo()
106 bool FormBmsHelper::GetBundleInfoWithPermission(const std::string &bundleName, int32_t userId, BundleInfo &bundleInfo) in GetBundleInfoWithPermission()
H A Dfms_form_mgr_adapter_test2.cpp138 sptr<IBundleMgr> backup = FormBmsHelper::GetInstance().GetBundleMgr(); in HWTEST_F()
139 FormBmsHelper::GetInstance().iBundleMgr_ = bmsProxy; in HWTEST_F()
157 FormBmsHelper::GetInstance().iBundleMgr_ = backup; in HWTEST_F()
589 sptr<IBundleMgr> backup = FormBmsHelper::GetInstance().GetBundleMgr(); in HWTEST_F()
590 FormBmsHelper::GetInstance().iBundleMgr_ = bmsProxy; in HWTEST_F()
597 FormBmsHelper::GetInstance().iBundleMgr_ = backup; in HWTEST_F()
617 sptr<IBundleMgr> backup = FormBmsHelper::GetInstance().GetBundleMgr(); in HWTEST_F()
618 FormBmsHelper::GetInstance().iBundleMgr_ = bmsProxy; in HWTEST_F()
628 FormBmsHelper::GetInstance().iBundleMgr_ = backup; in HWTEST_F()
815 sptr<IBundleMgr> backup = FormBmsHelper in HWTEST_F()
[all...]
H A Dfms_form_mgr_adapter_test.cpp1041 sptr<IBundleMgr> backup = FormBmsHelper::GetInstance().GetBundleMgr(); in HWTEST_F()
1042 FormBmsHelper::GetInstance().iBundleMgr_ = bmsProxy; in HWTEST_F()
1051 FormBmsHelper::GetInstance().iBundleMgr_ = backup; in HWTEST_F()
1666 sptr<IBundleMgr> iBundleMgr = FormBmsHelper::GetInstance().GetBundleMgr(); in HWTEST_F()
1846 sptr<IBundleMgr> backup = FormBmsHelper::GetInstance().GetBundleMgr(); in HWTEST_F()
1847 FormBmsHelper::GetInstance().iBundleMgr_ = bmsProxy; in HWTEST_F()
1865 FormBmsHelper::GetInstance().iBundleMgr_ = backup; in HWTEST_F()
1888 sptr<IBundleMgr> backup = FormBmsHelper::GetInstance().GetBundleMgr(); in HWTEST_F()
1889 FormBmsHelper::GetInstance().iBundleMgr_ = bmsProxy; in HWTEST_F()
1908 FormBmsHelper in HWTEST_F()
[all...]
/foundation/ability/form_fwk/test/unittest/fms_form_event_util_test/
H A Dmock_form_bms_helper.cpp38 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()
/foundation/ability/form_fwk/test/unittest/fms_form_provider_data_new_leg_test/
H A Dmock_form_bms_helper.cpp35 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 &bundleInfo) in GetBundleInfo()
46 bool FormBmsHelper::GetAbilityInfoByAction(const std::string &action, int32_t userId, in GetAbilityInfoByAction()
/foundation/ability/form_fwk/test/unittest/fms_form_render_connection_test/
H A Dmock_form_bms_helper.cpp29 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()
/foundation/ability/form_fwk/test/unittest/fms_form_data_mgr_test/
H A Dmock_form_bms_helper.cpp32 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()
/foundation/ability/form_fwk/test/unittest/fms_form_mgr_service_test/
H A Dmock_form_bms_helper.cpp33 FormBmsHelper::FormBmsHelper() in FormBmsHelper() function in OHOS::AppExecFwk::FormBmsHelper
36 FormBmsHelper::~FormBmsHelper() in ~FormBmsHelper()
39 int32_t FormBmsHelper::GetCallerBundleName(std::string &callerBundleName) in GetCallerBundleName()
/foundation/ability/form_fwk/test/unittest/fms_form_data_proxy_record_test/
H A Dmock_form_bms_helper.cpp36 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()
/foundation/ability/form_fwk/test/unittest/fms_form_render_mgr_inner_test/
H A Dmock_form_bms_helper.cpp27 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 &bundleInfo) in GetBundleInfoDefault()
/foundation/ability/form_fwk/test/unittest/fms_form_mgr_publish_form_test/
H A Dmock_form_bms_helper.cpp37 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 &abilityInfo, in GetAbilityInfo()
52 bool FormBmsHelper::GetAbilityInfoByAction(const std::string &action, int32_t userId, in GetAbilityInfoByAction()
H A Dfms_form_mgr_publish_form_test.cpp248 FormBmsHelper::GetInstance().SetBundleManager(mockBms_); in HWTEST_F()
263 FormBmsHelper::GetInstance().SetBundleManager(nullptr); in HWTEST_F()
294 FormBmsHelper::GetInstance().SetBundleManager(mockBms_); in HWTEST_F()
307 FormBmsHelper::GetInstance().SetBundleManager(nullptr); in HWTEST_F()
/foundation/ability/form_fwk/services/src/
H A Dform_bms_helper.cpp29 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()
88 void FormBmsHelper::NotifyModuleRemovable(const std::string &bundleName, const std::string &moduleName) in NotifyModuleRemovable()
113 void FormBmsHelper::NotifyModuleNotRemovable(const std::string &bundleName, const std::string &moduleName) in NotifyModuleNotRemovable()
135 std::string FormBmsHelper
[all...]
H A Dform_sandbox_render_mgr_inner.cpp41 sptr<IBundleMgr> iBundleMgr = FormBmsHelper::GetInstance().GetBundleMgr(); in IsSandboxFRSInstalled()
57 sptr<IBundleInstaller> bundleInstallerProxy = FormBmsHelper::GetInstance().GetBundleInstaller(); in InstallSandboxFRS()
H A Dform_event_util.cpp94 bool hasPackInfo = FormBmsHelper::GetInstance().GetBundlePackInfo(bundleName, userId, bundlePackInfo); in HandleProviderUpdated()
96 if (FormBmsHelper::GetInstance().GetBundleInfoV9(bundleName, userId, bundleInfo) != ERR_OK) { in HandleProviderUpdated()
166 FormBmsHelper::GetInstance().NotifyModuleRemovable(dbForm.bundleName, dbForm.moduleName); in HandleProviderRemoved()
199 int32_t uid = FormBmsHelper::GetInstance().GetUidByBundleName(bundleName, userId); in HandleBundleDataCleared()
200 if (uid == FormBmsHelper::INVALID_UID) { in HandleBundleDataCleared()
249 FormBmsHelper::GetInstance().NotifyModuleNotRemovable(formRecord.bundleName, formRecord.moduleName); in ProviderFormUpdated()
538 FormBmsHelper::GetInstance().NotifyModuleRemovable(item.bundleName, item.moduleName); in BatchDeleteNoHostDBForms()
H A Dform_share_mgr.cpp119 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 Dform_free_install_operator.cpp50 sptr<IBundleMgr> iBundleMgr = FormBmsHelper::GetInstance().GetBundleMgr(); in StartFreeInstall()
H A Dform_bundle_event_callback.cpp43 if (FormBmsHelper::GetInstance().GetApplicationInfo(bundleName, userId, appInfo) != ERR_OK) { in IsEncryptedBundle()
/foundation/ability/form_fwk/test/unittest/fms_form_bms_helper_test/
H A Dfms_form_bms_helper_test.cpp190 FormBmsHelper formBmsHelper; in HWTEST_F()
206 FormBmsHelper formBmsHelper; in HWTEST_F()
225 FormBmsHelper formBmsHelper; in HWTEST_F()
244 FormBmsHelper formBmsHelper; in HWTEST_F()
263 FormBmsHelper formBmsHelper; in HWTEST_F()
284 FormBmsHelper formBmsHelper; in HWTEST_F()
305 FormBmsHelper formBmsHelper; in HWTEST_F()
324 FormBmsHelper formBmsHelper; in HWTEST_F()
343 FormBmsHelper formBmsHelper; in HWTEST_F()
362 FormBmsHelper formBmsHelpe in HWTEST_F()
[all...]
/foundation/ability/form_fwk/test/unittest/fms_form_data_proxy_mgr_test/
H A Dfms_form_data_proxy_mgr_test.cpp51 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, ApplicationInfo &appInfo) in GetApplicationInfo()
/foundation/ability/form_fwk/test/unittest/form_info_mgr_test/
H A Dform_info_mgr_test.cpp128 sptr<IBundleMgr> backup = FormBmsHelper::GetInstance().GetBundleMgr(); in HWTEST_F()
129 FormBmsHelper::GetInstance().iBundleMgr_ = bmsProxy; in HWTEST_F()
137 FormBmsHelper::GetInstance().iBundleMgr_ = backup; in HWTEST_F()
232 sptr<IBundleMgr> backup = FormBmsHelper::GetInstance().GetBundleMgr(); in HWTEST_F()
233 FormBmsHelper::GetInstance().iBundleMgr_ = bmsProxy; in HWTEST_F()
241 FormBmsHelper::GetInstance().iBundleMgr_ = backup; in HWTEST_F()
269 sptr<IBundleMgr> backup = FormBmsHelper::GetInstance().GetBundleMgr(); in HWTEST_F()
270 FormBmsHelper::GetInstance().iBundleMgr_ = bmsProxy; in HWTEST_F()
285 FormBmsHelper::GetInstance().iBundleMgr_ = backup; in HWTEST_F()
298 sptr<IBundleMgr> backup = FormBmsHelper in HWTEST_F()
[all...]
/foundation/ability/form_fwk/test/unittest/fms_form_host_record_test/
H A Dfms_form_host_record_test.cpp88 FormBmsHelper::GetInstance().SetBundleManager(mockBundleMgrService); in SetUpTestCase()
163 FormBmsHelper formBmsHelper; in HWTEST_F()
180 std::shared_ptr<FormBmsHelper> formBmsHelper = std::make_shared<FormBmsHelper>(); in HWTEST_F()
196 std::shared_ptr<FormBmsHelper> formBmsHelper = std::make_shared<FormBmsHelper>(); in HWTEST_F()
212 std::shared_ptr<FormBmsHelper> formBmsHelper = std::make_shared<FormBmsHelper>(); in HWTEST_F()
228 std::shared_ptr<FormBmsHelper> formBmsHelper = std::make_shared<FormBmsHelper>(); in HWTEST_F()
[all...]
/foundation/ability/form_fwk/services/include/
H A Dform_bms_helper.h31 * @class FormBmsHelper
34 class FormBmsHelper final : public DelayedRefSingleton<FormBmsHelper> {
35 DECLARE_DELAYED_REF_SINGLETON(FormBmsHelper)
38 DISALLOW_COPY_AND_MOVE(FormBmsHelper);
/foundation/ability/form_fwk/test/fuzztest/formbmshelper_fuzzer/
H A Dformbmshelper_fuzzer.cpp40 FormBmsHelper formBmsHelper; in DoSomethingInterestingWithMyAPI()
/foundation/ability/form_fwk/test/unittest/fms_form_mgr_notify_forms_privacy_protected_test/
H A Dfms_form_mgr_notify_forms_privacy_protected_test.cpp67 FormBmsHelper::GetInstance().SetBundleManager(new BundleMgrService()); in SetUpTestCase()

Completed in 29 milliseconds

123