Home
last modified time | relevance | path

Searched refs:formEventType (Results 1 - 25 of 28) sorted by relevance

12

/foundation/ability/form_fwk/services/src/
H A Dform_observer_record.cpp176 const std::string &bundleName, const std::string &formEventType, RunningFormInfo &runningFormInfo) in HandleFormEvent()
179 if (formEventType.empty()) { in HandleFormEvent()
184 auto eventId = ConvertToFormEventId(formEventType); in HandleFormEvent()
199 NotifyFormEvent(iter, eventId, runningFormInfo, formEventType); in HandleFormEvent()
204 FormEventId FormObserverRecord::ConvertToFormEventId(const std::string &formEventType) in ConvertToFormEventId() argument
208 auto iter = formEventMap.find(formEventType); in ConvertToFormEventId()
217 FormEventId formEventId, RunningFormInfo &runningFormInfo, const std::string &formEventType) in NotifyFormEvent()
225 recordInner.BindHostBundle(), formEventType, recordInner.GetRemote(), runningFormInfo); in NotifyFormEvent()
238 const std::string &bundleName, const std::string &formEventType, const sptr<IRemoteObject> &callerToken) in SetFormEventObserver()
247 if (formEventType in SetFormEventObserver()
175 HandleFormEvent( const std::string &bundleName, const std::string &formEventType, RunningFormInfo &runningFormInfo) HandleFormEvent() argument
216 NotifyFormEvent(const FormObserverRecordInner &recordInner, FormEventId formEventId, RunningFormInfo &runningFormInfo, const std::string &formEventType) NotifyFormEvent() argument
237 SetFormEventObserver( const std::string &bundleName, const std::string &formEventType, const sptr<IRemoteObject> &callerToken) SetFormEventObserver() argument
261 RemoveFormEventObserver( const std::string &bundleName, const std::string &formEventType, const sptr<IRemoteObject> &callerToken) RemoveFormEventObserver() argument
320 RemoveFormEventObserverLocked( const std::string &bundleName, FormEventId formEventType, const sptr<IRemoteObject> &callerToken) RemoveFormEventObserverLocked() argument
[all...]
H A Dform_task_mgr.cpp1207 const std::string &bundleName, const std::string &formEventType, const sptr<IRemoteObject> &remoteObject, in PostFormClickEventToHost()
1215 auto task = [bundleName, formEventType, remoteObject, runningFormInfo]() { in PostFormClickEventToHost()
1220 FormTaskMgr::GetInstance().FormClickEvent(bundleName, formEventType, remoteObject, runningFormInfo); in PostFormClickEventToHost()
1225 void FormTaskMgr::FormClickEvent(const std::string &bundleName, const std::string &formEventType, in FormClickEvent() argument
1236 remoteJsFormStateObserver->OnFormClickEvent(bundleName, formEventType, runningFormInfo); in FormClickEvent()
1206 PostFormClickEventToHost( const std::string &bundleName, const std::string &formEventType, const sptr<IRemoteObject> &remoteObject, const RunningFormInfo &runningFormInfo) PostFormClickEventToHost() argument
H A Dform_mgr_service.cpp1611 const std::string &bundleName, const std::string &formEventType, const sptr<IRemoteObject> &observer) in RegisterClickEventObserver()
1623 return FormMgrAdapter::GetInstance().RegisterClickEventObserver(bundleName, formEventType, observer); in RegisterClickEventObserver()
1627 const std::string &bundleName, const std::string &formEventType, const sptr<IRemoteObject> &observer) in UnregisterClickEventObserver()
1639 return FormMgrAdapter::GetInstance().UnregisterClickEventObserver(bundleName, formEventType, observer); in UnregisterClickEventObserver()
1610 RegisterClickEventObserver( const std::string &bundleName, const std::string &formEventType, const sptr<IRemoteObject> &observer) RegisterClickEventObserver() argument
1626 UnregisterClickEventObserver( const std::string &bundleName, const std::string &formEventType, const sptr<IRemoteObject> &observer) UnregisterClickEventObserver() argument
/foundation/ability/form_fwk/services/include/
H A Dform_observer_record.h127 * @param formEventType Form event type.
132 const std::string &bundleName, const std::string &formEventType, RunningFormInfo &runningFormInfo);
137 * @param formEventType Form event type.
142 const std::string &bundleName, const std::string &formEventType, const sptr<IRemoteObject> &callerToken);
147 * @param formEventType Form event type.
152 const std::string &bundleName, const std::string &formEventType, const sptr<IRemoteObject> &callerToken);
155 FormEventId ConvertToFormEventId(const std::string &formEventType);
159 const std::string &formEventType);
162 const std::string &bundleName, FormEventId formEventType, const sptr<IRemoteObject> &callerToken);
165 const std::string &bundleName, FormEventId formEventType, cons
[all...]
H A Dform_task_mgr.h243 * @param formEventType form event type.
248 const std::string &bundleName, const std::string &formEventType, const sptr<IRemoteObject> &remoteObject,
518 * @param formEventType form event type.
522 void FormClickEvent(const std::string &bundleName, const std::string &formEventType,
H A Dform_mgr_service.h575 * @param formEventType Form event type.
579 const std::string &bundleName, const std::string &formEventType, const sptr<IRemoteObject> &observer) override;
584 * @param formEventType Form event type.
589 const std::string &bundleName, const std::string &formEventType, const sptr<IRemoteObject> &observer) override;
H A Dform_mgr_adapter.h542 * @param formEventType Form event type.
547 const std::string &bundleName, const std::string &formEventType, const sptr<IRemoteObject> &observer);
552 * @param formEventType Form event type.
557 const std::string &bundleName, const std::string &formEventType, const sptr<IRemoteObject> &observer);
/foundation/ability/ability_runtime/test/mock/frameworks_kits_ability_native_test/include/
H A Dmock_form_mgr_service.h224 const std::string &bundleName, const std::string &formEventType, const sptr<IRemoteObject> &observer) override
230 const std::string &bundleName, const std::string &formEventType, const sptr<IRemoteObject> &observer) override
/foundation/ability/form_fwk/interfaces/inner_api/include/
H A Djs_form_state_observer_interface.h45 * @param formEventType The click event type.
48 virtual int32_t OnFormClickEvent(const std::string &bundleName, const std::string &formEventType,
H A Dform_mgr_interface.h575 * @param formEventType Form event type.
580 const std::string &bundleName, const std::string &formEventType, const sptr<IRemoteObject> &observer) = 0;
585 * @param formEventType Form event type.
590 const std::string &bundleName, const std::string &formEventType, const sptr<IRemoteObject> &observer) = 0;
H A Dform_mgr_proxy.h526 * @param formEventType Form event type.
531 const std::string &bundleName, const std::string &formEventType, const sptr<IRemoteObject> &observer) override;
536 * @param formEventType Form event type.
541 const std::string &bundleName, const std::string &formEventType, const sptr<IRemoteObject> &observer) override;
/foundation/ability/form_fwk/test/unittest/fms_form_mgr_service_test/
H A Dfms_form_mgr_service_test2.cpp789 const std::string formEventType = ""; in HWTEST_F() local
791 ErrCode ret = formMgrService.RegisterClickEventObserver(bundleName, formEventType, nullptr); in HWTEST_F()
794 ret = formMgrService.RegisterClickEventObserver(bundleName, formEventType, callerToken); in HWTEST_F()
798 ret = formMgrService.RegisterClickEventObserver(bundleName, formEventType, callerToken); in HWTEST_F()
815 const std::string formEventType = ""; in HWTEST_F() local
817 ErrCode ret = formMgrService.UnregisterClickEventObserver(bundleName, formEventType, nullptr); in HWTEST_F()
820 ret = formMgrService.UnregisterClickEventObserver(bundleName, formEventType, callerToken); in HWTEST_F()
824 ret = formMgrService.UnregisterClickEventObserver(bundleName, formEventType, callerToken); in HWTEST_F()
H A Dmock_form_mgr_adapter.cpp377 const std::string &bundleName, const std::string &formEventType, const sptr<IRemoteObject> &observer) in RegisterClickEventObserver()
383 const std::string &bundleName, const std::string &formEventType, const sptr<IRemoteObject> &observer) in UnregisterClickEventObserver()
376 RegisterClickEventObserver( const std::string &bundleName, const std::string &formEventType, const sptr<IRemoteObject> &observer) RegisterClickEventObserver() argument
382 UnregisterClickEventObserver( const std::string &bundleName, const std::string &formEventType, const sptr<IRemoteObject> &observer) UnregisterClickEventObserver() argument
/foundation/ability/form_fwk/interfaces/kits/native/include/
H A Dform_mgr.h59 * @param formEventType Form event type.
64 const std::string &bundleName, const std::string &formEventType, const sptr<IRemoteObject> &observer);
69 * @param formEventType Form event type.
74 const std::string &bundleName, const std::string &formEventType, const sptr<IRemoteObject> &observer);
/foundation/ability/form_fwk/test/mock/include/
H A Dmock_form_mgr_proxy.h94 ErrCode(const std::string &bundleName, const std::string &formEventType, const sptr<IRemoteObject> &observe));
96 ErrCode(const std::string &bundleName, const std::string &formEventType, const sptr<IRemoteObject> &observe));
H A Dmock_form_mgr_service.h101 const std::string &bundleName, const std::string &formEventType, const sptr<IRemoteObject> &observer));
103 const std::string &bundleName, const std::string &formEventType, const sptr<IRemoteObject> &observer));
/foundation/ability/dmsfwk/services/dtbschedmgr/test/unittest/
H A Dmock_form_mgr_service.h242 const std::string &bundleName, const std::string &formEventType, const sptr<IRemoteObject> &observer) override
247 const std::string &bundleName, const std::string &formEventType, const sptr<IRemoteObject> &observer) override
/foundation/ability/ability_runtime/test/unittest/frameworks_kits_appkit_native_test/
H A Dform_extension_context_mock_test.h268 const std::string &bundleName, const std::string &formEventType, const sptr<IRemoteObject> &observer) override
273 const std::string &bundleName, const std::string &formEventType, const sptr<IRemoteObject> &observer) override
/foundation/ability/form_fwk/test/fuzztest/formmgrstub_fuzzer/
H A Dformmgrstub_fuzzer.cpp241 const std::string &bundleName, const std::string &formEventType, const sptr<IRemoteObject> &observer) override
253 const std::string &bundleName, const std::string &formEventType, const sptr<IRemoteObject> &observer) override
/foundation/ability/form_fwk/test/unittest/form_mgr_test/
H A Dform_mgr_test.cpp2419 std::string formEventType = "formAdd"; in HWTEST_F() local
2421 int result = FormMgr::GetInstance().RegisterClickEventObserver(bundleName, formEventType, observer); in HWTEST_F()
2435 std::string formEventType = "formAdd"; in HWTEST_F() local
2439 int result = FormMgr::GetInstance().RegisterClickEventObserver(bundleName, formEventType, iremoteObject); in HWTEST_F()
2453 std::string formEventType = "formAdd"; in HWTEST_F() local
2462 int result = FormMgr::GetInstance().RegisterClickEventObserver(bundleName, formEventType, iremoteObject); in HWTEST_F()
2476 std::string formEventType = "formAdd"; in HWTEST_F() local
2481 int result = FormMgr::GetInstance().RegisterClickEventObserver(bundleName, formEventType, iremoteObject); in HWTEST_F()
2497 std::string formEventType = "formAdd"; in HWTEST_F() local
2499 int result = FormMgr::GetInstance().UnregisterClickEventObserver(bundleName, formEventType, observe in HWTEST_F()
2513 std::string formEventType = "formAdd"; HWTEST_F() local
2531 std::string formEventType = "formAdd"; HWTEST_F() local
2554 std::string formEventType = "formAdd"; HWTEST_F() local
[all...]
/foundation/ability/form_fwk/test/unittest/fms_form_mgr_proxy_test/
H A Dfms_form_mgr_proxy_test.cpp2538 std::string formEventType = "1"; in HWTEST_F() local
2540 int32_t result = proxy->RegisterClickEventObserver(bundleName, formEventType, nullptr); in HWTEST_F()
2562 std::string formEventType = "1"; in HWTEST_F() local
2564 int32_t result = proxy->RegisterClickEventObserver(bundleName, formEventType, nullptr); in HWTEST_F()
2585 std::string formEventType = "1"; in HWTEST_F() local
2587 int32_t result = proxy->UnregisterClickEventObserver(bundleName, formEventType, nullptr); in HWTEST_F()
2609 std::string formEventType = "1"; in HWTEST_F() local
2611 int32_t result = proxy->UnregisterClickEventObserver(bundleName, formEventType, nullptr); in HWTEST_F()
/foundation/ability/form_fwk/interfaces/kits/native/src/
H A Dform_mgr.cpp1602 const std::string &bundleName, const std::string &formEventType, const sptr<IRemoteObject> &observer) in RegisterClickEventObserver()
1623 return remoteProxy_->RegisterClickEventObserver(bundleName, formEventType, observer); in RegisterClickEventObserver()
1627 const std::string &bundleName, const std::string &formEventType, const sptr<IRemoteObject> &observer) in UnregisterClickEventObserver()
1648 return remoteProxy_->UnregisterClickEventObserver(bundleName, formEventType, observer); in UnregisterClickEventObserver()
1601 RegisterClickEventObserver( const std::string &bundleName, const std::string &formEventType, const sptr<IRemoteObject> &observer) RegisterClickEventObserver() argument
1626 UnregisterClickEventObserver( const std::string &bundleName, const std::string &formEventType, const sptr<IRemoteObject> &observer) UnregisterClickEventObserver() argument
/foundation/ability/form_fwk/interfaces/inner_api/src/
H A Dform_mgr_proxy.cpp2086 const std::string &bundleName, const std::string &formEventType, const sptr<IRemoteObject> &observer) in RegisterClickEventObserver()
2100 if (!data.WriteString(formEventType)) { in RegisterClickEventObserver()
2101 HILOG_ERROR("write formEventType failed"); in RegisterClickEventObserver()
2122 const std::string &bundleName, const std::string &formEventType, const sptr<IRemoteObject> &observer) in UnregisterClickEventObserver()
2136 if (!data.WriteString(formEventType)) { in UnregisterClickEventObserver()
2137 HILOG_ERROR("write formEventType failed"); in UnregisterClickEventObserver()
2085 RegisterClickEventObserver( const std::string &bundleName, const std::string &formEventType, const sptr<IRemoteObject> &observer) RegisterClickEventObserver() argument
2121 UnregisterClickEventObserver( const std::string &bundleName, const std::string &formEventType, const sptr<IRemoteObject> &observer) UnregisterClickEventObserver() argument
H A Dform_mgr_stub.cpp1301 std::string formEventType = data.ReadString(); in HandleRegisterClickCallbackEventObserver() local
1307 return RegisterClickEventObserver(bundleName, formEventType, callerToken); in HandleRegisterClickCallbackEventObserver()
1314 std::string formEventType = data.ReadString(); in HandleUnregisterClickCallbackEventObserver() local
1320 return UnregisterClickEventObserver(bundleName, formEventType, callerToken); in HandleUnregisterClickCallbackEventObserver()
/foundation/ability/form_fwk/test/unittest/fms_js_form_state_observer_stub_test/
H A Dfms_js_form_state_observer_stub_test.cpp76 const std::string &formEventType,

Completed in 35 milliseconds

12