Searched refs:AppEventRecord (Results 1 – 5 of 5) sorted by relevance
/ohos5.0/base/hiviewdfx/hiview/plugins/usage_event_report/test/unittest/ |
H A D | fold_app_usage_test.cpp | 76 …AppEventRecord record1{1104, 1000, "app1", 11, 11, "55", g_today0Time - 5 * g_dayGapTime, 1, 2, 3,… 78 …AppEventRecord record2{1104, 1000, "app1", 11, 11, "55", g_startTime - 5 * g_hourGapTime, 1, 2, 3,… 80 …AppEventRecord record3{1104, 1000, "app1", 11, 11, "55", g_startTime + 7 * g_hourGapTime, 1, 2, 3,… 82 …AppEventRecord record4{1104, 1000, "app2", 11, 11, "55", g_startTime + 8 * g_hourGapTime, 2, 2, 2,… 84 …AppEventRecord record5{1104, 1000, "app2", 11, 11, "55", g_startTime + 9 * g_hourGapTime, 3, 3, 3,… 117 …AppEventRecord record6{1101, 4000, "app3", 11, 12, "55", g_startTime + 10 * g_hourGapTime, 0, 0, 0… 119 …AppEventRecord record7{1103, 5000, "app3", 12, 22, "55", g_startTime + 11 * g_hourGapTime, 1, 2, 3… 121 …AppEventRecord record8{1103, 6000, "app3", 22, 21, "55", g_startTime + 12 * g_hourGapTime, 0, 0, 0… 123 …AppEventRecord record9{1103, 7000, "app4", 11, 21, "55", g_startTime + 15 * g_hourGapTime, 0, 0, 0… 125 …AppEventRecord 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 D | fold_event_cacher.h | 37 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 D | fold_app_usage_db_helper.h | 47 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 D | fold_event_cacher.cpp | 134 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 D | fold_app_usage_db_helper.cpp | 189 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()
|