Searched refs:SysEventRepeatDb (Results 1 – 4 of 4) sorted by relevance
56 SysEventRepeatDb::SysEventRepeatDb() in SysEventRepeatDb() function in OHOS::HiviewDFX::SysEventRepeatDb62 void SysEventRepeatDb::InitDbStore() in InitDbStore()78 void SysEventRepeatDb::CreateTable() in CreateTable()121 void SysEventRepeatDb::CheckAndClearDb(const int64_t happentime) in CheckAndClearDb()129 void SysEventRepeatDb::Clear(const int64_t happentime) in Clear()135 bool SysEventRepeatDb::Insert(const SysEventHashRecord &sysEventHashRecord) in Insert()155 bool SysEventRepeatDb::Update(const SysEventHashRecord &sysEventHashRecord) in Update()174 void SysEventRepeatDb::ClearHistory(const int64_t happentime) in ClearHistory()188 void SysEventRepeatDb::RefreshDbCount() in RefreshDbCount()208 int64_t SysEventRepeatDb::QueryHappentime(SysEventHashRecord &sysEventHashRecord) in QueryHappentime()
106 auto happentime = SysEventRepeatDb::GetInstance().QueryHappentime(sysEventHashRecord); in IsEventRepeat()114 SysEventRepeatDb::GetInstance().Update(sysEventHashRecord); in IsEventRepeat()116 SysEventRepeatDb::GetInstance().Insert(sysEventHashRecord); in IsEventRepeat()117 SysEventRepeatDb::GetInstance().CheckAndClearDb(minValidTime); in IsEventRepeat()136 SysEventRepeatDb::GetInstance().Clear(curTime); in RegisterListeningUeSwitch()
35 class SysEventRepeatDb : public OHOS::DelayedRefSingleton<SysEventRepeatDb> {37 SysEventRepeatDb();38 ~SysEventRepeatDb() = default;
124 ASSERT_TRUE(SysEventRepeatDb::GetInstance().Update(sysEventHashRecord));177 SysEventRepeatDb::GetInstance().Insert(sysEventHashRecord);179 …ASSERT_EQ(SysEventRepeatDb::GetInstance().QueryHappentime(sysEventHashRecord), sysEventHashRecord.…180 SysEventRepeatDb::GetInstance().CheckAndClearDb(now);181 ASSERT_EQ(SysEventRepeatDb::GetInstance().QueryHappentime(sysEventHashRecord), 0);