Home
last modified time | relevance | path

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

12

/packages/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/
DAvrcpCoverArtStorage.java198 File[] files = directory.listFiles(); in deleteStorageDirectory()
223 File[] devices = storage.listFiles(); in toString()
227 File[] images = deviceDirectory.listFiles(); in toString()
/packages/inputmethods/LatinIME/common/src/com/android/inputmethod/latin/common/
DFileUtils.java30 final File[] files = path.listFiles(); in deleteRecursively()
44 final File[] files = dir.listFiles(fileNameFilter); in deleteFilteredFiles()
/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/apps/Messaging/src/com/android/messaging/util/
DFileUtil.java80 for (File file : root.listFiles()) { in removeFileOrDirectoryExcept()
102 for (File file : sourceDir.listFiles()) { in moveAllContentUnderDirectory()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/debug/
DDataExporter.java129 for (File child : file.listFiles()) { in removeFileOrDirectory()
142 for (File child : current.listFiles()) { in addDirectory()
/packages/apps/TV/tuner/src/com/android/tv/tuner/source/
DTsStreamWriter.java159 for (File file : mDirectory.listFiles()) { in deleteOutdatedFiles()
205 for (File file : mDirectory.listFiles()) { in getExistingIds()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DBaseVoicemailProviderTest.java144 for (File file : input.listFiles()) {
159 for (File file : input.listFiles()) {
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DPhotoStore.java89 File[] files = mStorePath.listFiles(); in clear()
120 File[] files = mStorePath.listFiles(); in initialize()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DDictionaryInfoUtils.java203 return new File(DictionaryInfoUtils.getWordListCacheDirectory(context)).listFiles(); in getCachedDirectoryList()
207 return new File(DictionaryInfoUtils.getWordListStagingDirectory(context)).listFiles(); in getStagingDirectoryList()
212 return context.getFilesDir().listFiles(new FilenameFilter() { in getUnusedDictionaryList()
/packages/services/Car/tests/BugReportApp/src/com/google/android/car/bugreport/
DBugReportService.java581 File[] listFiles = dirToZip.listFiles(); in zipDirectoryToOutputStream() local
583 for (File file : listFiles) { in zipDirectoryToOutputStream()
DFileUtils.java135 File[] files = directory.listFiles(); in deleteDirectory()
/packages/apps/DocumentsUI/src/com/android/documentsui/base/
DFiles.java30 for (File child : file.listFiles()) { in deleteRecursively()
/packages/apps/Camera2/src/com/android/camera/util/
DFileUtil.java39 for (File entry : directory.listFiles()) { in deleteDirectoryRecursively()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/testcommon/
DTestUtils.java47 for (File child : fileOrDirectory.listFiles()) in deleteRecursive()
/packages/services/BuiltInPrintService/src/com/android/bips/util/
DFileUtils.java36 for (File child : target.listFiles()) { in deleteAll()
/packages/apps/Contacts/src/com/android/contacts/vcard/
DShareVCardActivity.java79 for (File file : getCacheDir().listFiles()) { in clearExportFiles()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DStorageUtils.java52 final File[] children = dir.listFiles(); in listFilesRecursive()
/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/ManagedProvisioning/src/com/android/managedprovisioning/task/
DMigrateSystemAppsSnapshotTask.java65 File[] files = legacyFolder.listFiles(); in migrateIfNecessary()
/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/src/com/android/camera/session/
DSessionStorageManagerImpl.java120 File[] sessionDirs = baseDirectory.listFiles(new FileFilter() { in cleanUpExpiredSessions()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/
DStubProvider.java257 for (File file : parentDocument.file.listFiles()) { in queryChildDocuments()
287 for (File file : parentDocument.file.listFiles()) { in querySearchDocuments()
671 for (File childFile : file.listFiles()) { in removeChildrenRecursively()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/parser/
DDeviceAdminIconParserTest.java107 for (File child : fileOrDirectory.listFiles()) in deleteRecursive()
/packages/apps/StorageManager/src/com/android/storagemanager/deletionhelper/
DFetchDownloadsLoader.java71 File downloadFiles[] = dir.listFiles(); in collectFiles()
/packages/apps/TV/common/src/com/android/tv/common/util/
DCommonUtils.java143 File[] files = fileOrDirectory.listFiles(); in deleteDirOrFile()

12