/libcore/luni/src/test/java/libcore/java/io/ |
OldFileReaderTest.java | 29 File noFile = new File(System.getProperty("java.io.tmpdir"), "noreader.tst"); 40 br = new FileReader(System.getProperty("java.io.tmpdir") + "/noreader.tst");
|
OldFileTest.java | 47 File tempDir = new File(System.getProperty("java.io.tmpdir")); 76 String dirName = System.getProperty("java.io.tmpdir"); 112 String userDir = System.getProperty("java.io.tmpdir"); 123 dirName = System.getProperty("java.io.tmpdir"); 158 String base = System.getProperty("java.io.tmpdir"); 178 String cts = System.getProperty("java.io.tmpdir"); 208 String userDir = System.getProperty("java.io.tmpdir"); 210 throw new Exception("System property java.io.tmpdir not defined."); 211 System.setProperty("java.io.tmpdir", userDir);
|
/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");
|
/ndk/build/tools/ |
download-toolchain-sources.sh | 116 TMPDIR=/tmp/ndk-$USER/$PKGNAME 117 log "Creating temporary directory $TMPDIR" 118 rm -rf $TMPDIR && mkdir $TMPDIR 119 fail_panic "Could not create temporary directory: $TMPDIR" 173 (mkdir -p $TMPDIR/$SUBDIR/$NAME && cd $TMPDIR/$SUBDIR/$NAME && run $GITCMD $GITOPTS checkout $REVISION "$@") 183 cd $TMPDIR 185 CLONE_DIR=$TMPDIR/git 234 (cd "$TMPDIR/llvm-$LLVM_VERSION/llvm" && [all...] |
/external/antlr/antlr-3.4/runtime/Perl5/t/lib/ANTLR/Runtime/ |
Test.pm | 58 my $tmpdir = tempdir( CLEANUP => 1 ); 68 my $grammar_file = File::Spec->catfile($tmpdir, "$grammar_name.g"); 72 my $test_program_file = File::Spec->catfile($tmpdir, 'test.pl'); 89 my $g_result = run_program([ File::Spec->catfile($cwd, 'tools', $antlr), '-o', $tmpdir, $grammar_file ]); 96 #local $ENV{PERLCOV_DB} = File::Spec->catfile($tmpdir, 'perlcov.db'); 97 #local $ENV{NYTPROF} = 'file=' . File::Spec->catfile($tmpdir, 'nytprof.out'); 98 $test_result = run_program([ get_perl(), '-Mblib', "-I$tmpdir", $test_program_file ]);
|
/external/blktrace/btt/ |
bno_plot.py | 92 tmpdir = tempfile.mktemp() variable 93 os.mkdir(tmpdir) 97 t = '%s/%s' % (tmpdir, f) 109 fo = open('%s/plot.cmds' % tmpdir, 'w') 117 cmd = '/usr/bin/gnuplot %s/plot.cmds -' % tmpdir 122 os.chdir(tmpdir) 127 os.system('/bin/rm -rf ' + tmpdir)
|
/external/skia/tests/ |
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());
|
/cts/hostsidetests/aadb/src/com/android/cts/aadb/ |
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...] |
/external/llvm/autoconf/m4/ |
link_options.m4 | 78 # Create a temporary directory $tmp in $TMPDIR (default /tmp). 81 : ${TMPDIR=/tmp} 84 (umask 077 && mktemp -d "$TMPDIR/fooXXXXXX") 2>/dev/null 88 tmp=$TMPDIR/foo$$-$RANDOM
|
/external/llvm/projects/sample/autoconf/m4/ |
link_options.m4 | 78 # Create a temporary directory $tmp in $TMPDIR (default /tmp). 81 : ${TMPDIR=/tmp} 84 (umask 077 && mktemp -d "$TMPDIR/fooXXXXXX") 2>/dev/null 88 tmp=$TMPDIR/foo$$-$RANDOM
|
/external/mksh/src/ |
var_spec.h | 37 FN(TMPDIR)
|
/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/tools/tradefed-host/tests/src/com/android/cts/tradefed/device/ |
DeviceInfoCollectorFuncTest.java | 29 * TODO: this test assumes the TestDeviceSetup apk is located in the "java.io.tmpdir" 38 System.getProperty("java.io.tmpdir")), testListener);
|
/bootable/recovery/applypatch/ |
applypatch.sh | 32 tmpdir=$(mktemp -d) 93 rm -rf $tmpdir 159 echo hello > $tmpdir/foo 160 $ADB push $tmpdir/foo $WORK_DIR 179 $ADB pull $WORK_DIR/old.file $tmpdir/patched 180 diff -q $DATA_DIR/new.file $tmpdir/patched || fail 184 $ADB pull $WORK_DIR/old.file $tmpdir/patched 185 diff -q $DATA_DIR/new.file $tmpdir/patched || fail 213 $ADB pull $WORK_DIR/new.file $tmpdir/patched 214 diff -q $DATA_DIR/new.file $tmpdir/patched || fai [all...] |
/dalvik/dx/tests/ |
run-test | 95 tmpdir=/tmp/test-$$ 106 rm -rf "$tmpdir" 107 cp -Rp "$testdir" "$tmpdir" 108 cd "$tmpdir" 133 rm -rf "$tmpdir" 146 echo "files left in $tmpdir"
|
/external/chromium_org/third_party/tcmalloc/chromium/src/tests/ |
heap-checker-death_unittest.sh | 48 TMPDIR="/tmp/heap_check_death_info" 84 output="$TMPDIR/output" 117 TMPDIR=/tmp/heap_check_death_info 118 rm -rf $TMPDIR || exit 1 119 mkdir $TMPDIR || exit 2 171 cd / # so we're not in TMPDIR when we delete it 172 rm -rf $TMPDIR
|
/external/chromium_org/third_party/tcmalloc/vendor/src/tests/ |
heap-checker-death_unittest.sh | 48 TMPDIR="/tmp/heap_check_death_info" 84 output="$TMPDIR/output" 117 TMPDIR=/tmp/heap_check_death_info 118 rm -rf $TMPDIR || exit 1 119 mkdir $TMPDIR || exit 2 171 cd / # so we're not in TMPDIR when we delete it 172 rm -rf $TMPDIR
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_shutil.py | 348 tmpdir = self.mkdtemp() 349 file1 = os.path.join(tmpdir, 'file1') 350 file2 = os.path.join(tmpdir, 'file2') 375 tmpdir = self.mkdtemp() 376 self.write_file([tmpdir, 'file1'], 'xxx') 377 self.write_file([tmpdir, 'file2'], 'xxx') 378 os.mkdir(os.path.join(tmpdir, 'sub')) 379 self.write_file([tmpdir, 'sub', 'file3'], 'xxx') 384 unittest.skipUnless(splitdrive(tmpdir)[0] == splitdrive(tmpdir2)[0], 391 os.chdir(tmpdir) [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_shutil.py | 348 tmpdir = self.mkdtemp() 349 file1 = os.path.join(tmpdir, 'file1') 350 file2 = os.path.join(tmpdir, 'file2') 375 tmpdir = self.mkdtemp() 376 self.write_file([tmpdir, 'file1'], 'xxx') 377 self.write_file([tmpdir, 'file2'], 'xxx') 378 os.mkdir(os.path.join(tmpdir, 'sub')) 379 self.write_file([tmpdir, 'sub', 'file3'], 'xxx') 384 unittest.skipUnless(splitdrive(tmpdir)[0] == splitdrive(tmpdir2)[0], 391 os.chdir(tmpdir) [all...] |
/frameworks/native/cmds/installd/ |
commands.c | 310 char tmpdir[PATH_MAX]; local 322 if (create_user_path(tmpdir, 0) == 0) { 323 //ALOGI("adding cache files from %s\n", tmpdir); 324 add_cache_files(cache, tmpdir, "cache"); 328 snprintf(tmpdir, sizeof(tmpdir), "%s%s", android_data_dir.path, 330 dirpos = tmpdir + strlen(tmpdir); 331 d = opendir(tmpdir); 341 if ((strlen(name)+(dirpos-tmpdir)) < (sizeof(tmpdir)-1)) [all...] |
/external/chromium_org/tools/win/link_limiter/ |
build_link_limiter.py | 16 def run_with_vsvars(cmd, tmpdir=None): 21 if tmpdir: 22 print >> f, r'cd %s' % tmpdir
|
/external/nist-pkits/ |
generate-tests.sh | 67 TEMP_TEXT=$(mktemp --tmpdir PKITS.txt.XXXXXXXX) 68 TEMP_JAVA=$(mktemp --tmpdir generated-nist-tests.XXXXXXXXX) 69 TEMP_FILES=$(mktemp --tmpdir generated-nist-files.XXXXXXXXX)
|
/ndk/sources/host-tools/sed-4.2.1/sed/ |
utils.c | 197 ck_mkstemp (p_filename, tmpdir, base) 199 char *base, *tmpdir; 206 if (tmpdir == NULL) 207 tmpdir = getenv("TMPDIR"); 208 if (tmpdir == NULL) 210 tmpdir = getenv("TMP"); 211 if (tmpdir == NULL) 213 tmpdir = P_tmpdir; 215 tmpdir = "/tmp" [all...] |