/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/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 | 64 TEST_FILE_DIR = new File(targetContext.getFilesDir(), TEST_FILE_DIRNAME); in setUpClass() 79 when(mContext.getFilesDir()).thenReturn(TEST_FILE_DIR); in setUp()
|
D | DisclaimersParserTest.java | 80 TEST_FILE_DIR = new File(targetContext.getFilesDir(), TEST_FILE_DIRNAME); in setUpClass() 97 when(mContext.getFilesDir()).thenReturn(TEST_FILE_DIR); in setUp()
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/task/nonrequiredapps/ |
D | SystemAppsSnapshotTest.java | 63 when(mContext.getFilesDir()) in setUp() 64 .thenReturn(InstrumentationRegistry.getTargetContext().getFilesDir()); in setUp()
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/wear/ |
D | WearPackageUtil.java | 43 File newFileDir = new File(context.getFilesDir(), "tmp"); in getTemporaryFile() 56 File newFileDir = new File(context.getFilesDir(), "images/icons"); in getIconFile()
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/task/ |
D | DeleteNonRequiredAppsTaskTest.java | 73 when(mTestContext.getFilesDir()).thenReturn(InstrumentationRegistry.getTargetContext() in setUp() 74 .getFilesDir()); in setUp()
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/preprovisioning/ |
D | EncryptionControllerTest.java | 74 when(mContext.getFilesDir()).thenReturn(getContext().getFilesDir()); in setUp()
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/finalization/ |
D | FinalizationControllerTest.java | 78 when(mContext.getFilesDir()).thenReturn(getContext().getFilesDir()); in setUp()
|
/packages/services/Telephony/src/com/android/phone/ |
D | CarrierConfigLoader.java | 500 new File(mContext.getFilesDir(), getFilenameForConfig(packageName, iccid))); in saveConfigToXml() 553 new File(mContext.getFilesDir(), getFilenameForConfig(packageName, iccid))); in restoreConfigFromXml() 597 File dir = mContext.getFilesDir(); in clearCachedConfigForPackage()
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/common/ |
D | UtilsTest.java | 338 final String fileLocation = getContext().getFilesDir().toString() + "/" + TEST_FILE_NAME; in testComputeHashOfFile() 364 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()
|
/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()
|
D | DisclaimersParser.java | 52 mDisclaimerDir = new File(mContext.getFilesDir(), DIR_PROVISIONING_PARAMS_FILE_CACHE); in DisclaimersParser()
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
D | Helpers.java | 501 if (containsCanonical(context.getFilesDir(), file) in isFilenameValid() 554 return context.getFilesDir(); in getDestinationDirectory()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/personalization/ |
D | PersonalizationHelper.java | 82 final File filesDir = context.getFilesDir(); in removeAllUserHistoryDictionaries()
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/personalization/ |
D | UserHistoryDictionaryTestsHelper.java | 62 FileUtils.deleteFilteredFiles(context.getFilesDir(), filenameFilter); in removeAllTestDictFiles()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/ |
D | LogoUtils.java | 121 return new File(context.getFilesDir() + File.separator + "organisation_logo"); in getOrganisationLogoFile()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/nonrequiredapps/ |
D | SystemAppsSnapshot.java | 157 return new File(context.getFilesDir() + File.separator + "system_apps" in getSystemAppsFile()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/debug/ |
D | DataExporter.java | 67 addDirectory(context, os, context.getFilesDir().getParentFile(), "contacts-files"); in exportData()
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | PhoneAccountRegistrarTest.java | 76 mComponentContextFixture.getTestDouble().getApplicationContext().getFilesDir(), in setUp() 92 mComponentContextFixture.getTestDouble().getApplicationContext().getFilesDir(), in tearDown()
|
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/ |
D | SipProfileDb.java | 66 mProfilesDirectory = mContext.getFilesDir().getAbsolutePath() + PROFILES_DIR; in setupDatabase()
|