Home
last modified time | relevance | path

Searched refs:listFiles (Results 1 – 25 of 48) sorted by relevance

12

/packages/apps/Email/tests/src/com/android/email/provider/
DAttachmentProviderTests.java526 assertEquals(3, attachmentsDir.listFiles().length); in testDeleteFiles()
533 assertEquals(3, attachmentsDir.listFiles().length); in testDeleteFiles()
538 assertEquals(3, attachmentsDir.listFiles().length); in testDeleteFiles()
543 assertEquals(1, attachmentsDir.listFiles().length); in testDeleteFiles()
548 assertEquals(0, attachmentsDir.listFiles().length); in testDeleteFiles()
570 assertEquals(4, attachmentsDir.listFiles().length); in testDeleteMailbox()
575 assertEquals(1, attachmentsDir.listFiles().length); in testDeleteMailbox()
580 assertEquals(0, attachmentsDir.listFiles().length); in testDeleteMailbox()
613 assertEquals(4, directory1.listFiles().length); in testDeleteAccount()
616 assertEquals(7, directory2.listFiles().length); in testDeleteAccount()
[all …]
/packages/apps/UnifiedEmail/src/org/apache/commons/io/
DFileUtils.java256 File[] found = directory.listFiles((FileFilter) filter); in innerListFiles()
293 public static Collection<File> listFiles( in listFiles() method in FileUtils
342 return listFiles(directory, fileFilter, dirFilter).iterator(); in iterateFiles()
372 public static Collection<File> listFiles( in listFiles() method in FileUtils
381 return listFiles(directory, filter, in listFiles()
399 return listFiles(directory, extensions, recursive).iterator(); in iterateFiles()
882 File[] srcFiles = filter == null ? srcDir.listFiles() : srcDir.listFiles(filter); in copyDirectory()
923 File[] files = filter == null ? srcDir.listFiles() : srcDir.listFiles(filter); in doCopyDirectory()
1039 File[] files = directory.listFiles(); in cleanDirectory()
1449 File[] files = directory.listFiles(); in cleanDirectoryOnExit()
[all …]
DDirectoryWalker.java357 … File[] childFiles = (filter == null ? directory.listFiles() : directory.listFiles(filter)); in walk()
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DFileCache.java77 File[] files = rootDir.listFiles(); in deleteFiles()
79 for (File file : rootDir.listFiles()) { in deleteFiles()
298 for (File file : mRootDir.listFiles()) { in onCreate()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DFileUtils.java28 final File[] files = path.listFiles(); in deleteRecursively()
42 final File[] files = dir.listFiles(fileNameFilter); in deleteFilteredFiles()
DBinaryDictionaryUtils.java78 for (final File file : dictFile.listFiles()) { in renameDict()
/packages/apps/Browser/src/com/android/browser/homepages/
DHomeProvider.java101 boolean listFiles = BrowserSettings.getInstance().isDebugEnabled(); in shouldInterceptRequest()
102 if (listFiles && interceptFile(url)) { in shouldInterceptRequest()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DBaseVoicemailProviderTest.java123 for (File file : input.listFiles()) {
138 for (File file : input.listFiles()) {
/packages/providers/ContactsProvider/src/com/android/providers/contacts/debug/
DDataExporter.java132 for (File child : file.listFiles()) { in removeFileOrDirectory()
145 for (File child : current.listFiles()) { in addDirectory()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DPhotoStore.java88 File[] files = mStorePath.listFiles(); in clear()
119 File[] files = mStorePath.listFiles(); in initialize()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DBinaryDictionaryGetter.java169 final File[] wordLists = directory.listFiles(); in getCachedWordLists()
207 final File[] wordLists = directory.listFiles(); in removeFilesWithIdExcept()
/packages/apps/Browser/src/com/android/browser/provider/
DBrowserProvider.java354 File[] gearsFiles = appPluginsDir.listFiles(new FilenameFilter() { in removeGears()
376 File[] files = currentDir.listFiles(); in removeGears()
/packages/apps/UnifiedEmail/src/org/apache/commons/io/filefilter/
DEmptyFileFilter.java77 File[] files = file.listFiles(); in accept()
/packages/apps/Camera2/src/com/android/camera/util/
DFileUtil.java39 for (File entry : directory.listFiles()) { in deleteDirectoryRecursively()
/packages/apps/ContactsCommon/src/com/android/contacts/common/vcard/
DImportVCardActivity.java671 final File[] files = directory.listFiles(); in getVCardFileRecursively()
681 for (File file : directory.listFiles()) { in getVCardFileRecursively()
/packages/apps/Camera2/src/com/android/camera/session/
DSessionStorageManagerImpl.java89 File[] sessionDirs = baseDirectory.listFiles(new FileFilter() { in cleanUpExpiredSessions()
/packages/apps/Camera/tests/src/com/android/camera/functional/
DCameraTest.java45 for (File f: new File("/proc/" + Process.myPid() + "/fd").listFiles()) { in testVideoCaptureIntentFdLeak()
/packages/apps/Camera2/tests/src/com/android/camera/functional/
DCameraTest.java45 for (File f: new File("/proc/" + Process.myPid() + "/fd").listFiles()) { in testVideoCaptureIntentFdLeak()
/packages/apps/Camera2/tests_camera/src/com/android/camera/functional/
DCameraTest.java45 for (File f: new File("/proc/" + Process.myPid() + "/fd").listFiles()) { in testVideoCaptureIntentFdLeak()
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
DEmlMessageLoader.java82 final File[] cacheFiles = TempDirectory.getTempDirectory().listFiles(); in loadInBackground()
/packages/apps/LegacyCamera/tests/src/com/android/camera/functional/
DCameraTest.java51 for (File f: new File("/proc/" + Process.myPid() + "/fd").listFiles()) { in testVideoCaptureIntentFdLeak()
/packages/apps/Camera2/tests_camera/src/com/android/camera/stress/
DShotToShotLatency.java69 pics = sdcard.listFiles(filter); in cleanupLatencyImages()
/packages/apps/Camera2/tests/src/com/android/camera/stress/
DShotToShotLatency.java69 pics = sdcard.listFiles(filter); in cleanupLatencyImages()
/packages/apps/Camera/tests/src/com/android/camera/stress/
DShotToShotLatency.java69 pics = sdcard.listFiles(filter); in cleanupLatencyImages()
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/
DSipProfileDb.java64 for (File child : file.listFiles()) deleteProfile(child); in deleteProfile()

12