Home
last modified time | relevance | path

Searched refs:seq (Results 1 – 25 of 53) sorted by relevance

123

/base/hiviewdfx/hiview/adapter/plugins/eventservice/service/idl/src/
Dquery_sys_event_callback_stub.cpp43 std::vector<int64_t> seq; in OnRemoteRequest() local
44 ret = data.ReadInt64Vector(&seq); in OnRemoteRequest()
49 OnQuery(sysEvent, seq); in OnRemoteRequest()
65 int64_t seq = 0; in OnRemoteRequest() local
66 ret = data.ReadInt64(seq); in OnRemoteRequest()
71 OnComplete(reason, total, seq); in OnRemoteRequest()
Dquery_sys_event_callback_proxy.cpp25 …allbackProxy::OnQuery(const std::vector<std::u16string>& sysEvent, const std::vector<int64_t>& seq) in OnQuery() argument
43 auto ret = data.WriteInt64Vector(seq); 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()
Ddata_publisher_sys_event_callback.cpp36 const std::vector<int64_t>& seq) in OnQuery() argument
66 void DataPublisherSysEventCallback::OnComplete(int32_t reason, int32_t total, int64_t seq) in OnComplete() argument
/base/hiviewdfx/hisysevent/adapter/native/idl/src/
Dquery_sys_event_callback_stub.cpp49 std::vector<int64_t> seq; in OnRemoteRequest() local
50 ret = data.ReadInt64Vector(&seq); in OnRemoteRequest()
55 OnQuery(sysEvent, seq); in OnRemoteRequest()
71 int64_t seq = 0; in OnRemoteRequest() local
72 ret = data.ReadInt64(seq); in OnRemoteRequest()
77 OnComplete(reason, total, seq); in OnRemoteRequest()
Dhisysevent_query_proxy.cpp23 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()
Dquery_sys_event_callback_proxy.cpp27 …allbackProxy::OnQuery(const std::vector<std::u16string>& sysEvent, const std::vector<int64_t>& seq) in OnQuery() argument
45 auto ret = data.WriteInt64Vector(seq); in OnQuery()
58 void QuerySysEventCallbackProxy::OnComplete(int32_t reason, int32_t total, int64_t seq) in OnComplete() argument
75 ret = data.WriteInt64(seq); in OnComplete()
/base/hiviewdfx/hiview/base/include/
Devent_priority_queue.h24 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()
Devent_loop.h58 uint64_t seq = 0; member
72 event.seq = now; in CreateLoopEvent()
121 bool RemoveEvent(uint64_t seq);
/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/cache/
Dapp_event_block.cpp44 int64_t seq = 0; in Take() local
45 int result = blockDao_->GetPackagesBySize(size, packages, seq); in Take()
48 } else if (result > 0 && blockDao_->DeletePackageBySeq(seq) == DB_SUCC) { in Take()
Dapp_event_block_dao.cpp51 int64_t seq = 0; in InsertPackage() local
52 if (int ret = dbStore->Insert(seq, table_, values); ret != NativeRdb::E_OK) { in InsertPackage()
59 int AppEventBlockDao::DeletePackageBySeq(int64_t seq) in DeletePackageBySeq() argument
67 HiLog::Debug(LABEL, "start to delete %{public}s, seq=%{public}" PRId64, table_.c_str(), seq); in DeletePackageBySeq()
72 std::vector<std::string> fields = { std::to_string(seq) }; in DeletePackageBySeq()
101 int AppEventBlockDao::GetPackagesBySize(int size, std::vector<std::string> &packages, int64_t& seq) in GetPackagesBySize() argument
125 resultSet->GetLong(0, seq); // 0 means seq field in GetPackagesBySize()
/base/hiviewdfx/hiview/adapter/plugins/eventservice/service/idl/include/
Diquery_base_callback.h29 …ual 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;
Dquery_sys_event_callback_proxy.h34 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);
Ddata_publisher_sys_event_callback.h33 …void OnQuery(const std::vector<std::u16string>& sysEvent, const std::vector<int64_t>& seq) overrid…
34 void OnComplete(int32_t reason, int32_t total, int64_t seq) override;
/base/hiviewdfx/hisysevent/interfaces/js/kits/napi/src/
Dnapi_hisysevent_querier.cpp50 const std::vector<int64_t>& seq) in OnQuery() argument
53 [this, sysEvents, seq] (const napi_env env, const napi_ref ref, pid_t threadId) { in OnQuery()
73 void NapiHiSysEventQuerier::OnComplete(int32_t reason, int32_t total, int64_t seq) in OnComplete() argument
76 [this, reason, total, seq] (const napi_env env, const napi_ref ref, pid_t threadId) { in OnComplete()
85 NapiHiSysEventUtil::CreateInt64Value(env, seq, seqJsParm); in OnComplete()
/base/hiviewdfx/hisysevent/adapter/native/idl/include/
Diquery_sys_event_callback.h27 …ual 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;
Dhisysevent_query_proxy.h35 const ::std::vector<int64_t>& seq) override;
36 void OnComplete(int32_t reason, int32_t total, int64_t seq) override;
Dquery_sys_event_callback_proxy.h41 void OnQuery(const std::vector<std::u16string>& sysEvent, const std::vector<int64_t>& seq);
42 void OnComplete(int32_t reason, int32_t total, int64_t seq);
/base/hiviewdfx/hiview/base/
Dpipeline.cpp125 auto seq = caller->GetHiviewContext()->GetPipelineSequenceByName(pipelineName); in FillPipelineInfo() local
127 while (!seq.empty()) { in FillPipelineInfo()
128 auto& plugin = seq.front(); in FillPipelineInfo()
134 seq.pop_front(); in FillPipelineInfo()
137 event->SetPipelineInfo(pipelineName, seq); in FillPipelineInfo()
/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/cache/include/
Dapp_event_block_dao.h36 int DeletePackageBySeq(int64_t seq);
42 int GetPackagesBySize(int size, std::vector<std::string> &packages, int64_t& seq);
/base/hiviewdfx/hisysevent/interfaces/js/kits/napi/include/
Dnapi_hisysevent_querier.h41 const std::vector<int64_t>& seq) override;
42 virtual void OnComplete(int32_t reason, int32_t total, int64_t seq) override;
/base/hiviewdfx/hiview/plugins/freeze_detector/
Dwatch_point.cpp51 WatchPoint::Builder& WatchPoint::Builder::InitSeq(long seq) in InitSeq() argument
53 seq_ = seq; in InitSeq()
205 void WatchPoint::SetSeq(long seq) in SetSeq() argument
207 seq_ = seq; in SetSeq()
/base/hiviewdfx/hiview/adapter/plugins/eventservice/service/
Dsys_event_service_adapter.cpp47 void SysEventServiceAdapter::UpdateEventSeq(int64_t seq) in UpdateEventSeq() argument
54 service->UpdateEventSeq(seq); in UpdateEventSeq()
/base/hiviewdfx/hiview/base/event_pool/
Devent_thread_pool.h35 seq = TimeUtil::GetNanoTime(); in TaskEvent()
43 uint64_t seq; variable
/base/hiviewdfx/hiview/base/event_store/utility/reader/
Dsys_event_doc_reader.cpp320 …cReader::BuildEventJson(std::string& eventJson, uint8_t* rawEvent, uint32_t eventSize, int64_t seq) in BuildEventJson() argument
330 if (seq < 0) { in BuildEventJson()
331 HIVIEW_LOGE("event seq is invalid, seq=%{public}" PRId64, seq); in BuildEventJson()
338 AppendJsonValue(eventJson, EventCol::SEQ, seq); in BuildEventJson()
350 int64_t seq = *(reinterpret_cast<int64_t*>(content + BLOCK_SIZE)); in TryToAddEntry() local
370 if (BuildEventJson(eventJson, rawEvent, eventSize, seq) != DOC_STORE_SUCCESS) { in TryToAddEntry()
376 entry.id = seq; in TryToAddEntry()
/base/hiviewdfx/hiview/core/
Devent_json_parser.cpp358 void EventJsonParser::ReadSeqFromFile(int64_t& seq) in ReadSeqFromFile() argument
366 seq = static_cast<int64_t>(strtoll(content.c_str(), nullptr, 0)); in ReadSeqFromFile()
367 HIVIEW_LOGI("read max sequence from local file successful, value is %{public}" PRId64 ".", seq); in ReadSeqFromFile()
368 SysEventServiceAdapter::UpdateEventSeq(seq); in ReadSeqFromFile()
371 void EventJsonParser::WriteSeqToFile(int64_t seq) const in WriteSeqToFile()
374 std::string content = std::to_string(seq); in WriteSeqToFile()
378 SysEventServiceAdapter::UpdateEventSeq(seq); in WriteSeqToFile()

123