/cts/hostsidetests/aadb/src/com/android/cts/aadb/ |
TestDeviceStressTest.java | 52 File tmpDir = null; 55 tmpDir = FileUtil.createTempDir("testDir"); 59 tmpFile = FileUtil.createTempFile(String.format("tmp_%d", i), ".txt", tmpDir); 62 return tmpDir; 71 File tmpDir = null; 81 tmpDir = createTempTestFiles(); 86 assertTrue(mTestDevice.pushDir(tmpDir, deviceFilePath)); 90 if (tmpDir != null) { 91 FileUtil.recursiveDelete(tmpDir);
|
TestDeviceFuncTest.java | 259 File tmpDir = FileUtil.createTempDir("tmp"); 261 File tmpFile = createTempTestFile(tmpDir); 266 tmpDir.getName(), tmpFile.getName()); 268 assertTrue(mTestDevice.syncFiles(tmpDir, externalStorePath)); 275 File tmpFile2 = createTempTestFile(tmpDir); 277 assertTrue(mTestDevice.syncFiles(tmpDir, externalStorePath)); 279 tmpDir.getName(), tmpFile2.getName()); 300 assertTrue(mTestDevice.syncFiles(tmpDir, externalStorePath)); 309 FileUtil.recursiveDelete(tmpDir); 322 File tmpDir = FileUtil.createTempDir("tmp", rootDir) [all...] |
/external/chromium_org/third_party/skia/tests/ |
DocumentTest.cpp | 32 SkString tmpDir = skiatest::Test::GetTmpDir(); 34 if (tmpDir.isEmpty()) { 40 SkString path = SkOSPath::Join(tmpDir.c_str(), "aborted.pdf"); 61 SkString tmpDir = skiatest::Test::GetTmpDir(); 62 if (tmpDir.isEmpty()) { 68 SkString path = SkOSPath::Join(tmpDir.c_str(), "file.pdf");
|
Test.cpp | 23 DEFINE_string2(tmpDir, t, NULL, "tmp directory for tests to use."); 116 const char* tmpDir = FLAGS_tmpDir.isEmpty() ? NULL : FLAGS_tmpDir[0]; 117 return SkString(tmpDir);
|
StreamTest.cpp | 39 static void test_filestreams(skiatest::Reporter* reporter, const char* tmpDir) { 40 SkString path = SkOSPath::Join(tmpDir, "wstream_test"); 133 SkString tmpDir = skiatest::Test::GetTmpDir(); 134 if (!tmpDir.isEmpty()) { 135 test_filestreams(reporter, tmpDir.c_str());
|
skia_test.cpp | 137 SkString tmpDir = Test::GetTmpDir(); 138 if (!tmpDir.isEmpty()) { 139 header.appendf(" --tmpDir %s", tmpDir.c_str());
|
/external/skia/tests/ |
DocumentTest.cpp | 32 SkString tmpDir = skiatest::Test::GetTmpDir(); 34 if (tmpDir.isEmpty()) { 40 SkString path = SkOSPath::SkPathJoin(tmpDir.c_str(), "aborted.pdf"); 61 SkString tmpDir = skiatest::Test::GetTmpDir(); 62 if (tmpDir.isEmpty()) { 68 SkString path = SkOSPath::SkPathJoin(tmpDir.c_str(), "file.pdf");
|
Test.cpp | 23 DEFINE_string2(tmpDir, t, NULL, "tmp directory for tests to use."); 120 const char* tmpDir = FLAGS_tmpDir.isEmpty() ? NULL : FLAGS_tmpDir[0]; 121 return SkString(tmpDir);
|
StreamTest.cpp | 39 static void test_filestreams(skiatest::Reporter* reporter, const char* tmpDir) { 40 SkString path = SkOSPath::SkPathJoin(tmpDir, "wstream_test"); 133 SkString tmpDir = skiatest::Test::GetTmpDir(); 134 if (!tmpDir.isEmpty()) { 135 test_filestreams(reporter, tmpDir.c_str());
|
skia_test.cpp | 156 SkString tmpDir = Test::GetTmpDir(); 157 if (!tmpDir.isEmpty()) { 158 header.appendf(" --tmpDir %s", tmpDir.c_str());
|
/external/conscrypt/src/test/java/org/conscrypt/ |
FileClientSessionCacheTest.java | 27 String tmpDir = System.getProperty("java.io.tmpdir"); 28 if (tmpDir == null) { 29 fail("Please set 'java.io.tmpdir' system property."); 31 File cacheDir = new File(tmpDir
|
/libcore/luni/src/test/java/libcore/java/sql/ |
ConnectionTest.java | 51 String tmp = System.getProperty("java.io.tmpdir"); 52 File tmpDir = new File(tmp); 53 if (tmpDir.isDirectory()) { 55 dbFile = File.createTempFile("OldJDBCDriverTest", ".db", tmpDir); 61 System.err.println("java.io.tmpdir does not exist");
|
OldSQLTest.java | 38 String tmp = System.getProperty("java.io.tmpdir"); 39 File tmpDir = new File(tmp); 40 if (tmpDir.isDirectory()) { 41 dbFile = File.createTempFile("sqliteTest", ".db", tmpDir); 44 System.err.println("java.io.tmpdir does not exist");
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitperl/ |
httpd.pm | 62 my $tmpDir = "/tmp"; 65 my $exclusiveLockFile = File::Spec->catfile($tmpDir, "WebKit.lock"); 66 my $httpdPidDir = File::Spec->catfile($tmpDir, "WebKit"); 280 opendir(TMPDIR, $tmpDir) or die "Could not open " . $tmpDir . "."; 281 my @lockFiles = grep {m/^$httpdLockPrefix\d+$/} readdir(TMPDIR); 283 closedir(TMPDIR); 307 my $currentLockFile = File::Spec->catfile($tmpDir, "$httpdLockPrefix" . getLockNumberForCurrentRunning()); 311 $currentLockFile = File::Spec->catfile($tmpDir, "$httpdLockPrefix" . getLockNumberForCurrentRunning()) [all...] |
/libcore/luni/src/test/java/libcore/java/io/ |
OldFileTest.java | 36 File tempDir = new File(System.getProperty("java.io.tmpdir")); 64 String tmpDirName = System.getProperty("java.io.tmpdir"); 94 String tmpDir = System.getProperty("java.io.tmpdir"); 95 if (!tmpDir.endsWith(File.separator)) { 96 tmpDir += File.separator; 99 String dirName = tmpDir; 101 File f = new File(tmpDir, fileName); 102 tmpDir += "input.tst"; 103 assertEquals(tmpDir, f.getAbsolutePath()) [all...] |
/cts/tests/tests/media/src/android/media/cts/ |
MediaScannerNotificationTest.java | 91 File tmpDir = new File(externalPath, "" + System.nanoTime()); 92 String tmpPath = tmpDir.getAbsolutePath(); 93 assertFalse(tmpPath + " already exists", tmpDir.exists()); 94 assertTrue("failed to create " + tmpDir, tmpDir.mkdirs());
|
/libcore/luni/src/test/java/tests/support/ |
Support_SQL.java | 56 String tmp = System.getProperty("java.io.tmpdir"); 57 File tmpDir = new File(tmp); 58 if (tmpDir.isDirectory()) { 59 dbFile = File.createTempFile("sqliteTest", ".db", tmpDir); 62 System.err.println("java.io.tmpdir does not exist");
|
/libcore/luni/src/test/java/libcore/java/util/prefs/ |
OldFilePreferencesImplTest.java | 34 File tmpDir = IoUtils.createTemporaryDirectory("OldFilePreferencesImplTest"); 36 new PreferencesTest.TestPreferencesFactory(tmpDir.getAbsolutePath()));
|
OldNodeChangeEventTest.java | 38 File tmpDir = IoUtils.createTemporaryDirectory("OldNodeChangeEventTest"); 40 new PreferencesTest.TestPreferencesFactory(tmpDir.getAbsolutePath()));
|
OldPreferenceChangeEventTest.java | 37 File tmpDir = IoUtils.createTemporaryDirectory("OldPreferenceChangeEventTest"); 39 new PreferencesTest.TestPreferencesFactory(tmpDir.getAbsolutePath()));
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/prefs/ |
FilePreferencesImplTest.java | 34 File tmpDir = IoUtils.createTemporaryDirectory("FilePreferencesImplTest"); 36 = new AbstractPreferencesTest.TestPreferencesFactory(tmpDir.getAbsolutePath());
|
/external/chromium_org/third_party/icu/source/tools/pkgdata/ |
pkgtypes.h | 115 const char *dataDir; /* parent of dir for package (default: tmpdir) */ 116 const char *tmpDir;
|
/external/icu/icu4c/source/tools/pkgdata/ |
pkgtypes.h | 115 const char *dataDir; /* parent of dir for package (default: tmpdir) */ 116 const char *tmpDir;
|
/art/test/074-gc-thrash/src/ |
Main.java | 92 File tmpDir = new File("/tmp"); 93 if (tmpDir.exists() && tmpDir.isDirectory()) {
|
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/net/ |
URLConnectionTest.java | [all...] |