Home
last modified time | relevance | path

Searched refs:getCacheDir (Results 1 – 25 of 29) 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/volley/src/com/android/volley/toolbox/
DVolley.java43 File cacheDir = new File(context.getCacheDir(), DEFAULT_CACHE_DIR); in newRequestQueue()
/frameworks/rs/java/tests/HelloComputeNDK/src/com/example/android/rs/hellocomputendk/
DHelloComputeNDK.java51 nativeMono(this.getCacheDir().toString(), in onCreate()
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
DScriptC.java105 String cachePath = rs.getApplicationContext().getCacheDir().toString(); in internalCreate()
/frameworks/base/docs/html/training/efficient-downloads/
Dredundant_redundant.jd63 <pre>Context.getCacheDir();</pre>
74 File httpCacheDir = new File(getCacheDir(), "http");
/frameworks/base/core/java/android/app/backup/
DBackupAgent.java287 String cacheDir = getCacheDir().getCanonicalPath(); in onFullBackup()
369 cacheDir = getCacheDir().getCanonicalPath(); in fullBackupFile()
536 basePath = getCacheDir().getCanonicalPath(); in onRestoreFile()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DNetworkManagementServiceTest.java54 System.setProperty("dexmaker.dexcache", getContext().getCacheDir().toString()); in setUp()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DImageReaderTest.java53 System.setProperty("dexmaker.dexcache", getContext().getCacheDir().toString()); in setUp()
/frameworks/base/core/tests/coretests/src/android/net/
DNetworkScorerAppManagerTest.java50 getInstrumentation().getTargetContext().getCacheDir().getPath()); in setUp()
/frameworks/base/core/java/android/content/
DContextWrapper.java231 public File getCacheDir() { in getCacheDir() method in ContextWrapper
232 return mBase.getCacheDir(); in getCacheDir()
DContext.java870 public abstract File getCacheDir(); in getCacheDir() method in Context
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DNetworkControllerBaseTest.java61 System.setProperty("dexmaker.dexcache", mContext.getCacheDir().getPath()); in setUp()
/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/support/tests/java/android/support/v4/content/
DFileProviderTest.java311 buildPath(mContext.getCacheDir(), "up", "down")); in testMetaDataTargets()
/frameworks/support/v4/java/android/support/v4/content/
DFileProvider.java581 target = buildPath(context.getCacheDir(), path); in parsePathStrategy()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/integration/
DCameraDeviceBinderTest.java190 System.setProperty("dexmaker.dexcache", getContext().getCacheDir().toString()); in setUp()
/frameworks/base/test-runner/src/android/test/mock/
DMockContext.java194 public File getCacheDir() { in getCacheDir() method in MockContext
/frameworks/base/docs/html/training/volley/
Drequestqueue.jd80 Cache cache = new DiskBasedCache(getCacheDir(), 1024 * 1024); // 1MB cap
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgeContext.java1097 public File getCacheDir() { in getCacheDir() method in BridgeContext
/frameworks/base/docs/html/training/displaying-bitmaps/
Dcache-bitmap.jd286 context.getCacheDir().getPath();
/frameworks/base/docs/html/guide/topics/data/
Ddata-storage.jd202 android.content.Context#getCacheDir()} to open a {@link
/frameworks/base/docs/html/about/versions/
Dandroid-4.2.jd341 android.content.Context#getCacheDir()}, or {@link android.content.Context#openFileOutput
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
DPrintActivity.java2456 mContext.getCacheDir()); in doTransform()

12