Searched refs:mSortedStatFiles (Results 1 – 3 of 3) sorted by relevance
109 final TimeSparseArray<AtomicFile>[] mSortedStatFiles; field in UsageStatsDatabase140 mSortedStatFiles = new TimeSparseArray[mIntervalDirs.length]; in UsageStatsDatabase()165 for (TimeSparseArray<AtomicFile> files : mSortedStatFiles) { in init()201 mSortedStatFiles[UsageStatsManager.INTERVAL_DAILY]; in checkinDailyFiles()269 for (int i = 0; i < mSortedStatFiles.length; i++) { in indexFilesLocked()270 if (mSortedStatFiles[i] == null) { in indexFilesLocked()271 mSortedStatFiles[i] = new TimeSparseArray<>(); in indexFilesLocked()273 mSortedStatFiles[i].clear(); in indexFilesLocked()285 mSortedStatFiles[i].put(parseBeginTime(af), af); in indexFilesLocked()292 final int toDelete = mSortedStatFiles[i].size() - MAX_FILES_PER_INTERVAL_TYPE[i]; in indexFilesLocked()[all …]
641 final int numIntervals = mDatabase.mSortedStatFiles.length; in dumpFile()661 if (interval < 0 || interval >= mDatabase.mSortedStatFiles.length) { in dumpFile()688 final TimeSparseArray<AtomicFile> files = mDatabase.mSortedStatFiles[interval]; in dumpFileDetailsForInterval()
482 final int len = mUsageStatsDatabase.mSortedStatFiles.length;484 final TimeSparseArray<AtomicFile> files = mUsageStatsDatabase.mSortedStatFiles[i];