/frameworks/base/core/tests/coretests/src/android/content/pm/ |
D | AppCacheTest.java | 77 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/ |
D | ScriptC.java | 118 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/ |
D | BaseTest.java | 26 System.setProperty("dexmaker.dexcache", mContext.getCacheDir().getPath()); in setUp()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/ |
D | SysuiTestCase.java | 28 System.setProperty("dexmaker.dexcache", mContext.getCacheDir().getPath()); in setUp()
|
/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/ |
D | SettingsStateTest.java | 125 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/ |
D | TestUtils.java | 38 "}.zip", context.getCacheDir()); in createFileFromResource()
|
/frameworks/base/test-runner/src/android/test/ |
D | RenamingDelegatingContext.java | 230 public File getCacheDir() { in getCacheDir() method in RenamingDelegatingContext 233 mCacheDir = new File(mFileContext.getCacheDir(), renamedFileName("cache")); in getCacheDir()
|
D | InstrumentationCoreTestRunner.java | 61 File cacheDir = getTargetContext().getCacheDir(); in onCreate()
|
/frameworks/volley/src/main/java/com/android/volley/toolbox/ |
D | Volley.java | 43 File cacheDir = new File(context.getCacheDir(), DEFAULT_CACHE_DIR); in newRequestQueue()
|
/frameworks/rs/java/tests/HelloComputeNDK/src/com/example/android/rs/hellocomputendk/ |
D | HelloComputeNDK.java | 50 nativeMono(this.getCacheDir().toString(), in onCreate()
|
/frameworks/base/docs/html-intl/intl/ja/training/basics/data-storage/ |
D | files.jd | 140 <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/ |
D | files.jd | 140 <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/ |
D | files.jd | 140 <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/ |
D | files.jd | 140 <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/ |
D | files.jd | 140 <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/ |
D | redundant_redundant.jd | 63 <pre>Context.getCacheDir();</pre> 74 File httpCacheDir = new File(getCacheDir(), "http");
|
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/ |
D | MtpFileWriter.java | 39 final File tempFile = File.createTempFile("mtp", "tmp", context.getCacheDir()); in MtpFileWriter()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/ |
D | AccountManagerServiceTest.java | 443 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/ |
D | BackupAgent.java | 319 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/ |
D | UserManagerServiceTest.java | 42 restrictionsFile = new File(mContext.getCacheDir(), "restrictions.xml"); in setUp()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
D | NetworkManagementServiceTest.java | 54 System.setProperty("dexmaker.dexcache", getContext().getCacheDir().toString()); in setUp()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
D | ImageReaderTest.java | 53 System.setProperty("dexmaker.dexcache", getContext().getCacheDir().toString()); in setUp()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | DpmTestBase.java | 57 mRealTestContext, new File(mRealTestContext.getCacheDir(), "test-data")); in setUp()
|
/frameworks/base/packages/StatementService/src/com/android/statementservice/ |
D | DirectStatementService.java | 135 getCacheDir()); in onCreate()
|
/frameworks/base/core/tests/coretests/src/android/net/ |
D | NetworkScorerAppManagerTest.java | 51 getInstrumentation().getTargetContext().getCacheDir().getPath()); in setUp()
|