Home
last modified time | relevance | path

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

123

/frameworks/base/core/tests/coretests/src/android/content/pm/
DAppCacheTest.java77 File testDir = mContext.getCacheDir(); in cleanUpCacheDirectory()
130 File cacheDir = mContext.getCacheDir(); in testFreeApplicationCacheAllFiles()
147 File cacheDir = mContext.getCacheDir(); in testFreeApplicationCacheSomeFiles()
224 File file = new File(con.getCacheDir(), fileName); in testAppCacheCreateFile()
231 File cacheDir = mContext.getCacheDir(); in testAppCreateCacheFiles()
291 File testDir = new File(mContext.getCacheDir(), testDirName); in testAppCacheClear()
543 File cacheDir = mContext.getCacheDir(); in testDeleteAppCacheFiles()
649 File cacheDir = mContext.getCacheDir(); in testFreeStorage()
733 File cacheDir = mContext.getCacheDir(); in testClearApplicationUserDataWithTestData()
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
DScriptC.java118 String cachePath = rs.getApplicationContext().getCacheDir().toString(); in internalCreate()
127 String cachePath = rs.getApplicationContext().getCacheDir().toString(); in internalStringCreate()
/frameworks/base/packages/SettingsLib/tests/src/com/android/settingslib/
DBaseTest.java26 System.setProperty("dexmaker.dexcache", mContext.getCacheDir().getPath()); in setUp()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/
DSysuiTestCase.java28 System.setProperty("dexmaker.dexcache", mContext.getCacheDir().getPath()); in setUp()
/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/
DSettingsStateTest.java125 final File file = new File(getContext().getCacheDir(), "setting.xml"); in testReadWrite()
155 final File file = new File(getContext().getCacheDir(), "setting.xml"); in testUpgrade()
/frameworks/support/documents-archive/tests/src/android/support/provider/
DTestUtils.java38 "}.zip", context.getCacheDir()); in createFileFromResource()
/frameworks/base/test-runner/src/android/test/
DRenamingDelegatingContext.java230 public File getCacheDir() { in getCacheDir() method in RenamingDelegatingContext
233 mCacheDir = new File(mFileContext.getCacheDir(), renamedFileName("cache")); in getCacheDir()
DInstrumentationCoreTestRunner.java61 File cacheDir = getTargetContext().getCacheDir(); in onCreate()
/frameworks/volley/src/main/java/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.java50 nativeMono(this.getCacheDir().toString(), in onCreate()
/frameworks/base/docs/html-intl/intl/ja/training/basics/data-storage/
Dfiles.jd140 <dt>{@link android.content.Context#getCacheDir}</dt>
185 file = File.createTempFile(fileName, null, context.getCacheDir());
376 {@link android.content.Context#getCacheDir()} で作成されたすべてのキャッシュ済みファイルを手動で削除し、必要なくなったファイルも定期的に削除する必要があ…
/frameworks/base/docs/html-intl/intl/zh-tw/training/basics/data-storage/
Dfiles.jd140 <dt>{@link android.content.Context#getCacheDir}</dt>
185 file = File.createTempFile(fileName, null, context.getCacheDir());
375 <p>但是,您應定期手動刪除使用 {@link android.content.Context#getCacheDir()} 建立的所有快取檔案,並定期刪除不再需要的其他檔案。
/frameworks/base/docs/html-intl/intl/ko/training/basics/data-storage/
Dfiles.jd140 <dt>{@link android.content.Context#getCacheDir}</dt>
185 file = File.createTempFile(fileName, null, context.getCacheDir());
376 {@link android.content.Context#getCacheDir()}로 생성된 모든 캐시 파일과 더 이상 필요치 않은
/frameworks/base/docs/html-intl/intl/ru/training/basics/data-storage/
Dfiles.jd140 <dt>{@link android.content.Context#getCacheDir}</dt>
185 file = File.createTempFile(fileName, null, context.getCacheDir());
376 {@link android.content.Context#getCacheDir()}, а также удалять любые
/frameworks/base/docs/html-intl/intl/zh-cn/training/basics/data-storage/
Dfiles.jd140 <dt>{@link android.content.Context#getCacheDir}</dt>
185 file = File.createTempFile(fileName, null, context.getCacheDir());
376 {@link android.content.Context#getCacheDir()} 定期创建的所有缓存文件并且定期删除不再需要的其他文件。
/frameworks/base/docs/html/training/efficient-downloads/
Dredundant_redundant.jd63 <pre>Context.getCacheDir();</pre>
74 File httpCacheDir = new File(getCacheDir(), "http");
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/
DMtpFileWriter.java39 final File tempFile = File.createTempFile("mtp", "tmp", context.getCacheDir()); in MtpFileWriter()
/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/
DAccountManagerServiceTest.java443 return new File(mRealTestContext.getCacheDir(), CE_DB).getPath(); in getCeDatabaseName()
448 return new File(mRealTestContext.getCacheDir(), DE_DB).getPath(); in getDeDatabaseName()
453 return new File(mRealTestContext.getCacheDir(), PREN_DB).getPath(); in getPreNDatabaseName()
/frameworks/base/core/java/android/app/backup/
DBackupAgent.java319 final String cacheDir = ceContext.getCacheDir().getCanonicalPath(); in onFullBackup()
330 final String deviceCacheDir = deContext.getCacheDir().getCanonicalPath(); in onFullBackup()
533 cacheDir = ceContext.getCacheDir().getCanonicalPath(); in fullBackupFile()
543 deviceCacheDir = deContext.getCacheDir().getCanonicalPath(); in fullBackupFile()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserManagerServiceTest.java42 restrictionsFile = new File(mContext.getCacheDir(), "restrictions.xml"); in setUp()
/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/services/tests/servicestests/src/com/android/server/devicepolicy/
DDpmTestBase.java57 mRealTestContext, new File(mRealTestContext.getCacheDir(), "test-data")); in setUp()
/frameworks/base/packages/StatementService/src/com/android/statementservice/
DDirectStatementService.java135 getCacheDir()); in onCreate()
/frameworks/base/core/tests/coretests/src/android/net/
DNetworkScorerAppManagerTest.java51 getInstrumentation().getTargetContext().getCacheDir().getPath()); in setUp()

123