Home
last modified time | relevance | path

Searched refs:GetFormsInfoByApp (Results 1 - 25 of 55) sorted by relevance

123

/foundation/ability/ability_runtime/test/mock/frameworks_kits_ability_native_test/include/
H A Dmock_bundle_manager_form.h76 bool GetFormsInfoByApp(const std::string& bundleName, std::vector<FormInfo>& formInfo) override;
112 bool GetFormsInfoByApp(const std::string& bundleName, std::vector<FormInfo>& formInfo) override;
H A Dmock_form_mgr_proxy.h47 MOCK_METHOD2(GetFormsInfoByApp, int(std::string &bundleName, std::vector<FormInfo> &formInfos));
H A Dmock_bundle_manager_form.cpp108 bool BundleMgrService::GetFormsInfoByApp(const std::string& bundleName, std::vector<FormInfo>& formInfo) in GetFormsInfoByApp() function in OHOS::AppExecFwk::BundleMgrService
/foundation/ability/form_fwk/test/mock/include/
H A Dmock_bundle_manager.h68 virtual bool GetFormsInfoByApp(const std::string &bundleName, std::vector<FormInfo> &formInfo) override;
108 virtual bool GetFormsInfoByApp(const std::string &bundleName, std::vector<FormInfo> &formInfo) override;
H A Dmock_form_mgr_proxy.h49 MOCK_METHOD2(GetFormsInfoByApp, int(std::string &bundleName, std::vector<FormInfo> &formInfos));
H A Dmock_form_mgr_service.h63 MOCK_METHOD2(GetFormsInfoByApp, int(std::string &bundleName, std::vector<FormInfo> &formInfos));
/foundation/ability/form_fwk/test/fuzztest/formmgrannex_fuzzer/
H A Dformmgrannex_fuzzer.cpp63 formMgr.GetFormsInfoByApp(bundleName, formInfos); in DoSomethingInterestingWithMyAPI()
/foundation/ability/form_fwk/test/fuzztest/formmgradapterthree_fuzzer/
H A Dformmgradapterthree_fuzzer.cpp72 formMgrAdapter.GetFormsInfoByApp(bundleName, formInfos); in DoSomethingInterestingWithMyAPI()
/foundation/ability/form_fwk/test/benchmarktest/form_manager_test/
H A Dform_manager_test.cpp112 ErrCode errCode = FormMgr::GetInstance().GetFormsInfoByApp(bundleName, formInfos); in BENCHMARK_F()
/foundation/ability/form_fwk/test/mock/src/
H A Dmock_bundle_manager.cpp126 bool BundleMgrService::GetFormsInfoByApp(const std::string &bundleName, std::vector<FormInfo> &formInfo) in GetFormsInfoByApp() function in OHOS::AppExecFwk::BundleMgrService
/foundation/ability/form_fwk/test/fuzztest/formmgrproxy_fuzzer/
H A Dformmgrproxy_fuzzer.cpp84 formMgrProxy.GetFormsInfoByApp(bundleName, formInfos); in DoSomethingInterestingWithMyAPI()
/foundation/ability/form_fwk/interfaces/kits/native/include/
H A Dform_mgr.h387 int GetFormsInfoByApp(std::string &bundleName, std::vector<FormInfo> &formInfos);
/foundation/ability/form_fwk/test/unittest/fms_form_mgr_service_test/
H A Dmock_form_mgr_adapter.cpp248 int FormMgrAdapter::GetFormsInfoByApp(const std::string &bundleName, std::vector<FormInfo> &formInfos) in GetFormsInfoByApp() function in OHOS::AppExecFwk::FormMgrAdapter
250 GTEST_LOG_(INFO) << "GetFormsInfoByApp called " << g_getFormsInfoByApp; in GetFormsInfoByApp()
H A Dfms_form_mgr_service_test.cpp822 * @tc.name: test GetFormsInfoByApp function.
823 * @tc.desc: Verify that the GetFormsInfoByApp interface if the caller do not have the across local
835 EXPECT_EQ(ERR_APPEXECFWK_FORM_PERMISSION_DENY, formMgrService.GetFormsInfoByApp(bundleName, formInfos)); in HWTEST_F()
841 * @tc.name: test GetFormsInfoByApp function.
842 * @tc.desc: Verify that the GetFormsInfoByApp interface is called normally and the return value is ERR_OK.
853 EXPECT_EQ(ERR_OK, formMgrService.GetFormsInfoByApp(bundleName, formInfos)); in HWTEST_F()
860 * @tc.desc: Verify that the GetFormsInfoByApp interface if the caller is not a system app
871 EXPECT_EQ(ERR_APPEXECFWK_FORM_PERMISSION_DENY_SYS, formMgrService.GetFormsInfoByApp(bundleName, formInfos)); in HWTEST_F()
/foundation/ability/dmsfwk/services/dtbschedmgr/test/unittest/
H A Dmock_form_mgr_service.h145 int32_t GetFormsInfoByApp(std::string &bundleName, std::vector<FormInfo> &formInfos) override
/foundation/ability/ability_runtime/test/unittest/frameworks_kits_appkit_native_test/
H A Dform_extension_context_mock_test.h169 int GetFormsInfoByApp(std::string &bundleName, std::vector<FormInfo> &formInfos) override
/foundation/ability/form_fwk/services/include/
H A Dform_mgr_service.h329 int GetFormsInfoByApp(std::string &bundleName, std::vector<FormInfo> &formInfos) override;
H A Dform_mgr_adapter.h383 int GetFormsInfoByApp(const std::string &bundleName, std::vector<FormInfo> &formInfos);
/foundation/ability/form_fwk/interfaces/inner_api/include/
H A Dform_mgr_interface.h316 virtual int GetFormsInfoByApp(std::string &bundleName, std::vector<FormInfo> &formInfos) = 0;
H A Dform_mgr_proxy.h281 virtual int GetFormsInfoByApp(std::string &bundleName, std::vector<FormInfo> &formInfos) override;
/foundation/ability/form_fwk/test/fuzztest/formmgrstub_fuzzer/
H A Dformmgrstub_fuzzer.cpp148 int GetFormsInfoByApp(std::string &bundleName, std::vector<FormInfo> &formInfos) override
/foundation/ability/form_fwk/test/unittest/form_mgr_test/
H A Dform_mgr_test.cpp570 * @tc.desc: Verify GetFormsInfoByApp
575 EXPECT_CALL(*mockProxy, GetFormsInfoByApp(_, _)) in HWTEST_F()
585 auto result = FormMgr::GetInstance().GetFormsInfoByApp(bundleName, formInfos); in HWTEST_F()
1019 * @tc.desc: Verify GetFormsInfoByApp
1028 int result = FormMgr::GetInstance().GetFormsInfoByApp(bundleName, formInfos); in HWTEST_F()
1036 * @tc.desc: Verify GetFormsInfoByApp
1045 int result = FormMgr::GetInstance().GetFormsInfoByApp(bundleName, formInfos); in HWTEST_F()
1627 * @tc.desc: Verify GetFormsInfoByApp (The return value of mock function is not 0)
1641 auto result = FormMgr::GetInstance().GetFormsInfoByApp(bundleName, formInfos); in HWTEST_F()
3792 * @tc.desc: Verify GetFormsInfoByApp
[all...]
/foundation/ability/form_fwk/services/src/
H A Dform_mgr_service.cpp1015 int FormMgrService::GetFormsInfoByApp(std::string &bundleName, std::vector<FormInfo> &formInfos) in GetFormsInfoByApp() function in OHOS::AppExecFwk::FormMgrService
1027 ErrCode ret = FormMgrAdapter::GetInstance().GetFormsInfoByApp(bundleName, formInfos); in GetFormsInfoByApp()
1079 // fulfill formInfos, the process should be the same as GetFormsInfoByApp. in GetFormsInfo()
1081 return FormMgrAdapter::GetInstance().GetFormsInfoByApp(callerBundleName, formInfos); in GetFormsInfo()
/foundation/bundlemanager/bundle_framework/interfaces/kits/js/bundlemgr/
H A Dbundle_mgr.h324 napi_value GetFormsInfoByApp(napi_env env, napi_callback_info info);
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_application/bundlemgrproxy_fuzzer/
H A Dbundlemgrproxy_fuzzer.cpp63 bundleMgrProxy.GetFormsInfoByApp(bundleName, formInfos); in DoSomethingInterestingWithMyAPI()

Completed in 26 milliseconds

123