Home
last modified time | relevance | path

Searched refs:foldHor (Results 1 – 4 of 4) sorted by relevance

/ohos5.0/base/hiviewdfx/hiview/plugins/usage_event_report/cache/
H A Dfold_app_usage_event_factory.cpp65 event->Update(KEY_OF_FOLD_HOR_USAGE, static_cast<uint32_t>(info.foldHor)); in Create()
70 …event->Update(KEY_OF_USAGE, static_cast<uint32_t>(info.foldVer + info.foldHor + info.expdVer + inf… in Create()
99 statisticInfos[forgroundInfo.first].foldHor += forgroundInfo.second.foldHor; in GetAppUsageInfo()
H A Dfold_app_usage_db_helper.cpp54 info.foldHor += static_cast<int32_t>(time); in UpdateScreenStatInfo()
365 …GetIntFromResultSet(resultSet, FoldEventTable::FIELD_FOLD_LANDSCAPE_DURATION, usageInfo.foldHor) && in QueryStatisticEventsInPeriod()
/ohos5.0/base/hiviewdfx/hiview/plugins/usage_event_report/test/unittest/
H A Dfold_app_usage_test.cpp98 EXPECT_EQ(all1104Infos["app155"].foldHor, 2);
104 EXPECT_EQ(all1104Infos["app255"].foldHor, 5);
141 EXPECT_EQ(app3Info.foldHor, 1000); // from ts, 5000 to 6000
149 EXPECT_EQ(app4Info.foldHor, 28799999); // from 16:00:00 to 23:59:59
/ohos5.0/base/hiviewdfx/hiview/plugins/usage_event_report/cache/include/
H A Dfold_app_usage_db_helper.h29 int32_t foldHor = 0; // usage duration when screen in fold-horizon status member