Home
last modified time | relevance | path

Searched refs:getCacheDir (Results 1 – 25 of 28) sorted by relevance

12

/frameworks/base/core/tests/coretests/src/android/content/pm/
DAppCacheTest.java76 File testDir = mContext.getCacheDir(); in cleanUpCacheDirectory()
128 File cacheDir = mContext.getCacheDir(); in testFreeApplicationCacheAllFiles()
145 File cacheDir = mContext.getCacheDir(); in testFreeApplicationCacheSomeFiles()
222 File file = new File(con.getCacheDir(), fileName); in testAppCacheCreateFile()
229 File cacheDir = mContext.getCacheDir(); in testAppCreateCacheFiles()
289 File testDir = new File(mContext.getCacheDir(), testDirName); in testAppCacheClear()
541 File cacheDir = mContext.getCacheDir(); in testDeleteAppCacheFiles()
647 File cacheDir = mContext.getCacheDir(); in testFreeStorage()
731 File cacheDir = mContext.getCacheDir(); in testClearApplicationUserDataWithTestData()
/frameworks/base/test-runner/src/android/test/
DRenamingDelegatingContext.java226 public File getCacheDir() { in getCacheDir() method in RenamingDelegatingContext
229 mCacheDir = new File(mFileContext.getCacheDir(), renamedFileName("cache")); in getCacheDir()
DInstrumentationCoreTestRunner.java66 File cacheDir = getTargetContext().getCacheDir(); in onCreate()
/frameworks/base/core/java/android/app/backup/
DBackupAgent.java226 String cacheDir = getCacheDir().getCanonicalPath(); in onFullBackup()
286 cacheDir = getCacheDir().getCanonicalPath(); in fullBackupFile()
440 basePath = getCacheDir().getCanonicalPath(); in onRestoreFile()
/frameworks/support/renderscript/v8/java/src/android/support/v8/renderscript/
DScriptC.java96 String cachePath = rs.getApplicationContext().getCacheDir().toString(); in internalCreate()
/frameworks/base/core/java/android/webkit/
DJniUtil.java82 File cacheDir = sContext.getCacheDir(); in getCacheDirectory()
DCacheManager.java251 mBaseDir = new File(context.getCacheDir(), "webviewCacheChromiumStaging"); in init()
/frameworks/base/core/java/android/content/
DContextWrapper.java207 public File getCacheDir() { in getCacheDir() method in ContextWrapper
208 return mBase.getCacheDir(); in getCacheDir()
DContext.java677 public abstract File getCacheDir(); in getCacheDir() method in Context
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/
DLoadTestsAutoTest.java275 File cacheDir = targetContext.getCacheDir(); in copyRunnerAssetsToCache()
DLayoutTestsAutoTest.java471 File cacheDir = targetContext.getCacheDir(); in copyResultsAndRunnerAssetsToCache()
DTestShellActivity.java866 settings.setAppCachePath(getApplicationContext().getCacheDir().getPath()); in setDefaultWebSettings()
/frameworks/base/docs/html/training/efficient-downloads/
Dredundant_redundant.jd74 File httpCacheDir = new File(getCacheDir(), "http");
/frameworks/base/docs/html/training/basics/data-storage/
Dfiles.jd143 <dt>{@link android.content.Context#getCacheDir}</dt>
188 file = File.createTempFile(fileName, null, context.getCacheDir());
379 {@link android.content.Context#getCacheDir()} on a regular basis and also regularly delete
/frameworks/base/test-runner/src/android/test/mock/
DMockContext.java176 public File getCacheDir() { in getCacheDir() method in MockContext
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/
DLayoutTestsExecutor.java371 webViewSettings.setAppCachePath(getApplicationContext().getCacheDir().getPath()); in setupWebView()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgeContext.java1015 public File getCacheDir() { in getCacheDir() method in BridgeContext
/frameworks/base/docs/html/training/displaying-bitmaps/
Dcache-bitmap.jd290 context.getCacheDir().getPath();
/frameworks/base/docs/html/guide/topics/data/
Ddata-storage.jd201 android.content.Context#getCacheDir()} to open a {@link
/frameworks/base/core/java/android/app/
DContextImpl.java789 public File getCacheDir() { in getCacheDir() method in ContextImpl
DActivityThread.java4220 final File cacheDir = appContext.getCacheDir(); in handleBindApplication()
/frameworks/base/docs/html/about/versions/
Dandroid-4.2.jd326 android.content.Context#getCacheDir()}, or {@link android.content.Context#openFileOutput
/frameworks/base/services/java/com/android/server/
DConnectivityService.java634 new ContextWrapper(context).getCacheDir().getAbsolutePath(), in makeWimaxStateTracker()
/frameworks/base/api/
D14.txt5023 method public abstract java.io.File getCacheDir();
5157 method public java.io.File getCacheDir();
19607 method public java.io.File getCacheDir();
D15.txt5032 method public abstract java.io.File getCacheDir();
5166 method public java.io.File getCacheDir();
19748 method public java.io.File getCacheDir();

12