/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_field/ |
H A D | on_text_changed_listener_impl.h | 25 class OnTextChangedListenerImpl : public MiscServices::OnTextChangedListener { 39 void SendKeyEventFromInputMethod(const MiscServices::KeyEvent& event) override; 40 void SendKeyboardStatus(const MiscServices::KeyboardStatus& keyboardStatus) override; 42 void SendFunctionKey(const MiscServices::FunctionKey& functionKey) override; 43 void MoveCursor(MiscServices::Direction direction) override; 50 void NotifyPanelStatusInfo(const MiscServices::PanelStatusInfo& info) override; 52 const std::unordered_map<std::string, MiscServices::PrivateDataValue>& privateCommand, 54 int32_t SetPreviewText(const std::u16string &text, const MiscServices::Range &range) override; 57 const std::unordered_map<std::string, MiscServices::PrivateDataValue> &privateCommand) override; 63 void HandleKeyboardStatus(MiscServices [all...] |
H A D | on_text_changed_listener_impl.cpp | 136 void OnTextChangedListenerImpl::SendKeyEventFromInputMethod(const MiscServices::KeyEvent& event) {} in SendKeyEventFromInputMethod() 138 void OnTextChangedListenerImpl::SendKeyboardStatus(const MiscServices::KeyboardStatus& keyboardStatus) in SendKeyboardStatus() 158 void OnTextChangedListenerImpl::SendFunctionKey(const MiscServices::FunctionKey& functionKey) in SendFunctionKey() 163 void OnTextChangedListenerImpl::HandleKeyboardStatus(MiscServices::KeyboardStatus status) in HandleKeyboardStatus() 165 SetKeyboardStatus(status == MiscServices::KeyboardStatus::SHOW); in HandleKeyboardStatus() 168 void OnTextChangedListenerImpl::HandleFunctionKey(MiscServices::FunctionKey functionKey) in HandleFunctionKey() 195 void OnTextChangedListenerImpl::MoveCursor(MiscServices::Direction direction) in MoveCursor() 204 case MiscServices::Direction::UP: in MoveCursor() 207 case MiscServices::Direction::DOWN: in MoveCursor() 210 case MiscServices in MoveCursor() [all...] |
/foundation/arkui/ace_engine/adapter/ohos/capability/clipboard/ |
H A D | clipboard_impl.cpp | 34 MiscServices::ShareOption TransitionCopyOption(CopyOptions copyOption) in TransitionCopyOption() 36 auto shareOption = MiscServices::ShareOption::InApp; in TransitionCopyOption() 39 shareOption = MiscServices::ShareOption::InApp; in TransitionCopyOption() 42 shareOption = MiscServices::ShareOption::LocalDevice; in TransitionCopyOption() 45 shareOption = MiscServices::ShareOption::CrossDevice; in TransitionCopyOption() 62 [&hasData]() { hasData = OHOS::MiscServices::PasteboardClient::GetInstance()->HasPasteData(); }, in HasData() 77 hasData = OHOS::MiscServices::PasteboardClient::GetInstance()->HasDataType(*mimeType); in HasDataType() 97 auto pasteData = OHOS::MiscServices::PasteboardClient::GetInstance()->CreatePlainTextData(data); in SetData() 101 OHOS::MiscServices::PasteboardClient::GetInstance()->SetPasteData(*pasteData); in SetData() 120 auto pasteData = OHOS::MiscServices in SetPixelMapData() [all...] |
H A D | clipboard_impl.h | 68 bool ProcessPasteDataRecord(const std::shared_ptr<MiscServices::PasteDataRecord>& pasteDataRecord, 76 const OHOS::MiscServices::PasteData& pasteData, std::string& text, bool& isMultiTypeRecord); 78 std::map<std::string, std::shared_ptr<OHOS::MiscServices::EntryValue>> multiTypeDataMap); 102 std::shared_ptr<OHOS::MiscServices::PasteData> GetPasteDataData(); 103 void SetUnifiedData(std::shared_ptr<OHOS::MiscServices::PasteData> pasteData); 106 std::shared_ptr<OHOS::MiscServices::PasteData> pasteData_;
|
/foundation/arkui/ace_engine/frameworks/core/components/text_field/ |
H A D | on_text_changed_listener_impl.h | 25 class OnTextChangedListenerImpl : public MiscServices::OnTextChangedListener { 35 void SendKeyEventFromInputMethod(const MiscServices::KeyEvent& event) override; 36 void SendKeyboardStatus(const MiscServices::KeyboardStatus& keyboardStatus) override; 37 void SendFunctionKey(const MiscServices::FunctionKey& functionKey) override; 38 void MoveCursor(MiscServices::Direction direction) override; 49 void HandleKeyboardStatus(MiscServices::KeyboardStatus status); 50 void HandleFunctionKey(MiscServices::FunctionKey functionKey);
|
H A D | on_text_changed_listener_impl.cpp | 170 void OnTextChangedListenerImpl::SendKeyEventFromInputMethod(const MiscServices::KeyEvent& event) {} in SendKeyEventFromInputMethod() 172 void OnTextChangedListenerImpl::SendKeyboardStatus(const MiscServices::KeyboardStatus& keyboardStatus) in SendKeyboardStatus() 177 void OnTextChangedListenerImpl::SendFunctionKey(const MiscServices::FunctionKey& functionKey) in SendFunctionKey() 182 void OnTextChangedListenerImpl::HandleKeyboardStatus(MiscServices::KeyboardStatus status) in HandleKeyboardStatus() 185 SetKeyboardStatus(status == MiscServices::KeyboardStatus::SHOW); in HandleKeyboardStatus() 188 void OnTextChangedListenerImpl::HandleFunctionKey(MiscServices::FunctionKey functionKey) in HandleFunctionKey() 214 void OnTextChangedListenerImpl::MoveCursor(MiscServices::Direction direction) in MoveCursor() 223 case MiscServices::Direction::UP: in MoveCursor() 226 case MiscServices::Direction::DOWN: in MoveCursor() 229 case MiscServices in MoveCursor() [all...] |
/foundation/arkui/ace_engine/adapter/ohos/osal/ |
H A D | clipboard_impl.cpp | 26 auto pasteData = OHOS::MiscServices::PasteboardClient::GetInstance()->CreatePlainTextData(data); in SetData() 28 LOGE("create SystemKeyboardData fail from MiscServices"); in SetData() 32 [pasteData]() { OHOS::MiscServices::PasteboardClient::GetInstance()->SetPasteData(*pasteData); }, in SetData() 42 auto has = OHOS::MiscServices::PasteboardClient::GetInstance()->HasPasteData(); in GetData() 44 LOGE("SystemKeyboardData is not exist from MiscServices"); in GetData() 47 OHOS::MiscServices::PasteData pasteData; in GetData() 48 auto ok = OHOS::MiscServices::PasteboardClient::GetInstance()->GetPasteData(pasteData); in GetData() 50 LOGE("Get SystemKeyboardData fail from MiscServices"); in GetData() 55 LOGE("Get SystemKeyboardTextData fail from MiscServices"); in GetData()
|
/foundation/distributeddatamgr/pasteboard/interfaces/cj/include/ |
H A D | paste_data_record_impl.h | 38 explicit PasteDataRecordImpl(std::shared_ptr<MiscServices::PasteDataRecord> pasteDataRecord); 40 std::shared_ptr<MiscServices::PasteDataRecord> GetRealPasteDataRecord(); 56 std::shared_ptr<MiscServices::PasteDataRecord> value_ = nullptr; 60 sptr<PasteDataRecordImpl> getCjPasteDataRecordImpl(std::shared_ptr<MiscServices::PasteDataRecord> record); 61 void removeCjPasteDataRecordImpl(std::shared_ptr<MiscServices::PasteDataRecord> record); 63 std::shared_ptr<MiscServices::PasteDataRecord> record, sptr<PasteDataRecordImpl> pasteDataRecordImpl);
|
H A D | system_pasteboard_impl.h | 33 int32_t SetData(sptr<PasteDataImpl> dataImpl, std::shared_ptr<MiscServices::PasteData> data); 35 int32_t GetData(MiscServices::PasteData &pasteData); 51 std::shared_ptr<MiscServices::PasteData> pasteData_;
|
H A D | paste_data_impl.h | 32 explicit PasteDataImpl(std::shared_ptr<MiscServices::PasteData> pasteData); 34 std::shared_ptr<MiscServices::PasteData> GetRealPasteData(); 50 std::shared_ptr<MiscServices::PasteData> value_ = nullptr;
|
/foundation/distributeddatamgr/pasteboard/interfaces/kits/napi/include/ |
H A D | pasteboard_common.h | 37 bool GetValue(napi_env env, napi_value in, std::set<MiscServices::Pattern> &out); 38 napi_status SetValue(napi_env env, std::set<MiscServices::Pattern> &in, napi_value &result); 40 bool CheckExpression(napi_env env, bool expression, MiscServices::JSErrorCode errCode, const char *message); 46 std::shared_ptr<std::map<std::string, std::shared_ptr<MiscServices::EntryValue>>> result); 48 std::shared_ptr<MiscServices::PasteDataEntry> value); 49 bool GetNativeValue(napi_env env, std::string type, napi_value valueNapi, MiscServices::EntryValue &value);
|
H A D | pastedata_record_napi.h | 83 napi_env env, napi_value &instance, const std::shared_ptr<MiscServices::PasteDataRecord> &record); 97 static napi_value CreatKvData(napi_env env, std::shared_ptr<MiscServices::MineCustomData> customData); 98 static std::shared_ptr<MiscServices::MineCustomData> GetNativeKvData(napi_env env, napi_value napiValue); 99 napi_value SetNapiKvData(napi_env env, std::shared_ptr<MiscServices::MineCustomData> customData); 110 std::shared_ptr<MiscServices::PasteDataRecord> value_;
|
H A D | pastedata_napi.h | 38 std::shared_ptr<MiscServices::PasteData> value_ = nullptr; 68 static std::shared_ptr<MiscServices::PasteDataRecord> ParseRecord(napi_env env, napi_value &recordNapi); 70 MiscServices::PasteDataRecord::Builder &builder); 74 static bool SetNapiProperty(napi_env env, const MiscServices::PasteDataProperty &property, napi_value &nProperty);
|
H A D | systempasteboard_napi.h | 37 class PasteboardObserverImpl : public MiscServices::PasteboardObserver { 69 class PasteboardDelayGetterImpl : public MiscServices::PasteboardDelayGetter { 72 void GetPasteData(const std::string &type, MiscServices::PasteData &data) override; 139 std::shared_ptr<MiscServices::PasteData> obj; 179 std::shared_ptr<MiscServices::PasteData> pasteData; 217 std::set<MiscServices::Pattern> patternsDetect; 218 std::set<MiscServices::Pattern> patternsToCheck; 284 std::shared_ptr<MiscServices::PasteData> pasteData_;
|
/foundation/distributeddatamgr/pasteboard/interfaces/cj/src/ |
H A D | paste_data_record_impl.cpp | 18 using namespace OHOS::MiscServices; 39 std::shared_ptr<MiscServices::PasteDataRecord> realValue = pasteDataRecordImpl->GetRealPasteDataRecord(); in CreateCjPasteDataRecordObject() 58 void removeCjPasteDataRecordImpl(std::shared_ptr<MiscServices::PasteDataRecord> record) in removeCjPasteDataRecordImpl() 65 std::shared_ptr<MiscServices::PasteDataRecord> record, sptr<PasteDataRecordImpl> pasteDataRecordImpl) in addCjPasteDataRecordImpl() 76 PasteDataRecordImpl::PasteDataRecordImpl(std::shared_ptr<MiscServices::PasteDataRecord> pasteDataRecord) in PasteDataRecordImpl() 100 std::shared_ptr<MiscServices::PasteDataRecord> PasteDataRecordImpl::GetRealPasteDataRecord() in GetRealPasteDataRecord() 105 std::shared_ptr<MiscServices::PasteDataRecord> res = value_; in GetRealPasteDataRecord()
|
H A D | system_pasteboard_impl.cpp | 20 using namespace OHOS::MiscServices; 63 int32_t SystemPasteboardImpl::SetData(sptr<PasteDataImpl> dataImpl, std::shared_ptr<MiscServices::PasteData> data) in SetData() 95 int32_t SystemPasteboardImpl::GetData(MiscServices::PasteData &pasteData) in GetData()
|
H A D | paste_data_impl.cpp | 17 using namespace OHOS::MiscServices; 39 PasteDataImpl::PasteDataImpl(std::shared_ptr<MiscServices::PasteData> pasteData) in PasteDataImpl() 63 std::shared_ptr<MiscServices::PasteData> PasteDataImpl::GetRealPasteData() in GetRealPasteData()
|
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_sub_manage/ |
H A D | wifi_sta_manager.cpp | 73 MiscServices::TimeServiceClient::GetInstance()->StopTimer(unloadStaSaTimerId);
in StopUnloadStaSaTimer() 74 MiscServices::TimeServiceClient::GetInstance()->DestroyTimer(unloadStaSaTimerId);
in StopUnloadStaSaTimer() 86 unloadStaSaTimerId = MiscServices::TimeServiceClient::GetInstance()->CreateTimer(wifiSysTimer);
in StartUnloadStaSaTimer() 87 int64_t currentTime = MiscServices::TimeServiceClient::GetInstance()->GetBootTimeMs();
in StartUnloadStaSaTimer() 88 MiscServices::TimeServiceClient::GetInstance()->StartTimer(unloadStaSaTimerId,
in StartUnloadStaSaTimer() 314 MiscServices::TimeServiceClient::GetInstance()->StopTimer(satelliteTimerId);
in StopSatelliteTimer() 315 MiscServices::TimeServiceClient::GetInstance()->DestroyTimer(satelliteTimerId);
in StopSatelliteTimer() 325 satelliteTimerId = MiscServices::TimeServiceClient::GetInstance()->CreateTimer(wifiSysTimer);
in StartSatelliteTimer() 326 int64_t currentTime = MiscServices::TimeServiceClient::GetInstance()->GetBootTimeMs();
in StartSatelliteTimer() 327 MiscServices in StartSatelliteTimer() [all...] |
H A D | wifi_scan_manager.cpp | 66 MiscServices::TimeServiceClient::GetInstance()->StopTimer(unloadScanSaTimerId);
in StopUnloadScanSaTimer() 67 MiscServices::TimeServiceClient::GetInstance()->DestroyTimer(unloadScanSaTimerId);
in StopUnloadScanSaTimer() 79 unloadScanSaTimerId = MiscServices::TimeServiceClient::GetInstance()->CreateTimer(wifiSysTimer);
in StartUnloadScanSaTimer() 80 int64_t currentTime = MiscServices::TimeServiceClient::GetInstance()->GetBootTimeMs();
in StartUnloadScanSaTimer() 81 MiscServices::TimeServiceClient::GetInstance()->StartTimer(unloadScanSaTimerId,
in StartUnloadScanSaTimer()
|
H A D | wifi_hotspot_manager.cpp | 60 MiscServices::TimeServiceClient::GetInstance()->StopTimer(unloadHotspotSaTimerId);
in StopUnloadApSaTimer() 61 MiscServices::TimeServiceClient::GetInstance()->DestroyTimer(unloadHotspotSaTimerId);
in StopUnloadApSaTimer() 73 unloadHotspotSaTimerId = MiscServices::TimeServiceClient::GetInstance()->CreateTimer(wifiSysTimer);
in StartUnloadApSaTimer() 74 int64_t currentTime = MiscServices::TimeServiceClient::GetInstance()->GetBootTimeMs();
in StartUnloadApSaTimer() 75 MiscServices::TimeServiceClient::GetInstance()->StartTimer(unloadHotspotSaTimerId,
in StartUnloadApSaTimer()
|
/foundation/distributeddatamgr/pasteboard/services/dfx/src/ |
H A D | pasteboard_trace.cpp | 27 namespace MiscServices { namespace 30 using namespace MiscServices; 54 } // namespace MiscServices
|
/foundation/resourceschedule/device_standby/services/common/src/ |
H A D | timed_task.cpp | 98 return MiscServices::TimeServiceClient::GetInstance()->CreateTimer(timedTask); in CreateTimer() 106 return MiscServices::TimeServiceClient::GetInstance()->CreateTimer(timedTask); in CreateTimer() 118 auto curTimeStamp = MiscServices::TimeServiceClient::GetInstance()->GetWallTimeMs(); in StartDayNightSwitchTimer() 119 if (!MiscServices::TimeServiceClient::GetInstance()->StartTimer(timeId, curTimeStamp + timeDiff)) { in StartDayNightSwitchTimer()
|
/foundation/distributeddatamgr/pasteboard/interfaces/ndk/include/ |
H A D | oh_pasteboard_common.h | 26 namespace MiscServices { namespace 34 } // namespace MiscServices 45 std::map<const OH_PasteboardObserver *, OHOS::sptr<OHOS::MiscServices::PasteboardObserverCapiImpl>> observers_;
|
/foundation/resourceschedule/device_standby/plugins/standby_state/src/ |
H A D | sleep_state.cpp | 28 using namespace OHOS::MiscServices; 182 if (repeatedDetectionTimerId_ == 0 || !MiscServices::TimeServiceClient::GetInstance()-> in SetPhaseTransitOrRepeatedTask() 183 StartTimer(repeatedDetectionTimerId_, MiscServices::TimeServiceClient::GetInstance()-> in SetPhaseTransitOrRepeatedTask() 211 if (MiscServices::TimeServiceClient::GetInstance()->GetWallTimeMs() - in CheckScrenOffHalfHour()
|
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_common/wifi_network_stats/ |
H A D | wifi_net_stats_manager.cpp | 47 m_netStatsTimerId = MiscServices::TimeServiceClient::GetInstance()->CreateTimer(netStatsTimer); in StartNetStats() 48 int64_t currentTime = MiscServices::TimeServiceClient::GetInstance()->GetBootTimeMs(); in StartNetStats() 49 MiscServices::TimeServiceClient::GetInstance()->StartTimer(m_netStatsTimerId, currentTime + NET_STATS_DELAY_TIME); in StartNetStats() 59 MiscServices::TimeServiceClient::GetInstance()->StopTimer(m_netStatsTimerId); in StopNetStats() 60 MiscServices::TimeServiceClient::GetInstance()->DestroyTimer(m_netStatsTimerId); in StopNetStats()
|