Home
last modified time | relevance | path

Searched refs:compId (Results 1 - 25 of 45) sorted by relevance

12

/foundation/arkui/ace_engine/interfaces/inner_api/form_render/src/
H A Dform_renderer_group.cpp48 auto compId = want.GetStringParam(FORM_RENDERER_COMP_ID); in AddForm() local
49 currentCompId_ = compId; in AddForm()
51 formRequest.compId = compId; in AddForm()
78 auto compId = formRequest.compId; in PreInitAddForm() local
90 HILOG_INFO("compId is %{public}s. formId is %{public}s", compId.c_str(), in PreInitAddForm()
102 if (currentCompId_ == formRequest.compId) { in OnUnlock()
110 HILOG_ERROR("Without valid form requests, current compId i in OnUnlock()
119 auto compId = formRequest.compId; InnerAddForm() local
174 DeleteForm(const std::string& compId) DeleteForm() argument
[all...]
/foundation/ability/form_fwk/services/form_render_service/src/
H A Dform_render_record.cpp385 void FormRenderRecord::DeleteRenderRecord(int64_t formId, const std::string &compId, in DeleteRenderRecord() argument
389 HILOG_INFO("Delete some resources formId:%{public}" PRId64 ",%{public}s", formId, compId.c_str()); in DeleteRenderRecord()
398 DeleteFormRequest(formId, compId); in DeleteRenderRecord()
402 auto task = [weak = weak_from_this(), formId, compId, &isRenderGroupEmpty]() { in DeleteRenderRecord()
410 isRenderGroupEmpty = renderRecord->HandleDeleteInJsThread(formId, compId); in DeleteRenderRecord()
411 renderRecord->DeleteFormRequest(formId, compId); in DeleteRenderRecord()
697 if (iter.second.compId > compMaxId) { in HandleUpdateForm()
698 compMaxId = iter.second.compId; in HandleUpdateForm()
715 if (compMaxId == formRequest.compId) { in HandleUpdateForm()
769 bool FormRenderRecord::HandleDeleteInJsThread(int64_t formId, const std::string &compId) in HandleDeleteInJsThread() argument
808 auto compId = want.GetStringParam(FORM_RENDERER_COMP_ID); AddFormRequest() local
857 DeleteFormRequest(int64_t formId, const std::string &compId) DeleteFormRequest() argument
890 UpdateFormRequestReleaseState( int64_t formId, const std::string &compId, bool hasRelease) UpdateFormRequestReleaseState() argument
913 ReleaseRenderer( int64_t formId, const std::string &compId, bool &isRenderGroupEmpty) ReleaseRenderer() argument
947 HandleReleaseRendererInJsThread( int64_t formId, const std::string &compId, bool &isRenderGroupEmpty) HandleReleaseRendererInJsThread() argument
[all...]
H A Dform_render_impl.cpp154 std::string compId = want.GetStringParam(Constants::FORM_RENDER_COMP_ID); in StopRenderingForm() local
155 search->second->DeleteRenderRecord(formJsInfo.formId, compId, hostToken, isRenderGroupEmpty); in StopRenderingForm()
174 int32_t FormRenderImpl::ReleaseRenderer(int64_t formId, const std::string &compId, const std::string &uid) in ReleaseRenderer() argument
176 HILOG_INFO("formId:%{public}" PRId64 ",compId:%{public}s,uid:%{public}s", formId, compId.c_str(), uid.c_str()); in ReleaseRenderer()
177 if (formId <= 0 || compId.empty() || uid.empty()) { in ReleaseRenderer()
195 search->second->ReleaseRenderer(formId, compId, isRenderGroupEmpty); in ReleaseRenderer()
/foundation/arkui/ace_engine/interfaces/inner_api/form_render/include/
H A Dform_renderer_group.h46 std::string compId; member
53 return compId == info.compId && formJsInfo.formId == info.formJsInfo.formId; in operator ()()
78 void DeleteForm(const std::string& compId);
/foundation/arkui/ace_engine/test/unittest/interfaces/
H A Dform_render_group_test.cpp252 formRequest.compId = "unlock"; in HWTEST_F()
276 std::string compId = "deleteform"; in HWTEST_F() local
280 group->DeleteForm(compId); in HWTEST_F()
300 std::string compId = "deleteform"; in HWTEST_F() local
302 formRequest.compId = "requestdeleteform"; in HWTEST_F()
307 group->DeleteForm(compId); in HWTEST_F()
327 std::string compId = "deleteform"; in HWTEST_F() local
329 formRequest.compId = "requestdeleteform"; in HWTEST_F()
334 group->DeleteForm(compId); in HWTEST_F()
420 formRequest.compId in HWTEST_F()
[all...]
/foundation/ability/form_fwk/test/unittest/frs_form_render_record_test/
H A Dfrs_form_render_record_test.cpp157 std::string compId = "compId"; in HWTEST_F() local
159 formRenderRecordPtr_->DeleteRenderRecord(formId, compId, nullptr, isRenderGroupEmpty); in HWTEST_F()
339 std::string compId = "compId"; in HWTEST_F() local
340 EXPECT_EQ(false, formRenderRecordPtr_->HandleDeleteInJsThread(formId, compId)); in HWTEST_F()
355 std::string compId = "compId"; in HWTEST_F() local
357 EXPECT_EQ(false, formRenderRecordPtr_->HandleDeleteInJsThread(formId, compId)); in HWTEST_F()
365 * 3.compId i
373 std::string compId = "compId"; HWTEST_F() local
396 std::string compId = ""; HWTEST_F() local
688 std::string compId = "compId"; HWTEST_F() local
707 std::string compId = "compId"; HWTEST_F() local
725 std::string compId = "compId"; HWTEST_F() local
1366 std::string compId = "compId"; HWTEST_F() local
1390 std::string compId = "compId"; HWTEST_F() local
1411 std::string compId = ""; HWTEST_F() local
1428 std::string compId = "compId"; HWTEST_F() local
1445 std::string compId = "compId"; HWTEST_F() local
1465 std::string compId = "compId"; HWTEST_F() local
[all...]
H A Dmock_form_renderer_group.cpp52 void FormRendererGroup::DeleteForm(const std::string& compId) in DeleteForm() argument
/foundation/ability/form_fwk/test/unittest/fms_form_render_mgr_test/
H A Dfms_form_render_mgr_test.cpp332 std::string compId = "<compId>"; in HWTEST_F() local
334 formRenderMgr.StopRenderingForm(formId, formRecord, compId)); in HWTEST_F()
351 std::string compId = "<compId>"; in HWTEST_F() local
356 EXPECT_EQ(ERR_OK, formRenderMgr.StopRenderingForm(formId, formRecord, compId)); in HWTEST_F()
373 std::string compId = "<compId>"; in HWTEST_F() local
375 formRenderMgr.StopRenderingForm(formId, formRecord, compId)); in HWTEST_F()
392 std::string compId in HWTEST_F() local
514 std::string compId = "<compId>"; HWTEST_F() local
533 std::string compId = "<compId>"; HWTEST_F() local
555 std::string compId = "<compId>"; HWTEST_F() local
574 std::string compId = "<compId>"; HWTEST_F() local
[all...]
H A Dmock_form_render_mgr_inner.cpp75 const std::string &compId, const sptr<IRemoteObject> &hostToken) in StopRenderingForm()
74 StopRenderingForm(int64_t formId, const FormRecord &formRecord, const std::string &compId, const sptr<IRemoteObject> &hostToken) StopRenderingForm() argument
/foundation/ability/form_fwk/test/fuzztest/formrenderrecord_fuzzer/
H A Dformrenderrecord_fuzzer.cpp53 std::string compId(data, size); in DoSomethingInterestingWithMyAPI()
55 formRenderRecord->DeleteRenderRecord(formId, compId, nullptr, isRenderGroupEmpty); in DoSomethingInterestingWithMyAPI()
66 formRenderRecord->HandleDeleteInJsThread(formId, compId); in DoSomethingInterestingWithMyAPI()
/foundation/ability/form_fwk/test/fuzztest/formrendermgrinner_fuzzer/
H A Dformrendermgrinner_fuzzer.cpp52 std::string compId(data, size); in DoSomethingInterestingWithMyAPI()
53 formRenderMgrInner.StopRenderingForm(formId, formRecord, compId); in DoSomethingInterestingWithMyAPI()
69 formRenderMgrInner.ReleaseRenderer(formId, formRecord, compId); in DoSomethingInterestingWithMyAPI()
/foundation/ability/form_fwk/services/form_render_service/include/
H A Dform_render_record.h103 void DeleteRenderRecord(int64_t formId, const std::string &compId, const sptr<IRemoteObject> hostRemoteObj,
129 void ReleaseRenderer(int64_t formId, const std::string &compId, bool &isRenderGroupEmpty);
171 bool HandleDeleteInJsThread(int64_t formId, const std::string &compId);
175 bool HandleReleaseRendererInJsThread(int64_t formId, const std::string &compId, bool &isRenderGroupEmpty);
215 void DeleteFormRequest(int64_t formId, const std::string &compId);
218 int64_t formId, const std::string &compId, bool hasRelease);
261 // <formId, <compId, formRequest>>
H A Dform_render_impl.h90 int64_t formId, const std::string &compId, const std::string &uid) override;
/foundation/ability/form_fwk/test/unittest/fms_form_render_impl_test/
H A Dfms_form_render_impl_test.cpp539 std::string compId{ "1" }; in HWTEST_F()
541 EXPECT_EQ(formRenderImpl.ReleaseRenderer(formId, compId, uid), ERR_APPEXECFWK_FORM_BIND_PROVIDER_FAILED); in HWTEST_F()
554 std::string compId{ "" }; in HWTEST_F()
556 EXPECT_EQ(formRenderImpl.ReleaseRenderer(formId, compId, uid), ERR_APPEXECFWK_FORM_BIND_PROVIDER_FAILED); in HWTEST_F()
569 std::string compId{ "15" }; in HWTEST_F()
571 EXPECT_EQ(formRenderImpl.ReleaseRenderer(formId, compId, uid), ERR_APPEXECFWK_FORM_BIND_PROVIDER_FAILED); in HWTEST_F()
584 std::string compId{ "15" }; in HWTEST_F()
586 EXPECT_EQ(formRenderImpl.ReleaseRenderer(formId, compId, uid), RENDER_FORM_FAILED); in HWTEST_F()
599 std::string compId{ "15" }; in HWTEST_F()
602 EXPECT_EQ(formRenderImpl.ReleaseRenderer(formId, compId, ui in HWTEST_F()
[all...]
/foundation/ability/form_fwk/test/unittest/fms_form_render_mgr_inner_test/
H A Dfms_form_render_mgr_inner_test.cpp368 std::string compId = "<compId>"; in HWTEST_F() local
370 formRenderMgrInner.StopRenderingForm(formId, formRecord, compId)); in HWTEST_F()
387 std::string compId = "<compId>"; in HWTEST_F() local
389 formRenderMgrInner.StopRenderingForm(formId, formRecord, compId)); in HWTEST_F()
407 std::string compId = "<compId>"; in HWTEST_F() local
409 formRenderMgrInner.StopRenderingForm(formId, formRecord, compId)); in HWTEST_F()
415 * @tc.desc: test StopRenderingForm function and compId i
427 std::string compId = ""; HWTEST_F() local
448 std::string compId = "compId"; HWTEST_F() local
470 std::string compId = "compId"; HWTEST_F() local
494 std::string compId = "compId"; HWTEST_F() local
[all...]
/foundation/ability/form_fwk/services/include/
H A Dform_render_mgr.h56 const std::string &compId = "", const sptr<IRemoteObject> &hostToken = nullptr);
84 ErrCode ReleaseRenderer(int64_t formId, const FormRecord &formRecord, const std::string &compId);
H A Dform_render_mgr_inner.h49 const std::string &compId = "", const sptr<IRemoteObject> &hostToken = nullptr);
67 ErrCode ReleaseRenderer(int64_t formId, const FormRecord &formRecord, const std::string &compId);
/foundation/ability/form_fwk/test/fuzztest/formrendermgr_fuzzer/
H A Dformrendermgr_fuzzer.cpp57 std::string compId(data, size); in DoSomethingInterestingWithMyAPI()
58 formRenderMgr.StopRenderingForm(formId, formRecord, compId); in DoSomethingInterestingWithMyAPI()
/foundation/ability/form_fwk/services/src/
H A Dform_render_mgr.cpp242 int64_t formId, const FormRecord &formRecord, const std::string &compId, const sptr<IRemoteObject> &hostToken) in StopRenderingForm()
250 return iter->second->StopRenderingForm(formId, formRecord, compId, hostToken); in StopRenderingForm()
256 return iter->second->StopRenderingForm(formId, formRecord, compId, hostToken); in StopRenderingForm()
281 ErrCode FormRenderMgr::ReleaseRenderer(int64_t formId, const FormRecord &formRecord, const std::string &compId) in ReleaseRenderer() argument
289 return iter->second->ReleaseRenderer(formId, formRecord, compId); in ReleaseRenderer()
295 return iter->second->ReleaseRenderer(formId, formRecord, compId); in ReleaseRenderer()
241 StopRenderingForm( int64_t formId, const FormRecord &formRecord, const std::string &compId, const sptr<IRemoteObject> &hostToken) StopRenderingForm() argument
H A Dform_render_mgr_inner.cpp268 const std::string &compId, const sptr<IRemoteObject> &hostToken) in StopRenderingForm()
284 if (!compId.empty()) { in StopRenderingForm()
285 want.SetParam(Constants::FORM_RENDER_COMP_ID, compId); in StopRenderingForm()
348 ErrCode FormRenderMgrInner::ReleaseRenderer(int64_t formId, const FormRecord &formRecord, const std::string &compId) in ReleaseRenderer() argument
378 FormTaskMgr::GetInstance().PostReleaseRenderer(formId, compId, uid, remoteObject); in ReleaseRenderer()
267 StopRenderingForm(int64_t formId, const FormRecord &formRecord, const std::string &compId, const sptr<IRemoteObject> &hostToken) StopRenderingForm() argument
/foundation/ability/form_fwk/interfaces/inner_api/include/
H A Dform_render_interface.h67 int64_t formId, const std::string &compId, const std::string &uid) { return ERR_OK; } in ReleaseRenderer()
66 ReleaseRenderer( int64_t formId, const std::string &compId, const std::string &uid) ReleaseRenderer() argument
H A Dform_render_proxy.h61 int32_t ReleaseRenderer(int64_t formId, const std::string &compId, const std::string &uid) override;
/foundation/ability/form_fwk/interfaces/inner_api/src/
H A Dform_render_stub.cpp136 std::string compId = data.ReadString(); in HandleReleaseRenderer() local
138 int32_t result = ReleaseRenderer(formId, compId, uid); in HandleReleaseRenderer()
/foundation/ability/form_fwk/test/unittest/fms_form_mgr_service_test/
H A Dfms_form_mgr_service_test.cpp1255 std::string compId = "comId"; in HWTEST_F() local
1256 int ret = formMgrService.StopRenderingForm(formId, compId); in HWTEST_F()
1261 ret = formMgrService.StopRenderingForm(formId, compId); in HWTEST_F()
1265 ret = formMgrService.StopRenderingForm(formId, compId); in HWTEST_F()
1298 std::string compId = "comId"; in HWTEST_F() local
1300 int ret = formMgrService.ReleaseRenderer(formId, compId); in HWTEST_F()
1304 ret = formMgrService.ReleaseRenderer(formId, compId); in HWTEST_F()
/foundation/ability/form_fwk/interfaces/kits/native/include/
H A Dform_mgr.h113 * @param compId The compId of the forms to delete.
116 int StopRenderingForm(const int64_t formId, const std::string &compId);
169 * @param compId The compId of the forms to release.
172 int ReleaseRenderer(const int64_t formId, const std::string &compId);

Completed in 20 milliseconds

12