Home
last modified time | relevance | path

Searched refs:cacheFile (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/graphics/java/android/graphics/
DHardwareRenderer.java1069 protected static native void setupShadersDiskCache(String cacheFile, String skiaCacheFile); in setupShadersDiskCache() argument
/frameworks/base/core/java/android/content/pm/
DPackageParser.java1152 private static boolean isCacheUpToDate(File packageFile, File cacheFile) { in isCacheUpToDate() argument
1158 final StructStat cache = android.system.Os.stat(cacheFile.getAbsolutePath()); in isCacheUpToDate()
1189 final File cacheFile = new File(mCacheDir, cacheKey); in getCachedResult() local
1193 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() local
1233 if (cacheFile.exists()) { in cacheResult()
1234 if (!cacheFile.delete()) { in cacheResult()
[all …]
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsProvider.java787 final File cacheFile = new File(getRingtoneCacheDir(actualCacheOwner), cacheName); in openFile() local
788 return ParcelFileDescriptor.open(cacheFile, ParcelFileDescriptor.parseMode(mode)); in openFile()
1741 final File cacheFile = new File(
1743 cacheFile.delete();