Home
last modified time | relevance | path

Searched refs:ConcreteFile (Results 1 – 2 of 2) sorted by relevance

/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DStorageUtils.java148 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 StorageUtils
241 public ConcreteFile(File file) throws ErrnoException { in ConcreteFile() method in StorageUtils.ConcreteFile
256 if (o instanceof ConcreteFile) { in equals()
[all …]
DDownloadIdleService.java39 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()