Home
last modified time | relevance | path

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

1234

/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/users/
DEditUserPhotoController.java347 new File(mContext.getCacheDir(), TAKE_PICTURE_FILE_NAME).delete(); in onPhotoCropped()
348 new File(mContext.getCacheDir(), CROP_PICTURE_FILE_NAME).delete(); in onPhotoCropped()
366 final File folder = context.getCacheDir(); in createTempImageUri()
381 File file = new File(mContext.getCacheDir(), NEW_USER_PHOTO_FILE_NAME); in saveNewUserPhotoBitmap()
398 new File(mContext.getCacheDir(), NEW_USER_PHOTO_FILE_NAME).delete(); in removeNewUserPhotoBitmapFile()
/packages/apps/Settings/src/com/android/settings/users/
DEditUserPhotoController.java334 new File(mContext.getCacheDir(), TAKE_PICTURE_FILE_NAME).delete(); in onPhotoCropped()
335 new File(mContext.getCacheDir(), CROP_PICTURE_FILE_NAME).delete(); in onPhotoCropped()
353 final File folder = context.getCacheDir(); in createTempImageUri()
367 File file = new File(mContext.getCacheDir(), NEW_USER_PHOTO_FILE_NAME); in saveNewUserPhotoBitmap()
384 new File(mContext.getCacheDir(), NEW_USER_PHOTO_FILE_NAME).delete(); in removeNewUserPhotoBitmapFile()
/packages/apps/EmergencyInfo/src/com/android/emergency/preferences/
DEditUserPhotoController.java342 new File(mContext.getCacheDir(), TAKE_PICTURE_FILE_NAME).delete(); in onPhotoCropped()
343 new File(mContext.getCacheDir(), CROP_PICTURE_FILE_NAME).delete(); in onPhotoCropped()
361 final File folder = context.getCacheDir(); in createTempImageUri()
375 File file = new File(mContext.getCacheDir(), NEW_USER_PHOTO_FILE_NAME); in saveNewUserPhotoBitmap()
392 new File(mContext.getCacheDir(), NEW_USER_PHOTO_FILE_NAME).delete(); in removeNewUserPhotoBitmapFile()
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/legal/
DModuleLicenseProviderTest.java330 new File(context.getCacheDir() + "/" + PACKAGE_NAME, LICENSE_FILE_NAME).delete(); in isCachedHtmlFileOutdated_fileDoesNotExist_returnTrue()
352 new File(context.getCacheDir(), PACKAGE_NAME).mkdir(); in isCachedHtmlFileOutdated_fileIsEmpty_returnTrue()
353 File file = new File(context.getCacheDir() + "/" + PACKAGE_NAME, LICENSE_FILE_NAME); in isCachedHtmlFileOutdated_fileIsEmpty_returnTrue()
377 new File(context.getCacheDir(), PACKAGE_NAME).mkdir(); in isCachedHtmlFileOutdated_notOutdated_returnFalse()
378 File file = new File(context.getCacheDir() + "/" + PACKAGE_NAME, LICENSE_FILE_NAME); in isCachedHtmlFileOutdated_notOutdated_returnFalse()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/
DBinaryDictDecoderEncoderTests.java243 getContext().getCacheDir()); in runReadAndWrite()
285 BinaryDictUtils.STATIC_OPTIONS, getContext().getCacheDir()); in testCharacterTableIsPresent()
436 getContext().getCacheDir());
532 getContext().getCacheDir());
612 getContext().getCacheDir());
637 getContext().getCacheDir());
/packages/apps/Contacts/src/com/android/contacts/vcard/
DShareVCardActivity.java79 for (File file : getCacheDir().listFiles()) { in clearExportFiles()
91 return new File(getCacheDir(), localFilename); in getLocalFile()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DTestUtils.java67 final File path = new File(context.getCacheDir(), "test-db"); in getDatabaseFile()
111 final File toDir = new File(context.getCacheDir(), "snapshot-" + name); in createDatabaseSnapshot()
216 File file = File.createTempFile(prefix, suffix, context.getCacheDir()); in dumpToCacheDir()
DRenamingDelegatingContext.java237 public File getCacheDir() { in getCacheDir() method in RenamingDelegatingContext
240 mCacheDir = new File(mFileContext.getCacheDir(), renamedFileName("cache")); in getCacheDir()
DCallLogMigrationTest.java50 final File sourceDbFile = new File(getTestContext().getCacheDir(), "contacts2src.db"); in testMigration()
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/archives/
DTestUtils.java49 "}.zip", mTargetContext.getCacheDir()); in createTemporaryFile()
60 "}.zip", mTargetContext.getCacheDir()); in getSeekableDescriptor()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/cluster/
DClusterContentProvider.java59 getContext().getCacheDir() + File.separator + uri.getLastPathSegment()); in openFile()
78 getContext().getCacheDir() + File.separator + uri.getLastPathSegment()); in openFile()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/debug/
DDataExporter.java97 return new File(context.getCacheDir(), DUMP_FILE_DIRECTORY_NAME); in getOutputDirectory()
147 if (child.equals(context.getCacheDir())) { in addDirectory()
/packages/apps/Settings/src/com/android/settings/deviceinfo/legal/
DModuleLicenseProvider.java179 return new File(context.getCacheDir(), packageName); in getCachedFileDirectory()
183 return new File(context.getCacheDir() + "/" + packageName, LICENSE_FILE_NAME); in getCachedHtmlFile()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/
DImageActionUtils.java121 File parent = new File(context.getCacheDir(), SUB_FOLDER); in getImageUri()
188 File parent = new File(context.getCacheDir(), SUB_FOLDER); in clearOldCacheFiles()
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/
DTempDirectory.java29 tempDirectory = context.getCacheDir(); in setTempDirectory()
/packages/inputmethods/LatinIME/tools/dicttool/compat/android/test/
DAndroidTestCase.java31 public File getCacheDir() { in getCacheDir() method in AndroidTestCase
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DMockitoHelper.java35 String dexCache = context.getCacheDir().toString(); in setUp()
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
DHelpersTest.java83 IoUtils.deleteContents(getContext().getCacheDir()); in tearDown()
299 final File file = new File(getContext().getCacheDir(), fileName); in prepareData()
/packages/apps/TV/tuner/tests/unittests/javatests/com/android/tv/tuner/
DZappingTimeTest.java107 mTrickplayBufferDir = mTargetContext.getCacheDir(); in setUp()
267 File cacheFile = new File(targetContext.getCacheDir(), filename); in createCacheFile()
DZappingTimeTestExoV2.java107 mTrickplayBufferDir = mTargetContext.getCacheDir(); in setUp()
267 File cacheFile = new File(targetContext.getCacheDir(), filename); in createCacheFile()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DCacheStorageUsageInfo.java59 cacheDir = mContext.getCacheDir(); in loadStorageInfo()
/packages/apps/Messaging/tests/src/com/android/messaging/
DTestUtil.java45 context.getCacheDir().getPath()); in testSetup()
/packages/apps/Messaging/src/com/android/messaging/datamodel/
DMmsFileProvider.java84 return new File(context.getCacheDir(), RAW_MMS_DIR); in getDirectory()
/packages/apps/Car/Settings/src/com/android/car/settings/system/
DLicenseHtmlLoader.java81 return new File(mContext.getCacheDir(), NOTICE_HTML_FILE_NAME); in getCachedHtmlFile()
/packages/apps/Settings/tests/unit/src/com/android/settings/
DUtilsTest.java44 System.setProperty("dexmaker.dexcache", getContext().getCacheDir().toString()); in setUp()

1234