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

1 2 3 4 5 6 7 8 91011

  /packages/apps/Messaging/src/com/android/messaging/datamodel/
FileProvider.java 66 final File parentDir = file.getParentFile();
67 if (parentDir.exists() || parentDir.mkdirs()) {
  /libcore/tzdata/update/src/main/libcore/tzdata/update/
FileUtils.java 39 * Creates a new {@link java.io.File} from the {@code parentDir} and {@code name}, but only if
40 * the resulting file would exist beneath {@code parentDir}. Useful if {@code name} could
43 * @throws java.io.IOException if the file would not exist beneath {@code parentDir}
45 public static File createSubFile(File parentDir, String name) throws IOException {
46 // The subFile must exist beneath parentDir. If name contains "/../" this may not be the
48 File subFile = new File(parentDir, name).getCanonicalFile();
49 if (!subFile.getPath().startsWith(parentDir.getCanonicalPath())) {
50 throw new IOException(name + " must exist beneath " + parentDir +
  /external/emma/core/java12/com/vladium/util/
Files.java 294 * This defers to File.createTempFile (prefix, extension, parentDir) after
304 * @param parentDir parent dir for the temp file [may not be null and must exist]
311 * @return writeable temp file descriptor [incorporates 'parentDir' in its pathname]
314 public static File createTempFile (final File parentDir, final String prefix, String extension)
317 if ((parentDir == null) || ! parentDir.exists ())
318 throw new IllegalArgumentException ("invalid parent directory: [" + parentDir + "]");
325 return File.createTempFile (prefix, extension, parentDir);
IPathEnumerator.java 50 void handleArchiveStart (File parentDir, File archive, Manifest manifest);
58 void handleArchiveEnd (File parentDir, File archive);
  /frameworks/base/core/tests/coretests/src/android/database/
DatabaseLockTest.java 45 File parentDir = getContext().getFilesDir();
46 mDatabaseFile = new File(parentDir, "database_test.db");
  /external/emma/core/java12/com/vladium/emma/rt/
ClassPathProcessorST.java 81 public void handleArchiveStart (final File parentDir, final File archive, final Manifest manifest)
83 m_archiveFile = Files.newFile (parentDir, archive.getPath ());
173 public void handleArchiveEnd (final File parentDir, final File archive)
  /external/testng/src/main/java/org/testng/reporters/
XMLReporter.java 98 File parentDir = suiteFile.getParentFile();
99 if (parentDir.exists() || suiteFile.getParentFile().mkdirs()) {
100 Utils.writeFile(parentDir.getAbsolutePath(), FILE_NAME, xmlBuffer.toXML());
XMLSuiteResultWriter.java 54 String parentDir =
56 File file = referenceSuiteResult(xmlBuffer, parentDir, suiteResult);
96 private File referenceSuiteResult(XMLStringBuffer xmlBuffer, String parentDir, ISuiteResult suiteResult) {
101 return new File(parentDir + File.separatorChar + suiteResultName);
  /libcore/tzdata/update/src/test/libcore/tzdata/update/
FileUtilsTest.java 271 private static void assertCreateSubFileThrows(File parentDir, String name) {
273 FileUtils.createSubFile(parentDir, name);
314 private File createDir(File parentDir, String name) {
315 File dir = new File(parentDir, name);
  /external/emma/core/java12/com/vladium/emma/instr/
InstrProcessorST.java 69 public final void handleArchiveStart (final File parentDir, final File archive, final Manifest manifest)
72 if (log.atTRACE2 ()) log.trace2 ("handleArchiveStart", "[" + parentDir + "] [" + archive + "]");
79 final File fullArchiveFile = Files.newFile (parentDir, archive);
111 final OutputStream out = new FileOutputStream (getFullOutFile (parentDir, archive, IN_LIB));
126 m_origArchiveFile = Files.newFile (parentDir, archive);
134 m_tempArchiveFile = Files.createTempFile (parentDir, archiveName, archiveExt);
342 public final void handleArchiveEnd (final File parentDir, final File archive)
345 if (log.atTRACE2 ()) log.trace2 ("handleArchiveEnd", "[" + parentDir + "] [" + archive + "]");
    [all...]
  /cts/tools/tradefed-host/src/com/android/cts/tradefed/result/
CtsXmlResultReporter.java 183 * @param parentDir the parent folder to create dir in
186 private static synchronized File createUniqueReportDir(File parentDir) {
189 File reportDir = new File(parentDir, TimeUtil.getResultTimestamp());
193 reportDir = FileUtil.createTempDir(TimeUtil.getResultTimestamp() + "_", parentDir);
  /development/tools/idegen/src/com/android/idegen/
Module.java 184 for (String parentDir : DirectorySearch.SOURCE_DIRS) {
185 if (value.startsWith(parentDir)) {
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
org.eclipse.equinox.simpleconfigurator.manipulator_2.0.0.v20100503.jar 
org.eclipse.equinox.p2.jarprocessor_1.0.200.v20100503a.jar 
  /prebuilts/eclipse/mavenplugins/tycho/tycho-dependencies-m2repo/org/eclipse/tycho/tycho-bundles-external/0.20.0/eclipse/plugins/
org.eclipse.equinox.simpleconfigurator.manipulator_2.0.0.v20130327-2119.jar 
org.eclipse.equinox.p2.jarprocessor_1.0.300.v20130327-2119.jar 
  /prebuilts/tools/common/m2/repository/org/eclipse/tycho/tycho-bundles-external/0.18.1/eclipse/plugins/
org.eclipse.equinox.simpleconfigurator.manipulator_2.0.0.v20130327-2119.jar 
org.eclipse.equinox.p2.jarprocessor_1.0.300.v20130327-2119.jar 
  /cts/tests/tests/widget/src/android/widget/cts/
LayoutDirectionTest.java 101 private void checkDirectionForOneLayoutFromXml(int parentId, int parentDir, int parentResDir,
  /frameworks/native/cmds/installd/
utils.cpp 674 static int _add_cache_files(cache_t *cache, cache_dir_t *parentDir, const char *dirName,
682 parentDir, dirName, dir, pathBase));
690 cacheDir = _add_cache_dir_t(cache, parentDir, dirName);
717 cacheDir = _add_cache_dir_t(cache, parentDir, dirName);
746 cacheDir = _add_cache_dir_t(cache, parentDir, dirName);
    [all...]
  /cts/tests/tests/permission/src/android/permission/cts/
FileSystemPermissionTest.java 121 File parentDir = new File(myDataDir).getParentFile();
122 assertFalse(parentDir.toString(), isDirectoryWritable(parentDir));
    [all...]
  /frameworks/base/services/core/java/com/android/server/am/
TaskPersister.java 602 File parentDir = new File(filePath).getParentFile();
603 return parentDir.exists() || parentDir.mkdirs();
  /prebuilts/tools/common/m2/repository/org/apache/maven/shared/file-management/1.2.1/
file-management-1.2.1.jar 
  /external/emma/core/java12/com/vladium/emma/report/html/
ReportGenerator.java     [all...]
  /prebuilts/go/darwin-x86/src/os/exec/
exec_test.go 61 parentDir := filepath.Dir(dir) // "/tmp/go-buildNNNN/os/exec"
68 cmd.Dir = parentDir

Completed in 1112 milliseconds

1 2 3 4 5 6 7 8 91011