/base/inputmethod/imf/interfaces/kits/js/napi/inputmethodability/ |
D | js_text_input_client_engine.h | 25 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 …]
|
D | js_keyboard_controller_engine.h | 23 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/ |
D | napi_wallpaper_ability.h | 47 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 …]
|
D | async_call.h | 28 class Context { 32 using ExecAction = std::function<void(Context *)>; 33 …Context(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/ |
D | context_pool.h | 30 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;
|
D | context_factory.h | 53 static std::shared_ptr<Context> CreateSimpleAuthContext(const AuthContextPara ¶, 55 static std::shared_ptr<Context> CreateIdentifyContext(const IdentifyContextPara ¶, 57 static std::shared_ptr<Context> CreateEnrollContext(const EnrollContextPara ¶, 59 …static std::shared_ptr<Context> CreateWidgetAuthContext(std::shared_ptr<ContextCallback> callback);
|
/base/inputmethod/imf/interfaces/kits/js/napi/inputmethodclient/ |
D | js_get_input_method_setting.h | 28 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 …]
|
D | async_call.h | 28 class Context { 32 using ExecAction = std::function<void(Context *)>; 33 …Context(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;
|
D | js_get_input_method_controller.h | 24 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()
|
D | js_input_method.h | 26 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/ |
D | mock_context_pool_listener.h | 28 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/ |
D | async_call.h | 28 class Context { 32 using ExecAction = std::function<void(Context *)>; 33 …Context(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;
|
D | upload_task_napiV9.h | 52 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/ |
D | async_call.h | 29 class Context { 33 using ExecAction = std::function<void(Context *)>; 34 …Context(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;
|
D | download_remove.h | 37 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()
|
D | download_pause.h | 36 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()
|
D | download_resume.h | 37 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()
|
D | download_query_mimetype.h | 39 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()
|
D | download_query.h | 38 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/ |
D | async_call.h | 29 class Context { 33 using ExecAction = std::function<void(Context *)>; 34 …Context(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;
|
D | napi_screenlock_ability.h | 25 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/ |
D | context_pool_impl.cpp | 34 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()
|
D | context_factory.cpp | 34 std::shared_ptr<Context> ContextFactory::CreateSimpleAuthContext(const AuthContextPara ¶, in CreateSimpleAuthContext() 46 std::shared_ptr<Context> ContextFactory::CreateIdentifyContext(const IdentifyContextPara ¶, in CreateIdentifyContext() 58 std::shared_ptr<Context> ContextFactory::CreateEnrollContext(const EnrollContextPara ¶, in CreateEnrollContext() 71 std::shared_ptr<Context> ContextFactory::CreateWidgetAuthContext(std::shared_ptr<ContextCallback> c… in CreateWidgetAuthContext()
|
/base/request/request/upload/unitest/include/ |
D | mock_obfile.h | 30 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/ |
D | obtain_file.h | 36 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);
|