Home
last modified time | relevance | path

Searched refs:formCallback (Results 1 – 6 of 6) sorted by relevance

/ohos5.0/foundation/ability/form_fwk/test/fuzztest/formhostclient_fuzzer/
H A Dformhostclient_fuzzer.cpp41 std::shared_ptr<FormCallbackInterface> formCallback = nullptr; in DoSomethingInterestingWithMyAPI() local
44 formHostClient.AddForm(formCallback, formJsInfo); in DoSomethingInterestingWithMyAPI()
45 formHostClient.RemoveForm(formCallback, formId); in DoSomethingInterestingWithMyAPI()
/ohos5.0/foundation/ability/form_fwk/interfaces/kits/native/src/
H A Dform_host_client.cpp64 void FormHostClient::AddForm(std::shared_ptr<FormCallbackInterface> formCallback, const FormJsInfo … in AddForm() argument
68 if (formId <= 0 || formCallback == nullptr) { in AddForm()
76 callbacks.emplace(formCallback); in AddForm()
79 iter->second.emplace(formCallback); in AddForm()
94 void FormHostClient::RemoveForm(std::shared_ptr<FormCallbackInterface> formCallback, const int64_t … in RemoveForm() argument
97 if (formId <= 0 || formCallback == nullptr) { in RemoveForm()
107 iter->second.erase(formCallback); in RemoveForm()
/ohos5.0/foundation/ability/form_fwk/test/unittest/fms_form_host_client_test/
H A Dfms_form_host_client_test.cpp290 std::shared_ptr<FormCallbackInterface> formCallback = nullptr; variable
291 formHostClient->RemoveForm(formCallback, formId);
632 std::shared_ptr<FormCallbackInterface> formCallback = std::make_shared<FormCallback>(); variable
633 ASSERT_NE(nullptr, formCallback);
634 formHostClient->AddForm(formCallback, formJsInfo);
649 std::shared_ptr<FormCallbackInterface> formCallback = nullptr; variable
652 formHostClient->AddForm(formCallback, formJsInfo);
/ohos5.0/foundation/ability/form_fwk/interfaces/kits/native/include/
H A Dform_host_client.h54 void AddForm(std::shared_ptr<FormCallbackInterface> formCallback, const FormJsInfo &formJsInfo);
63 void RemoveForm(std::shared_ptr<FormCallbackInterface> formCallback, const int64_t formId);
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pipeline/
H A Dpipeline_context_test_ng_new.cpp1450 auto formCallback = [](bool visible) {}; in __anon230df7e11002() variable
1469 pipeline->AddIsFocusActiveUpdateEvent(frameNode, formCallback);
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/swiper/
H A Dswiper_pattern.cpp4244 auto formCallback = [weak = WeakClaim(this)](bool visible) { in RegisterVisibleAreaChange() local
4249 formMgr->AddFormVisibleChangeNode(host, formCallback); in RegisterVisibleAreaChange()