Home
last modified time | relevance | path

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

1234

/packages/modules/OnDevicePersonalization/pluginlib/src/com/android/ondevicepersonalization/libraries/plugin/internal/
DPluginArchiveManager.java87 return new File(mApplicationContext.getCacheDir(), filename); in createArchiveFileInCacheDir()
320 File pluginInCacheDir = new File(mApplicationContext.getCacheDir(), pluginArchive); in copyPluginToCacheDir()
321 File checksumInCacheDir = new File(mApplicationContext.getCacheDir(), checksumFile); in copyPluginToCacheDir()
345 File pluginInCacheDir = new File(mApplicationContext.getCacheDir(), pluginArchive); in canReusePluginInCacheDir()
353 new File(mApplicationContext.getCacheDir(), checksumFile)); in canReusePluginInCacheDir()
/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/apps/Settings/tests/unit/src/com/android/settings/deviceinfo/legal/
DModuleLicenseProviderTest.java326 new File(context.getCacheDir() + "/" + PACKAGE_NAME, LICENSE_FILE_NAME).delete(); in isCachedHtmlFileOutdated_fileDoesNotExist_returnTrue()
348 new File(context.getCacheDir(), PACKAGE_NAME).mkdir(); in isCachedHtmlFileOutdated_fileIsEmpty_returnTrue()
349 File file = new File(context.getCacheDir() + "/" + PACKAGE_NAME, LICENSE_FILE_NAME); in isCachedHtmlFileOutdated_fileIsEmpty_returnTrue()
373 new File(context.getCacheDir(), PACKAGE_NAME).mkdir(); in isCachedHtmlFileOutdated_notOutdated_returnFalse()
374 File file = new File(context.getCacheDir() + "/" + PACKAGE_NAME, LICENSE_FILE_NAME); in isCachedHtmlFileOutdated_notOutdated_returnFalse()
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/archives/
DTestUtils.java49 "}.zip", mTargetContext.getCacheDir()); in createTemporaryFile()
60 "}.zip", mTargetContext.getCacheDir()); in getSeekableDescriptor()
/packages/apps/EmergencyInfo/src/com/android/emergency/preferences/
DEditUserPhotoController.java367 new File(mContext.getCacheDir(), TAKE_PICTURE_FILE_NAME).delete(); in onPhotoCropped()
368 new File(mContext.getCacheDir(), CROP_PICTURE_FILE_NAME).delete(); in onPhotoCropped()
386 final File folder = context.getCacheDir(); in createTempImageUri()
400 File file = new File(mContext.getCacheDir(), NEW_USER_PHOTO_FILE_NAME); in saveNewUserPhotoBitmap()
417 new File(mContext.getCacheDir(), NEW_USER_PHOTO_FILE_NAME).delete(); in removeNewUserPhotoBitmapFile()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/cluster/
DClusterContentProvider.java59 getContext().getCacheDir() + File.separator + uri.getLastPathSegment()); in openFile()
76 getContext().getCacheDir() + File.separator + uri.getLastPathSegment()); in openFile()
/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()
/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/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/
DBinaryDictDecoderEncoderTests.java241 getContext().getCacheDir()); in runReadAndWrite()
283 BinaryDictUtils.STATIC_OPTIONS, getContext().getCacheDir()); in testCharacterTableIsPresent()
434 getContext().getCacheDir());
530 getContext().getCacheDir());
610 getContext().getCacheDir());
635 getContext().getCacheDir());
/packages/modules/OnDevicePersonalization/federatedcompute/src/com/android/federatedcompute/services/training/jni/
DSimpleTaskEnvironment.java37 String getCacheDir(); in getCacheDir() method
DSimpleTaskEnvironmentImpl.java54 public String getCacheDir() { in getCacheDir() method in SimpleTaskEnvironmentImpl
/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/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/services/Telecomm/tests/src/com/android/server/telecom/tests/
DMockitoHelper.java35 String dexCache = context.getCacheDir().toString(); in setUp()
/packages/modules/AppSearch/framework/java/external/android/app/appsearch/
DAppSearchEnvironment.java66 File getCacheDir(@NonNull Context context); in getCacheDir() method
/packages/apps/Messaging/tests/src/com/android/messaging/
DTestUtil.java45 context.getCacheDir().getPath()); in testSetup()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DCacheStorageUsageInfo.java59 cacheDir = mContext.getCacheDir(); in loadStorageInfo()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/finalization/
DDpcReceivedSuccessReceiverTest.java53 System.setProperty("dexmaker.dexcache", getContext().getCacheDir().toString()); in setUp()
/packages/apps/Messaging/src/com/android/messaging/datamodel/
DMmsFileProvider.java84 return new File(context.getCacheDir(), RAW_MMS_DIR); in getDirectory()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/parser/
DMessageParserTest.java56 System.setProperty("dexmaker.dexcache", getContext().getCacheDir().toString()); in setUp()
/packages/modules/OnDevicePersonalization/tests/federatedcomputetests/src/com/android/federatedcompute/services/training/jni/
DSimpleTaskEnvironmentImplTest.java71 assertThrows(UnsupportedOperationException.class, () -> mNativeRunnerDeps.getCacheDir()); in testGetCacheDir()
/packages/modules/AppSearch/framework/java/android/app/appsearch/
DFrameworkAppSearchEnvironment.java93 public File getCacheDir(@NonNull Context context) { in getCacheDir() method in FrameworkAppSearchEnvironment
/packages/apps/Car/Settings/src/com/android/car/settings/system/
DLicenseHtmlLoader.java87 return new File(mContext.getCacheDir(), NOTICE_HTML_FILE_NAME); in getCachedHtmlFile()

1234