/base/inputmethod/imf/frameworks/ndk/src/ |
H A D | native_text_changed_listener.cpp | 20 namespace MiscServices { namespace 66 void NativeTextChangedListener::SendKeyboardStatus(const OHOS::MiscServices::KeyboardStatus &status) in SendKeyboardStatus() 81 void NativeTextChangedListener::SendFunctionKey(const OHOS::MiscServices::FunctionKey &functionKey) in SendFunctionKey() 98 void NativeTextChangedListener::MoveCursor(const OHOS::MiscServices::Direction direction) in MoveCursor() 255 int32_t NativeTextChangedListener::SetPreviewText(const std::u16string &text, const OHOS::MiscServices::Range &range) in SetPreviewText() 291 OHOS::MiscServices::KeyboardStatus status) in ConvertToCKeyboardStatus() 294 case OHOS::MiscServices::KeyboardStatus::HIDE: in ConvertToCKeyboardStatus() 296 case OHOS::MiscServices::KeyboardStatus::SHOW: in ConvertToCKeyboardStatus() 304 OHOS::MiscServices::EnterKeyType enterKeyType) in ConvertToCEnterKeyType() 307 case OHOS::MiscServices in ConvertToCEnterKeyType() [all...] |
/base/web/webview/ohos_adapter/inputmethodframework_adapter/src/ |
H A D | imf_adapter_impl.cpp | 57 void IMFTextListenerAdapterImpl::SendKeyEventFromInputMethod(const MiscServices::KeyEvent& event) in SendKeyEventFromInputMethod() 65 void IMFTextListenerAdapterImpl::SendKeyboardStatus(const MiscServices::KeyboardStatus& keyboardStatus) in SendKeyboardStatus() 69 if (keyboardStatus == MiscServices::KeyboardStatus::SHOW) { in SendKeyboardStatus() 71 } else if (keyboardStatus == MiscServices::KeyboardStatus::HIDE) { in SendKeyboardStatus() 78 void IMFTextListenerAdapterImpl::SendFunctionKey(const MiscServices::FunctionKey& functionKey) in SendFunctionKey() 84 case MiscServices::EnterKeyType::UNSPECIFIED: in SendFunctionKey() 87 case MiscServices::EnterKeyType::NONE: in SendFunctionKey() 90 case MiscServices::EnterKeyType::GO: in SendFunctionKey() 93 case MiscServices::EnterKeyType::SEARCH: in SendFunctionKey() 96 case MiscServices in SendFunctionKey() [all...] |
/base/inputmethod/imf/frameworks/ndk/include/ |
H A D | native_text_changed_listener.h | 20 namespace MiscServices { namespace 21 class NativeTextChangedListener : public OHOS::MiscServices::OnTextChangedListener { 28 void SendKeyboardStatus(const OHOS::MiscServices::KeyboardStatus &status) override; 29 void SendFunctionKey(const OHOS::MiscServices::FunctionKey &functionKey) override; 30 void MoveCursor(const OHOS::MiscServices::Direction direction) override; 37 int32_t SetPreviewText(const std::u16string &text, const OHOS::MiscServices::Range &range) override; 47 InputMethod_KeyboardStatus ConvertToCKeyboardStatus(OHOS::MiscServices::KeyboardStatus status); 48 InputMethod_EnterKeyType ConvertToCEnterKeyType(OHOS::MiscServices::EnterKeyType enterKeyType); 49 InputMethod_Direction ConvertToCDirection(OHOS::MiscServices::Direction direction); 53 } // namespace MiscServices [all...] |
/base/inputmethod/imf/test/unittest/cpp_test/mock/ |
H A D | global.h | 31 namespace MiscServices { namespace 73 (void)HILOG_IMPL(LOG_CORE, LOG_DEBUG, OHOS::MiscServices::g_SMALL_SERVICES_LABEL.domain, \ 74 OHOS::MiscServices::g_SMALL_SERVICES_LABEL.tag, "line: %{public}d, function: %{public}s," fmt, __LINE__, \ 77 (void)HILOG_IMPL(LOG_CORE, LOG_ERROR, OHOS::MiscServices::g_SMALL_SERVICES_LABEL.domain, \ 78 OHOS::MiscServices::g_SMALL_SERVICES_LABEL.tag, "line: %{public}d, function: %{public}s," fmt, __LINE__, \ 81 (void)HILOG_IMPL(LOG_CORE, LOG_FATAL, OHOS::MiscServices::g_SMALL_SERVICES_LABEL.domain, \ 82 OHOS::MiscServices::g_SMALL_SERVICES_LABEL.tag, "line: %{public}d, function: %{public}s," fmt, __LINE__, \ 85 (void)HILOG_IMPL(LOG_CORE, LOG_INFO, OHOS::MiscServices::g_SMALL_SERVICES_LABEL.domain, \ 86 OHOS::MiscServices::g_SMALL_SERVICES_LABEL.tag, "line: %{public}d, function: %{public}s," fmt, __LINE__, \ 89 (void)HILOG_IMPL(LOG_CORE, LOG_WARN, OHOS::MiscServices [all...] |
/base/inputmethod/imf/common/include/ |
H A D | global.h | 27 namespace MiscServices { namespace 122 (void)HILOG_IMPL(LOG_CORE, LOG_DEBUG, OHOS::MiscServices::g_SMALL_SERVICES_LABEL.domain, \ 123 OHOS::MiscServices::g_SMALL_SERVICES_LABEL.tag, "line: %{public}d, function: %{public}s," fmt, __LINE__, \ 126 (void)HILOG_IMPL(LOG_CORE, LOG_ERROR, OHOS::MiscServices::g_SMALL_SERVICES_LABEL.domain, \ 127 OHOS::MiscServices::g_SMALL_SERVICES_LABEL.tag, "line: %{public}d, function: %{public}s," fmt, __LINE__, \ 130 (void)HILOG_IMPL(LOG_CORE, LOG_FATAL, OHOS::MiscServices::g_SMALL_SERVICES_LABEL.domain, \ 131 OHOS::MiscServices::g_SMALL_SERVICES_LABEL.tag, "line: %{public}d, function: %{public}s," fmt, __LINE__, \ 134 (void)HILOG_IMPL(LOG_CORE, LOG_INFO, OHOS::MiscServices::g_SMALL_SERVICES_LABEL.domain, \ 135 OHOS::MiscServices::g_SMALL_SERVICES_LABEL.tag, "line: %{public}d, function: %{public}s," fmt, __LINE__, \ 138 (void)HILOG_IMPL(LOG_CORE, LOG_WARN, OHOS::MiscServices [all...] |
/base/inputmethod/imf/frameworks/js/napi/inputmethodability/ |
H A D | input_method_engine_module.cpp | 29 OHOS::MiscServices::JsInputMethodEngineSetting::Init(env, exports); in Init() 30 OHOS::MiscServices::JsKeyboardControllerEngine::Init(env, exports); in Init() 31 OHOS::MiscServices::JsTextInputClientEngine::Init(env, exports); in Init() 32 OHOS::MiscServices::JsKeyboardDelegateSetting::Init(env, exports); in Init()
|
/base/web/webview/test/unittest/ohos_adapter/imf_adapter_test/ |
H A D | imf_adapter_impl_test.cpp | 356 MiscServices::KeyEvent event; in HWTEST_F() 357 MiscServices::FunctionKey functionKey; in HWTEST_F() 362 listenerTest->SendKeyboardStatus(MiscServices::KeyboardStatus::SHOW); in HWTEST_F() 366 listenerTest->MoveCursor(MiscServices::Direction::NONE); in HWTEST_F() 367 listenerTest->MoveCursor(MiscServices::Direction::UP); in HWTEST_F() 368 listenerTest->MoveCursor(MiscServices::Direction::DOWN); in HWTEST_F() 369 listenerTest->MoveCursor(MiscServices::Direction::LEFT); in HWTEST_F() 370 listenerTest->MoveCursor(MiscServices::Direction::RIGHT); in HWTEST_F() 377 MiscServices::Range range { 0, 0 }; in HWTEST_F() 380 const std::unordered_map<std::string, MiscServices in HWTEST_F() [all...] |
/base/customization/enterprise_device_management/services/edm_plugin/src/utils/ |
H A D | clipboard_utils.cpp | 25 auto plugin_ = MiscServices::PasteboardClient::GetInstance(); in HandlePasteboardPolicy() 26 std::map<uint32_t, MiscServices::ShareOption> setMap; in HandlePasteboardPolicy() 34 setMap.insert(std::make_pair(it->first, MiscServices::ShareOption::InApp)); in HandlePasteboardPolicy() 37 setMap.insert(std::make_pair(it->first, MiscServices::ShareOption::LocalDevice)); in HandlePasteboardPolicy() 40 setMap.insert(std::make_pair(it->first, MiscServices::ShareOption::CrossDevice)); in HandlePasteboardPolicy() 63 auto plugin_ = MiscServices::PasteboardClient::GetInstance(); in RemoveAllPasteboardPolicy()
|
/base/web/webview/ohos_adapter/inputmethodframework_adapter/include/ |
H A D | imf_adapter_impl.h | 44 class IMFTextListenerAdapterImpl : public MiscServices::OnTextChangedListener { 56 void SendKeyEventFromInputMethod(const MiscServices::KeyEvent& event) override; 58 void SendKeyboardStatus(const MiscServices::KeyboardStatus& keyboardStatus) override; 60 void SendFunctionKey(const MiscServices::FunctionKey& functionKey) override; 64 void MoveCursor(const MiscServices::Direction direction) override; 78 int32_t SetPreviewText(const std::u16string& text, const MiscServices::Range& range) override; 83 const std::unordered_map<std::string, MiscServices::PrivateDataValue>& privateCommand) override; 117 sptr<MiscServices::OnTextChangedListener> textListener_ = nullptr;
|
/base/web/webview/ohos_adapter/pasteboard_adapter/include/ |
H A D | pasteboard_client_adapter_impl.h | 26 class PasteboardObserverAdapterImpl : public MiscServices::PasteboardObserver { 38 std::shared_ptr<MiscServices::PasteDataRecord> record); 51 std::shared_ptr<MiscServices::PasteDataRecord> GetRecord(); 57 std::shared_ptr<MiscServices::PasteDataRecord> record_; 58 std::shared_ptr<MiscServices::PasteDataRecord::Builder> builder_; 71 explicit PasteDataAdapterImpl(std::shared_ptr<MiscServices::PasteData> data); 82 std::shared_ptr<MiscServices::PasteData> data_; 86 std::map<int32_t, sptr<MiscServices::PasteboardObserver>>; 109 MiscServices::ShareOption TransitionCopyOption(CopyOptionMode copyOption);
|
/base/inputmethod/imf/frameworks/js/napi/inputmethodclient/ |
H A D | input_method_module.cpp | 26 OHOS::MiscServices::JsGetInputMethodSetting::Init(env, exports); in Init() 27 OHOS::MiscServices::JsGetInputMethodController::Init(env, exports); in Init() 28 OHOS::MiscServices::JsInputMethod::Init(env, exports); in Init()
|
/base/update/updateservice/services/core/ability/alarm/src/ |
H A D | alarm_timer_utils.cpp | 93 uint64_t AlarmTimerUtils::RegisterTimer(int64_t time, const std::shared_ptr<MiscServices::ITimerInfo> &timerInfo) in RegisterTimer() 95 sptr<MiscServices::TimeServiceClient> systemTimer = MiscServices::TimeServiceClient::GetInstance(); in RegisterTimer() 114 sptr<MiscServices::TimeServiceClient> systemTimer = MiscServices::TimeServiceClient::GetInstance(); in UnregisterAlarm() 123 int32_t ret = MiscServices::TimeServiceClient::GetInstance()->GetBootTimeMs(currentBootTime); in GetSystemBootTime()
|
/base/location/services/location_gnss/gnss/source/ntp/ |
H A D | ntp_time_helper.cpp | 40 MiscServices::TimeServiceClient::GetInstance()->GetBootTimeMs() - ntpResult_.elapsedRealTime; in RetrieveAndInjectNtpTime() 46 auto ret = MiscServices::TimeServiceClient::GetInstance()->GetNtpTimeMs(ntpResult_.ntpTime); in RetrieveAndInjectNtpTime() 53 ntpResult_.elapsedRealTime = MiscServices::TimeServiceClient::GetInstance()->GetBootTimeMs(); in RetrieveAndInjectNtpTime()
|
H A D | gps_time_manager.cpp | 40 int64_t systemTimeDiff = MiscServices::TimeServiceClient::GetInstance()->GetWallTimeMs() - lastSystemTime; in CheckValid() 61 lastSystemTime_ = MiscServices::TimeServiceClient::GetInstance()->GetWallTimeMs(); in SetGpsTime()
|
H A D | elapsed_real_time_check.cpp | 45 timeBeginElapsed_ = MiscServices::TimeServiceClient::GetInstance()->GetBootTimeMs(); in CheckRealTime() 48 timeCheckElapsed_ = MiscServices::TimeServiceClient::GetInstance()->GetBootTimeMs(); in CheckRealTime()
|
/base/inputmethod/imf/test/unittest/cpp_test/src/ |
H A D | native_text_changed_listener_test.cpp | 23 namespace MiscServices { namespace 34 listener->MoveCursor(OHOS::MiscServices::Direction::LEFT); in TestNativeTextChangedListener() 203 listener.MoveCursor(OHOS::MiscServices::Direction::NONE); in HWTEST_F() 204 listener.MoveCursor(OHOS::MiscServices::Direction::UP); in HWTEST_F() 205 listener.MoveCursor(OHOS::MiscServices::Direction::DOWN); in HWTEST_F() 206 listener.MoveCursor(OHOS::MiscServices::Direction::RIGHT); in HWTEST_F() 207 listener.MoveCursor(OHOS::MiscServices::Direction::LEFT); in HWTEST_F() 220 listener.HandleExtendAction(static_cast<int32_t>(OHOS::MiscServices::ExtendAction::SELECT_ALL)); in HWTEST_F() 221 listener.HandleExtendAction(static_cast<int32_t>(OHOS::MiscServices::ExtendAction::COPY)); in HWTEST_F() 222 listener.HandleExtendAction(static_cast<int32_t>(OHOS::MiscServices in HWTEST_F() [all...] |
/base/notification/distributed_notification_service/frameworks/ans/src/ |
H A D | reminder_request_timer.cpp | 35 sptr<MiscServices::TimeServiceClient> timer = MiscServices::TimeServiceClient::GetInstance(); in ReminderRequestTimer() 107 sptr<MiscServices::TimeServiceClient> timer = MiscServices::TimeServiceClient::GetInstance(); in UpdateTimeInfo()
|
/base/hiviewdfx/hiview/plugins/usage_event_report/service/factory/ |
H A D | sys_usage_event_factory.cpp | 54 auto powerTime = MiscServices::TimeServiceClient::GetInstance()->GetBootTimeMs();
in GetBootTime() 65 auto runningTime = MiscServices::TimeServiceClient::GetInstance()->GetMonotonicTimeMs();
in GetMonotonicTime()
|
/base/update/updateservice/services/core/ability/alarm/include/ |
H A D | alarm_timer_utils.h | 37 static uint64_t RegisterTimer(int64_t time, const std::shared_ptr<MiscServices::ITimerInfo> &timerInfo); 40 class TimerTaskInfo : public MiscServices::ITimerInfo {
|
/base/theme/screenlock_mgr/services/src/ |
H A D | strongauthmanager.cpp | 203 timerId = MiscServices::TimeServiceClient::GetInstance()->CreateTimer(timer); in StartStrongAuthTimer() 204 int64_t currentTime = MiscServices::TimeServiceClient::GetInstance()->GetBootTimeMs(); in StartStrongAuthTimer() 205 MiscServices::TimeServiceClient::GetInstance()->StartTimer(timerId, currentTime + DEFAULT_STRONG_AUTH_TIMEOUT_MS); in StartStrongAuthTimer() 217 int64_t currentTime = MiscServices::TimeServiceClient::GetInstance()->GetBootTimeMs(); in ResetStrongAuthTimer() 218 MiscServices::TimeServiceClient::GetInstance()->StopTimer(timerId); in ResetStrongAuthTimer() 219 MiscServices::TimeServiceClient::GetInstance()->StartTimer(timerId, currentTime + DEFAULT_STRONG_AUTH_TIMEOUT_MS); in ResetStrongAuthTimer() 238 MiscServices::TimeServiceClient::GetInstance()->StopTimer(timerId); in DestroyStrongAuthTimer() 239 MiscServices::TimeServiceClient::GetInstance()->DestroyTimer(timerId); in DestroyStrongAuthTimer()
|
/base/inputmethod/imf/frameworks/native/inputmethod_controller/src/ |
H A D | input_method_utils.cpp | 17 namespace MiscServices { namespace 18 } // namespace MiscServices
|
/base/account/os_account/services/accountmgr/src/ |
H A D | account_info_report.cpp | 37 jsonResult["bootTime"] = std::to_string(MiscServices::TimeServiceClient::GetInstance()->GetBootTimeNs()); in TransformIntoJson() 38 jsonResult["wallTime"] = std::to_string(MiscServices::TimeServiceClient::GetInstance()->GetWallTimeNs()); in TransformIntoJson()
|
/base/inputmethod/imf/frameworks/native/inputmethod_controller/include/ |
H A D | input_method_status.h | 21 namespace OHOS ::MiscServices { namespace in OHOS
|
/base/time/time_service/framework/js/napi/system_timer/include/ |
H A D | timer_init.h | 23 namespace MiscServices { namespace 27 } // MiscServices
|
/base/time/time_service/framework/js/napi/system_date_time/include/ |
H A D | date_time_init.h | 24 namespace MiscServices { namespace 28 } // namespace MiscServices
|