Home
last modified time | relevance | path

Searched refs:beginTime (Results 1 - 25 of 65) sorted by relevance

123

/base/hiviewdfx/hisysevent/adapter/native/idl/include/
H A Dquery_argument.h26 QueryArgument(int64_t beginTime, int64_t endTime, int32_t maxEvents = 0, in QueryArgument() argument
28 : beginTime(beginTime), endTime(endTime), maxEvents(maxEvents), fromSeq(fromSeq), toSeq(toSeq) {} in QueryArgument()
34 int64_t beginTime = -1; member in OHOS::HiviewDFX::QueryArgument
/base/hiviewdfx/hiview/adapter/plugins/eventservice/service/idl/include/
H A Dquery_argument.h26 QueryArgument(int64_t beginTime, int64_t endTime, int32_t maxEvents = 0, in QueryArgument() argument
28 : beginTime(beginTime), endTime(endTime), maxEvents(maxEvents), fromSeq(fromSeq), toSeq(toSeq) {} in QueryArgument()
34 int64_t beginTime = -1; member in OHOS::HiviewDFX::QueryArgument
/base/hiviewdfx/hisysevent/interfaces/native/innerkits/hisysevent_manager/include/
H A Dhisysevent_rules.h28 long long beginTime; member
34 QueryArg(const long long beginTime = -1, const long long endTime = -1, const int maxEvents = -1, in QueryArg()
37 this->beginTime = beginTime < 0 ? 0 : beginTime; in QueryArg()
44 QueryArg(): beginTime(0), endTime(0), maxEvents(0), fromSeq(-1), toSeq(-1) {} in QueryArg()
H A Dhisysevent_manager_c.h32 int64_t beginTime; member
/base/hiviewdfx/hiappevent/frameworks/js/napi/include/
H A Dnapi_hiappevent_watch.h26 napi_value AddWatcher(const napi_env env, const napi_value watcher, uint64_t beginTime);
27 napi_value RemoveWatcher(const napi_env env, const napi_value watcher, uint64_t beginTime);
/base/hiviewdfx/hiview/adapter/plugins/eventservice/service/idl/src/
H A Dquery_argument.cpp22 if (!parcel.WriteInt64(beginTime)) { in Marshalling()
46 if (!parcel.ReadInt64(ret->beginTime)) { in Unmarshalling()
H A Devent_query_wrapper_builder.cpp197 HIVIEW_LOGD("execute query: beginTime=%{public}" PRId64 in Query()
199 ", toSeq=%{public}" PRId64 ", queryLimit=%{public}d.", argument_.beginTime, argument_.endTime, in Query()
306 HIVIEW_LOGD("set argument: beginTime=%{public} " PRId64 in SetQueryArgument()
308 ", toSeq=%{public} " PRId64 ".", argument.beginTime, argument.endTime, in SetQueryArgument()
380 argument_.beginTime = argument_.beginTime < 0 ? 0 : argument_.beginTime; in BuildQuery()
385 whereCond.And(EventStore::EventCol::TS, EventStore::Op::GE, argument_.beginTime) in BuildQuery()
493 HIVIEW_LOGD("init link list of query wrapper with argument: beginTime=%{public} " PRId64 in InitQueryWrapper()
495 ", toSeq=%{public} " PRId64 ".", argument.beginTime, argumen in InitQueryWrapper()
[all...]
/base/hiviewdfx/hisysevent/adapter/native/idl/src/
H A Dquery_argument.cpp22 if (!parcel.WriteInt64(beginTime)) { in Marshalling()
46 if (!parcel.ReadInt64(ret->beginTime)) { in Unmarshalling()
/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/utility/
H A Dapp_event_stat.cpp39 void WriteApiEndEventAsync(const std::string& apiName, uint64_t beginTime, int result, int errCode) in WriteApiEndEventAsync() argument
45 appEventPack->AddParam("begin_time", static_cast<int64_t>(beginTime)); in WriteApiEndEventAsync()
/base/security/security_guard/test/unittest/security_collector/include/
H A Dsecurity_event_ruler.h27 SecurityEventRuler(int64_t eventId, const std::string &beginTime = "", const std::string &endTime = "", in SecurityEventRuler()
29 : eventId_(eventId), beginTime_(beginTime), endTime_(endTime), param_(param) {}; in SecurityEventRuler()
/base/security/security_guard/interfaces/inner_api/collector/include/
H A Dsecurity_event_ruler.h27 SecurityEventRuler(int64_t eventId, const std::string &beginTime = "", const std::string &endTime = "", in SecurityEventRuler()
29 : eventId_(eventId), beginTime_(beginTime), endTime_(endTime), param_(param) {}; in SecurityEventRuler()
/base/security/security_guard/test/unittest/data_collect/sa/
H A Dsecurity_event_ruler.h27 SecurityEventRuler(int64_t eventId, const std::string &beginTime = "", const std::string &endTime = "", in SecurityEventRuler()
29 : eventId_(eventId), beginTime_(beginTime), endTime_(endTime), param_(param) {}; in SecurityEventRuler()
/base/security/security_guard/test/unittest/security_collector/data_collection/include/
H A Dsecurity_event_ruler.h27 SecurityEventRuler(int64_t eventId, const std::string &beginTime = "", const std::string &endTime = "", in SecurityEventRuler()
29 : eventId_(eventId), beginTime_(beginTime), endTime_(endTime), param_(param) {}; in SecurityEventRuler()
/base/hiviewdfx/hiappevent/frameworks/js/napi/src/
H A Dnapi_hiappevent_js_v9.cpp181 uint64_t beginTime = TimeUtil::GetMilliseconds(); in ClearData() local
183 AppEventStat::WriteApiEndEventAsync("clearData", beginTime, AppEventStat::SUCCESS, NapiError::ERR_OK); in ClearData()
189 uint64_t beginTime = TimeUtil::GetMilliseconds(); in AddWatcher() local
192 AppEventStat::WriteApiEndEventAsync("addWatcher", beginTime, AppEventStat::FAILED, NapiError::ERR_PARAM); in AddWatcher()
196 return NapiHiAppEventWatch::AddWatcher(env, params[0], beginTime); in AddWatcher()
201 uint64_t beginTime = TimeUtil::GetMilliseconds(); in RemoveWatcher() local
204 AppEventStat::WriteApiEndEventAsync("removeWatcher", beginTime, AppEventStat::FAILED, NapiError::ERR_PARAM); in RemoveWatcher()
208 return NapiHiAppEventWatch::RemoveWatcher(env, params[0], beginTime); in RemoveWatcher()
H A Dnapi_hiappevent_watch.cpp291 napi_value AddWatcher(const napi_env env, const napi_value watcher, uint64_t beginTime) in AddWatcher() argument
296 AppEventStat::WriteApiEndEventAsync("addWatcher", beginTime, AppEventStat::FAILED, errCode); in AddWatcher()
323 AppEventStat::WriteApiEndEventAsync("addWatcher", beginTime, AppEventStat::FAILED, NapiError::ERR_OK); in AddWatcher()
335 AppEventStat::WriteApiEndEventAsync("addWatcher", beginTime, AppEventStat::SUCCESS, NapiError::ERR_OK); in AddWatcher()
339 napi_value RemoveWatcher(const napi_env env, const napi_value watcher, uint64_t beginTime) in RemoveWatcher() argument
342 AppEventStat::WriteApiEndEventAsync("removeWatcher", beginTime, AppEventStat::FAILED, NapiError::ERR_PARAM); in RemoveWatcher()
348 AppEventStat::WriteApiEndEventAsync("removeWatcher", beginTime, AppEventStat::FAILED, errCode); in RemoveWatcher()
352 AppEventStat::WriteApiEndEventAsync("removeWatcher", beginTime, AppEventStat::SUCCESS, NapiError::ERR_OK); in RemoveWatcher()
/base/hiviewdfx/hiview/test/unittest/unified_collection/client/
H A Dtrace_collector_client_test.cpp164 appCaller.beginTime = appCaller.happenTime - 100; // 100: ms in HWTEST_F()
192 appCaller.beginTime = appCaller.happenTime - 100; // 100: ms in HWTEST_F()
226 appCaller1.beginTime = appCaller1.happenTime - 100; in HWTEST_F()
242 appCaller2.beginTime = appCaller2.happenTime - 100; in HWTEST_F()
276 appCaller1.beginTime = appCaller1.happenTime - 100; in HWTEST_F()
310 appCaller1.beginTime = appCaller1.happenTime - 100; in HWTEST_F()
326 appCaller2.beginTime = appCaller2.happenTime - 100; in HWTEST_F()
360 appCaller1.beginTime = appCaller1.happenTime - 100; in HWTEST_F()
382 appCaller3.beginTime = appCaller3.happenTime - 100; in HWTEST_F()
415 appCaller1.beginTime in HWTEST_F()
[all...]
/base/security/access_token/services/accesstokenmanager/main/cpp/src/database/
H A Daccess_token_db.cpp97 int64_t beginTime = TimeUtil::GetCurrentTimestamp(); in Add() local
138 " records to table %{public}s.", endTime - beginTime, outInsertNum, tableName.c_str()); in Add()
170 int64_t beginTime = TimeUtil::GetCurrentTimestamp(); in Remove() local
201 ", delete %{public}d records from table %{public}s.", endTime - beginTime, deletedRows, tableName.c_str()); in Remove()
234 int64_t beginTime = TimeUtil::GetCurrentTimestamp(); in Modify() local
272 ", update %{public}d records from table %{public}s.", endTime - beginTime, changedRows, tableName.c_str()); in Modify()
313 int64_t beginTime = TimeUtil::GetCurrentTimestamp(); in Find() local
358 ", query %{public}d records from table %{public}s.", endTime - beginTime, count, tableName.c_str()); in Find()
435 int64_t beginTime = TimeUtil::GetCurrentTimestamp(); in DeleteAndInsertHap() local
456 ACCESSTOKEN_LOG_ERROR(LABEL, "DeleteAndInsertHap cost %{public}" PRId64 ".", endTime - beginTime); in DeleteAndInsertHap()
[all...]
/base/security/access_token/services/privacymanager/src/database/
H A Ddata_translator.cpp45 int64_t beginTime = AccessToken::TimeUtil::GetCurrentTimestamp() - LATEST_RECORD_TIME; in TranslationIntoGenericValues() local
46 begin = (beginTime < 0) ? 0 : beginTime; in TranslationIntoGenericValues()
/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/utility/include/
H A Dapp_event_stat.h26 void WriteApiEndEventAsync(const std::string& apiName, uint64_t beginTime, int result, int errCode);
/base/hiviewdfx/hisysevent/frameworks/native/c_wrapper/source/
H A Dhisysevent_rust_manager.cpp65 int64_t beginTime = 0; in HiSysEventQuery() local
69 beginTime = arg->beginTime; in HiSysEventQuery()
73 QueryArgCls argCls(beginTime, endTime, maxEvents); in HiSysEventQuery()
/base/hiviewdfx/hisysevent/frameworks/native/
H A Dhisysevent_tool.cpp123 cmdArg.beginTime = strtoll(optarg, nullptr, 0); in InitOptHandlers()
125 cmdArg.beginTime = ParseTimeStampFromArgs(std::string(optarg)); in InitOptHandlers()
192 && clientCmdArg.beginTime > clientCmdArg.endTime; in CheckCmdLine()
195 cout << clientCmdArg.beginTime << " > " << clientCmdArg.endTime << ")." << endl; in CheckCmdLine()
276 struct QueryArg args(clientCmdArg.beginTime, clientCmdArg.endTime, clientCmdArg.maxEvents); in DoAction()
/base/hiviewdfx/hiview/base/event_publish/include/
H A Dapp_event_handler.h57 uint64_t beginTime = 0; member
71 uint64_t beginTime = 0; member
/base/security/security_guard/test/unittest/mock/data_collect/
H A Drisk_event_rdb_helper.h37 std::string beginTime, std::string endTime) = 0;
64 std::string beginTime, std::string endTime));
/base/hiviewdfx/hisysevent/frameworks/native/include/
H A Dhisysevent_tool.h37 long long beginTime; member
/base/security/device_security_level/services/dfx/
H A Ddslm_hidumper.c83 static const char *GetCostTime(const uint64_t beginTime, const uint64_t endTime) in GetCostTime() argument
87 if (beginTime == 0 || endTime == 0) { in GetCostTime()
91 if (endTime < beginTime) { in GetCostTime()
94 uint32_t cost = (uint32_t)(endTime - beginTime); in GetCostTime()

Completed in 10 milliseconds

123