Home
last modified time | relevance | path

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

12

/packages/apps/Browser/src/com/android/browser/
DCrashRecoveryHandler.java93 File state = new File(mContext.getCacheDir(), STATE_FILE); in CrashRecoveryHandler()
161 File stateFile = new File(mContext.getCacheDir(), STATE_FILE); in loadCrashState()
230 File stateJournal = new File(mContext.getCacheDir(), in writeState()
235 File stateFile = new File(mContext.getCacheDir(), in writeState()
/packages/apps/UnifiedEmail/src/com/android/mail/providers/
DEmlAttachmentProvider.java476 Environment.DIRECTORY_DOWNLOADS).getAbsolutePath() : getCacheDir(); in getFilePath()
493 return getCacheDir() + "/" + Uri.encode(uri.getPathSegments().get(1)); in getCacheFileDirectory()
499 private String getCacheDir() { in getCacheDir() method in EmlAttachmentProvider
500 return getContext().getCacheDir().getAbsolutePath().concat("/eml"); in getCacheDir()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/
DBinaryDictDecoderEncoderTests.java273 getContext().getCacheDir()); in runReadAndWrite()
432 getContext().getCacheDir());
528 getContext().getCacheDir());
610 getContext().getCacheDir());
647 getContext().getCacheDir());
DVer2DictDecoderTests.java64 testFile = File.createTempFile(testName, ".tmp", getContext().getCacheDir()); in runTestOpenBuffer()
107 testFile = File.createTempFile(testName, ".tmp", getContext().getCacheDir()); in runTestGetBuffer()
/packages/apps/Settings/src/com/android/settings/users/
DEditUserPhotoController.java302 new File(mContext.getCacheDir(), TAKE_PICTURE_FILE_NAME).delete(); in onPhotoCropped()
303 new File(mContext.getCacheDir(), CROP_PICTURE_FILE_NAME).delete(); in onPhotoCropped()
321 final File folder = context.getCacheDir(); in createTempImageUri()
/packages/apps/Mms/src/com/android/mms/util/
DCacheManager.java52 : context.getCacheDir(); in getCache()
85 : context.getCacheDir(); in clear()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/debug/
DDataExporter.java100 return new File(context.getCacheDir(), DUMP_FILE_DIRECTORY_NAME); in getOutputDirectory()
150 if (child.equals(context.getCacheDir())) { in addDirectory()
/packages/apps/Email/tests/src/com/android/email/
DLegacyConversionsTest.java205 final File tempDir = context.getCacheDir(); in testAttachmentRoundTrip()
236 context.getCacheDir()); in testAttachmentRoundTrip()
/packages/apps/Email/provider_src/com/android/email/provider/
DAttachmentProvider.java84 final File[] files = getContext().getCacheDir().listFiles(); in onCreate()
176 File dir = getContext().getCacheDir(); in openFile()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DHelpers.java347 context.getCacheDir().getCanonicalFile(), in isFilenameValid()
384 return context.getCacheDir(); in getDestinationDirectory()
DDownloadIdleService.java170 fromDisk.addAll(listFilesRecursive(getCacheDir(), null, uid)); in cleanOrphans()
/packages/apps/UnifiedEmail/src/com/android/emailcommon/
DTempDirectory.java31 sTempDirectory = context.getCacheDir(); in setTempDirectory()
/packages/inputmethods/LatinIME/tools/dicttool/compat/android/test/
DAndroidTestCase.java31 public File getCacheDir() { in getCacheDir() method in AndroidTestCase
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DCacheStorageUsageInfo.java59 cacheDir = mContext.getCacheDir(); in loadStorageInfo()
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
DHelpersTest.java37 IoUtils.deleteContents(getContext().getCacheDir()); in tearDown()
DDownloadProviderFunctionalTest.java78 assertStartsWith(getContext().getCacheDir().getAbsolutePath(), in testDownloadToCache()
DAbstractDownloadProviderFunctionalTest.java156 System.setProperty("dexmaker.dexcache", getContext().getCacheDir().toString()); in setUp()
DStorageTest.java180 dirtyDir = getContext().getCacheDir(); in prepareAndRunDownload()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DTestUtils.java95 File file = File.createTempFile(prefix, suffix, context.getCacheDir()); in dumpToCacheDir()
DBaseVoicemailProviderTest.java107 File baseDirectory = getContext().getCacheDir();
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/
DBinaryDictionaryUtilsTests.java69 return new File(getContext().getCacheDir(), dictId + TEST_DICT_FILE_EXTENSION); in getDictFile()
/packages/apps/Contacts/src/com/android/contacts/util/
DContactPhotoUtils.java74 final File dir = context.getCacheDir(); in pathForTempPhoto()
/packages/apps/Launcher3/WallpaperPicker/src/com/android/launcher3/
DSavedWallpaperImages.java200 File oldSavedImagesFile = new File(context.getCacheDir(), in moveFromCacheDirectoryIfNecessary()
/packages/apps/Camera/tests/src/com/android/camera/activity/
DCameraTestCase.java117 return getInstrumentation().getTargetContext().getCacheDir(); in setUp()
/packages/apps/Camera2/tests_camera/src/com/android/camera/activity/
DCameraTestCase.java117 return getInstrumentation().getTargetContext().getCacheDir(); in setUp()

12