Home
last modified time | relevance | path

Searched refs:Context (Results 1 – 25 of 92) sorted by relevance

1234

/base/inputmethod/imf/interfaces/kits/js/napi/inputmethodability/
Djs_text_input_client_engine.h25 struct SendKeyFunctionContext : public AsyncCall::Context {
29 SendKeyFunctionContext() : Context(nullptr, nullptr) { }; in SendKeyFunctionContext()
30 …SendKeyFunctionContext(InputAction input, OutputAction output) : Context(std::move(input), std::mo… in SendKeyFunctionContext()
35 return Context::operator()(env, argc, argv, self); in operator()
44 return Context::operator()(env, result); in operator()
48 struct MoveCursorContext : public AsyncCall::Context {
51 MoveCursorContext() : Context(nullptr, nullptr) { }; in MoveCursorContext()
52 …MoveCursorContext(InputAction input, OutputAction output) : Context(std::move(input), std::move(ou… in MoveCursorContext()
57 return Context::operator()(env, argc, argv, self); in operator()
65 return Context::operator()(env, result); in operator()
[all …]
Djs_keyboard_controller_engine.h23 struct HideKeyboardContext : public AsyncCall::Context {
25 HideKeyboardContext() : Context(nullptr, nullptr) { }; in HideKeyboardContext()
26 …HideKeyboardContext(InputAction input, OutputAction output) : Context(std::move(input), std::move(… in HideKeyboardContext()
31 return Context::operator()(env, argc, argv, self); in operator()
39 return Context::operator()(env, result); in operator()
43 struct HideContext : public AsyncCall::Context {
45 HideContext() : Context(nullptr, nullptr) { }; in HideContext()
46 …HideContext(InputAction input, OutputAction output) : Context(std::move(input), std::move(output))… in HideContext()
51 return Context::operator()(env, argc, argv, self); in operator()
59 return Context::operator()(env, result); in operator()
/base/theme/wallpaper_mgr/interfaces/kits/napi/
Dnapi_wallpaper_ability.h47 struct GetContextInfo : public AsyncCall::Context {
53 GetContextInfo() : Context(nullptr, nullptr){}; in GetContextInfo()
54 …GetContextInfo(InputAction input, OutputAction output) : Context(std::move(input), std::move(outpu… in GetContextInfo()
59 return Context::operator()(env, argc, argv, self); in operator()
67 return Context::operator()(env, result); in operator()
71 struct GetMinContextInfo : public AsyncCall::Context {
75 GetMinContextInfo() : Context(nullptr, nullptr){}; in GetMinContextInfo()
76 …GetMinContextInfo(InputAction input, OutputAction output) : Context(std::move(input), std::move(ou… in GetMinContextInfo()
81 return Context::operator()(env, argc, argv, self); in operator()
89 return Context::operator()(env, result); in operator()
[all …]
Dasync_call.h28 class Context {
32 using ExecAction = std::function<void(Context *)>;
33Context(InputAction input, OutputAction output) : input_(std::move(input)), output_(std::move(outp… in Context() function
34 virtual ~Context(){}; in ~Context()
93 …AsyncCall(napi_env env, napi_callback_info info, std::shared_ptr<Context> context, size_t pos = AS…
108 std::shared_ptr<Context> ctx = nullptr;
/base/useriam/user_auth_framework/services/context/inc/
Dcontext_pool.h30 virtual void OnContextPoolInsert(const std::shared_ptr<Context> &context) = 0;
31 virtual void OnContextPoolDelete(const std::shared_ptr<Context> &context) = 0;
35 virtual bool Insert(const std::shared_ptr<Context> &context) = 0;
37 virtual std::weak_ptr<Context> Select(uint64_t contextId) const = 0;
38 virtual std::vector<std::weak_ptr<Context>> Select(ContextType contextType) const = 0;
Dcontext_factory.h53 static std::shared_ptr<Context> CreateSimpleAuthContext(const AuthContextPara &para,
55 static std::shared_ptr<Context> CreateIdentifyContext(const IdentifyContextPara &para,
57 static std::shared_ptr<Context> CreateEnrollContext(const EnrollContextPara &para,
59 …static std::shared_ptr<Context> CreateWidgetAuthContext(std::shared_ptr<ContextCallback> callback);
/base/inputmethod/imf/interfaces/kits/js/napi/inputmethodclient/
Djs_get_input_method_setting.h28 struct ListInputContext : public AsyncCall::Context {
34 ListInputContext() : Context(nullptr, nullptr) { }; in ListInputContext()
35 …ListInputContext(InputAction input, OutputAction output) : Context(std::move(input), std::move(out… in ListInputContext()
40 return Context::operator()(env, argc, argv, self); in operator()
48 return Context::operator()(env, result); in operator()
52 struct DisplayOptionalInputMethodContext : public AsyncCall::Context {
55 DisplayOptionalInputMethodContext() : Context(nullptr, nullptr) { }; in DisplayOptionalInputMethodContext()
57 : Context(std::move(input), std::move(output)) { }; in DisplayOptionalInputMethodContext()
62 return Context::operator()(env, argc, argv, self); in operator()
70 return Context::operator()(env, result); in operator()
[all …]
Dasync_call.h28 class Context {
32 using ExecAction = std::function<void(Context *)>;
33Context(InputAction input, OutputAction output): input_(std::move(input)), output_(std::move(outpu… in Context() function
34 virtual ~Context() {}; in ~Context()
96 …AsyncCall(napi_env env, napi_callback_info info, std::shared_ptr<Context> context, size_t pos = AS…
98 napi_value Call(napi_env env, Context::ExecAction exec = nullptr);
99 napi_value SyncCall(napi_env env, Context::ExecAction exec = nullptr);
110 std::shared_ptr<Context> ctx = nullptr;
Djs_get_input_method_controller.h24 struct HandleContext : public AsyncCall::Context {
27 HandleContext() : Context(nullptr, nullptr) { }; in HandleContext()
28 …HandleContext(InputAction input, OutputAction output) : Context(std::move(input), std::move(output… in HandleContext()
33 return Context::operator()(env, argc, argv, self); in operator()
41 return Context::operator()(env, result); in operator()
Djs_input_method.h26 struct SwitchInputMethodContext : public AsyncCall::Context {
33 SwitchInputMethodContext() : Context(nullptr, nullptr) { }; in SwitchInputMethodContext()
34 …SwitchInputMethodContext(InputAction input, OutputAction output) : Context(std::move(input), std::… in SwitchInputMethodContext()
39 return Context::operator()(env, argc, argv, self); in operator()
47 return Context::operator()(env, result); in operator()
/base/useriam/user_auth_framework/test/unittest/services/mocks/
Dmock_context_pool_listener.h28 MOCK_METHOD1(OnContextPoolInsert, void(const std::shared_ptr<Context> &context));
29 MOCK_METHOD1(OnContextPoolDelete, void(const std::shared_ptr<Context> &context));
36 using Callback = std::function<void(Action action, const std::shared_ptr<Context> &context)>;
43 …*listener, OnContextPoolInsert).WillByDefault([callback](const std::shared_ptr<Context> &context) { in Create()
49 …*listener, OnContextPoolDelete).WillByDefault([callback](const std::shared_ptr<Context> &context) { in Create()
/base/request/request/upload/interfaces/kits/napi/include/
Dasync_call.h28 class Context {
32 using ExecAction = std::function<void(Context *)>;
33Context(InputAction input, OutputAction output): input_(std::move(input)), output_(std::move(outpu… in Context() function
34 virtual ~Context() {}; in ~Context()
82 AsyncCall(napi_env env, napi_callback_info info, std::shared_ptr<Context> context);
84 napi_value Call(napi_env env, Context::ExecAction exec = nullptr);
85 napi_value SyncCall(napi_env env, Context::ExecAction exec = nullptr);
95 std::shared_ptr<Context> ctx = nullptr;
Dupload_task_napiV9.h52 std::shared_ptr<OHOS::AbilityRuntime::Context>& context);
54 …std::shared_ptr<OHOS::AbilityRuntime::Context> &context, int64_t &totalSize, std::vector<FileData>…
59 struct RemoveContextInfo : public AsyncCall::Context {
63 RemoveContextInfo() : Context(nullptr, nullptr) {}; in RemoveContextInfo()
64 …RemoveContextInfo(InputAction input, OutputAction output) : Context(std::move(input), std::move(ou… in RemoveContextInfo()
72 return Context::operator()(env, argc, argv, self); in operator()
79 return Context::operator()(env, result); in operator()
102 …std::shared_ptr<OHOS::AbilityRuntime::Context> &context, std::vector<Upload::TaskState> &taskState…
104 std::shared_ptr<OHOS::AbilityRuntime::Context> &context);
106 std::shared_ptr<OHOS::AbilityRuntime::Context> &context);
[all …]
/base/request/request/download/interfaces/kits/js/napi/download_single/include/
Dasync_call.h29 class Context {
33 using ExecAction = std::function<void(Context *)>;
34Context(InputAction input, OutputAction output) : input_(std::move(input)), output_(std::move(outp… in Context() function
35 virtual ~Context() {}; in ~Context()
85 …AsyncCall(napi_env env, napi_callback_info info, std::shared_ptr<Context> context, const std::stri…
88 napi_value Call(napi_env env, Context::ExecAction exec = nullptr);
89 napi_value SyncCall(napi_env env, Context::ExecAction exec = nullptr);
96 std::shared_ptr<Context> ctx = nullptr;
Ddownload_remove.h37 struct RemoveContext : public AsyncCall::Context {
41 RemoveContext() : Context(nullptr, nullptr) {}; in RemoveContext()
42 …RemoveContext(InputAction input, OutputAction output) : Context(std::move(input), std::move(output… in RemoveContext()
50 return Context::operator()(env, argc, argv, self); in operator()
57 return Context::operator()(env, result); in operator()
Ddownload_pause.h36 struct PauseContext : public AsyncCall::Context {
40 PauseContext() : Context(nullptr, nullptr) {}; in PauseContext()
41 …PauseContext(InputAction input, OutputAction output) : Context(std::move(input), std::move(output)… in PauseContext()
49 return Context::operator()(env, argc, argv, self); in operator()
56 return Context::operator()(env, result); in operator()
Ddownload_resume.h37 struct ResumeContext : public AsyncCall::Context {
41 ResumeContext() : Context(nullptr, nullptr) {}; in ResumeContext()
42 …ResumeContext(InputAction input, OutputAction output) : Context(std::move(input), std::move(output… in ResumeContext()
50 return Context::operator()(env, argc, argv, self); in operator()
57 return Context::operator()(env, result); in operator()
Ddownload_query_mimetype.h39 struct QueryMimeContext : public AsyncCall::Context {
43 QueryMimeContext() : Context(nullptr, nullptr) {}; in QueryMimeContext()
44 …QueryMimeContext(InputAction input, OutputAction output) : Context(std::move(input), std::move(out… in QueryMimeContext()
52 return Context::operator()(env, argc, argv, self); in operator()
59 return Context::operator()(env, result); in operator()
Ddownload_query.h38 struct QueryContext : public AsyncCall::Context {
42 QueryContext() : Context(nullptr, nullptr) {}; in QueryContext()
43 …QueryContext(InputAction input, OutputAction output) : Context(std::move(input), std::move(output)… in QueryContext()
51 return Context::operator()(env, argc, argv, self); in operator()
58 return Context::operator()(env, result); in operator()
/base/theme/screenlock_mgr/interfaces/kits/napi/include/
Dasync_call.h29 class Context {
33 using ExecAction = std::function<void(Context *)>;
34Context(InputAction input, OutputAction output) : input_(std::move(input)), output_(std::move(outp… in Context() function
35 virtual ~Context() {}; in ~Context()
93 …AsyncCall(napi_env env, napi_callback_info info, Context *context, size_t pos = ASYNC_DEFAULT_POS);
95 napi_value Call(const napi_env env, Context::ExecAction exec = nullptr);
96 napi_value SyncCall(const napi_env env, Context::ExecAction exec = nullptr);
105 Context *ctx = nullptr;
Dnapi_screenlock_ability.h25 struct AsyncScreenLockInfo : public AsyncCall::Context {
28 AsyncScreenLockInfo() : Context(nullptr, nullptr), allowed(false) {}; in AsyncScreenLockInfo()
30 : Context(std::move(input), std::move(output)), allowed(false) {}; in AsyncScreenLockInfo()
34 struct SendEventInfo : public AsyncCall::Context {
41 … : Context(nullptr, nullptr), param(0), eventInfo(""), flag(false), status(napi_generic_failure), in SendEventInfo()
44 : Context(std::move(input), std::move(output)), param(0), eventInfo(""), flag(false), in SendEventInfo()
/base/useriam/user_auth_framework/services/context/src/
Dcontext_pool_impl.cpp34 bool Insert(const std::shared_ptr<Context> &context) override;
36 std::weak_ptr<Context> Select(uint64_t contextId) const override;
37 std::vector<std::weak_ptr<Context>> Select(ContextType contextType) const override;
44 std::unordered_map<uint64_t, std::shared_ptr<Context>> contextMap_;
48 bool ContextPoolImpl::Insert(const std::shared_ptr<Context> &context) in Insert()
86 std::weak_ptr<Context> ContextPoolImpl::Select(uint64_t contextId) const in Select()
89 std::weak_ptr<Context> result; in Select()
97 std::vector<std::weak_ptr<Context>> ContextPoolImpl::Select(ContextType contextType) const in Select()
100 std::vector<std::weak_ptr<Context>> result; in Select()
Dcontext_factory.cpp34 std::shared_ptr<Context> ContextFactory::CreateSimpleAuthContext(const AuthContextPara &para, in CreateSimpleAuthContext()
46 std::shared_ptr<Context> ContextFactory::CreateIdentifyContext(const IdentifyContextPara &para, in CreateIdentifyContext()
58 std::shared_ptr<Context> ContextFactory::CreateEnrollContext(const EnrollContextPara &para, in CreateEnrollContext()
71 std::shared_ptr<Context> ContextFactory::CreateWidgetAuthContext(std::shared_ptr<ContextCallback> c… in CreateWidgetAuthContext()
/base/request/request/upload/unitest/include/
Dmock_obfile.h30 std::shared_ptr<OHOS::AbilityRuntime::Context> &));
32 std::shared_ptr<OHOS::AbilityRuntime::Context> &));
34 std::shared_ptr<OHOS::AbilityRuntime::Context> &));
/base/request/request/upload/frameworks/libs/include/
Dobtain_file.h36 uint32_t& fileSize, std::shared_ptr<OHOS::AbilityRuntime::Context> &context);
39 uint32_t& fileSize, std::shared_ptr<OHOS::AbilityRuntime::Context> &context);
41 uint32_t& fileSize, std::shared_ptr<OHOS::AbilityRuntime::Context> &context);

1234