/packages/modules/OnDevicePersonalization/pluginlib/src/com/android/ondevicepersonalization/libraries/plugin/internal/ |
D | PluginArchiveManager.java | 87 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/ |
D | ShareVCardActivity.java | 79 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/ |
D | ModuleLicenseProviderTest.java | 326 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/ |
D | TestUtils.java | 49 "}.zip", mTargetContext.getCacheDir()); in createTemporaryFile() 60 "}.zip", mTargetContext.getCacheDir()); in getSeekableDescriptor()
|
/packages/apps/EmergencyInfo/src/com/android/emergency/preferences/ |
D | EditUserPhotoController.java | 367 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/ |
D | ClusterContentProvider.java | 59 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/ |
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()
|
/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/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/ |
D | BinaryDictDecoderEncoderTests.java | 241 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/ |
D | SimpleTaskEnvironment.java | 37 String getCacheDir(); in getCacheDir() method
|
D | SimpleTaskEnvironmentImpl.java | 54 public String getCacheDir() { in getCacheDir() method in SimpleTaskEnvironmentImpl
|
/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/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/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | MockitoHelper.java | 35 String dexCache = context.getCacheDir().toString(); in setUp()
|
/packages/modules/AppSearch/framework/java/external/android/app/appsearch/ |
D | AppSearchEnvironment.java | 66 File getCacheDir(@NonNull Context context); in getCacheDir() method
|
/packages/apps/Messaging/tests/src/com/android/messaging/ |
D | TestUtil.java | 45 context.getCacheDir().getPath()); in testSetup()
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
D | CacheStorageUsageInfo.java | 59 cacheDir = mContext.getCacheDir(); in loadStorageInfo()
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/finalization/ |
D | DpcReceivedSuccessReceiverTest.java | 53 System.setProperty("dexmaker.dexcache", getContext().getCacheDir().toString()); in setUp()
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/ |
D | MmsFileProvider.java | 84 return new File(context.getCacheDir(), RAW_MMS_DIR); in getDirectory()
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/parser/ |
D | MessageParserTest.java | 56 System.setProperty("dexmaker.dexcache", getContext().getCacheDir().toString()); in setUp()
|
/packages/modules/OnDevicePersonalization/tests/federatedcomputetests/src/com/android/federatedcompute/services/training/jni/ |
D | SimpleTaskEnvironmentImplTest.java | 71 assertThrows(UnsupportedOperationException.class, () -> mNativeRunnerDeps.getCacheDir()); in testGetCacheDir()
|
/packages/modules/AppSearch/framework/java/android/app/appsearch/ |
D | FrameworkAppSearchEnvironment.java | 93 public File getCacheDir(@NonNull Context context) { in getCacheDir() method in FrameworkAppSearchEnvironment
|
/packages/apps/Car/Settings/src/com/android/car/settings/system/ |
D | LicenseHtmlLoader.java | 87 return new File(mContext.getCacheDir(), NOTICE_HTML_FILE_NAME); in getCachedHtmlFile()
|