Searched refs:cacheFile (Results 1 – 3 of 3) sorted by relevance
1069 protected static native void setupShadersDiskCache(String cacheFile, String skiaCacheFile); in setupShadersDiskCache() argument
1108 private static boolean isCacheUpToDate(File packageFile, File cacheFile) { in isCacheUpToDate() argument1114 final StructStat cache = android.system.Os.stat(cacheFile.getAbsolutePath()); in isCacheUpToDate()1145 final File cacheFile = new File(mCacheDir, cacheKey); in getCachedResult() local1149 if (!isCacheUpToDate(packageFile, cacheFile)) { in getCachedResult()1153 final byte[] bytes = IoUtils.readFileAsByteArray(cacheFile.getAbsolutePath()); in getCachedResult()1160 if (!isCacheUpToDate(new File(overlayApk), cacheFile)) { in getCachedResult()1172 cacheFile.delete(); in getCachedResult()1187 final File cacheFile = new File(mCacheDir, cacheKey); in cacheResult() local1189 if (cacheFile.exists()) { in cacheResult()1190 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()1733 final File cacheFile = new File(1735 cacheFile.delete();