Searched refs:NUM_PERIODS_TO_RETAIN (Results 1 – 1 of 1) sorted by relevance
49 private static final int NUM_PERIODS_TO_RETAIN = 8; field in Analyst127 private final Report[] mReports = new Report[NUM_PERIODS_TO_RETAIN];140 final List<Report> list = new ArrayList<>(NUM_PERIODS_TO_RETAIN); in getReports()141 for (int i = 1; i <= NUM_PERIODS_TO_RETAIN; ++i) { in getReports()142 final int idx = (mPeriodIndex + i) % NUM_PERIODS_TO_RETAIN; in getReports()179 mPeriodIndex = Math.max(0, Math.min(NUM_PERIODS_TO_RETAIN, numReports) - 1); in loadReports()180 for (int i = 0; i < NUM_PERIODS_TO_RETAIN; ++i) { in loadReports()206 mPeriodIndex = (mPeriodIndex + 1) % NUM_PERIODS_TO_RETAIN; in noteBatteryLevelChange()334 for (int r = 0; r < NUM_PERIODS_TO_RETAIN; ++r) { in dump()335 final int idx = (mPeriodIndex - r + NUM_PERIODS_TO_RETAIN) % NUM_PERIODS_TO_RETAIN; in dump()