/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 | 253 File tmpDir = FileUtil.createTempDir("tmp"); 255 File tmpFile = createTempTestFile(tmpDir); 260 tmpDir.getName(), tmpFile.getName()); 262 assertTrue(mTestDevice.syncFiles(tmpDir, externalStorePath)); 269 File tmpFile2 = createTempTestFile(tmpDir); 271 assertTrue(mTestDevice.syncFiles(tmpDir, externalStorePath)); 273 tmpDir.getName(), tmpFile2.getName()); 287 assertTrue(mTestDevice.syncFiles(tmpDir, externalStorePath)); 296 FileUtil.recursiveDelete(tmpDir); 309 File tmpDir = FileUtil.createTempDir("tmp", rootDir) [all...] |
/libcore/luni/src/test/java/libcore/sqlite/ |
OldJDBCDriverFunctionalTest.java | 38 String tmp = System.getProperty("java.io.tmpdir"); 39 File tmpDir = new File(tmp); 40 if (tmpDir.isDirectory()) { 42 dbFile = File.createTempFile("JDBCDriverFunctionalTest", ".db", tmpDir); 48 System.err.println("java.io.tmpdir does not exist");
|
OldSQLiteTest.java | 33 String tmp = System.getProperty("java.io.tmpdir"); 34 File tmpDir = new File(tmp); 36 if (tmpDir.isDirectory()) { 37 dbFile = File.createTempFile("sqliteTest", ".db", tmpDir);
|
/external/skia/tests/ |
DocumentTest.cpp | 33 SkString tmpDir = skiatest::Test::GetTmpDir(); 35 if (tmpDir.isEmpty()) { 41 SkString path = SkOSPath::SkPathJoin(tmpDir.c_str(), "aborted.pdf"); 62 SkString tmpDir = skiatest::Test::GetTmpDir(); 63 if (tmpDir.isEmpty()) { 69 SkString path = SkOSPath::SkPathJoin(tmpDir.c_str(), "file.pdf");
|
skia_test.cpp | 130 DEFINE_string2(tmpDir, t, NULL, "tmp directory for tests to use."); 139 const char* tmpDir = FLAGS_tmpDir.isEmpty() ? NULL : FLAGS_tmpDir[0]; 140 return SkString(tmpDir); 186 SkString tmpDir = Test::GetTmpDir(); 187 if (!tmpDir.isEmpty()) { 188 header.appendf(" --tmpDir %s", tmpDir.c_str());
|
StreamTest.cpp | 40 static void test_filestreams(skiatest::Reporter* reporter, const char* tmpDir) { 41 SkString path = SkOSPath::SkPathJoin(tmpDir, "wstream_test"); 136 SkString tmpDir = skiatest::Test::GetTmpDir(); 137 if (!tmpDir.isEmpty()) { 138 test_filestreams(reporter, tmpDir.c_str());
|
DataRefTest.cpp | 178 SkString tmpDir = skiatest::Test::GetTmpDir(); 179 if (tmpDir.isEmpty()) { 183 SkString path = SkOSPath::SkPathJoin(tmpDir.c_str(), "data_test");
|
/libcore/crypto/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/ |
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...] |
/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");
|
/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;
|
pkgdata.cpp | 413 o.tmpDir = options[TEMPDIR].value; 415 o.tmpDir = o.targetDir; 533 char tmpDir[SMALL_BUFFER_MAX_SIZE] = ""; 559 uprv_strcpy(tmpDir, o->tmpDir); 560 uprv_strcat(tmpDir, PKGDATA_FILE_SEP_STRING); 562 uprv_strcpy(datFileNamePath, tmpDir); 672 writeAssemblyCode(datFileNamePath, o->tmpDir, o->entryName, NULL, gencFilePath); 696 writeObjectCode(datFileNamePath, o->tmpDir, o->entryName, NULL, NULL, gencFilePath); [all...] |
/external/icu4c/tools/pkgdata/ |
pkgtypes.h | 115 const char *dataDir; /* parent of dir for package (default: tmpdir) */ 116 const char *tmpDir;
|
pkgdata.cpp | 407 o.tmpDir = options[TEMPDIR].value; 409 o.tmpDir = o.targetDir; 533 char tmpDir[SMALL_BUFFER_MAX_SIZE] = ""; 561 uprv_strcpy(tmpDir, o->tmpDir); 562 uprv_strcat(tmpDir, PKGDATA_FILE_SEP_STRING); 564 uprv_strcpy(datFileNamePath, tmpDir); 690 writeAssemblyCode(datFileNamePath, o->tmpDir, o->entryName, NULL, gencFilePath); 722 writeObjectCode(datFileNamePath, o->tmpDir, o->entryName, NULL, NULL, gencFilePath); [all...] |
/art/test/074-gc-thrash/src/ |
Main.java | 92 File tmpDir = new File("/tmp"); 93 if (tmpDir.exists() && tmpDir.isDirectory()) {
|
/dalvik/tests/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...] |
/prebuilts/devtools/adt/lib/ |
sdktestutils.jar | |
/external/llvm/utils/lit/lit/ |
TestRunner.py | 343 tmpDir = os.path.join(execdir, 'Output') 344 tmpBase = os.path.join(tmpDir, execbase) 352 tmpDir = tmpDir.replace('\\', '/') 364 ('%T', tmpDir),
|
/libcore/luni/src/test/java/libcore/java/net/ |
OldURLClassLoaderTest.java | 94 String tmp = System.getProperty("java.io.tmpdir") + "/"; 96 File tmpDir = new File(tmp); 114 urls[0] = new URL("file://" + tmpDir.getAbsolutePath() + "/");
|
OldURLTest.java | 527 File tmpDir = new File(System.getProperty("java.io.tmpdir")); 530 if (tmpDir.isDirectory()) { 532 tmpDir); 535 fail("Error in test setup java.io.tmpdir does not exist");
|
/frameworks/base/tests/CoreTests/android/core/ |
SSLSocketTest.java | [all...] |