Home
last modified time | relevance | path

Searched refs:interceptorCallback (Results 1 - 14 of 14) sorted by relevance

/foundation/ability/form_fwk/test/unittest/fms_form_mgr_adapter_test/
H A Dfms_form_mgr_adapter_test2.cpp1733 sptr<IRemoteObject> interceptorCallback = nullptr; in HWTEST_F() local
1734 EXPECT_EQ(ERR_APPEXECFWK_FORM_INVALID_PARAM, formMgrAdapter.RegisterPublishFormInterceptor(interceptorCallback)); in HWTEST_F()
1747 sptr<IRemoteObject> interceptorCallback; in HWTEST_F() local
1749 EXPECT_EQ(ERR_APPEXECFWK_FORM_INVALID_PARAM, formMgrAdapter.RegisterPublishFormInterceptor(interceptorCallback)); in HWTEST_F()
1762 sptr<IRemoteObject> interceptorCallback; in HWTEST_F() local
1763 auto interceptor = iface_cast<AppExecFwk::IFormPublishInterceptor>(interceptorCallback); in HWTEST_F()
1764 EXPECT_EQ(ERR_APPEXECFWK_FORM_INVALID_PARAM, formMgrAdapter.RegisterPublishFormInterceptor(interceptorCallback)); in HWTEST_F()
1777 sptr<IRemoteObject> interceptorCallback; in HWTEST_F() local
1778 auto interceptor = iface_cast<AppExecFwk::IFormPublishInterceptor>(interceptorCallback); in HWTEST_F()
1779 EXPECT_EQ(ERR_APPEXECFWK_FORM_INVALID_PARAM, formMgrAdapter.UnregisterPublishFormInterceptor(interceptorCallback)); in HWTEST_F()
1792 sptr<IRemoteObject> interceptorCallback; HWTEST_F() local
1807 sptr<IRemoteObject> interceptorCallback; HWTEST_F() local
[all...]
/foundation/ability/form_fwk/interfaces/kits/native/include/
H A Dform_mgr.h486 * @param interceptorCallback The injected callback, should implementation IFormPublishInterceptor.
489 int32_t RegisterPublishFormInterceptor(const sptr<IRemoteObject> &interceptorCallback);
494 * @param interceptorCallback The injected callback, should implementation IFormPublishInterceptor.
497 int32_t UnregisterPublishFormInterceptor(const sptr<IRemoteObject> &interceptorCallback);
/foundation/ability/form_fwk/test/mock/include/
H A Dmock_form_mgr_proxy.h84 MOCK_METHOD1(RegisterPublishFormInterceptor, int32_t(const sptr<IRemoteObject> &interceptorCallback));
85 MOCK_METHOD1(UnregisterPublishFormInterceptor, int32_t(const sptr<IRemoteObject> &interceptorCallback));
H A Dmock_form_mgr_service.h98 MOCK_METHOD1(RegisterPublishFormInterceptor, int32_t(const sptr<IRemoteObject> &interceptorCallback));
99 MOCK_METHOD1(UnregisterPublishFormInterceptor, int32_t(const sptr<IRemoteObject> &interceptorCallback));
/foundation/ability/form_fwk/services/include/
H A Dform_mgr_service.h558 * @param interceptorCallback The injected callback, should implementation IFormPublishInterceptor.
561 int32_t RegisterPublishFormInterceptor(const sptr<IRemoteObject> &interceptorCallback) override;
566 * @param interceptorCallback The injected callback, should implementation IFormPublishInterceptor.
569 int32_t UnregisterPublishFormInterceptor(const sptr<IRemoteObject> &interceptorCallback) override;
H A Dform_mgr_adapter.h526 * @param interceptorCallback The injected callback, should implementation IFormPublishInterceptor.
529 int32_t RegisterPublishFormInterceptor(const sptr<IRemoteObject> &interceptorCallback);
534 * @param interceptorCallback The injected callback, should implementation IFormPublishInterceptor.
537 int32_t UnregisterPublishFormInterceptor(const sptr<IRemoteObject> &interceptorCallback);
/foundation/ability/form_fwk/interfaces/inner_api/include/
H A Dform_mgr_interface.h553 * @param interceptorCallback The injected callback, should implementation IFormPublishInterceptor.
556 virtual int32_t RegisterPublishFormInterceptor(const sptr<IRemoteObject> &interceptorCallback) in RegisterPublishFormInterceptor() argument
564 * @param interceptorCallback The injected callback, should implementation IFormPublishInterceptor.
567 virtual int32_t UnregisterPublishFormInterceptor(const sptr<IRemoteObject> &interceptorCallback) in UnregisterPublishFormInterceptor() argument
H A Dform_mgr_proxy.h510 * @param interceptorCallback The injected callback, should implementation IFormPublishInterceptor.
513 int32_t RegisterPublishFormInterceptor(const sptr<IRemoteObject> &interceptorCallback) override;
518 * @param interceptorCallback The injected callback, should implementation IFormPublishInterceptor.
521 int32_t UnregisterPublishFormInterceptor(const sptr<IRemoteObject> &interceptorCallback) override;
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/interfaces/
H A Ddistributeddb_interfaces_database_rd_kernel_test.cpp876 auto interceptorCallback = [] (InterceptedData &data, const std::string &sourceID, in HWTEST_F() local
881 EXPECT_EQ(g_kvNbDelegatePtr->SetPushDataInterceptor(interceptorCallback), NOT_SUPPORT); in HWTEST_F()
/foundation/ability/form_fwk/interfaces/kits/native/src/
H A Dform_mgr.cpp1319 int32_t FormMgr::RegisterPublishFormInterceptor(const sptr<IRemoteObject> &interceptorCallback) in RegisterPublishFormInterceptor() argument
1332 return remoteProxy_->RegisterPublishFormInterceptor(interceptorCallback); in RegisterPublishFormInterceptor()
1335 int32_t FormMgr::UnregisterPublishFormInterceptor(const sptr<IRemoteObject> &interceptorCallback) in UnregisterPublishFormInterceptor() argument
1347 return remoteProxy_->UnregisterPublishFormInterceptor(interceptorCallback); in UnregisterPublishFormInterceptor()
/foundation/ability/form_fwk/services/src/
H A Dform_mgr_service.cpp1257 int32_t FormMgrService::RegisterPublishFormInterceptor(const sptr<IRemoteObject> &interceptorCallback) in RegisterPublishFormInterceptor() argument
1272 return FormMgrAdapter::GetInstance().RegisterPublishFormInterceptor(interceptorCallback); in RegisterPublishFormInterceptor()
1275 int32_t FormMgrService::UnregisterPublishFormInterceptor(const sptr<IRemoteObject> &interceptorCallback) in UnregisterPublishFormInterceptor() argument
1290 return FormMgrAdapter::GetInstance().UnregisterPublishFormInterceptor(interceptorCallback); in UnregisterPublishFormInterceptor()
H A Dform_mgr_adapter.cpp3381 int32_t FormMgrAdapter::RegisterPublishFormInterceptor(const sptr<IRemoteObject> &interceptorCallback) in RegisterPublishFormInterceptor() argument
3384 if (interceptorCallback == nullptr) { in RegisterPublishFormInterceptor()
3385 HILOG_ERROR("null interceptorCallback"); in RegisterPublishFormInterceptor()
3388 auto interceptor = iface_cast<AppExecFwk::IFormPublishInterceptor>(interceptorCallback); in RegisterPublishFormInterceptor()
3397 int32_t FormMgrAdapter::UnregisterPublishFormInterceptor(const sptr<IRemoteObject> &interceptorCallback) in UnregisterPublishFormInterceptor() argument
3400 if (interceptorCallback == nullptr) { in UnregisterPublishFormInterceptor()
3401 HILOG_ERROR("null interceptorCallback"); in UnregisterPublishFormInterceptor()
3404 auto interceptor = iface_cast<AppExecFwk::IFormPublishInterceptor>(interceptorCallback); in UnregisterPublishFormInterceptor()
/foundation/ability/form_fwk/interfaces/inner_api/src/
H A Dform_mgr_proxy.cpp2026 int32_t FormMgrProxy::RegisterPublishFormInterceptor(const sptr<IRemoteObject> &interceptorCallback) in RegisterPublishFormInterceptor() argument
2036 if (!data.WriteRemoteObject(interceptorCallback)) { in RegisterPublishFormInterceptor()
2056 int32_t FormMgrProxy::UnregisterPublishFormInterceptor(const sptr<IRemoteObject> &interceptorCallback) in UnregisterPublishFormInterceptor() argument
2066 if (!data.WriteRemoteObject(interceptorCallback)) { in UnregisterPublishFormInterceptor()
/foundation/ability/form_fwk/test/unittest/form_mgr_test/
H A Dform_mgr_test.cpp2237 sptr<IRemoteObject> interceptorCallback; in HWTEST_F() local
2239 int32_t result = FormMgr::GetInstance().RegisterPublishFormInterceptor(interceptorCallback); in HWTEST_F()
2257 sptr<IRemoteObject> interceptorCallback; in HWTEST_F() local
2259 int32_t result = FormMgr::GetInstance().UnregisterPublishFormInterceptor(interceptorCallback); in HWTEST_F()
4144 sptr<IRemoteObject> interceptorCallback; in HWTEST_F() local
4145 int32_t result = FormMgr::GetInstance().UnregisterPublishFormInterceptor(interceptorCallback); in HWTEST_F()

Completed in 31 milliseconds