Home
last modified time | relevance | path

Searched refs:tmpDir (Results 1 – 5 of 5) sorted by relevance

/cts/hostsidetests/aadb/src/android/aadb/cts/
DTestDeviceStressTest.java52 File tmpDir = null; in createTempTestFiles() local
55 tmpDir = FileUtil.createTempDir("testDir"); in createTempTestFiles()
59 tmpFile = FileUtil.createTempFile(String.format("tmp_%d", i), ".txt", tmpDir); in createTempTestFiles()
62 return tmpDir; in createTempTestFiles()
71 File tmpDir = null; in testPushFolderWithManyFiles() local
81 tmpDir = createTempTestFiles(); in testPushFolderWithManyFiles()
86 assertTrue(mTestDevice.pushDir(tmpDir, deviceFilePath)); in testPushFolderWithManyFiles()
90 if (tmpDir != null) { in testPushFolderWithManyFiles()
91 FileUtil.recursiveDelete(tmpDir); in testPushFolderWithManyFiles()
DTestDeviceFuncTest.java258 File tmpDir = FileUtil.createTempDir("tmp"); in doTestSyncFiles() local
260 File tmpFile = createTempTestFile(tmpDir); in doTestSyncFiles()
265 tmpDir.getName(), tmpFile.getName()); in doTestSyncFiles()
267 assertTrue(mTestDevice.syncFiles(tmpDir, externalStorePath)); in doTestSyncFiles()
274 File tmpFile2 = createTempTestFile(tmpDir); in doTestSyncFiles()
276 assertTrue(mTestDevice.syncFiles(tmpDir, externalStorePath)); in doTestSyncFiles()
278 tmpDir.getName(), tmpFile2.getName()); in doTestSyncFiles()
303 assertTrue(mTestDevice.syncFiles(tmpDir, externalStorePath)); in doTestSyncFiles()
312 FileUtil.recursiveDelete(tmpDir); in doTestSyncFiles()
325 File tmpDir = FileUtil.createTempDir("tmp", rootDir); in testPushDir() local
[all …]
/cts/tests/tests/media/src/android/media/cts/
DMediaScannerNotificationTest.java91 File tmpDir = new File(externalPath, "" + System.nanoTime()); in createTempFiles() local
92 String tmpPath = tmpDir.getAbsolutePath(); in createTempFiles()
93 assertFalse(tmpPath + " already exists", tmpDir.exists()); in createTempFiles()
94 assertTrue("failed to create " + tmpDir, tmpDir.mkdirs()); in createTempFiles()
/cts/tools/vm-tests-tf/targetprep/src/android/core/vm/targetprep/
DVmTestPreparer.java83 File tmpDir = new File(System.getProperty("java.io.tmpdir")); in installVmPrereqs() local
84 File localTmpDir = FileUtil.createTempDir("cts-vm", tmpDir); in installVmPrereqs()
/cts/tests/tests/mediastress/preconditions/src/android/mediastress/cts/preconditions/
DMediaPreparer.java335 String tmpDir = tmpFile.getParent(); in run() local
336 mediaFolder = new File(tmpDir, MEDIA_FOLDER_NAME); in run()