Searched refs:kMaxNumOfRecords (Results 1 – 3 of 3) sorted by relevance
31 : kMaxNumOfRecords(maxNumOfRecords), kJankCheckTimeFactor(jankCheckTimeFactor) { in SessionRecords()40 if (mNumOfFrames >= kMaxNumOfRecords) { in addReportedDurations()43 int32_t indexOfRecordToRemove = (mLatestRecordIndex + 1) % kMaxNumOfRecords; in addReportedDurations()60 mLatestRecordIndex = (mLatestRecordIndex + 1) % kMaxNumOfRecords; in addReportedDurations()118 int32_t ind2 = ind1 == 0 ? (kMaxNumOfRecords - 1) : (ind1 - 1); in isLowFrameRate()119 int32_t ind3 = ind2 == 0 ? (kMaxNumOfRecords - 1) : (ind2 - 1); in isLowFrameRate()
55 const int32_t kMaxNumOfRecords;
36 mRecords = std::make_shared<SessionRecords>(kMaxNumOfRecords, kJankCheckTimeFactor); in SetUp()57 static constexpr int32_t kMaxNumOfRecords = 5; member in aidl::google::hardware::power::impl::pixel::SessionRecordsTest