Home
last modified time | relevance | path

Searched refs:toFile (Results 1 – 18 of 18) sorted by relevance

/cts/tests/tests/os/src/android/os/storage/cts/
DStorageCrateTest.java54 if (!mCratesRoot.toFile().exists()) { in cleanAllOfCrates()
96 final File cratesRootDir = mCratesRoot.toFile(); in getCrateDir_notInvoke_cratesRootShouldNotExist()
103 final File cratesRootDir = mCratesRoot.toFile(); in getCrateDir_withCrateId_cratesRootExist()
133 final File cratesRootDir = mCratesRoot.toFile(); in getCrateDir_withCrateId_cratesRootShouldUnderDataDir()
143 final File cratesRootDir = mCratesRoot.toFile(); in getCrateDir_withCrateId_crateDirShouldUnderCratesRootDir()
144 final File crateDir = mCratePath.toFile(); in getCrateDir_withCrateId_crateDirShouldUnderCratesRootDir()
318 String[] newChildDir = mCratesRoot.toFile().list(); in getCrateDir_callWithDifferentCrateId_shouldGenerateTheSameNumberOfCrates()
DStorageStatsManagerTest.java78 if (!mCratesPath.toFile().exists()) { in cleanAllOfCrates()
116 mUuid = mStorageManager.getUuidForPath(mCratesPath.toFile()); in setUp()
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DDumpOnFailure.java88 cleanDir(getDumpRoot(description).toFile());
98 final File rootFile = root.toFile();
/cts/tests/tests/systemui/src/android/systemui/cts/
DLightBarTestBase.java67 File dumpDir = DUMP_PATH.toFile(); in dumpBitmap()
76 fileStream = new FileOutputStream(filePath.toFile()); in dumpBitmap()
DScreenshotTestRule.java43 .getPath(basePath).toFile().getCanonicalFile(); in ScreenCaptureProcessor()
/cts/tests/signature/api-check/src/java/android/signature/cts/api/
DResourceStore.java66 return new ZipFile(path.toFile()); in readResource()
/cts/tools/vm-tests-tf/build/src/util/build/
DJarBuildStep.java73 File absoluteInputFile = absoluteInputPath.toFile(); in build()
/cts/tests/signature/lib/android/src/android/signature/cts/
DVirtualPath.java84 public File toFile() { in toFile() method in VirtualPath.LocalFilePath
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/
DCtsApiCoverage.java173 files.filter(filter).map(Path::toFile).collect(toImmutableList()); in main()
178 testApks.add(file.toFile()); in main()
180 notFoundTestApks.add(file.toFile()); in main()
DTestCaseReport.java370 getJarTestClasses(Paths.get(tsPath, jarName).toFile(), tfPath); in parseJarTestCase()
/cts/hostsidetests/compilation/status_checker_app/src/android/compilation/cts/statuscheckerapp/
DStatusCheckerAppTest.java90 Paths.get(getApplicationInfo().dataDir, secondaryDexFilename).toFile(); in createAndLoadSecondaryDex()
/cts/hostsidetests/car/app/src/android/car/cts/app/watchdog/
DCarWatchdogDeviceAppTest.java114 mTestFile = mContext.getFilesDir().toPath().resolve("testfile").toFile(); in setup()
117 mTestFile = Files.createFile(mTestFile.toPath()).toFile(); in setup()
/cts/tests/tests/car/src/android/car/cts/
DCarWatchdogDaemonTest.java85 "CarWatchdogDaemon").toFile(); in setUp()
/cts/tools/release-parser/src/com/android/cts/releaseparser/
DTestSuiteParser.java318 Paths.get(mFolderPath, jarPath).toFile(), in parseJavaHostTest()
320 Paths.get(mFolderPath, mRelContent.getTestSuiteTradefed()).toFile()); in parseJavaHostTest()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/
DReportExporter.java116 copyFilesRecursively(file, dest.toFile()); in copyFilesRecursively()
/cts/hostsidetests/car/app/src/android/car/cts/app/
DCarWatchdogTestActivity.java67 Files.createTempDirectory(getFilesDir().toPath(), "testDir").toFile(); in onCreate()
/cts/hostsidetests/security/src/android/security/cts/
DSELinuxHostTest.java411 File vintfJson = deviceInfoDir.toPath().resolve(VINTF_DEVICE_JSON).toFile(); in getVendorSepolicyVersionFromBuildInfo()
483 File vintfJson = deviceInfoDir.toPath().resolve(VINTF_DEVICE_JSON).toFile(); in getSystemSepolicyVersion()
/cts/hostsidetests/media/bitstreams/src/android/media/cts/bitstreams/
DMediaBitstreamsTest.java367 tmp = Files.createTempDirectory(null).toFile(); in pushBitstreams()