/base/hiviewdfx/hiview/base/event_store/sequence/ |
H A D | sys_event_sequence_mgr.cpp | 60 int64_t seq = 0; in SysEventSequenceManager() local 61 ReadSeqFromFile(seq); in SysEventSequenceManager() 62 curSeq_.store(seq, std::memory_order_release); in SysEventSequenceManager() 65 void SysEventSequenceManager::SetSequence(int64_t seq) in SetSequence() argument 67 curSeq_.store(seq, std::memory_order_release); in SetSequence() 68 WriteSeqToFile(seq); in SetSequence() 76 void SysEventSequenceManager::WriteSeqToFile(int64_t seq) in WriteSeqToFile() argument 79 std::string content(std::to_string(seq)); in WriteSeqToFile() 85 void SysEventSequenceManager::ReadSeqFromFile(int64_t& seq) in ReadSeqFromFile() argument 93 seq in ReadSeqFromFile() [all...] |
/base/hiviewdfx/hisysevent/adapter/native/idl/src/ |
H A D | query_sys_event_callback_stub.cpp | 54 std::vector<int64_t> seq; in OnRemoteRequest() local 55 ret = data.ReadInt64Vector(&seq); in OnRemoteRequest() 57 HILOG_ERROR(LOG_CORE, "parcel read seq failed."); in OnRemoteRequest() 60 OnQuery(sysEvent, seq); in OnRemoteRequest() 76 int64_t seq = 0; in OnRemoteRequest() local 77 ret = data.ReadInt64(seq); in OnRemoteRequest() 79 HILOG_ERROR(LOG_CORE, "parcel read seq failed."); in OnRemoteRequest() 82 OnComplete(reason, total, seq); in OnRemoteRequest()
|
H A D | hisysevent_query_proxy.cpp | 23 const ::std::vector<int64_t>& seq) in OnQuery() 30 queryCallback->OnQuery(destSysEvents, seq); in OnQuery() 34 void HiSysEventQueryProxy::OnComplete(int32_t reason, int32_t total, int64_t seq) in OnComplete() argument 37 queryCallback->OnComplete(reason, total, seq); in OnComplete() 22 OnQuery(const ::std::vector<std::u16string>& sysEvents, const ::std::vector<int64_t>& seq) OnQuery() argument
|
/base/hiviewdfx/hiview/base/include/ |
H A D | event_priority_queue.h | 24 bool remove(uint64_t seq) in remove() argument 26 auto it = std::find_if(this->c.begin(), this->c.end(), [seq](T event) { in remove() 27 return event.seq == seq; in remove()
|
H A D | event_loop.h | 52 uint64_t seq = 0;
member 66 event.seq = now;
in CreateLoopEvent() 115 bool RemoveEvent(uint64_t seq);
|
/base/hiviewdfx/hiview/base/event_store/include/ |
H A D | sys_event_sequence_mgr.h | 27 void SetSequence(int64_t seq); 35 void WriteSeqToFile(int64_t seq); 36 void ReadSeqFromFile(int64_t& seq);
|
/base/notification/distributed_notification_service/services/ans/src/notification_smart_reminder/ |
H A D | reminder_affected.cpp | 95 for (int32_t seq = 0; seq < DistributedDeviceStatus::STATUS_SIZE; seq++) { in ValidStatus() 96 if (strStatus.at(seq) != STATUS_DEFAULT && in ValidStatus() 97 strStatus.at(seq) != STATUS_ENABLE && strStatus.at(seq) != STATUS_DISABLE) { in ValidStatus()
|
/base/request/request/frameworks/js/napi/src/ |
H A D | js_task.cpp | 89 int32_t seq = RequestManager::GetInstance()->GetNextSeq();
in JsUpload() local 90 REQUEST_HILOGI("JsUpload seq %{public}d", seq);
in JsUpload() 97 return JsMain(env, info, Version::API8, seq);
in JsUpload() 102 int32_t seq = RequestManager::GetInstance()->GetNextSeq();
in JsDownload() local 103 REQUEST_HILOGI("JsDownload seq %{public}d", seq);
in JsDownload() 107 return JsMain(env, info, Version::API8, seq);
in JsDownload() 112 int32_t seq = RequestManager::GetInstance()->GetNextSeq();
in JsRequestFile() local 113 REQUEST_HILOGI("JsRequestFile seq in JsRequestFile() 119 int32_t seq = RequestManager::GetInstance()->GetNextSeq(); JsCreate() local 124 JsMain(napi_env env, napi_callback_info info, Version version, int32_t seq) JsMain() argument 187 CreateExec(const std::shared_ptr<ContextInfo> &context, int32_t seq) CreateExec() argument 330 int32_t seq = RequestManager::GetInstance()->GetNextSeq(); GetTask() local 500 int32_t seq = RequestManager::GetInstance()->GetNextSeq(); Remove() local 563 int32_t seq = RequestManager::GetInstance()->GetNextSeq(); Show() local 586 int32_t seq = RequestManager::GetInstance()->GetNextSeq(); Touch() local 601 TouchInner(napi_env env, napi_callback_info info, AsyncCall::Context::InputAction input, std::shared_ptr<TouchContext> context, int32_t seq) TouchInner() argument 799 int32_t seq = RequestManager::GetInstance()->GetNextSeq(); Search() local 842 int32_t seq = RequestManager::GetInstance()->GetNextSeq(); Query() local [all...] |
H A D | request_event.cpp | 134 int32_t seq = RequestManager::GetInstance()->GetNextSeq();
in On() local 135 REQUEST_HILOGD("Begin task on, seq: %{public}d", seq);
in On() 140 REQUEST_HILOGE("End task on, seq: %{public}d, failed: %{public}d", seq, err.code);
in On() 153 REQUEST_HILOGE("End task on, seq: %{public}d, failed: AddListener fail code %{public}d", seq, ret);
in On() 166 REQUEST_HILOGE("End task on, seq: %{public}d, failed: AddListener fail code %{public}d", seq, ret);
in On() 171 REQUEST_HILOGI("End task %{public}s on %{public}s seq in On() 178 int32_t seq = RequestManager::GetInstance()->GetNextSeq(); Off() local 299 int32_t seq = RequestManager::GetInstance()->GetNextSeq(); Exec() local [all...] |
/base/hiviewdfx/hiview/adapter/plugins/eventservice/service/idl/src/ |
H A D | query_sys_event_callback_proxy.cpp | 25 void QuerySysEventCallbackProxy::OnQuery(const std::vector<std::u16string>& sysEvent, const std::vector<int64_t>& seq) in OnQuery() argument 43 auto ret = data.WriteInt64Vector(seq); in OnQuery() 45 HIVIEW_LOGE("write sys seq failed."); in OnQuery() 57 void QuerySysEventCallbackProxy::OnComplete(int32_t reason, int32_t total, int64_t seq) in OnComplete() argument 74 ret = data.WriteInt64(seq); in OnComplete() 76 HIVIEW_LOGE("write seq failed."); in OnComplete()
|
H A D | data_publisher_sys_event_callback.cpp | 31 const std::vector<int64_t>& seq) in OnQuery() 61 void DataPublisherSysEventCallback::OnComplete(int32_t reason, int32_t total, int64_t seq) in OnComplete() argument 30 OnQuery(const std::vector<std::u16string>& sysEvent, const std::vector<int64_t>& seq) OnQuery() argument
|
/base/notification/distributed_notification_service/frameworks/ans/src/ |
H A D | notification_flags.cpp | 229 for (int32_t seq = 0; seq < strReminderFlags.size(); seq++) { in GetReminderFlagsByString() 230 if (!ValidCharReminderFlag(strReminderFlags[seq], seq)) { in GetReminderFlagsByString() 249 bool NotificationFlags::ValidCharReminderFlag(const char &charReminderFlag, const int32_t &seq) in ValidCharReminderFlag() argument 254 if ((seq == SOUND_ENABLED_SEQ || seq == VIBRATION_ENABLED_SEQ) && charReminderFlag == CHAR_FLAG_STATUS_CLOSE) { in ValidCharReminderFlag()
|
/base/hiviewdfx/hisysevent/adapter/native/idl/include/ |
H A D | iquery_sys_event_callback.h | 27 virtual void OnQuery(const std::vector<std::u16string>& sysEvent, const std::vector<int64_t>& seq) = 0; 28 virtual void OnComplete(int32_t reason, int32_t total, int64_t seq) = 0;
|
H A D | hisysevent_query_proxy.h | 35 const ::std::vector<int64_t>& seq) override; 36 void OnComplete(int32_t reason, int32_t total, int64_t seq) override;
|
/base/hiviewdfx/hiview/adapter/plugins/eventservice/service/idl/include/ |
H A D | iquery_base_callback.h | 29 virtual void OnQuery(const std::vector<std::u16string>& sysEvent, const std::vector<int64_t>& seq) = 0; 30 virtual void OnComplete(int32_t reason, int32_t total, int64_t seq) = 0;
|
H A D | query_sys_event_callback_proxy.h | 34 void OnQuery(const std::vector<std::u16string>& sysEvent, const std::vector<int64_t>& seq); 35 void OnComplete(int32_t reason, int32_t total, int64_t seq);
|
H A D | data_publisher_sys_event_callback.h | 33 void OnQuery(const std::vector<std::u16string>& sysEvent, const std::vector<int64_t>& seq) override; 34 void OnComplete(int32_t reason, int32_t total, int64_t seq) override;
|
/base/hiviewdfx/hisysevent/interfaces/js/kits/napi/src/ |
H A D | napi_hisysevent_querier.cpp | 55 const std::vector<int64_t>& seq) in OnQuery() 58 [this, sysEvents, seq] (const napi_env env, const napi_ref ref, pid_t threadId) { in OnQuery() 78 void NapiHiSysEventQuerier::OnComplete(int32_t reason, int32_t total, int64_t seq) in OnComplete() argument 81 [this, reason, total, seq] (const napi_env env, const napi_ref ref, pid_t threadId) { in OnComplete() 90 NapiHiSysEventUtil::CreateInt64Value(env, seq, seqJsParm); in OnComplete() 54 OnQuery(const std::vector<std::string>& sysEvents, const std::vector<int64_t>& seq) OnQuery() argument
|
/base/hiviewdfx/hisysevent/interfaces/js/kits/napi/include/ |
H A D | napi_hisysevent_querier.h | 41 const std::vector<int64_t>& seq) override; 42 virtual void OnComplete(int32_t reason, int32_t total, int64_t seq) override;
|
/base/hiviewdfx/hiview/base/ |
H A D | pipeline.cpp | 128 auto seq = caller->GetHiviewContext()->GetPipelineSequenceByName(pipelineName);
in FillPipelineInfo() local 130 while (!seq.empty()) {
in FillPipelineInfo() 131 auto& plugin = seq.front();
in FillPipelineInfo() 137 seq.pop_front();
in FillPipelineInfo() 140 event->SetPipelineInfo(pipelineName, seq);
in FillPipelineInfo()
|
/base/hiviewdfx/hiview/plugins/freeze_detector/ |
H A D | watch_point.cpp | 52 WatchPoint::Builder& WatchPoint::Builder::InitSeq(long seq) in InitSeq() argument 54 seq_ = seq; in InitSeq() 217 void WatchPoint::SetSeq(long seq) in SetSeq() argument 219 seq_ = seq; in SetSeq()
|
/base/request/request/frameworks/cj/ffi/src/ |
H A D | cj_request_task.cpp | 268 int32_t seq = RequestManager::GetInstance()->GetNextSeq(); in Create() local 269 REQUEST_HILOGI("Begin task create, seq: %{public}d", seq); in Create() 282 int32_t err = RequestManager::GetInstance()->Create(config_, seq, taskId_); in Create() 309 int32_t seq = RequestManager::GetInstance()->GetNextSeq(); in GetTask() local 310 REQUEST_HILOGI("Begin get task, seq: %{public}d", seq); in GetTask() 391 int32_t seq = RequestManager::GetInstance()->GetNextSeq(); in On() local 392 REQUEST_HILOGI("Begin task on, seq: %{public}d", seq); in On() 421 int32_t seq = RequestManager::GetInstance()->GetNextSeq(); Off() local [all...] |
/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/cache/ |
H A D | app_event_mapping_dao.cpp | 49 * | seq | event_seq | observer_seq |
in Create() 70 int64_t seq = 0;
in Insert() local 71 if (dbStore_->Insert(seq, TABLE, bucket) != NativeRdb::E_OK) {
in Insert() 74 return seq;
in Insert() 120 HILOG_ERROR(LOG_CORE, "failed to get event seq value from resultSet");
in QueryExistEvent()
|
/base/hiviewdfx/hiview/base/event_store/utility/reader/ |
H A D | sys_event_doc_reader.cpp | 314 entries.emplace(info_.seq, info_.timestamp, rawData, sysVersion_);
in TryToAddEntry() 325 int64_t seq = *(reinterpret_cast<int64_t*>(content + HIVIEW_BLOCK_SIZE));
in CheckEventInfo() local 326 if (seq < 0) {
in CheckEventInfo() 327 HIVIEW_LOGE("event seq is invalid, seq=%{public}" PRId64, seq);
in CheckEventInfo() 330 info_.seq = seq;
in CheckEventInfo() 334 HIVIEW_LOGE("event seq is invalid, timestamp=%{public}" PRId64, timestamp);
in CheckEventInfo()
|
/base/hiviewdfx/hiview/base/event_store/utility/reader/include/ |
H A D | content_reader.h | 40 int64_t seq = 0; member 67 int AppendSeq(std::shared_ptr<RawData> rawData, int64_t seq);
|