/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowEnvironment.java | 62 return EXTERNAL_CACHE_DIR.toFile(); in getExternalStorageDirectory() 68 if (type == null) return EXTERNAL_FILES_DIR.toFile(); in getExternalStoragePublicDirectory() 75 return path.toFile(); in getExternalStoragePublicDirectory() 178 externalDirs.add(externalFileDir.toFile()); in addExternalDir() 190 userEnvironment, "mExternalStorageAndroidData", externalFileDir.toFile()); in addExternalDir() 202 return externalFileDir.toFile(); in addExternalDir()
|
D | ShadowSharedMemory.java | 83 .toFile(); in nCreate()
|
D | ShadowParcelFileDescriptor.java | 78 RuntimeEnvironment.getTempDirectory().create(PIPE_TMP_DIR).toFile(), PIPE_FILE_NAME); in createPipe()
|
D | ShadowUsbManager.java | 213 RuntimeEnvironment.getTempDirectory().createIfNotExists("usb-accessory").toFile(); in openAccessory()
|
/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/utils/ |
D | TestUtils.java | 64 outputFolder.toFile().mkdirs(); in unzip() 66 try (ZipInputStream zis = new ZipInputStream(new FileInputStream(zipFile.toFile()))) { in unzip() 74 newFile.toFile().mkdirs(); in unzip() 77 try (FileOutputStream fos = new FileOutputStream(newFile.toFile())) { in unzip()
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/share/ |
D | JDWPUnitDebuggeeProcessWrapper.java | 344 if (!cur.toFile().exists()) { in FindPidFor() 359 if (!children.toFile().exists()) { in FindPidFor() 363 for (String child_pid : ReadChildPids(children.toFile())) { in FindPidFor()
|
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/utils/ |
D | SymbolSolverQuickSetup.java | 112 Optional<Path> root = JavaParser.parse(file.toFile()).getStorage() in visitFile() 115 typeSolver.add(new JavaParserTypeSolver(root.get().toFile())); in visitFile()
|
/external/cldr/tools/java/org/unicode/cldr/util/ |
D | FileCopier.java | 120 Writer wr = new FileWriter(Paths.get(targetDirectory, newName).toFile());) { in copy() argument 171 replacements, new FileWriter(Paths.get(destDir, destFile).toFile())); in copyAndReplace()
|
/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/manual/ |
D | BulkParseTest.java | 44 workdir.toFile().mkdirs(); in parseOpenJdkLangToolsRepository() 100 testResults.toFile().mkdirs(); in writeResults()
|
/external/fonttools/Lib/fontTools/cffLib/ |
D | __init__.py | 145 writer.toFile(file) 312 def toFile(self, file): member in CFFWriter 344 item.toFile(file) 412 def toFile(self, file): member in IndexCompiler 430 item.toFile(file) 470 def toFile(self, file): member in TopDictIndexCompiler 472 self.items[0].toFile(file) 474 super(TopDictIndexCompiler, self).toFile(file) 491 def toFile(self, file): member in FDArrayIndexCompiler 507 item.toFile(file) [all …]
|
/external/desugar/java/com/google/devtools/build/android/desugar/io/ |
D | ZipInputFileProvider.java | 34 this.zipFile = new ZipFile(root.toFile()); in ZipInputFileProvider()
|
D | DirectoryInputFileProvider.java | 46 return new FileInputStream(root.resolve(filename).toFile()); in getInputStream()
|
/external/turbine/javatests/com/google/turbine/main/ |
D | MainTest.java | 123 try (JarFile jf = new JarFile(output.toFile())) { in readJar() 185 try (JarFile jarFile = new JarFile(output.toFile())) { in testManifest()
|
/external/icu/tools/srcgen/currysrc/src/main/java/com/google/currysrc/aosp/ |
D | RepackagingTransform.java | 261 return new DirectoryInputFileGenerator(sourceDir.toFile()); in getInputFileGenerator() 271 File outputDir = targetDir.toFile(); in getOutputSourceFileGenerator()
|
/external/desugar/test/java/com/google/devtools/build/android/desugar/ |
D | BytecodeTypeInferenceTest.java | 47 String golden = Files.asCharSource(GOLDEN_PATH.toFile(), StandardCharsets.UTF_8).read().trim(); in testTypeInference()
|
D | Bug62456849TestDataGenerator.java | 53 try (ZipFile inputZip = new ZipFile(inputJar.toFile()); in main()
|
D | ByteCodeTypePrinter.java | 41 try (ZipFile jarFile = new ZipFile(inputJarFile.toFile())) { in printClassesWithTypes()
|
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/utils/ |
D | SourceZip.java | 103 try (ZipFile zipFile = new ZipFile(zipPath.toFile())) { in parse()
|
/external/parameter-framework/upstream/parameter/ |
D | ParameterMgr.cpp | 2636 bool CParameterMgr::exportDomainsXml(string &xmlDest, bool withSettings, bool toFile, in exportDomainsXml() argument 2640 (toFile ? ('"' + xmlDest + '"') : "a user-provided buffer")); in exportDomainsXml() 2644 return wrapLegacyXmlExport(xmlDest, toFile, withSettings, *configurableDomains, errorMsg); in exportDomainsXml() 2648 bool withSettings, bool toFile, string &errorMsg) const in exportSingleDomainXml() argument 2651 (toFile ? ('"' + xmlDest + '"') : "a user-provided buffer")); in exportSingleDomainXml() 2661 return wrapLegacyXmlExport(xmlDest, toFile, withSettings, *requestedDomain, errorMsg); in exportSingleDomainXml() 2664 bool CParameterMgr::wrapLegacyXmlExport(string &xmlDest, bool toFile, bool withSettings, in wrapLegacyXmlExport() argument 2670 if (toFile) { in wrapLegacyXmlExport()
|
D | ParameterMgr.h | 350 bool exportDomainsXml(std::string &xmlDest, bool withSettings, bool toFile, 367 bool withSettings, bool toFile, std::string &errorMsg) const; 788 bool wrapLegacyXmlExport(std::string &xmlDest, bool toFile, bool withSettings,
|
/external/turbine/javatests/com/google/turbine/zip/ |
D | ZipTest.java | 110 try (JarFile jf = new JarFile(path.toFile())) { in expected()
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowEnvironmentTest.java | 46 …assertThat(path).isEqualTo(new File(ShadowEnvironment.EXTERNAL_FILES_DIR.toFile(), Environment.DIR… in getExternalStoragePublicDirectory_shouldReturnDirectory()
|
/external/turbine/javatests/com/google/turbine/deps/ |
D | AbstractTransitiveTest.java | 80 try (JarFile jf = new JarFile(libb.toFile())) { in readJar()
|
/external/mockftpserver/tags/2.x_Before_IDEA/src/main/groovy/org/mockftpserver/fake/filesystem/ |
D | DefaultFileSystem.groovy | 192 File toFile = fileForPath(toPath) 193 return fileForPath(fromPath).renameTo(toFile)
|
/external/grpc-grpc-java/gae-interop-testing/gae-jdk7/ |
D | build.gradle | 106 … = new XmlParser().parse(projectPath.resolve("src/main/webapp/WEB-INF/appengine-web.xml").toFile())
|