Searched refs:cacheFile (Results 1 – 3 of 3) sorted by relevance
1069 protected static native void setupShadersDiskCache(String cacheFile, String skiaCacheFile); in setupShadersDiskCache() argument
1152 private static boolean isCacheUpToDate(File packageFile, File cacheFile) { in isCacheUpToDate() argument1158 final StructStat cache = android.system.Os.stat(cacheFile.getAbsolutePath()); in isCacheUpToDate()1189 final File cacheFile = new File(mCacheDir, cacheKey); in getCachedResult() local1193 if (!isCacheUpToDate(packageFile, cacheFile)) { in getCachedResult()1197 final byte[] bytes = IoUtils.readFileAsByteArray(cacheFile.getAbsolutePath()); in getCachedResult()1204 if (!isCacheUpToDate(new File(overlayApk), cacheFile)) { in getCachedResult()1216 cacheFile.delete(); in getCachedResult()1231 final File cacheFile = new File(mCacheDir, cacheKey); in cacheResult() local1233 if (cacheFile.exists()) { in cacheResult()1234 if (!cacheFile.delete()) { in cacheResult()[all …]
787 final File cacheFile = new File(getRingtoneCacheDir(actualCacheOwner), cacheName); in openFile() local788 return ParcelFileDescriptor.open(cacheFile, ParcelFileDescriptor.parseMode(mode)); in openFile()1741 final File cacheFile = new File(1743 cacheFile.delete();