/tools/tradefederation/core/tests/src/com/android/tradefed/result/ |
D | FileSystemLogSaverTest.java | 275 assertEquals(1, mReportDir.listFiles()[0].list().length); in testCreateReportDirectory_sharded() 276 assertEquals(BUILD_ID, mReportDir.listFiles()[0].list()[0]); in testCreateReportDirectory_sharded() 277 assertEquals(1, mReportDir.listFiles()[0].listFiles()[0].list().length); in testCreateReportDirectory_sharded() 278 assertEquals(TEST_TAG, mReportDir.listFiles()[0].listFiles()[0].list()[0]); in testCreateReportDirectory_sharded() 280 assertEquals(1, mReportDir.listFiles()[0].listFiles()[0].listFiles()[0].list().length); in testCreateReportDirectory_sharded() 282 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 | 260 assertEquals(pullTo.listFiles().length, 0); in testPullDir_OneFile() 264 assertEquals(pullTo.listFiles().length, 1); in testPullDir_OneFile() 265 assertEquals(pullTo.listFiles()[0].getName(), fileName); in testPullDir_OneFile() 304 assertEquals(pullTo.listFiles().length, 0); in testPullDir_RecursiveSubDir() 308 assertEquals(pullTo.listFiles().length, 1); in testPullDir_RecursiveSubDir() 309 assertEquals(pullTo.listFiles()[0].getName(), subDirName); in testPullDir_RecursiveSubDir() 310 assertTrue(pullTo.listFiles()[0].isDirectory()); in testPullDir_RecursiveSubDir() 313 assertEquals(pullTo.listFiles()[0].listFiles().length, 1); in testPullDir_RecursiveSubDir() 314 assertEquals(pullTo.listFiles()[0].listFiles()[0].getName(), fileName); in testPullDir_RecursiveSubDir()
|
/tools/tradefederation/core/src/com/android/tradefed/util/ |
D | FileUtil.java | 166 File[] children = file.listFiles(); in chmodRWXRecursively() 262 File[] children = file.listFiles(); in setReadableRecursive() 264 for (File childFile : file.listFiles()) { in setReadableRecursive() 482 for (File childFile : sourceDir.listFiles()) { in recursiveHardlink() 507 for (File childFile : sourceDir.listFiles()) { in recursiveSymlink() 539 File[] childFiles = sourceDir.listFiles(); in recursiveCopy() 668 File[] childFiles = rootDir.listFiles(); in recursiveDelete() 820 if (dir.listFiles() != null) { in findFile() 821 for (File file : dir.listFiles()) { in findFile() 856 for (File file : rootDir.listFiles()) { in findDirsUnder() [all …]
|
D | ClassPathScanner.java | 152 File[] childFiles = dir.listFiles(); in getEntriesFromDir()
|
/tools/tradefederation/core/util-apps/ContentProvider/hostsidetests/src/com/android/tradefed/contentprovider/ |
D | ContentProviderTest.java | 152 assertEquals(tmpPullDir.listFiles()[0].getName(), subDirName); // Verify subDir in testPullDir() 153 assertEquals(tmpPullDir.listFiles()[0].listFiles().length, 1); // Verify subDir content. in testPullDir() 155 FileUtil.readStringFromFile(tmpPullDir.listFiles()[0].listFiles()[0]), in testPullDir()
|
/tools/metalava/src/main/java/com/android/tools/metalava/ |
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>()
|
D | Driver.kt | 413 source.listFiles()?.forEach { file -> in processFlags() 485 source.listFiles()?.forEach { file -> in processNonCodebaseFlags() 1118 val files = file.listFiles() in skippableDirectory() 1162 val files = file.listFiles() in addHiddenPackages() 1203 for (sibling in file.parentFile.listFiles()) { in addHiddenPackages()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/ |
D | InstallApexModuleTargetPreparerTest.java | 367 assertEquals(2, fakeSplitApkApks.listFiles().length); in testSetupAndTearDown_ApkAndApks() 382 for (File f : fakeSplitApkApks.listFiles()) { in testSetupAndTearDown_ApkAndApks() 538 assertEquals(1, fakeSplitApexApks.listFiles().length); in testInstallUsingBundletool() 539 assertEquals(2, fakeSplitApkApks.listFiles().length); in testInstallUsingBundletool() 561 for (File f : fakeSplitApkApks.listFiles()) { in testInstallUsingBundletool()
|
/tools/tradefederation/core/src/com/android/tradefed/device/metric/ |
D | AtraceRunMetricCollector.java | 75 File[] testDirectories = metricDirectory.listFiles(); in processMetricDirectory() 118 File[] traceFiles = testDirectory.listFiles(); in processTraceFiles()
|
D | FilePullerLogCollector.java | 57 for (File f : metricDirectory.listFiles()) { in processMetricDirectory()
|
/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 | 161 File[] imageFiles = mBuildDir.listFiles(new PatternFilenameFilter(".*\\.img")); in createBuildImageZip() 234 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 | 338 String[] listFiles = tmpDir.list(); in testTmpDirClean() local 342 for (String file : Arrays.asList(listFiles)) { in testTmpDirClean()
|
D | NativeCodeCoverageListener.java | 97 Arrays.asList(localDir.listFiles()), in testRunEnded()
|
/tools/tradefederation/core/src/com/android/tradefed/targetprep/ |
D | InstallApexModuleTargetPreparer.java | 268 File[] splits = splitsDir.listFiles(); in installSingleModuleUsingBundletool() 305 File[] splits = splitsDir.listFiles(); in installMultipleModuleUsingBundletool()
|
D | AllTestAppsInstallSetup.java | 103 File[] files = directory.listFiles(); in installApksRecursively()
|
D | InstallAllTestZipAppsSetup.java | 140 File[] files = directory.listFiles(); in installApksRecursively()
|
D | DefaultTestsZipInstaller.java | 245 File[] childFiles = hostDir.listFiles(); in getTestsZipDataFiles()
|
/tools/tradefederation/contrib/src/com/android/uicd/tests/ |
D | UiConductorTest.java | 279 for (File file : srcFile.listFiles()) { in copyFile() 299 for (File file : srcFile.listFiles()) { in copyFile()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/ |
D | TestInvocationTest.java | 1712 assertTrue(tmpTestsDir.listFiles().length == 1); in testInvoke_deviceInfoBuild_withEnv() 1716 .listFiles()[0] in testInvoke_deviceInfoBuild_withEnv() 1720 assertTrue(tmpTestsDir.listFiles()[0].listFiles().length == 1); in testInvoke_deviceInfoBuild_withEnv() 1722 tmpTestsFile.getName(), tmpTestsDir.listFiles()[0].listFiles()[0].getName()); in testInvoke_deviceInfoBuild_withEnv() 1800 assertTrue(tmpTestsDir.listFiles().length == 0); in testInvoke_deviceInfoBuild_withEnv_andSkipProperty()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/util/ |
D | ZipUtil2Test.java | 96 for (File file : destDir.listFiles()) { in testExtractZip()
|
D | TarUtilTest.java | 137 assertEquals(content, FileUtil.readStringFromFile(unzipped.listFiles()[0])); in testGzipDir_unGzip()
|