Home
last modified time | relevance | path

Searched refs:AppEventRecord (Results 1 – 5 of 5) sorted by relevance

/ohos5.0/base/hiviewdfx/hiview/plugins/usage_event_report/test/unittest/
H A Dfold_app_usage_test.cpp76AppEventRecord record1{1104, 1000, "app1", 11, 11, "55", g_today0Time - 5 * g_dayGapTime, 1, 2, 3,…
78AppEventRecord record2{1104, 1000, "app1", 11, 11, "55", g_startTime - 5 * g_hourGapTime, 1, 2, 3,…
80AppEventRecord record3{1104, 1000, "app1", 11, 11, "55", g_startTime + 7 * g_hourGapTime, 1, 2, 3,…
82AppEventRecord record4{1104, 1000, "app2", 11, 11, "55", g_startTime + 8 * g_hourGapTime, 2, 2, 2,…
84AppEventRecord record5{1104, 1000, "app2", 11, 11, "55", g_startTime + 9 * g_hourGapTime, 3, 3, 3,…
117AppEventRecord record6{1101, 4000, "app3", 11, 12, "55", g_startTime + 10 * g_hourGapTime, 0, 0, 0…
119AppEventRecord record7{1103, 5000, "app3", 12, 22, "55", g_startTime + 11 * g_hourGapTime, 1, 2, 3…
121AppEventRecord record8{1103, 6000, "app3", 22, 21, "55", g_startTime + 12 * g_hourGapTime, 0, 0, 0…
123AppEventRecord record9{1103, 7000, "app4", 11, 21, "55", g_startTime + 15 * g_hourGapTime, 0, 0, 0…
125AppEventRecord record10{1103, 8000, "app4", 21, 22, "55", g_startTime + 16 * g_hourGapTime, 0, 0, …
[all …]
/ohos5.0/base/hiviewdfx/hiview/plugins/usage_event_report/cache/include/
H A Dfold_event_cacher.h37 void ProcessForegroundEvent(std::shared_ptr<SysEvent> event, AppEventRecord& appEventRecord);
38 void ProcessBackgroundEvent(std::shared_ptr<SysEvent> event, AppEventRecord& appEventRecord);
40 void CountLifeCycleDuration(AppEventRecord& appEventRecord);
44 void CalCulateDuration(uint64_t dayStartTime, std::vector<AppEventRecord>& events,
49 …void ProcessCountDurationEvent(AppEventRecord& appEventRecord, std::map<int, uint64_t>& durations);
H A Dfold_app_usage_db_helper.h47 struct AppEventRecord { struct
74 int AddAppEvent(const AppEventRecord& appEventRecord); argument
77 std::vector<AppEventRecord>& records);
85 void ParseEntity(NativeRdb::RowEntity& entity, AppEventRecord& record);
/ohos5.0/base/hiviewdfx/hiview/plugins/usage_event_report/cache/
H A Dfold_event_cacher.cpp134 AppEventRecord appEventRecord; in TimeOut()
161 AppEventRecord appEventRecord; in ProcessEvent()
176 void FoldEventCacher::ProcessForegroundEvent(std::shared_ptr<SysEvent> event, AppEventRecord& appEv… in ProcessForegroundEvent()
196 void FoldEventCacher::ProcessBackgroundEvent(std::shared_ptr<SysEvent> event, AppEventRecord& appEv… in ProcessBackgroundEvent()
228 AppEventRecord appEventRecord; in ProcessSceenStatusChangedEvent()
252 void FoldEventCacher::ProcessCountDurationEvent(AppEventRecord& appEventRecord, std::map<int, uint6… in ProcessCountDurationEvent()
254 AppEventRecord newRecord; in ProcessCountDurationEvent()
269 void FoldEventCacher::CountLifeCycleDuration(AppEventRecord& appEventRecord) in CountLifeCycleDuration()
274 std::vector<AppEventRecord> records; in CountLifeCycleDuration()
281 void FoldEventCacher::CalCulateDuration(uint64_t dayStartTime, std::vector<AppEventRecord>& records, in CalCulateDuration()
H A Dfold_app_usage_db_helper.cpp189 int FoldAppUsageDbHelper::AddAppEvent(const AppEventRecord& appEventRecord) in AddAppEvent()
243 std::vector<AppEventRecord>& records) in QueryAppEventRecords()
280 AppEventRecord record; in QueryAppEventRecords()
291 void FoldAppUsageDbHelper::ParseEntity(NativeRdb::RowEntity& entity, AppEventRecord& record) in ParseEntity()