Home
last modified time | relevance | path

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

123456

/frameworks/base/ravenwood/runtime-common-src/com/android/ravenwood/common/
DRavenwoodCommonUtils.java130 listFiles(out, new File(dir), ""); in dumpFiles()
136 listFiles(out, gparent, ""); in dumpFiles()
142 listFiles(out, gparent, ""); in dumpFiles()
149 private static void listFiles(PrintStream out, File dir, String prefix) { in listFiles() method in RavenwoodCommonUtils
156 for (var file : Arrays.stream(dir.listFiles()).sorted().toList()) { in listFiles()
165 for (var file : Arrays.stream(dir.listFiles()).sorted().toList()) { in listFiles()
167 listFiles(out, file, prefix + " "); in listFiles()
/frameworks/base/services/tests/servicestests/src/com/android/server/power/
DPreRebootLoggerTest.java109 assertThat(mDumpDir.listFiles()).asList().containsNoneOf("system", "package", "rollback"); in dump_exceedTimeout_wontBlockCurrentThread()
119 assertThat(mDumpDir.listFiles()).isEmpty(); in log_noActiveStagedSession_wipesDumpedInformation()
129 assertThat(mDumpDir.listFiles()).isEmpty(); in log_adbDisabled_wipesDumpedInformation()
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/parsing/
DSystemPartitionParseTest.kt51 it.listFiles() in <lambda>()
61 it.listFiles()?.toList().orEmpty() in <lambda>()
/frameworks/base/graphics/java/android/graphics/
DGraphicsStatsService.java261 for (File pkg : dateDir.listFiles()) { in pullGraphicsStatsImpl()
262 for (File version : pkg.listFiles()) { in pullGraphicsStatsImpl()
323 for (File child : file.listFiles()) { in deleteRecursiveLocked()
335 File[] files = mGraphicsStatsDir.listFiles(); in deleteOldBuffers()
416 for (File date : mGraphicsStatsDir.listFiles()) { in dumpHistoricalLocked()
417 for (File pkg : date.listFiles()) { in dumpHistoricalLocked()
418 for (File version : pkg.listFiles()) { in dumpHistoricalLocked()
/frameworks/base/tests/utils/testutils/java/com/android/internal/util/test/
DFsUtil.java30 File[] files = dir.listFiles(); in deleteContents()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/
DCustomPrinterIconCache.java118 File files[] = mCacheDirectory.listFiles(); in removeOldFiles()
161 for (File f : mCacheDirectory.listFiles()) { in clear()
/frameworks/base/services/core/java/com/android/server/powerstats/
DPowerStatsDataStorage.java178 File[] files = mDataStorageDir.listFiles(); in PowerStatsDataStorage()
258 File[] files = mDataStorageDir.listFiles(); in deleteLogs()
280 final File[] files = mDataStorageDir.listFiles(); in dump()
/frameworks/base/ravenwood/runtime-helper-src/libcore-fake/libcore/io/
DIoUtils.java51 File[] files = dir.listFiles(); in deleteContents()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/backup/
DDataChangedJournalTest.java135 assertThat(folder.listFiles()).hasLength(1); in newJournal_createsANewTemporaryFile()
155 when(invalidFile.listFiles()).thenReturn(null); in listJournals_invalidJournalFile_returnsEmptyList()
/frameworks/base/core/tests/hosttests/test-apps/MultiDexLegacyTestServicesTests2/src/com/android/framework/multidexlegacytestservices/test2/
DServicesTests.java196 for (File subElement : dir.listFiles()) { in clearDirContent()
330 for (File zip : getSecondaryFolder().listFiles(new ExtractedZipFilter())) { in tamperAllExtractedZips()
353 for (File odex : getSecondaryFolder().listFiles(new ExtensionFilter(".dex"))) { in tamperAllOdex()
/frameworks/layoutlib/bridge/bridge_client/src/com/android/ide/common/resources/deprecated/
DTestFolderWrapper.java35 File[] files = listFiles(); in listMembers()
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/
DUserFileManagerImpl.kt160 if (dir != null && dir.listFiles().size == 0) { in <lambda>()
174 parent.listFiles( in <lambda>()
/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/
DPowerStatsStoreTest.java111 for (File child : dir.listFiles()) { in clearDirectory()
123 for (File child : dir.listFiles()) { in getDirectorySize()
/frameworks/base/core/java/com/android/internal/content/
DF2fsUtils.java189 final File[] features = sKernelFeatures.listFiles(); in isCompressionEnabledInKernel()
262 final File[] allFiles = path.listFiles(); in getFilesRecursive()
/frameworks/base/services/core/java/com/android/server/power/stats/
DPowerStatsStore.java104 for (File file : mStoreDir.listFiles()) { in getTableOfContents()
275 for (File file : mStoreDir.listFiles()) { in removeOldSpansLocked()
305 for (File file : mStoreDir.listFiles()) { in reset()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/common/
DTemporaryFileManager.java76 File[] filesOnBoot = context.getNoBackupFilesDir().listFiles(); in onReceive()
/frameworks/base/services/usage/java/com/android/server/usage/
DUsageStatsDatabase.java300 File[] files = mIntervalDirs[i].listFiles(backupFileFilter); in indexFilesLocked()
444 File[] files = mIntervalDirs[i].listFiles(); in doUpgradeLocked()
478 File[] files = mIntervalDirs[i].listFiles(); in doUpgradeLocked()
534 File[] files = backedUpInterval.listFiles(); in continueUpgradeLocked()
598 final File[] files = mIntervalDirs[i].listFiles(); in pruneUninstalledPackagesData()
645 final File[] files = mIntervalDirs[i].listFiles(); in prunePackagesDataOnUpgrade()
963 File[] files = dir.listFiles(); in pruneFilesOlderThan()
981 File[] files = dir.listFiles(); in pruneChooserCountsOlderThan()
1496 File[] files = directory.listFiles(); in deleteDirectoryContents()
1503 File[] files = directory.listFiles(); in deleteDirectory()
/frameworks/base/tests/UsageStatsPerfTests/src/com/android/frameworks/perftests/usage/tests/
DUsageStatsDatabasePerfTest.java105 File[] intervalDirs = mTestDir.listFiles(); in clearUsageStatsFiles()
108 File[] usageFiles = intervalDir.listFiles(); in clearUsageStatsFiles()
/frameworks/base/services/tests/powerservicetests/src/com/android/server/power/
DShutdownCheckPointsTest.java284 File[] dumpFiles = tempDir.listFiles(); in testDumpToFile()
321 File[] dumpFiles = tempDir.listFiles(); in testTooManyFilesDropsOlderOnes()
/frameworks/base/tests/Camera2Tests/CameraToo/tests/src/com/example/android/camera2/cameratoo/
DCameraTooTest.java168 new HashSet<File>(Arrays.asList(picturesFolder.listFiles(OUTPUT_FILE_DECIDER))); in capturedImageSaver()
175 new HashSet<File>(Arrays.asList(picturesFolder.listFiles(OUTPUT_FILE_DECIDER))); in capturedImageSaver()
/frameworks/layoutlib/bridge/bridge_client/src/com/android/layoutlib/bridge/intensive/
DBridgeClient.java287 File[] hosts = host.listFiles(path -> path.isDirectory() && in getPlatformDirFromRoot()
309 File[] sdkDirs = sdkDir.listFiles(path -> { in getPlatformDirFromHostOut()
324 File[] possibleSdks = sdkDir.listFiles( in getPlatformDirFromHostOutSdkSdk()
329 File[] platforms = platformsDir.listFiles( in getPlatformDirFromHostOutSdkSdk()
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutDumpFiles.java79 final File[] files = directory.listFiles(f -> f.isFile()); in dumpAll()
/frameworks/base/services/backup/java/com/android/server/backup/
DDataChangedJournal.java153 File[] journalFiles = journalDirectory.listFiles(); in listJournals()
/frameworks/base/services/tests/servicestests/src/com/android/server/graphics/fonts/
DUpdatableFontDirTest.java1057 return Arrays.stream(mUpdatableFontFilesDir.listFiles()) in collectSignatureFiles()
1058 .map((file) -> file.listFiles((unused, s) -> s.endsWith(".fsv_sig"))) in collectSignatureFiles()
1064 return Arrays.stream(mUpdatableFontFilesDir.listFiles()) in collectFontFiles()
1065 .map((file) -> file.listFiles((unused, s) -> s.endsWith(".ttf"))) in collectFontFiles()
1073 removeAll(List.of(file.listFiles())); in removeAll()
1435 removeAll(List.of(mUpdatableFontFilesDir.listFiles())); in fontDirAllMissingCase_fontFamilyInstalled_fontFamilyInstallLater()
1455 removeAll(List.of(mUpdatableFontFilesDir.listFiles())); in fontDirAllMissingCase_fontFamilyInstalled_fontInstallLater()
1475 removeAll(List.of(mUpdatableFontFilesDir.listFiles())); in fontDirAllMissingCase_fontFileInstalled_fontFamilyInstallLater()
1495 removeAll(List.of(mUpdatableFontFilesDir.listFiles())); in fontDirAllMissingCase_fontFileInstalled_fontFileInstallLater()
/frameworks/base/packages/LocalTransport/src/com/android/localtransport/
DLocalTransport.java416 File[] contents = dirname.listFiles(); in deleteContents()
434 final File[] fileset = packageDir.listFiles(); in clearBackupData()
443 final File[] tarballs = packageDir.listFiles(); in clearBackupData()
772 File[] allFiles = dir.listFiles(); in contentsByKey()

123456