/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/users/ |
D | EditUserPhotoController.java | 347 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/ |
D | EditUserPhotoController.java | 334 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/ |
D | EditUserPhotoController.java | 342 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/ |
D | ModuleLicenseProviderTest.java | 330 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/ |
D | BinaryDictDecoderEncoderTests.java | 243 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/ |
D | ShareVCardActivity.java | 79 for (File file : getCacheDir().listFiles()) { in clearExportFiles() 91 return new File(getCacheDir(), localFilename); in getLocalFile()
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | TestUtils.java | 67 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()
|
D | RenamingDelegatingContext.java | 237 public File getCacheDir() { in getCacheDir() method in RenamingDelegatingContext 240 mCacheDir = new File(mFileContext.getCacheDir(), renamedFileName("cache")); in getCacheDir()
|
D | CallLogMigrationTest.java | 50 final File sourceDbFile = new File(getTestContext().getCacheDir(), "contacts2src.db"); in testMigration()
|
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/archives/ |
D | TestUtils.java | 49 "}.zip", mTargetContext.getCacheDir()); in createTemporaryFile() 60 "}.zip", mTargetContext.getCacheDir()); in getSeekableDescriptor()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/cluster/ |
D | ClusterContentProvider.java | 59 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/ |
D | DataExporter.java | 97 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/ |
D | ModuleLicenseProvider.java | 179 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/ |
D | ImageActionUtils.java | 121 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/ |
D | TempDirectory.java | 29 tempDirectory = context.getCacheDir(); in setTempDirectory()
|
/packages/inputmethods/LatinIME/tools/dicttool/compat/android/test/ |
D | AndroidTestCase.java | 31 public File getCacheDir() { in getCacheDir() method in AndroidTestCase
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | MockitoHelper.java | 35 String dexCache = context.getCacheDir().toString(); in setUp()
|
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/ |
D | HelpersTest.java | 83 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/ |
D | ZappingTimeTest.java | 107 mTrickplayBufferDir = mTargetContext.getCacheDir(); in setUp() 267 File cacheFile = new File(targetContext.getCacheDir(), filename); in createCacheFile()
|
D | ZappingTimeTestExoV2.java | 107 mTrickplayBufferDir = mTargetContext.getCacheDir(); in setUp() 267 File cacheFile = new File(targetContext.getCacheDir(), filename); in createCacheFile()
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
D | CacheStorageUsageInfo.java | 59 cacheDir = mContext.getCacheDir(); in loadStorageInfo()
|
/packages/apps/Messaging/tests/src/com/android/messaging/ |
D | TestUtil.java | 45 context.getCacheDir().getPath()); in testSetup()
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/ |
D | MmsFileProvider.java | 84 return new File(context.getCacheDir(), RAW_MMS_DIR); in getDirectory()
|
/packages/apps/Car/Settings/src/com/android/car/settings/system/ |
D | LicenseHtmlLoader.java | 81 return new File(mContext.getCacheDir(), NOTICE_HTML_FILE_NAME); in getCachedHtmlFile()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/ |
D | UtilsTest.java | 44 System.setProperty("dexmaker.dexcache", getContext().getCacheDir().toString()); in setUp()
|