Searched refs:happentime (Results 1 – 4 of 4) sorted by relevance
121 void SysEventRepeatDb::CheckAndClearDb(const int64_t happentime) in CheckAndClearDb() argument126 Clear(happentime); in CheckAndClearDb()129 void SysEventRepeatDb::Clear(const int64_t happentime) in Clear() argument131 ClearHistory(happentime); in Clear()144 bucket.PutLong(COLUMN_HAPPENTIME, sysEventHashRecord.happentime); in Insert()165 bucket.PutLong(COLUMN_HAPPENTIME, sysEventHashRecord.happentime); in Update()174 void SysEventRepeatDb::ClearHistory(const int64_t happentime) in ClearHistory() argument180 whereClause.append(" < ").append(std::to_string(happentime)); in ClearHistory()224 int64_t happentime = 0; in QueryHappentime() local225 resultSet->GetLong(0, happentime); // 0 is result of happentime in QueryHappentime()[all …]
106 auto happentime = SysEventRepeatDb::GetInstance().QueryHappentime(sysEventHashRecord); in IsEventRepeat() local108 if (happentime > minValidTime) { // event repeat in IsEventRepeat()112 sysEventHashRecord.happentime = time(nullptr); in IsEventRepeat()113 if (happentime > 0) { // > 0 means has record in IsEventRepeat()
32 int64_t happentime = 0; member42 void CheckAndClearDb(const int64_t happentime);43 void Clear(const int64_t happentime);48 void ClearHistory(const int64_t happentime);
123 sysEventHashRecord.happentime = time(nullptr) - TWO_HOURS;176 sysEventHashRecord.happentime = now - TWO_HOURS;179 …ysEventRepeatDb::GetInstance().QueryHappentime(sysEventHashRecord), sysEventHashRecord.happentime);