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

1 2 3 4 5 6 7 8 9

  /external/smali/util/src/test/java/org/jf/util/
ClassFileNameHandlerTest.java 121 File tempDir = Files.createTempDir();
122 ClassFileNameHandler handler = new ClassFileNameHandler(tempDir, ".smali");
127 checkFilename(tempDir, file1, "a", "a", Strings.repeat("a", 124) + "#" + Strings.repeat("a", 118) + ".smali");
130 checkFilename(tempDir, file2, "a", "a", Strings.repeat("a", 124) + "#" + Strings.repeat("a", 118) + ".1.smali");
137 File tempDir = Files.createTempDir();
138 ClassFileNameHandler handler = new ClassFileNameHandler(tempDir, ".smali");
141 checkFilename(tempDir, file, "a", "b", "c", "d.smali");
144 checkFilename(tempDir, file, "a", "b", "c", "e.smali");
147 checkFilename(tempDir, file, "a", "b", "d", "d.smali");
150 checkFilename(tempDir, file, "a", "b.smali")
    [all...]
  /external/archive-patcher/applier/src/main/java/com/google/archivepatcher/applier/
FileByFileV1DeltaApplier.java 39 private final File tempDir;
43 * @param tempDir a temp directory where the delta-friendly old blob can be written during the
46 public FileByFileV1DeltaApplier(File tempDir) {
47 this.tempDir = tempDir;
53 if (!tempDir.exists()) {
56 tempDir.mkdirs();
58 File tempFile = File.createTempFile("gfbfv1", "old", tempDir);
  /external/lzma/CPP/7zip/UI/Common/
WorkDir.cpp 49 FString tempDir = workDirInfo.Path;
50 NName::NormalizeDirPathPrefix(tempDir);
51 return tempDir;
55 FString tempDir;
56 if (!MyGetTempPath(tempDir))
58 return tempDir;
  /hardware/libhardware/tests/input/evdev/
InputHub_test.cpp 97 auto tempDir = std::make_shared<TempDir>();
105 ASSERT_EQ(OK, mInputHub->registerDevicePath(tempDir->getName()));
107 // Create a new file in tempDir after 100ms.
113 tempFile.reset(tempDir->newTempFile());
129 auto tempDir = std::make_unique<TempDir>();
130 auto deviceFile = std::unique_ptr<TempFile>(tempDir->newTempFile());
144 ASSERT_EQ(OK, mInputHub->registerDevicePath(tempDir->getName()));
145 // Ensure that tempDir was scanned to find the device
    [all...]
  /tools/tradefederation/core/src/com/android/tradefed/targetprep/
FolderSaver.java 82 File tempDir = null;
84 tempDir = FileUtil.createTempDir("tf-pulled-dir");
85 if (!device.pullDir(path, tempDir)) {
91 zip = ZipUtil.createZip(tempDir);
106 FileUtil.recursiveDelete(tempDir);
  /tools/tradefederation/core/tests/src/com/android/tradefed/util/
BugreportTest.java 52 File tempDir = null;
54 tempDir = FileUtil.createTempDir("bugreportz");
55 File mainEntry = FileUtil.createTempFile("main_entry", ".txt", tempDir);
56 File bugreport = FileUtil.createTempFile(BUGREPORT_PREFIX, ".txt", tempDir);
61 mainEntry.renameTo(new File(tempDir, "main_entry.txt"));
67 ZipUtil.addToZip(out, new File(tempDir, "main_entry.txt"), new LinkedList<String>());
70 FileUtil.recursiveDelete(tempDir);
158 File tempDir = null;
161 tempDir = FileUtil.createTempDir("bugreportz");
162 File bugreport = FileUtil.createTempFile(BUGREPORT_PREFIX, ".txt", tempDir);
    [all...]
ZipUtil2Test.java 136 File tempDir = FileUtil.createTempDir(prefix, parentDir);
137 mTempFiles.add(tempDir);
138 return tempDir;
  /dalvik/dx/etc/
mainDexClasses 19 local tempDir=/tmp
20 if [ ! -e "${tempDir}" ]; then
21 tempDir=.
23 local tempfile="${tempDir}/mainDexClasses-$$.tmp.jar"
  /prebuilts/sdk/tools/
mainDexClasses 19 local tempDir=/tmp
20 if [ ! -e "${tempDir}" ]; then
21 tempDir=.
23 local tempfile="${tempDir}/mainDexClasses-$$.tmp.jar"
  /external/icu/icu4c/source/test/letest/
FontObject.cpp 29 SFNTDirectory tempDir;
31 fread(&tempDir, sizeof tempDir, 1, file);
33 numTables = SWAPW(tempDir.numTables);
34 searchRange = SWAPW(tempDir.searchRange) >> 4;
35 entrySelector = SWAPW(tempDir.entrySelector);
36 rangeShift = SWAPW(tempDir.rangeShift) >> 4;
38 int dirSize = sizeof tempDir + ((numTables - ANY_NUMBER) * sizeof(DirectoryEntry));
  /external/icu/icu4c/source/test/perf/leperf/
FontObject.cpp 33 SFNTDirectory tempDir;
35 fread(&tempDir, sizeof tempDir, 1, file);
37 numTables = SWAPW(tempDir.numTables);
38 searchRange = SWAPW(tempDir.searchRange) >> 4;
39 entrySelector = SWAPW(tempDir.entrySelector);
40 rangeShift = SWAPW(tempDir.rangeShift) >> 4;
42 int dirSize = sizeof tempDir + ((numTables - ANY_NUMBER) * sizeof(DirectoryEntry));
  /external/caliper/caliper/src/test/java/com/google/caliper/options/
ParsedOptionsTest.java 45 private File tempDir;
48 tempDir = Files.createTempDir();
49 makeTestVmTree(tempDir);
53 if (tempDir != null) {
54 Runtime.getRuntime().exec(new String[] {"rm", "-rf", tempDir.getCanonicalPath()});
  /external/guava/guava-tests/test/com/google/common/io/
IoTestCase.java 52 private File tempDir;
130 if (tempDir == null) {
131 tempDir = createTempDir();
134 return tempDir;
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/
ReportExporter.java 99 File tempDir = new File(verifierReportsDir, getReportName(suiteName));
100 tempDir.mkdirs();
110 result, tempDir, START_MS, END_MS, REFERENCE_URL, LOG_URL,
114 copyFormattingFiles(tempDir);
117 ZipUtil.createZip(tempDir, reportZipFile);
123 FileUtil.recursiveDelete(tempDir);
  /external/toolchain-utils/
heat_map.py 32 self.tempDir = ''
40 self.tempDir = tempfile.mkdtemp(
42 self.temp_perf = os.path.join(self.tempDir, 'perf.data')
45 os.path.basename(self.tempDir))
53 self.perf_report = os.path.join(self.tempDir, 'perf_report.txt')
75 shutil.rmtree(self.tempDir)
  /libcore/tzdata/update_test_app/src/libcore/tzdata/update_test_app/installupdatetestapp/
MainActivity.java 91 File tempDir = new File(getFilesDir(), "temp");
92 if (!tempDir.exists() && !tempDir.mkdir()) {
93 publishProgress("Unable to create: " + tempDir);
99 copyOfContentFile = File.createTempFile("content", ".tmp", tempDir);
  /libcore/tzdata/shared2/src/test/libcore/tzdata/shared2/
TimeZoneDistroTest.java 135 File tempDir = IoUtils.createTemporaryDirectory(tempPrefix);
136 testFiles.add(tempDir);
137 return tempDir;
  /packages/apps/StorageManager/tests/unit/src/com/android/storagemanager/deletionhelper/
FetchDownloadsLoaderTest.java 63 File tempDir = temporaryFolder.newFolder();
65 File testFile = File.createTempFile("test", null, tempDir);
  /prebuilts/go/darwin-x86/src/syscall/
syscall_linux_test.go 38 tempDir, err := ioutil.TempDir("", "TestDeathSignal")
42 defer os.RemoveAll(tempDir)
43 os.Chmod(tempDir, 0755)
45 tmpBinary := filepath.Join(tempDir, filepath.Base(os.Args[0]))
  /prebuilts/go/linux-x86/src/syscall/
syscall_linux_test.go 38 tempDir, err := ioutil.TempDir("", "TestDeathSignal")
42 defer os.RemoveAll(tempDir)
43 os.Chmod(tempDir, 0755)
45 tmpBinary := filepath.Join(tempDir, filepath.Base(os.Args[0]))
  /external/google-breakpad/src/client/mac/tests/
minidump_generator_test.cc 78 AutoTempDir tempDir;
92 MinidumpGenerator::UniqueNameInDirectory(tempDir.path(), NULL);
183 MinidumpGenerator::UniqueNameInDirectory(tempDir.path(), NULL);
262 MinidumpGenerator::UniqueNameInDirectory(tempDir.path(), NULL);
exception_handler_test.cc 68 AutoTempDir tempDir;
112 ExceptionHandler eh(tempDir.path(), NULL, MDCallback, &fds[1], true, NULL);
194 ExceptionHandler eh(tempDir.path(), NULL, DumpNameMDCallback, this, true,
213 ExceptionHandler eh(tempDir.path(), NULL, DumpNameMDCallback, this, true,
283 tempDir.path(),
322 ExceptionHandler eh(tempDir.path(), NULL, MDCallback, &fds[1], true, NULL);
421 ExceptionHandler eh(tempDir.path(), NULL, MDCallback, &fds[1], true, NULL);
520 ExceptionHandler eh(tempDir.path(), NULL, MDCallback, &fds[1], true, NULL);
610 ExceptionHandler eh(tempDir.path(), NULL, MDCallback, &fds[1], true, NULL);
667 ExceptionHandler eh(tempDir.path(), NULL, MDCallback, &fds[1], true, NULL)
    [all...]
  /libcore/luni/src/test/java/libcore/java/io/
OldFileTest.java 36 File tempDir = new File(System.getProperty("java.io.tmpdir"));
37 String[] files = tempDir.list();
39 File f = new File(tempDir, files[i]);
45 new File(tempDir, files[i]).delete();
  /libcore/luni/src/test/java/libcore/java/nio/channels/
AsynchronousFileChannelTest.java 56 Path tempDir = Files.createTempDirectory("ASFCTest_test_open_create");
58 Path newFile = tempDir.resolve("newFile");
69 Path tempDir = Files.createTempDirectory("ASFCTest_test_open_existing");
70 Path newFile = tempDir.resolve("newFile");
95 Path tempDir = Files.createTempDirectory("ASFCTest_test_open_nonexistent");
97 Path nonExistent = tempDir.resolve("nonExistentFile");
687 Path tempDir = Files.createTempFile("ASFCTest_test_force", "");
689 AsynchronousFileChannel afc = AsynchronousFileChannel.open(tempDir,
  /packages/apps/Email/tests/src/com/android/email/
LegacyConversionsTest.java 205 final File tempDir = context.getCacheDir();
206 if (!tempDir.isDirectory() && !tempDir.mkdirs()) {
211 tempDir);

Completed in 448 milliseconds

1 2 3 4 5 6 7 8 9