/frameworks/base/ravenwood/runtime-common-src/com/android/ravenwood/common/ |
D | RavenwoodCommonUtils.java | 130 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/ |
D | PreRebootLoggerTest.java | 109 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/ |
D | SystemPartitionParseTest.kt | 51 it.listFiles() in <lambda>() 61 it.listFiles()?.toList().orEmpty() in <lambda>()
|
/frameworks/base/graphics/java/android/graphics/ |
D | GraphicsStatsService.java | 261 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/ |
D | FsUtil.java | 30 File[] files = dir.listFiles(); in deleteContents()
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/ |
D | CustomPrinterIconCache.java | 118 File files[] = mCacheDirectory.listFiles(); in removeOldFiles() 161 for (File f : mCacheDirectory.listFiles()) { in clear()
|
/frameworks/base/services/core/java/com/android/server/powerstats/ |
D | PowerStatsDataStorage.java | 178 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/ |
D | IoUtils.java | 51 File[] files = dir.listFiles(); in deleteContents()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/backup/ |
D | DataChangedJournalTest.java | 135 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/ |
D | ServicesTests.java | 196 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/ |
D | TestFolderWrapper.java | 35 File[] files = listFiles(); in listMembers()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/ |
D | UserFileManagerImpl.kt | 160 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/ |
D | PowerStatsStoreTest.java | 111 for (File child : dir.listFiles()) { in clearDirectory() 123 for (File child : dir.listFiles()) { in getDirectorySize()
|
/frameworks/base/core/java/com/android/internal/content/ |
D | F2fsUtils.java | 189 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/ |
D | PowerStatsStore.java | 104 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/ |
D | TemporaryFileManager.java | 76 File[] filesOnBoot = context.getNoBackupFilesDir().listFiles(); in onReceive()
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
D | UsageStatsDatabase.java | 300 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/ |
D | UsageStatsDatabasePerfTest.java | 105 File[] intervalDirs = mTestDir.listFiles(); in clearUsageStatsFiles() 108 File[] usageFiles = intervalDir.listFiles(); in clearUsageStatsFiles()
|
/frameworks/base/services/tests/powerservicetests/src/com/android/server/power/ |
D | ShutdownCheckPointsTest.java | 284 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/ |
D | CameraTooTest.java | 168 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/ |
D | BridgeClient.java | 287 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/ |
D | ShortcutDumpFiles.java | 79 final File[] files = directory.listFiles(f -> f.isFile()); in dumpAll()
|
/frameworks/base/services/backup/java/com/android/server/backup/ |
D | DataChangedJournal.java | 153 File[] journalFiles = journalDirectory.listFiles(); in listJournals()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/graphics/fonts/ |
D | UpdatableFontDirTest.java | 1057 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/ |
D | LocalTransport.java | 416 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()
|