/foundation/ability/form_fwk/test/unittest/fms_form_router_proxy_mgr_test/ |
H A D | fms_form_router_proxy_mgr_test.cpp | 71 std::vector<int64_t> formIds; in HWTEST_F() local 72 formIds.emplace_back(formId); in HWTEST_F() 91 std::vector<int64_t> formIds; in HWTEST_F() local 92 formIds.emplace_back(formId); in HWTEST_F() 94 auto ret = formRouterProxyMgr.SetFormRouterProxy(formIds, callerToken); in HWTEST_F() 110 std::vector<int64_t> formIds; in HWTEST_F() local 111 formIds.emplace_back(formId); in HWTEST_F() 113 formRouterProxyMgr.SetFormRouterProxy(formIds, callerToken); in HWTEST_F() 129 std::vector<int64_t> formIds; in HWTEST_F() local 130 formIds in HWTEST_F() 147 std::vector<int64_t> formIds; HWTEST_F() local 165 std::vector<int64_t> formIds; HWTEST_F() local 204 std::vector<int64_t> formIds; HWTEST_F() local 225 std::vector<int64_t> formIds; HWTEST_F() local [all...] |
/foundation/ability/form_fwk/services/src/ |
H A D | form_host_callback.cpp | 67 * @param formIds The Id list of the forms. 70 void FormHostCallback::OnUninstall(std::vector<int64_t> &formIds, const sptr<IRemoteObject> &callerToken) in OnUninstall() argument 73 if (formIds.empty()) { in OnUninstall() 74 HILOG_ERROR("OnUninstall invalid param, formIds is empty"); in OnUninstall() 83 FormTaskMgr::GetInstance().PostUninstallTaskToHost(formIds, callerToken); in OnUninstall() 116 * @param formIds The Id list of forms. 121 const std::vector<int64_t> &formIds, const Want &want, const sptr<IRemoteObject> &callerToken) in OnRecycleForms() 124 if (formIds.empty()) { in OnRecycleForms() 125 HILOG_ERROR("empty formIds"); in OnRecycleForms() 132 FormRenderMgr::GetInstance().RecycleForms(formIds, wan in OnRecycleForms() 120 OnRecycleForms( const std::vector<int64_t> &formIds, const Want &want, const sptr<IRemoteObject> &callerToken) OnRecycleForms() argument 135 OnEnableForms( const std::vector<int64_t> &formIds, const bool enable, const sptr<IRemoteObject> &callerToken) OnEnableForms() argument [all...] |
H A D | form_host_record.cpp | 175 * @param formIds The id list of the form. 177 void FormHostRecord::OnFormUninstalled(std::vector<int64_t> &formIds) in OnFormUninstalled() argument 184 formHostCallback_->OnUninstall(formIds, formHostClient_); in OnFormUninstalled() 329 void FormHostRecord::OnRecycleForms(const std::vector<int64_t> &formIds, const Want &want) const in OnRecycleForms() argument 332 if (formIds.empty()) { in OnRecycleForms() 333 HILOG_ERROR("empty formIds"); in OnRecycleForms() 340 formHostCallback_->OnRecycleForms(formIds, want, formHostClient_); in OnRecycleForms() 343 void FormHostRecord::OnEnableForms(const std::vector<int64_t> &formIds, const bool enable) in OnEnableForms() argument 346 if (formIds.empty()) { in OnEnableForms() 347 HILOG_ERROR("empty formIds"); in OnEnableForms() [all...] |
/foundation/ability/form_fwk/test/unittest/fms_form_mgr_notify_visible_forms_test/ |
H A D | fms_form_mgr_notify_visible_forms_test.cpp | 100 // create formIds in HWTEST_F() 103 std::vector<int64_t> formIds; in HWTEST_F() local 104 formIds.push_back(formId1); in HWTEST_F() 105 formIds.push_back(formId2); in HWTEST_F() 122 EXPECT_EQ(ERR_APPEXECFWK_FORM_INVALID_PARAM, FormMgr::GetInstance().NotifyWhetherVisibleForms(formIds, token_, in HWTEST_F() 132 * @tc.info: Create two formId and push formIds, but only create one form record. 138 // create formIds in HWTEST_F() 141 std::vector<int64_t> formIds; in HWTEST_F() local 142 formIds.push_back(formId1); in HWTEST_F() 143 formIds in HWTEST_F() 176 std::vector<int64_t> formIds; HWTEST_F() local 220 std::vector<int64_t> formIds; HWTEST_F() local 263 std::vector<int64_t> formIds; HWTEST_F() local 295 std::vector<int64_t> formIds; HWTEST_F() local 327 std::vector<int64_t> formIds; HWTEST_F() local [all...] |
/foundation/ability/form_fwk/test/unittest/fms_form_mgr_notify_invisible_forms_test/ |
H A D | fms_form_mgr_notify_invisible_forms_test.cpp | 99 std::vector<int64_t> formIds; in HWTEST_F() local 100 formIds.push_back(formId); in HWTEST_F() 113 EXPECT_EQ(ERR_APPEXECFWK_FORM_INVALID_PARAM, FormMgr::GetInstance().NotifyWhetherVisibleForms(formIds, in HWTEST_F() 130 std::vector<int64_t> formIds; in HWTEST_F() local 131 formIds.push_back(formId); in HWTEST_F() 133 EXPECT_EQ(ERR_OK, FormMgr::GetInstance().NotifyWhetherVisibleForms(formIds, token_, Constants::FORM_INVISIBLE)); in HWTEST_F() 149 std::vector<int64_t> formIds; in HWTEST_F() local 150 formIds.push_back(formId); in HWTEST_F() 160 EXPECT_EQ(ERR_OK, FormMgr::GetInstance().NotifyWhetherVisibleForms(formIds, token_, Constants::FORM_INVISIBLE)); in HWTEST_F() 176 std::vector<int64_t> formIds; in HWTEST_F() local 207 std::vector<int64_t> formIds; HWTEST_F() local 239 std::vector<int64_t> formIds; HWTEST_F() local [all...] |
/foundation/ability/form_fwk/test/unittest/fms_form_mgr_lifecycle_update_test/ |
H A D | fms_form_mgr_lifecycle_update_test.cpp | 108 * @tc.info: formIds is empty. 114 std::vector<int64_t> formIds; in HWTEST_F() local 116 EXPECT_EQ(ERR_APPEXECFWK_FORM_INVALID_PARAM, FormMgr::GetInstance().LifecycleUpdate(formIds, token_, true)); in HWTEST_F() 131 std::vector<int64_t> formIds; in HWTEST_F() local 132 formIds.push_back(3); in HWTEST_F() 134 FormMgr::GetInstance().LifecycleUpdate(formIds, token_, true)); in HWTEST_F() 151 std::vector<int64_t> formIds; in HWTEST_F() local 153 formIds.push_back(formId); in HWTEST_F() 162 EXPECT_EQ(ERR_OK, FormMgr::GetInstance().LifecycleUpdate(formIds, token_, true)); in HWTEST_F() 180 std::vector<int64_t> formIds; in HWTEST_F() local 218 std::vector<int64_t> formIds; HWTEST_F() local [all...] |
/foundation/ability/form_fwk/test/unittest/fms_form_batch_delete_connection_test/ |
H A D | fms_form_batch_delete_connection_test.cpp | 64 std::set<int64_t> formIds; in HWTEST_F() local 65 formIds.insert(formId); in HWTEST_F() 69 new FormBatchDeleteConnection(formIds, bundleName, abilityName); in HWTEST_F() 90 std::set<int64_t> formIds; in HWTEST_F() local 91 formIds.insert(formId); in HWTEST_F() 95 new FormBatchDeleteConnection(formIds, bundleName, abilityName); in HWTEST_F()
|
/foundation/ability/form_fwk/test/unittest/fms_form_host_callback_test/ |
H A D | fms_form_host_callback_test.cpp | 103 * @tc.desc: test OnUninstall function and formIds is empty 110 std::vector<int64_t> formIds; in HWTEST_F() local 112 formHostCallback.OnUninstall(formIds, callerToken); in HWTEST_F() 118 * @tc.desc: test OnUninstall function and formIds is not empty and callerToken is nullptr 126 std::vector<int64_t> formIds; in HWTEST_F() local 127 formIds.emplace_back(formId); in HWTEST_F() 129 formHostCallback.OnUninstall(formIds, callerToken); in HWTEST_F() 207 std::vector<int64_t> formIds; in HWTEST_F() local 208 formIds.emplace_back(formId); in HWTEST_F() 210 formHostCallback.OnEnableForms(formIds, tru in HWTEST_F() [all...] |
/foundation/ability/form_fwk/test/unittest/form_mgr_proxy_test/ |
H A D | form_mgr_proxy_test.cpp | 193 std::vector<int64_t> formIds; in HWTEST_F() local 194 formIds.push_back(formId); in HWTEST_F() 197 int32_t result = formMgrProxy->NotifyFormsPrivacyProtected(formIds, isProtected, token); in HWTEST_F() 216 std::vector<int64_t> formIds; in HWTEST_F() local 217 formIds.push_back(formId); in HWTEST_F() 220 int32_t result = formMgrProxy->NotifyFormsPrivacyProtected(formIds, isProtected, token); in HWTEST_F() 240 std::vector<int64_t> formIds; in HWTEST_F() local 241 formIds.push_back(formId1); in HWTEST_F() 242 formIds.push_back(formId2); in HWTEST_F() 245 int32_t result = formMgrProxy->NotifyFormsPrivacyProtected(formIds, isProtecte in HWTEST_F() 265 std::vector<int64_t> formIds; HWTEST_F() local 374 std::vector<int64_t> formIds; HWTEST_F() local 391 std::vector<int64_t> formIds; HWTEST_F() local 407 std::vector<int64_t> formIds; HWTEST_F() local 489 std::vector<int64_t> formIds; HWTEST_F() local 508 std::vector<int64_t> formIds; HWTEST_F() local 559 std::vector<int64_t> formIds; HWTEST_F() local 579 std::vector<int64_t> formIds; HWTEST_F() local [all...] |
/foundation/ability/form_fwk/test/unittest/fms_form_event_util_test/ |
H A D | mock_form_db_cache.cpp | 74 int64_t formIds[2] = { 1, 2 };
in GetNoHostDBForms() local 82 formIdsSet.emplace(formIds[i]);
in GetNoHostDBForms() 86 foundFormsMap.emplace(formIds[i], (i == 1));
in GetNoHostDBForms() 94 int64_t formIds[2] = { 1, 2 };
in GetDBRecord() local 98 if (formId == formIds[i]) {
in GetDBRecord()
|
/foundation/ability/form_fwk/test/fuzztest/formmgrservice_fuzzer/ |
H A D | formmgrservice_fuzzer.cpp | 54 std::vector<int64_t> formIds; in DoSomethingInterestingWithMyAPI() local 55 formIds.emplace_back(formId); in DoSomethingInterestingWithMyAPI() 57 formMgrService.NotifyWhetherVisibleForms(formIds, callerToken, formVisibleType); in DoSomethingInterestingWithMyAPI() 60 formMgrService.LifecycleUpdate(formIds, callerToken, updateType); in DoSomethingInterestingWithMyAPI() 70 formMgrService.DeleteInvalidForms(formIds, callerToken, numFormsDeleted); in DoSomethingInterestingWithMyAPI() 74 formMgrService.NotifyFormsVisible(formIds, isVisible, callerToken); in DoSomethingInterestingWithMyAPI() 76 formMgrService.NotifyFormsEnableUpdate(formIds, isEnableUpdate, callerToken); in DoSomethingInterestingWithMyAPI()
|
/foundation/ability/form_fwk/interfaces/kits/native/include/ |
H A D | form_mgr.h | 103 * @brief Delete forms with formIds, send formIds to form manager service. 119 * @brief Release forms with formIds, send formIds to form manager service. 150 * @brief Form visible/invisible notify, send formIds to form manager service. 151 * @param formIds The Id list of the forms to notify. 156 int NotifyWhetherVisibleForms(const std::vector<int64_t> &formIds, const sptr<IRemoteObject> &callerToken, 285 * @param formIds The id of the forms. 290 int LifecycleUpdate(const std::vector<int64_t> &formIds, const sptr<IRemoteObject> &callerToken, 328 * @param formIds Indicate [all...] |
/foundation/ability/form_fwk/test/mock/include/ |
H A D | mock_form_mgr_proxy.h | 34 MOCK_METHOD3(NotifyFormsPrivacyProtected, int(const std::vector<int64_t> &formIds, bool isProtected, 42 MOCK_METHOD3(NotifyFormsVisible, int(const std::vector<int64_t> &formIds, bool isProtected, 44 MOCK_METHOD3(DeleteInvalidForms, int(const std::vector<int64_t> &formIds, const sptr<IRemoteObject> &callerToken, 46 MOCK_METHOD3(NotifyFormsEnableUpdate, int(const std::vector<int64_t> &formIds, bool isProtected, 58 MOCK_METHOD3(NotifyWhetherVisibleForms, int(const std::vector<int64_t> &formIds, 89 MOCK_METHOD2(RegisterFormRouterProxy, ErrCode(const std::vector<int64_t> &formIds, 91 MOCK_METHOD1(UnregisterFormRouterProxy, ErrCode(const std::vector<int64_t> &formIds)); 97 MOCK_METHOD1(SetFormsRecyclable, int32_t(const std::vector<int64_t> &formIds)); 98 MOCK_METHOD2(RecycleForms, int32_t(const std::vector<int64_t> &formIds, const Want &want)); 99 MOCK_METHOD2(RecoverForms, int32_t(const std::vector<int64_t> &formIds, cons [all...] |
H A D | mock_form_mgr_service.h | 36 MOCK_METHOD3(LifecycleUpdate, int(const std::vector<int64_t> &formIds, const sptr<IRemoteObject> &callerToken, 39 MOCK_METHOD3(NotifyWhetherVisibleForms, int(const std::vector<int64_t> &formIds, 51 MOCK_METHOD3(DeleteInvalidForms, int(const std::vector<int64_t> &formIds, const sptr<IRemoteObject> &callerToken, 56 MOCK_METHOD3(NotifyFormsVisible, int(const std::vector<int64_t> &formIds, bool isVisible, 58 MOCK_METHOD3(NotifyFormsPrivacyProtected, int(const std::vector<int64_t> &formIds, bool isProtected, 60 MOCK_METHOD3(NotifyFormsEnableUpdate, int(const std::vector<int64_t> &formIds, bool isEnableUpdate, 104 MOCK_METHOD2(RegisterFormRouterProxy, ErrCode(const std::vector<int64_t> &formIds, 106 MOCK_METHOD1(UnregisterFormRouterProxy, ErrCode(const std::vector<int64_t> &formIds)); 107 MOCK_METHOD1(SetFormsRecyclable, int32_t(const std::vector<int64_t> &formIds)); 108 MOCK_METHOD2(RecycleForms, int32_t(const std::vector<int64_t> &formIds, cons [all...] |
/foundation/ability/form_fwk/services/include/ |
H A D | form_host_callback.h | 57 * @param formIds The Id list of the forms. 61 void OnUninstall(std::vector<int64_t> &formIds, const sptr<IRemoteObject> &callerToken); 82 * @param formIds The Id list of forms. 86 void OnRecycleForms(const std::vector<int64_t> &formIds, const AAFwk::Want &want, 91 * @param formIds The Id list of forms. 95 void OnEnableForms(const std::vector<int64_t> &formIds, const bool enable, const sptr<IRemoteObject> &callerToken);
|
H A D | form_task_mgr.h | 88 * @param formIds The Id list. 92 void PostProviderBatchDeleteTask(std::set<int64_t> &formIds, const Want &want, 177 * @param formIds The Id list of the forms. 180 void PostUninstallTaskToHost(const std::vector<int64_t> &formIds, const sptr<IRemoteObject> &remoteObject); 229 * @param formIds the Ids of forms need to notify. 235 void PostVisibleNotify(const std::vector<int64_t> &formIds, 253 * @param formIds the Ids of forms to be recycled. 258 void PostRecycleForms(const std::vector<int64_t> &formIds, const Want &want, 263 * @param formIds the Id of form to be recovered. 283 * @param formIds formId [all...] |
/foundation/ability/form_fwk/test/unittest/form_mgr_test/ |
H A D | form_mgr_test.cpp | 275 std::vector<int64_t> formIds; in HWTEST_F() local 276 formIds.push_back(formId); in HWTEST_F() 279 int32_t result = FormMgr::GetInstance().NotifyFormsPrivacyProtected(formIds, isProtected, token); in HWTEST_F() 298 std::vector<int64_t> formIds; in HWTEST_F() local 299 formIds.push_back(formId); in HWTEST_F() 302 int32_t result = FormMgr::GetInstance().NotifyFormsPrivacyProtected(formIds, isProtected, token); in HWTEST_F() 322 std::vector<int64_t> formIds; in HWTEST_F() local 323 formIds.push_back(formId1); in HWTEST_F() 324 formIds.push_back(formId2); in HWTEST_F() 327 int32_t result = FormMgr::GetInstance().NotifyFormsPrivacyProtected(formIds, isProtecte in HWTEST_F() 347 std::vector<int64_t> formIds; HWTEST_F() local 512 std::vector<int64_t> formIds; HWTEST_F() local 535 std::vector<int64_t> formIds; HWTEST_F() local 819 std::vector<int64_t> formIds; HWTEST_F() local 837 std::vector<int64_t> formIds; HWTEST_F() local 874 std::vector<int64_t> formIds; HWTEST_F() local 910 std::vector<int64_t> formIds; HWTEST_F() local 949 std::vector<int64_t> formIds; HWTEST_F() local 969 std::vector<int64_t> formIds; HWTEST_F() local 989 std::vector<int64_t> formIds; HWTEST_F() local 1248 std::vector<int64_t> formIds; HWTEST_F() local 1270 std::vector<int64_t> formIds; HWTEST_F() local 1555 std::vector<int64_t> formIds; HWTEST_F() local 1575 std::vector<int64_t> formIds; HWTEST_F() local 1595 std::vector<int64_t> formIds; HWTEST_F() local 2310 std::vector<int64_t> formIds; HWTEST_F() local 2329 std::vector<int64_t> formIds; HWTEST_F() local 2573 std::vector<int64_t> formIds; HWTEST_F() local 2587 std::vector<int64_t> formIds; HWTEST_F() local 2601 std::vector<int64_t> formIds; HWTEST_F() local 2622 std::vector<int64_t> formIds; HWTEST_F() local 2637 std::vector<int64_t> formIds; HWTEST_F() local 2652 std::vector<int64_t> formIds; HWTEST_F() local 2670 std::vector<int64_t> formIds; HWTEST_F() local 2685 std::vector<int64_t> formIds; HWTEST_F() local 2700 std::vector<int64_t> formIds; HWTEST_F() local 3028 std::vector<int64_t> formIds; HWTEST_F() local 3189 std::vector<int64_t> formIds; HWTEST_F() local 3209 std::vector<int64_t> formIds; HWTEST_F() local 3371 std::vector<int64_t> formIds; HWTEST_F() local 3618 std::vector<int64_t> formIds; HWTEST_F() local 3654 std::vector<int64_t> formIds; HWTEST_F() local 3719 std::vector<int64_t> formIds; HWTEST_F() local 3739 std::vector<int64_t> formIds; HWTEST_F() local 3759 std::vector<int64_t> formIds; HWTEST_F() local 3864 std::vector<int64_t> formIds; HWTEST_F() local 3883 std::vector<int64_t> formIds; HWTEST_F() local 3902 std::vector<int64_t> formIds; HWTEST_F() local 4355 std::vector<int64_t> formIds; HWTEST_F() local 4374 std::vector<int64_t> formIds; HWTEST_F() local 4484 std::vector<int64_t> formIds; HWTEST_F() local 4502 std::vector<int64_t> formIds; HWTEST_F() local 4523 std::vector<int64_t> formIds; HWTEST_F() local [all...] |
/foundation/ability/form_fwk/interfaces/inner_api/src/ |
H A D | form_host_stub.cpp | 123 std::vector<int64_t> formIds; in HandleOnUninstall() local 124 bool ret = data.ReadInt64Vector(&formIds); in HandleOnUninstall() 126 OnUninstall(formIds); in HandleOnUninstall() 204 std::vector<int64_t> formIds; in HandleOnEnableForm() local 205 bool ret = data.ReadInt64Vector(&formIds); in HandleOnEnableForm() 207 HILOG_ERROR("fail ReadInt64Vector<formIds>"); in HandleOnEnableForm() 211 OnEnableForm(formIds, enable); in HandleOnEnableForm()
|
/foundation/ability/form_fwk/test/fuzztest/formmgrproxy_fuzzer/ |
H A D | formmgrproxy_fuzzer.cpp | 52 std::vector<int64_t> formIds; in DoSomethingInterestingWithMyAPI() local 53 formIds.emplace_back(formId); in DoSomethingInterestingWithMyAPI() 55 formMgrProxy.NotifyWhetherVisibleForms(formIds, callerToken, formVisibleType); in DoSomethingInterestingWithMyAPI() 76 formMgrProxy.DeleteInvalidForms(formIds, callerToken, numFormsDeleted); in DoSomethingInterestingWithMyAPI() 80 formMgrProxy.NotifyFormsVisible(formIds, isVisible, callerToken); in DoSomethingInterestingWithMyAPI() 82 formMgrProxy.NotifyFormsEnableUpdate(formIds, isEnableUpdate, callerToken); in DoSomethingInterestingWithMyAPI()
|
/foundation/ability/form_fwk/test/fuzztest/formmgradapterthree_fuzzer/ |
H A D | formmgradapterthree_fuzzer.cpp | 55 std::vector<int64_t> formIds; in DoSomethingInterestingWithMyAPI() local 56 formIds.emplace_back(matchedFormId); in DoSomethingInterestingWithMyAPI() 58 formMgrAdapter.DeleteInvalidForms(formIds, callerToken, numFormsDeleted); in DoSomethingInterestingWithMyAPI() 66 formMgrAdapter.NotifyFormsVisible(formIds, isVisible, callerToken); in DoSomethingInterestingWithMyAPI() 68 formMgrAdapter.NotifyFormsEnableUpdate(formIds, isEnableUpdate, callerToken); in DoSomethingInterestingWithMyAPI()
|
/foundation/ability/form_fwk/test/fuzztest/formdatamgrthree_fuzzer/ |
H A D | formdatamgrthree_fuzzer.cpp | 47 std::vector<int64_t> formIds; in DoSomethingInterestingWithMyAPI() local 48 formIds.emplace_back(formId); in DoSomethingInterestingWithMyAPI() 54 formDataMgr.HandleUpdateHostFormFlag(formIds, flag, isOnlyEnableUpdate, formHostRecord, refreshForms); in DoSomethingInterestingWithMyAPI() 56 formDataMgr.UpdateHostFormFlag(formIds, callerToken, flag, isOnlyEnableUpdate, refreshForms); in DoSomethingInterestingWithMyAPI() 80 formDataMgr.NotifyFormsVisible(formIds, isVisible, callerToken); in DoSomethingInterestingWithMyAPI()
|
/foundation/ability/form_fwk/test/fuzztest/formmgrproxyannex_fuzzer/ |
H A D | formmgrproxyannex_fuzzer.cpp | 44 std::vector<int64_t> formIds; in DoSomethingInterestingWithMyAPI() local 46 formIds.emplace_back(formId); in DoSomethingInterestingWithMyAPI() 49 formMgrProxy.NotifyFormsPrivacyProtected(formIds, isProtected, callerToken); in DoSomethingInterestingWithMyAPI()
|
/foundation/ability/form_fwk/test/unittest/fms_form_mgr_service_test/ |
H A D | fms_form_mgr_service_test2.cpp | 291 std::vector<int64_t> formIds; in HWTEST_F() local 292 formIds.emplace_back(formId); in HWTEST_F() 295 int ret = formMgrService.RegisterFormRouterProxy(formIds, callerToken); in HWTEST_F() 299 ret = formMgrService.RegisterFormRouterProxy(formIds, callerToken); in HWTEST_F() 315 std::vector<int64_t> formIds; in HWTEST_F() local 316 formIds.emplace_back(formId); in HWTEST_F() 318 int ret = formMgrService.UnregisterFormRouterProxy(formIds); in HWTEST_F() 322 ret = formMgrService.UnregisterFormRouterProxy(formIds); in HWTEST_F() 338 std::vector<int64_t> formIds; in HWTEST_F() local 339 formIds in HWTEST_F() 361 std::vector<int64_t> formIds; HWTEST_F() local 710 std::vector<int64_t> formIds; HWTEST_F() local 838 std::vector<int64_t> formIds; HWTEST_F() local 858 std::vector<int64_t> formIds; HWTEST_F() local [all...] |
/foundation/ability/form_fwk/frameworks/js/napi/form_host/ |
H A D | js_form_host.cpp | 200 void FormUninstallCallback(const std::vector<int64_t> &formIds) in FormUninstallCallback() argument 204 for (int64_t formId : formIds) { in FormUninstallCallback() 467 bool ConvertFromIds(napi_env env, napi_value jsValue, std::vector<int64_t> &formIds) in ConvertFromIds() argument 481 formIds.push_back(formIdValue); in ConvertFromIds() 786 std::vector<int64_t> formIds; in OnNotifyVisibleForms() local 787 if (!ConvertFromIds(env, argv[PARAM0], formIds)) { in OnNotifyVisibleForms() 789 NapiFormUtil::ThrowParamTypeError(env, "formIds", "Array<string>"); in OnNotifyVisibleForms() 794 auto complete = [formIds](napi_env env, NapiAsyncTask &task, int32_t status) { in OnNotifyVisibleForms() 795 auto ret = FormMgr::GetInstance().NotifyWhetherVisibleForms(formIds, FormHostClient::GetInstance(), in OnNotifyVisibleForms() 823 std::vector<int64_t> formIds; in OnNotifyInvisibleForms() local 860 std::vector<int64_t> formIds; OnEnableFormsUpdate() local 965 std::vector<int64_t> formIds; OnDeleteInvalidForms() local 1054 std::vector<int64_t> formIds; OnSetRouterProxy() local 1103 std::vector<int64_t> formIds; OnClearRouterProxy() local 1216 std::vector<int64_t> formIds; OnNotifyFormsVisible() local 1260 std::vector<int64_t> formIds; OnNotifyFormsEnableUpdate() local 1589 std::vector<int64_t> formIds; OnNotifyFormsPrivacyProtected() local 1633 std::vector<int64_t> formIds; OnSetFormsRecyclable() local 1667 std::vector<int64_t> formIds; OnRecoverForms() local 1707 std::vector<int64_t> formIds; OnRecycleForms() local 1921 AddFormRouterProxyCallback(napi_env env, napi_value callback, const std::vector<int64_t> &formIds) AddFormRouterProxyCallback() argument 1942 RemoveFormRouterProxyCallback(const std::vector<int64_t> &formIds) RemoveFormRouterProxyCallback() argument [all...] |
/foundation/ability/form_fwk/test/unittest/fms_form_task_mgr_test/ |
H A D | fms_form_task_mgr_test.cpp | 252 std::set<int64_t> formIds; in HWTEST_F() local 253 formIds.insert(formId); in HWTEST_F() 256 formTaskMgr->PostProviderBatchDeleteTask(formIds, want, remoteObject); in HWTEST_F() 271 std::set<int64_t> formIds; in HWTEST_F() local 272 formIds.insert(formId); in HWTEST_F() 275 formTaskMgr.PostProviderBatchDeleteTask(formIds, want, remoteObject); in HWTEST_F() 364 std::vector<int64_t> formIds; in HWTEST_F() local 365 formIds.emplace_back(formId); in HWTEST_F() 367 formTaskMgr->PostUninstallTaskToHost(formIds, remoteObject); in HWTEST_F() 599 std::set<int64_t> formIds; in HWTEST_F() local 617 std::set<int64_t> formIds; HWTEST_F() local 703 std::vector<int64_t> formIds; HWTEST_F() local 720 std::vector<int64_t> formIds; HWTEST_F() local [all...] |