Searched refs:ConcreteFile (Results 1 – 2 of 2) sorted by relevance
148 final List<ConcreteFile> files = listFilesRecursive( in freeCacheStorage()154 Collections.sort(files, new Comparator<ConcreteFile>() { in freeCacheStorage()156 public int compare(ConcreteFile lhs, ConcreteFile rhs) { in freeCacheStorage()162 for (ConcreteFile file : files) { in freeCacheStorage()205 static List<ConcreteFile> listFilesRecursive(File startDir, String exclude, int uid) { in listFilesRecursive()206 final ArrayList<ConcreteFile> files = Lists.newArrayList(); in listFilesRecursive()221 final ConcreteFile file = new ConcreteFile(child); in listFilesRecursive()237 static class ConcreteFile { class in StorageUtils241 public ConcreteFile(File file) throws ErrnoException { in ConcreteFile() method in StorageUtils.ConcreteFile256 if (o instanceof ConcreteFile) { in equals()[all …]
39 import com.android.providers.downloads.StorageUtils.ConcreteFile;155 final HashSet<ConcreteFile> fromDb = Sets.newHashSet(); in cleanOrphans()165 fromDb.add(new ConcreteFile(file)); in cleanOrphans()188 final ArrayList<ConcreteFile> fromDisk = Lists.newArrayList(); in cleanOrphans()197 for (ConcreteFile file : fromDisk) { in cleanOrphans()