Searched refs:mSortedStatFiles (Results 1 – 3 of 3) sorted by relevance
122 final LongSparseArray<AtomicFile>[] mSortedStatFiles; field in UsageStatsDatabase159 mSortedStatFiles = new LongSparseArray[mIntervalDirs.length]; in UsageStatsDatabase()190 for (LongSparseArray<AtomicFile> files : mSortedStatFiles) { in init()226 mSortedStatFiles[UsageStatsManager.INTERVAL_DAILY]; in checkinDailyFiles()294 for (int i = 0; i < mSortedStatFiles.length; i++) { in indexFilesLocked()295 if (mSortedStatFiles[i] == null) { in indexFilesLocked()296 mSortedStatFiles[i] = new LongSparseArray<>(); in indexFilesLocked()298 mSortedStatFiles[i].clear(); in indexFilesLocked()310 mSortedStatFiles[i].put(parseBeginTime(af), af); in indexFilesLocked()317 final int toDelete = mSortedStatFiles[i].size() - MAX_FILES_PER_INTERVAL_TYPE[i]; in indexFilesLocked()[all …]
1008 final int numIntervals = mDatabase.mSortedStatFiles.length; in dumpFile()1028 if (interval < 0 || interval >= mDatabase.mSortedStatFiles.length) { in dumpFile()1055 final LongSparseArray<AtomicFile> files = mDatabase.mSortedStatFiles[interval]; in dumpFileDetailsForInterval()
594 final int len = mUsageStatsDatabase.mSortedStatFiles.length; in testMaxFiles()596 final LongSparseArray<AtomicFile> files = mUsageStatsDatabase.mSortedStatFiles[i]; in testMaxFiles()