/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/Launcher3/WallpaperPicker/src/com/android/launcher3/ |
D | SavedWallpaperImages.java | 122 File file = new File(mContext.getFilesDir(), filename); 143 new File(mContext.getFilesDir(), result.getString(2)), 195 File imageFile = new File(mContext.getFilesDir(), filenames.first); 197 File thumbFile = new File(mContext.getFilesDir(), filenames.second); 224 File imageFile = File.createTempFile("wallpaper", "", mContext.getFilesDir()); 235 File thumbFile = File.createTempFile("wallpaperthumb", "", mContext.getFilesDir());
|
D | WallpaperPickerActivity.java | 1135 return new File(getContext().getFilesDir(), Build.VERSION.SDK_INT 1141 … new File(getContext().getFilesDir(), LauncherFiles.DEFAULT_WALLPAPER_THUMBNAIL_OLD).delete(); 1142 new File(getContext().getFilesDir(), LauncherFiles.DEFAULT_WALLPAPER_THUMBNAIL).delete(); 1145 new File(getContext().getFilesDir(), i + "_"
|
/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/Dialer/src/com/android/dialer/database/ |
D | VoicemailArchiveProvider.java | 79 protected File getFilesDir() { in getFilesDir() method in VoicemailArchiveProvider 80 return getContext().getFilesDir(); in getFilesDir() 117 File directory = new File(getFilesDir(), VOICEMAIL_FOLDER); in insert()
|
/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/PackageInstaller/src/com/android/packageinstaller/wear/ |
D | WearPackageUtil.java | 53 File newFileDir = new File(context.getFilesDir(), "tmp"); in getTemporaryFile() 66 File newFileDir = new File(context.getFilesDir(), "images/icons"); in getIconFile()
|
/packages/apps/ManagedProvisioning/tests/src/com/android/managedprovisioning/task/ |
D | DeleteNonRequiredAppsTaskTest.java | 90 when(mTestContext.getFilesDir()).thenReturn(getContext().getFilesDir()); in setUp() 284 when(mTestContext.getFilesDir()).thenReturn(new File("")); in testWhenNoSystemAppsFileFound()
|
/packages/services/Telephony/src/com/android/phone/ |
D | CarrierConfigLoader.java | 488 new File(mContext.getFilesDir(), getFilenameForConfig(packageName, iccid))); in saveConfigToXml() 541 new File(mContext.getFilesDir(), getFilenameForConfig(packageName, iccid))); in restoreConfigFromXml() 585 File dir = mContext.getFilesDir(); in clearCachedConfigForPackage()
|
/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/ |
D | LogoUtils.java | 134 return new File(context.getFilesDir() + File.separator + "organisation_logo"); in getOrganisationLogoFile()
|
D | IntentStore.java | 258 return new File(mContext.getFilesDir(), "intent_store_" + mName + ".xml"); in getFile()
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | PhoneAccountRegistrarTest.java | 69 mComponentContextFixture.getTestDouble().getApplicationContext().getFilesDir(), in setUp() 81 mComponentContextFixture.getTestDouble().getApplicationContext().getFilesDir(), in tearDown()
|
D | ComponentContextFixture.java | 114 public File getFilesDir() { in getFilesDir() method in ComponentContextFixture.FakeApplicationContext
|
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/ |
D | SipProfileDb.java | 65 mProfilesDirectory = mContext.getFilesDir().getAbsolutePath() + PROFILES_DIR; in setupDatabase()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/debug/ |
D | DataExporter.java | 67 addDirectory(context, os, context.getFilesDir().getParentFile(), "contacts-files"); in exportData()
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
D | DownloadIdleService.java | 190 fromDisk.addAll(listFilesRecursive(getFilesDir(), null, uid)); in cleanOrphans()
|
D | Helpers.java | 501 if (containsCanonical(context.getFilesDir(), file) in isFilenameValid() 554 return context.getFilesDir(); in getDestinationDirectory()
|
/packages/experimental/PrintService2/src/foo/bar/printservice2/ |
D | MyPrintService.java | 68 final File file = new File(getFilesDir(), info.getLabel() + ".pdf"); in onPrintJobQueued()
|
/packages/apps/Dialer/tests/src/com/android/dialer/database/ |
D | VoicemailArchiveProviderTest.java | 290 protected File getFilesDir() { in getFilesDir() method in VoicemailArchiveProviderTest.TestVoicemailArchiveProvider
|
/packages/apps/Settings/src/com/android/settings/dashboard/conditional/ |
D | ConditionManager.java | 229 mXmlFile = new File(mContext.getFilesDir(), FILE_NAME); in doInBackground()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
D | BluetoothOppLauncherActivity.java | 318 fileUri = Uri.fromFile(new File(context.getFilesDir(), fileName)); in creatFileForSharedContent()
|
/packages/apps/LegacyCamera/src/com/android/camera/panorama/ |
D | PanoramaActivity.java | 811 mThumbnail = Thumbnail.loadFrom(new File(getFilesDir(), Thumbnail.LAST_THUMB_FILENAME)); in initThumbnailButton() 831 mThumbnail.saveTo(new File(getFilesDir(), Thumbnail.LAST_THUMB_FILENAME)); in saveThumbnailToFile()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/ |
D | DeleteNonRequiredAppsTask.java | 257 return new File(context.getFilesDir() + File.separator + "system_apps" in getSystemAppsFile()
|