HomeSort by relevance Sort by last modified time
    Searched refs:tmpDir (Results 1 - 25 of 43) sorted by null

1 2

  /build/soong/ui/build/
util_test.go 32 tmpDir, err := ioutil.TempDir("", "")
37 err := os.RemoveAll(tmpDir)
39 t.Errorf("Error removing tmpDir: %v", err)
43 ensureEmptyDirectoriesExist(ctx, filepath.Join(tmpDir, "a/b"))
45 err = os.Chmod(filepath.Join(tmpDir, "a"), 0555)
50 ensureEmptyDirectoriesExist(ctx, filepath.Join(tmpDir, "a"))
  /external/conscrypt/openjdk/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
  /external/conscrypt/repackaged/openjdk/src/test/java/com/android/org/conscrypt/
FileClientSessionCacheTest.java 31 String tmpDir = System.getProperty("java.io.tmpdir");
32 if (tmpDir == null) {
33 fail("Please set 'java.io.tmpdir' system property.");
35 File cacheDir = new File(tmpDir
  /cts/tests/tests/media/src/android/media/cts/
MediaScannerNotificationTest.java 83 File tmpDir = new File(externalPath, "" + System.nanoTime());
84 String tmpPath = tmpDir.getAbsolutePath();
85 assertFalse(tmpPath + " already exists", tmpDir.exists());
86 assertTrue("failed to create " + tmpDir, tmpDir.mkdirs());
  /build/soong/android/
notices.go 38 Command: `rm -rf $tmpDir $$(dirname $out) && ` +
39 `mkdir -p $tmpDir $$(dirname $out) && ` +
40 `${generate_notice} --text-output $tmpDir/NOTICE.txt --html-output $tmpDir/NOTICE.html -t "$title" -s $inputDir && ` +
41 `${minigzip} -c $tmpDir/NOTICE.html > $out`,
44 }, "tmpDir", "title", "inputDir")
72 tmpDir := PathForModuleOut(ctx, "NOTICE_tmp")
80 "tmpDir": tmpDir.String(),
  /cts/hostsidetests/security/src/android/cts/security/
FileSystemPermissionTest.java 148 File tmpDir = Files.createTempDirectory("searchpolicy").toFile();
157 new File(tmpDir, "libsepolwrap.dylib").toPath()).toFile();
159 Files.move(libcpp.toPath(), new File(tmpDir, "libc++.dylib").toPath());
160 envp = new String[] {"DYLD_LIBRARY_PATH=" + tmpDir.getAbsolutePath()};
166 new File(tmpDir, "libsepolwrap.so").toPath()).toFile();
168 Files.move(libcpp.toPath(), new File(tmpDir, "libc++.so").toPath());
169 envp = new String[] {"LD_LIBRARY_PATH=" + tmpDir.getAbsolutePath()};
175 new File(tmpDir, "searchpolicy").toPath()).toFile();
187 // Delete tmpDir
188 File[] files = tmpDir.listFiles()
    [all...]
  /external/vogar/src/vogar/target/
TestEnvironment.java 68 private final String tmpDir;
71 this.tmpDir = System.getProperty("java.io.tmpdir");
72 if (tmpDir == null || tmpDir.length() == 0) {
73 throw new AssertionError("tmpDir is null or empty: " + tmpDir);
77 // On android, behaviour around clearing "java.io.tmpdir" is inconsistent.
81 // should be correct on the host and on the jvm too, since tmpdir is assumed
83 System.setProperty("java.io.tmpdir", tmpDir)
    [all...]
  /build/soong/java/
hiddenapi.go 131 Command: `rm -rf $tmpDir && mkdir -p $tmpDir && mkdir $tmpDir/dex-input && mkdir $tmpDir/dex-output && ` +
132 `unzip -o -q $in 'classes*.dex' -d $tmpDir/dex-input && ` +
133 `for INPUT_DEX in $$(find $tmpDir/dex-input -maxdepth 1 -name 'classes*.dex' | sort); do ` +
135 ` echo "--output-dex=$tmpDir/dex-output/$$(basename $${INPUT_DEX})"; ` +
137 `${config.SoongZipCmd} $soongZipFlags -o $tmpDir/dex.jar -C $tmpDir/dex-output -f "$tmpDir/dex-output/classes*.dex" && `
    [all...]
jacoco.go 32 Command: `rm -rf $tmpDir && mkdir -p $tmpDir && ` +
35 ` instrument --quiet --dest $tmpDir $strippedJar && ` +
46 "strippedJar", "stripSpec", "tmpDir", "tmpJar")
68 "tmpDir": filepath.Dir(tmpJar.String()),
  /external/deqp/scripts/
check_build_sanity.py 34 def __init__ (self, srcDir, tmpDir):
36 self.tmpDir = tmpDir
112 buildDir = os.path.join(env.tmpDir, self.buildDir)
203 lambda env: ["--build-dir", os.path.join(env.tmpDir, "android-mustpass")]),
207 lambda env: ["--build-dir", os.path.join(env.tmpDir, "vulkan-mustpass")]),
211 lambda env: ["--build-dir", os.path.join(env.tmpDir, "spirv-binaries"),
212 "--dst-path", os.path.join(env.tmpDir, "spirv-binaries")]),
250 dest="tmpDir",
273 env = Environment(args.srcDir, args.tmpDir)
    [all...]
  /external/syzkaller/pkg/vcs/
fuchsia.go 46 tmpDir := ctx.dir + ".tmp"
47 if err := osutil.MkdirAll(tmpDir); err != nil {
50 defer os.RemoveAll(tmpDir)
51 if err := osutil.SandboxChown(tmpDir); err != nil {
56 if _, err := runSandboxed(tmpDir, "bash", "-c", cmd); err != nil {
59 return os.Rename(filepath.Join(tmpDir, "fuchsia"), ctx.dir)
  /external/skia/tests/
StreamBufferTest.cpp 80 SkString tmpDir = skiatest::GetTmpDir();
84 if (!tmpDir.isEmpty()) {
85 path = SkOSPath::Join(tmpDir.c_str(), subdir);
106 if (tmpDir.isEmpty() && f.skipIfNoTmpDir) {
PDFDocumentTest.cpp 44 SkString tmpDir = skiatest::GetTmpDir();
46 if (tmpDir.isEmpty()) {
47 ERRORF(reporter, "missing tmpDir.");
51 SkString path = SkOSPath::Join(tmpDir.c_str(), "aborted.pdf");
77 SkString tmpDir = skiatest::GetTmpDir();
78 if (tmpDir.isEmpty()) {
79 ERRORF(reporter, "missing tmpDir.");
83 SkString path = SkOSPath::Join(tmpDir.c_str(), "file.pdf");
Test.cpp 16 DEFINE_string2(tmpDir, t, nullptr, "Temp directory to use.");
57 const char* environmentVariable = "TMPDIR";
60 const char* environmentVariable = "TMPDIR";
69 const char* tmpdir = environmentVariable ? getenv(environmentVariable) : nullptr; local
70 return SkString(tmpdir ? tmpdir : defaultValue);
skia_test.cpp 157 SkString tmpDir = skiatest::GetTmpDir();
158 if (!tmpDir.isEmpty()) {
159 header.appendf(" --tmpDir %s", tmpDir.c_str());
  /external/skqp/tests/
StreamBufferTest.cpp 80 SkString tmpDir = skiatest::GetTmpDir();
84 if (!tmpDir.isEmpty()) {
85 path = SkOSPath::Join(tmpDir.c_str(), subdir);
106 if (tmpDir.isEmpty() && f.skipIfNoTmpDir) {
PDFDocumentTest.cpp 44 SkString tmpDir = skiatest::GetTmpDir();
46 if (tmpDir.isEmpty()) {
47 ERRORF(reporter, "missing tmpDir.");
51 SkString path = SkOSPath::Join(tmpDir.c_str(), "aborted.pdf");
77 SkString tmpDir = skiatest::GetTmpDir();
78 if (tmpDir.isEmpty()) {
79 ERRORF(reporter, "missing tmpDir.");
83 SkString path = SkOSPath::Join(tmpDir.c_str(), "file.pdf");
Test.cpp 16 DEFINE_string2(tmpDir, t, nullptr, "Temp directory to use.");
41 const char* environmentVariable = "TMPDIR";
44 const char* environmentVariable = "TMPDIR";
53 const char* tmpdir = environmentVariable ? getenv(environmentVariable) : nullptr; local
54 return SkString(tmpdir ? tmpdir : defaultValue);
skia_test.cpp 157 SkString tmpDir = skiatest::GetTmpDir();
158 if (!tmpDir.isEmpty()) {
159 header.appendf(" --tmpDir %s", tmpDir.c_str());
  /external/testng/src/test/java/test/failures/
BaseFailuresTest.java 87 File tmpDir = new File(outputDir);
88 tmpDir.delete();
  /external/apache-commons-compress/src/test/java/org/apache/commons/compress/
AbstractTestCase.java 378 final File tmpDir = createTempDir();
379 final File tmpFile = File.createTempFile("testfile", "", tmpDir);
383 return new File[] { tmpDir, tmpFile };
388 final File tmpDir = mkdir("testdir");
389 tmpDir.deleteOnExit();
390 return tmpDir;
  /build/soong/cmd/path_interposer/
main_test.go 27 var tmpDir string
33 tmpDir, err = ioutil.TempDir("", "interposer_test")
37 defer os.RemoveAll(tmpDir)
50 f, err := ioutil.TempFile(tmpDir, "interposer")
  /external/icu/icu4c/source/tools/pkgdata/
pkgtypes.h 117 const char *dataDir; /* parent of dir for package (default: tmpdir) */
118 const char *tmpDir;
  /art/test/074-gc-thrash/src/
Main.java 91 File tmpDir = new File("/tmp");
92 if (tmpDir.exists() && tmpDir.isDirectory()) {
  /external/llvm/utils/lit/lit/
TestRunner.py 603 tmpDir = os.path.join(execdir, 'Output')
604 tmpBase = os.path.join(tmpDir, execbase)
605 return tmpDir, tmpBase
607 def getDefaultSubstitutions(test, tmpDir, tmpBase, normalize_slashes=False):
615 tmpDir = tmpDir.replace('\\', '/')
627 ('%T', tmpDir),
636 ('%/T', tmpDir.replace('\\', '/')),
646 ('%:T', re.sub(r'^(.):', r'\1', tmpDir)),
654 ('%:T', tmpDir),
    [all...]

Completed in 1095 milliseconds

1 2