/base/inputmethod/imf/frameworks/js/napi/inputmethodability/ |
D | js_text_input_client_engine.h | 47 struct SendKeyFunctionContext : public AsyncCall::Context { 51 SendKeyFunctionContext() : Context(nullptr, nullptr){}; in SendKeyFunctionContext() 52 …SendKeyFunctionContext(InputAction input, OutputAction output) : Context(std::move(input), std::mo… in SendKeyFunctionContext() 57 return Context::operator()(env, argc, argv, self); in operator() 66 return Context::operator()(env, result); in operator() 70 struct MoveCursorContext : public AsyncCall::Context { 74 MoveCursorContext() : Context(nullptr, nullptr){}; in MoveCursorContext() 75 …MoveCursorContext(InputAction input, OutputAction output) : Context(std::move(input), std::move(ou… in MoveCursorContext() 80 return Context::operator()(env, argc, argv, self); in operator() 88 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()
|
D | js_input_method_engine_setting.h | 55 struct PanelContext : public AsyncCall::Context { 58 std::shared_ptr<OHOS::AbilityRuntime::Context> context = nullptr; 59 PanelContext() : Context(nullptr, nullptr){}; in PanelContext() 60 …PanelContext(InputAction input, OutputAction output) : Context(std::move(input), std::move(output)… in PanelContext() 65 return Context::operator()(env, argc, argv, self); in operator() 73 return Context::operator()(env, result); in operator() 88 std::shared_ptr<OHOS::AbilityRuntime::Context> &context);
|
D | js_panel.h | 50 struct PanelContentContext : public AsyncCall::Context { 58 PanelContentContext(napi_env env, napi_callback_info info) : Context(nullptr, nullptr) in PanelContentContext() 68 …PanelContentContext(InputAction input, OutputAction output) : Context(std::move(input), std::move(… in PanelContentContext() 72 return Context::operator()(env, argc, argv, self); in operator() 80 return Context::operator()(env, result); in operator()
|
/base/request/request/frameworks/js/napi/include/ |
D | async_call.h | 29 class Context { 34 Context() = default; 35 virtual ~Context() in ~Context() 43 inline Context &SetInput(InputAction action) in SetInput() 48 inline Context &SetOutput(OutputAction action) in SetOutput() 53 inline Context &SetExec(ExecAction action) in SetExec() 80 AsyncCall(napi_env env, napi_callback_info info, const std::shared_ptr<Context> &context); 82 …napi_value Call(const std::shared_ptr<Context> &context, const std::string &resourceName = "AsyncC… 97 std::shared_ptr<Context> ctx = nullptr;
|
/base/inputmethod/imf/frameworks/js/napi/inputmethodclient/ |
D | js_get_input_method_controller.h | 26 struct HandleContext : public AsyncCall::Context { 29 HandleContext() : Context(nullptr, nullptr){}; in HandleContext() 30 …HandleContext(InputAction input, OutputAction output) : Context(std::move(input), std::move(output… in HandleContext() 35 return Context::operator()(env, argc, argv, self); in operator() 43 return Context::operator()(env, result); in operator() 47 struct AttachContext : public AsyncCall::Context { 52 AttachContext() : Context(nullptr, nullptr) {}; in AttachContext() 53 …AttachContext(InputAction input, OutputAction output) : Context(std::move(input), std::move(output… in AttachContext() 58 return Context::operator()(env, argc, argv, self); in operator() 66 return Context::operator()(env, result); in operator() [all …]
|
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 | 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() 95 …AsyncCall(napi_env env, napi_callback_info info, std::shared_ptr<Context> context, size_t maxParam… 97 …napi_value Call(napi_env env, Context::ExecAction exec = nullptr, const std::string &resourceName … 98 napi_value SyncCall(napi_env env, Context::ExecAction exec = nullptr); 105 std::shared_ptr<Context> ctx = nullptr;
|
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/theme/wallpaper_mgr/frameworks/js/napi/ |
D | napi_wallpaper_ability.h | 47 struct GetContextInfo : public Call::Context { 56 GetContextInfo() : Context(nullptr, nullptr){}; in GetContextInfo() 57 …GetContextInfo(InputAction input, OutputAction output) : Context(std::move(input), std::move(outpu… in GetContextInfo() 62 return Context::operator()(env, argc, argv, self); in operator() 70 return Context::operator()(env, result); in operator() 74 struct GetMinContextInfo : public Call::Context { 78 GetMinContextInfo() : Context(nullptr, nullptr){}; in GetMinContextInfo() 79 …GetMinContextInfo(InputAction input, OutputAction output) : Context(std::move(input), std::move(ou… in GetMinContextInfo() 84 return Context::operator()(env, argc, argv, self); in operator() 92 return Context::operator()(env, result); in operator() [all …]
|
D | 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 …Call(napi_env env, napi_callback_info info, std::shared_ptr<Context> context, size_t pos = ASYNC_D… 102 std::shared_ptr<Context> ctx = nullptr;
|
/base/update/update_app/feature/ota/src/main/ets/dialog/ |
D | DialogUtils.ts | 34 descriptor.value = function (context: common.Context, otaStatus: OtaStatus, 54 function startMainAbilityIndex(context: common.Context): void { 110 static showDownloadNotEnoughSpaceDialog(context: common.Context, otaStatus: OtaStatus, 122 static showDownloadNoNetworkDialog(context: common.Context, otaStatus: OtaStatus, 134 …static showVerifyFailDialog(context: common.Context, otaStatus: OtaStatus, eventId?: update.EventI… 145 …static showDownloadFailDialog(context: common.Context, otaStatus: OtaStatus, eventId?: update.Even… 156 static showUpgradeNotEnoughSpaceDialog(context: common.Context, otaStatus: OtaStatus, 168 static showUpgradeNotEnoughBatteryDialog(context: common.Context, otaStatus: OtaStatus, 180 …static showUpgradeFailDialog(context: common.Context, otaStatus: OtaStatus, eventId?: update.Event…
|
/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 | 74 static std::shared_ptr<Context> CreateSimpleAuthContext(const AuthContextPara ¶, 76 static std::shared_ptr<Context> CreateIdentifyContext(const IdentifyContextPara ¶, 78 static std::shared_ptr<Context> CreateEnrollContext(const EnrollContextPara ¶, 80 …static std::shared_ptr<Context> CreateWidgetAuthContext(std::shared_ptr<ContextCallback> callback); 81 static std::shared_ptr<Context> CreateWidgetContext(const AuthWidgetContextPara ¶,
|
/base/update/update_app/feature/ota/src/main/ets/notify/ |
D | NotificationManager.ts | 42 static async handleAction(action: string, context: common.Context): Promise<boolean> { 55 private static handleCheckAction(context: common.Context): void { 60 private static async handleDetailAction(context: common.Context): Promise<void> { 69 public static async startToNewVersion(context: common.Context): Promise<void> { 75 private static startAbility(uri: string, context: common.Context): void {
|
/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/frameworks/js/napi/include/upload/ |
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 | 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);
|
D | file_adapter.h | 25 std::shared_ptr<OHOS::AbilityRuntime::Context> &context) override; 26 … std::string InternalGetFilePath(std::shared_ptr<OHOS::AbilityRuntime::Context> &context) override;
|
/base/print/print_fwk/interfaces/kits/napi/include/ |
D | print_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 36 virtual ~Context() {}; in ~Context() 93 PrintAsyncCall(napi_env env, napi_callback_info info, std::shared_ptr<Context> context, 96 napi_value Call(napi_env env, Context::ExecAction exec = nullptr); 97 napi_value SyncCall(napi_env env, Context::ExecAction exec = nullptr); 105 std::shared_ptr<Context> ctx = nullptr;
|
D | napi_print_task.h | 26 struct PrintTaskContext : public PrintAsyncCall::Context { 28 PrintTaskContext() : Context(nullptr, nullptr) {} in PrintTaskContext() 29 …PrintTaskContext(InputAction input, OutputAction output) : Context(std::move(input), std::move(out… in PrintTaskContext()
|
/base/theme/screenlock_mgr/frameworks/js/napi/include/ |
D | async_call.h | 30 class Context { 34 using ExecAction = std::function<void(Context *)>; 35 …Context(InputAction input, OutputAction output) : input_(std::move(input)), output_(std::move(outp… in Context() function 36 virtual ~Context(){}; in ~Context() 94 …AsyncCall(napi_env env, napi_callback_info info, Context *context, size_t pos = ASYNC_DEFAULT_POS); 97 …const napi_env env, Context::ExecAction exec = nullptr, const std::string &resourceName = "AsyncCa… 98 napi_value SyncCall(const napi_env env, Context::ExecAction exec = nullptr); 107 Context *ctx = nullptr;
|
D | napi_screenlock_ability.h | 24 struct AsyncScreenLockInfo : public AsyncCall::Context { 27 AsyncScreenLockInfo() : Context(nullptr, nullptr), allowed(false){}; in AsyncScreenLockInfo() 29 : Context(std::move(input), std::move(output)), allowed(false){}; in AsyncScreenLockInfo() 33 struct SendEventInfo : public AsyncCall::Context { 40 … : Context(nullptr, nullptr), param(0), eventInfo(""), flag(false), status(napi_generic_failure), in SendEventInfo() 43 : 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 | 35 std::shared_ptr<Context> ContextFactory::CreateSimpleAuthContext(const AuthContextPara ¶, in CreateSimpleAuthContext() 48 std::shared_ptr<Context> ContextFactory::CreateIdentifyContext(const IdentifyContextPara ¶, in CreateIdentifyContext() 60 std::shared_ptr<Context> ContextFactory::CreateEnrollContext(const EnrollContextPara ¶, in CreateEnrollContext() 74 std::shared_ptr<Context> ContextFactory::CreateWidgetAuthContext(std::shared_ptr<ContextCallback> c… in CreateWidgetAuthContext() 79 std::shared_ptr<Context> ContextFactory::CreateWidgetContext(const AuthWidgetContextPara ¶, in CreateWidgetContext()
|