/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/ |
D | HelpersTest.java | 36 IoUtils.deleteContents(getContext().getFilesDir()); in tearDown() 43 final File expected = new File(getContext().getFilesDir(), "file.mp4"); in testGenerateSaveFile() 51 final File expected1 = new File(getContext().getFilesDir(), "file.txt"); in testGenerateSaveFileDupes() 55 final File expected2 = new File(getContext().getFilesDir(), "file-1.txt"); in testGenerateSaveFileDupes() 64 final File expected = new File(getContext().getFilesDir(), "file.mp4"); in testGenerateSaveFileNoExtension() 72 final File expected = new File(getContext().getFilesDir(), "meow"); in testGenerateSaveFileHint() 82 final File expected = new File(getContext().getFilesDir(), "real.mp4"); in testGenerateSaveFileDisposition()
|
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/ |
D | SavedWallpaperImages.java | 85 File file = new File(mContext.getFilesDir(), filename); in loadThumbnailsAndImageIdList() 90 new File(mContext.getFilesDir(), c.getString(2)), in loadThumbnailsAndImageIdList() 111 new File(mContext.getFilesDir(), result.getString(0)).delete(); in deleteImage() 112 new File(mContext.getFilesDir(), result.getString(1)).delete(); in deleteImage() 125 File imageFile = File.createTempFile("wallpaper", "", mContext.getFilesDir()); in writeImage() 131 File thumbFile = File.createTempFile("wallpaperthumb", "", mContext.getFilesDir()); in writeImage()
|
/packages/apps/Email/tests/src/com/android/emailcommon/utility/ |
D | UtilityTest.java | 106 new IsolatedContext(new MockContentResolver(), getContext()).getFilesDir(); 132 new IsolatedContext(new MockContentResolver(), getContext()).getFilesDir(); 146 new IsolatedContext(new MockContentResolver(), getContext()).getFilesDir(); 184 new IsolatedContext(new MockContentResolver(), getContext()).getFilesDir();
|
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/tileinfo/ |
D | DefaultWallpaperInfo.java | 200 return new File(context.getFilesDir(), Build.VERSION.SDK_INT in getDefaultThumbFile() 206 new File(c.getFilesDir(), WallpaperFiles.DEFAULT_WALLPAPER_THUMBNAIL_OLD).delete(); in saveDefaultWallpaperThumb() 207 new File(c.getFilesDir(), WallpaperFiles.DEFAULT_WALLPAPER_THUMBNAIL).delete(); in saveDefaultWallpaperThumb() 210 … new File(c.getFilesDir(), i + "_" + WallpaperFiles.DEFAULT_WALLPAPER_THUMBNAIL).delete(); in saveDefaultWallpaperThumb()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/util/ |
D | DiskBasedLogger.java | 144 File logs = new File(context.getFilesDir(), LOGS_FILE_PATH); in e() 181 File logsFile = new File(context.getFilesDir(), LOGS_FILE_PATH); in clearOldLogs() 201 File tempLogsFile = new File(context.getFilesDir(), TEMP_LOGS_FILE_PATH); in clearOldLogs()
|
/packages/services/Telephony/testapps/EmbmsTestDownloadApp/src/com/android/phone/testapps/embmsdownload/ |
D | DownloadCompletionReceiver.java | 52 .getPath(context.getFilesDir().getPath(), "images/animals/", fileName) in getDestinationFile() 60 .getPath(context.getFilesDir().getPath(), "images/image.png") in getDestinationFile()
|
D | EmbmsTestDownloadApp.java | 228 File downloadDir = new File(EmbmsTestDownloadApp.this.getFilesDir(), in onCreate() 450 File baseDir = mIsTempDirExternal ? getExternalFilesDir(null) : getFilesDir(); in getDestination()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
D | DictionaryInfoUtils.java | 160 return context.getFilesDir() + File.separator + "dicts"; in getWordListCacheDirectory() 167 return context.getFilesDir() + File.separator + "staging"; in getWordListStagingDirectory() 174 return context.getFilesDir() + File.separator + "tmp"; in getWordListTempDirectory() 212 return context.getFilesDir().listFiles(new FilenameFilter() { in getUnusedDictionaryList()
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/parser/ |
D | DeviceAdminIconParserTest.java | 68 TEST_FILE_DIR = new File(targetContext.getFilesDir(), TEST_FILE_DIRNAME); in setUpClass() 83 when(mContext.getFilesDir()).thenReturn(TEST_FILE_DIR); in setUp()
|
D | DisclaimersParserTest.java | 86 TEST_FILE_DIR = new File(targetContext.getFilesDir(), TEST_FILE_DIRNAME); in setUpClass() 103 when(mContext.getFilesDir()).thenReturn(TEST_FILE_DIR); in setUp()
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/task/nonrequiredapps/ |
D | SystemAppsSnapshotTest.java | 65 when(mContext.getFilesDir()) in setUp() 66 .thenReturn(InstrumentationRegistry.getTargetContext().getFilesDir()); in setUp()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/nonrequiredapps/ |
D | SystemAppsSnapshot.java | 164 return new File(context.getFilesDir(), FOLDER_NAME); in getFolder() 168 return new File(context.getFilesDir(), LEGACY_FOLDER_NAME); in getLegacyFolder()
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/task/ |
D | DeleteNonRequiredAppsTaskTest.java | 77 when(mTestContext.getFilesDir()).thenReturn(InstrumentationRegistry.getTargetContext() in setUp() 78 .getFilesDir()); in setUp()
|
D | MigrateSystemAppsSnapshotTaskTest.java | 90 when(mContext.getFilesDir()) in setup() 92 new File(InstrumentationRegistry.getTargetContext().getFilesDir(), "test")); in setup()
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/preprovisioning/ |
D | EncryptionControllerTest.java | 75 when(mContext.getFilesDir()).thenReturn(getContext().getFilesDir()); in setUp()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/storagelifetime/ |
D | StorageLifetimeFragment.java | 120 Path filePath = new File(mActivity.getFilesDir(), FILE_NAME).toPath(); in getFilePath() 184 mStatFs = new StatFs(mActivity.getFilesDir().getAbsolutePath()); in reloadInfo()
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/finalization/ |
D | FinalizationControllerTest.java | 84 when(mContext.getFilesDir()).thenReturn(getContext().getFilesDir()); in setUp()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/provisioning/ |
D | Constants.java | 36 return new File(context.getFilesDir(), "deferred_metrics"); in getDeferredMetricsFile()
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/common/ |
D | UtilsTest.java | 339 final String fileLocation = getContext().getFilesDir().toString() + "/" + TEST_FILE_NAME; in testComputeHashOfFile() 360 final String fileLocation = getContext().getFilesDir().toString() + "/" + TEST_FILE_NAME; in testComputeHashOfFile_NotPresent()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | LauncherBackupAgent.java | 17 FileLog.setDir(getFilesDir()); in onCreate()
|
D | MainProcessInitializer.java | 38 FileLog.setDir(context.getApplicationContext().getFilesDir()); in init()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/parser/ |
D | DeviceAdminIconParser.java | 38 mFileIcon = new File(new File(mContext.getFilesDir(), DIR_PROVISIONING_PARAMS_FILE_CACHE), in DeviceAdminIconParser()
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/util/ |
D | TestUtil.java | 39 getFilesDir().getPath() + "/dummy_app.apk"; in installDummyApp()
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/util/rule/ |
D | FailureWatcher.java | 43 getFilesDir().getPath() + "/TaplTestScreenshot" + sScreenshotCount++ + ".png"; in failed()
|
/packages/services/Telephony/src/com/android/phone/ |
D | CarrierConfigLoader.java | 743 new File(mContext.getFilesDir(), in saveConfigToXml() 805 new File(mContext.getFilesDir(), in restoreConfigFromXml() 850 File dir = mContext.getFilesDir(); in clearCachedConfigForPackage()
|