/tools/tradefederation/core/tests/src/com/android/tradefed/result/ |
D | FileSystemLogSaverTest.java | 274 assertEquals(1, mReportDir.listFiles()[0].list().length); in testCreateReportDirectory_sharded() 275 assertEquals(BUILD_ID, mReportDir.listFiles()[0].list()[0]); in testCreateReportDirectory_sharded() 276 assertEquals(1, mReportDir.listFiles()[0].listFiles()[0].list().length); in testCreateReportDirectory_sharded() 277 assertEquals(TEST_TAG, mReportDir.listFiles()[0].listFiles()[0].list()[0]); in testCreateReportDirectory_sharded() 279 assertEquals(1, mReportDir.listFiles()[0].listFiles()[0].listFiles()[0].list().length); in testCreateReportDirectory_sharded() 281 mReportDir.listFiles()[0].listFiles()[0].listFiles()[0].list()[0].startsWith( in testCreateReportDirectory_sharded()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/device/contentprovider/ |
D | ContentProviderHandlerTest.java | 301 assertEquals(pullTo.listFiles().length, 0); in testPullDir_OneFile() 305 assertEquals(pullTo.listFiles().length, 1); in testPullDir_OneFile() 306 assertEquals(pullTo.listFiles()[0].getName(), fileName); in testPullDir_OneFile() 345 assertEquals(pullTo.listFiles().length, 0); in testPullDir_RecursiveSubDir() 349 assertEquals(pullTo.listFiles().length, 1); in testPullDir_RecursiveSubDir() 350 assertEquals(pullTo.listFiles()[0].getName(), subDirName); in testPullDir_RecursiveSubDir() 351 assertTrue(pullTo.listFiles()[0].isDirectory()); in testPullDir_RecursiveSubDir() 354 assertEquals(pullTo.listFiles()[0].listFiles().length, 1); in testPullDir_RecursiveSubDir() 355 assertEquals(pullTo.listFiles()[0].listFiles()[0].getName(), fileName); in testPullDir_RecursiveSubDir()
|
/tools/tradefederation/core/common_util/com/android/tradefed/util/ |
D | FileUtil.java | 167 File[] children = file.listFiles(); in chmodRWXRecursively() 263 File[] children = file.listFiles(); in setReadableRecursive() 265 for (File childFile : file.listFiles()) { in setReadableRecursive() 483 for (File childFile : sourceDir.listFiles()) { in recursiveHardlink() 508 for (File childFile : sourceDir.listFiles()) { in recursiveSymlink() 540 File[] childFiles = sourceDir.listFiles(); in recursiveCopy() 703 File[] childFiles = rootDir.listFiles(); in recursiveDelete() 855 if (dir.listFiles() != null) { in findFile() 856 for (File file : dir.listFiles()) { in findFile() 891 for (File file : rootDir.listFiles()) { in findDirsUnder() [all …]
|
/tools/metalava/src/test/java/com/android/tools/metalava/ |
D | FileReadSandboxTest.kt | 127 badDir.listFiles() in Test sandbox() 128 root.listFiles() in Test sandbox() 136 subDir.listFiles() // Implicitly allowed. in Test sandbox() 137 subSubDir.listFiles() // Implicitly allowed. in Test sandbox() 138 subSubDir2.listFiles() // *Not* implicitly allowed. in Test sandbox() 141 root.listFiles() in Test sandbox()
|
/tools/tradefederation/core/util-apps/ContentProvider/hostsidetests/src/com/android/tradefed/contentprovider/ |
D | ContentProviderTest.java | 169 assertEquals(tmpPullDir.listFiles()[0].getName(), subDirName); // Verify subDir in testPullDir() 170 assertEquals(tmpPullDir.listFiles()[0].listFiles().length, 1); // Verify subDir content. in testPullDir() 172 FileUtil.readStringFromFile(tmpPullDir.listFiles()[0].listFiles()[0]), in testPullDir()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/ |
D | InstallApexModuleTargetPreparerTest.java | 717 assertEquals(2, fakeSplitApkApks.listFiles().length); in testSetupAndTearDown_ApkAndApks() 732 for (File f : fakeSplitApkApks.listFiles()) { in testSetupAndTearDown_ApkAndApks() 917 assertEquals(1, fakeSplitApexApks.listFiles().length); in testInstallUsingBundletool() 918 assertEquals(2, fakeSplitApkApks.listFiles().length); in testInstallUsingBundletool() 940 for (File f : fakeSplitApkApks.listFiles()) { in testInstallUsingBundletool() 1043 assertEquals(1, fakeSplitApexApks.listFiles().length); in testInstallUsingBundletool_skipModuleNotPreloaded() 1044 assertEquals(2, fakeSplitApkApks.listFiles().length); in testInstallUsingBundletool_skipModuleNotPreloaded()
|
/tools/metalava/src/main/java/com/android/tools/metalava/ |
D | Driver.kt | 396 source.listFiles()?.forEach { file -> in processFlags() 464 source.listFiles()?.forEach { file -> in processNonCodebaseFlags() 1105 val files = file.listFiles() in skippableDirectory() 1149 val files = file.listFiles() in addHiddenPackages() 1190 for (sibling in file.parentFile?.listFiles() ?: emptyArray()) { in addHiddenPackages()
|
D | ConvertJarsToSignatureFiles.kt | 174 val listFiles = file.listFiles() in <lambda>() constant 175 listFiles?.forEach { in <lambda>()
|
D | RewriteAnnotations.kt | 72 source.listFiles()?.forEach { in <lambda>() 95 source.listFiles()?.forEach { in <lambda>() 145 file.isDirectory -> file.listFiles()?.forEach { rewriteAnnotations(it) } in <lambda>()
|
D | AnnotationStatistics.kt | 404 val listFiles = file.listFiles() in <lambda>() constant 405 listFiles?.forEach { in <lambda>()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/ |
D | TestInvocationTest.java | 1792 assertTrue(tmpTestsDir.listFiles().length == 1); in testInvoke_deviceInfoBuild_withEnv() 1796 .listFiles()[0] in testInvoke_deviceInfoBuild_withEnv() 1800 assertTrue(tmpTestsDir.listFiles()[0].listFiles().length == 1); in testInvoke_deviceInfoBuild_withEnv() 1802 tmpTestsFile.getName(), tmpTestsDir.listFiles()[0].listFiles()[0].getName()); in testInvoke_deviceInfoBuild_withEnv() 1888 assertTrue(tmpTestsDir.listFiles().length == 0); in testInvoke_deviceInfoBuild_withEnv_andSkipProperty()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/device/metric/ |
D | AtraceRunMetricCollector.java | 75 File[] testDirectories = metricDirectory.listFiles(); in processMetricDirectory() 118 File[] traceFiles = testDirectory.listFiles(); in processTraceFiles()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/build/ |
D | BuildInfoTest.java | 175 List<VersionedFile> listFiles = in testListFiles() local 177 assertEquals(2, listFiles.size()); in testListFiles()
|
/tools/tradefederation/core/src/com/android/tradefed/build/ |
D | LocalDeviceBuildProvider.java | 171 File[] imageFiles = mBuildDir.listFiles(new PatternFilenameFilter(".*\\.img")); in createBuildImageZip() 244 File[] files = dir.listFiles(new PatternFilenameFilter(regex)); in findFileInDir()
|
/tools/tradefederation/core/util-apps/ContentProvider/main/java/android/tradefed/contentprovider/ |
D | ManagedFileContentProvider.java | 119 File[] files = file.listFiles(); in query() 294 File[] childFiles = rootDir.listFiles(); in recursiveDelete()
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/ |
D | TfTestLauncher.java | 355 String[] listFiles = tmpDir.list(); in testTmpDirClean() local 359 for (String file : Arrays.asList(listFiles)) { in testTmpDirClean()
|
/tools/tradefederation/contrib/src/com/android/uicd/tests/ |
D | UiConductorTest.java | 278 for (File file : srcFile.listFiles()) { in copyFile() 298 for (File file : srcFile.listFiles()) { in copyFile()
|
/tools/tradefederation/core/src/com/android/tradefed/sandbox/ |
D | TradefedSandbox.java | 511 if (heapDumpDir != null && heapDumpDir.listFiles().length != 0) { in logAndCleanHeapDump() 512 for (File f : heapDumpDir.listFiles()) { in logAndCleanHeapDump()
|
/tools/tradefederation/core/src/com/android/tradefed/targetprep/ |
D | InstallApexModuleTargetPreparer.java | 246 if (splitsDir == null || splitsDir.listFiles() == null) { in getSplitsForApks() 249 return Arrays.asList(splitsDir.listFiles()); in getSplitsForApks()
|
/tools/tradefederation/core/src/com/android/tradefed/device/metric/ |
D | FilePullerLogCollector.java | 57 for (File f : metricDirectory.listFiles()) { in processMetricDirectory()
|
/tools/tradefederation/core/src/com/android/tradefed/config/proxy/ |
D | TradefedDelegator.java | 66 mDelegatedTfRootDir.listFiles( in createClasspath()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/util/ |
D | ZipUtil2Test.java | 96 for (File file : destDir.listFiles()) { in testExtractZip()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/ |
D | NativeCodeCoverageListener.java | 164 return ZipUtil.createZip(Arrays.asList(untarDir.listFiles()), "native_coverage"); in convertTarToZip()
|
/tools/tradefederation/core/src/com/android/tradefed/cluster/ |
D | SubprocessConfigBuilder.java | 101 dir.listFiles((parent, name) -> name.toLowerCase().endsWith(".jar"))) { in build()
|
/tools/tradefederation/core/src/com/android/tradefed/util/ |
D | ClassPathScanner.java | 155 File[] childFiles = dir.listFiles(); in getEntriesFromDir()
|