Home
last modified time | relevance | path

Searched refs:WidgetContext (Results 1 – 8 of 8) sorted by relevance

/ohos5.0/base/useriam/user_auth_framework/services/context/src/
H A Dwidget_context.cpp62 WidgetContext::WidgetContext(uint64_t contextId, const ContextFactory::AuthWidgetContextPara &para, in WidgetContext() function in OHOS::UserIam::UserAuth::WidgetContext
71 WidgetContext::~WidgetContext() in ~WidgetContext()
78 bool WidgetContext::Start() in Start()
90 bool WidgetContext::Stop() in Stop()
116 int32_t WidgetContext::GetUserId() const in GetUserId()
143 bool WidgetContext::BuildSchedule() in BuildSchedule()
207 bool WidgetContext::OnStart() in OnStart()
232 bool WidgetContext::OnStop() in OnStop()
282 bool WidgetContext::LaunchWidget() in LaunchWidget()
325 void WidgetContext::EndAuthAsCancel() in EndAuthAsCancel()
[all …]
H A Dwidget_context_callback_impl.h29 class WidgetContext; variable
32 WidgetContextCallbackImpl(std::weak_ptr<WidgetContext> widgetContext, int32_t authType);
41 std::weak_ptr<WidgetContext> widgetContext_;
H A Dwidget_context_callback_impl.cpp29 WidgetContextCallbackImpl::WidgetContextCallbackImpl(std::weak_ptr<WidgetContext> widgetContext, in… in WidgetContextCallbackImpl()
H A Dcontext_factory.cpp83 return Common::MakeShared<WidgetContext>(newContextId, para, callback); in CreateWidgetContext()
/ohos5.0/base/useriam/user_auth_framework/test/unittest/services/src/
H A Dwidget_context_callback_impl_test.cpp63 WidgetContext *widgetContext = new WidgetContext(contextId, para, callback);
66 …Common::MakeShared<WidgetContextCallbackImpl>(std::shared_ptr<WidgetContext>(widgetContext), authT…
76 std::shared_ptr<WidgetContext> widgetContext = nullptr;
90 WidgetContext *widgetContext = new WidgetContext(contextId, para, callback);
93 …Common::MakeShared<WidgetContextCallbackImpl>(std::shared_ptr<WidgetContext>(widgetContext), authT…
H A Dwidget_context_test.cpp61 std::shared_ptr<WidgetContext> CreateWidgetContext(uint64_t contextId, ContextFactory::AuthWidgetCo… in CreateWidgetContext()
64 return Common::MakeShared<WidgetContext>(contextId, para, contextCallback); in CreateWidgetContext()
359 auto widgetContext = Common::MakeShared<WidgetContext>(contextId, para, nullptr);
371 auto widgetContext = Common::MakeShared<WidgetContext>(contextId, para, nullptr);
387 auto widgetContext = Common::MakeShared<WidgetContext>(contextId, para, contextCallback);
H A Dwidget_schedule_node_impl_test.cpp54 widgetContext = Common::MakeShared<WidgetContext>(contextId, para, callback); in SetUpTestCase()
/ohos5.0/base/useriam/user_auth_framework/services/context/inc/
H A Dwidget_context.h45 class WidgetContext : public WidgetScheduleNodeCallback,
47 public std::enable_shared_from_this<WidgetContext>,
52 WidgetContext(uint64_t contextId, const ContextFactory::AuthWidgetContextPara &para,
54 ~WidgetContext() override;