/external/junit/src/org/junit/rules/ |
TemporaryFolder.java | 20 * File createdFile= folder.newFile("myfile.txt"); 51 public File newFile(String fileName) throws IOException { 60 public File newFile() throws IOException {
|
/frameworks/base/core/tests/coretests/src/android/os/ |
MemoryFileTest.java | 51 MemoryFile newFile = new MemoryFile("MemoryFileTest", 10000000); 52 newFile.allowPurging(true); 53 newFile.writeBytes(testString, 0, 0, testString.length); 54 files.add(newFile); [all...] |
/packages/apps/PackageInstaller/src/com/android/packageinstaller/wear/ |
WearPackageUtil.java | 56 File newFile = new File(newFileDir, packageName + ".apk"); 57 return newFile; 90 File newFile = getTemporaryFile(context, packageName); 109 final FileOutputStream fo = new FileOutputStream(newFile); 115 Os.chmod(newFile.getAbsolutePath(), 0644); 116 return newFile;
|
/external/emma/core/java12/com/vladium/util/ |
Files.java | 203 public static File newFile (final File dir, final File file) 218 public static File newFile (final File dir, final String file) 234 public static File newFile (final String dir, final String file)
|
/external/guava/guava-tests/test/com/google/common/io/ |
FileTreeTraverserTest.java | 61 File file = newFile("test"); 71 File a = newFile("a"); 73 File c = newFile("c"); 84 private File newFile(String name) throws IOException {
|
/external/jsilver/src/com/google/clearsilver/jsilver/adaptor/ |
ResourceLoaderAdaptor.java | 103 File file = newFile(name); 113 file = newFile(filePath); 130 * one important difference. It calls our subclassable newFile method. 144 File file = newFile(path, filename); 156 File newFile(String filename) { 160 File newFile(String path, String filename) {
|
/external/testng/src/main/java/org/testng/ |
Converter.java | 73 File newFile = new File(m_outputDirectory, baseName + ".yaml"); 74 writeFile(newFile, Yaml.toYaml(suite).toString()); 77 File newFile = new File(m_outputDirectory, baseName + ".xml"); 78 writeFile(newFile, suite.toXml()); 92 private void writeFile(File newFile, String content) throws IOException { 93 try (FileWriter bw = new FileWriter(newFile)) { 96 System.out.println("Wrote " + newFile);
|
/cts/tests/tests/os/src/android/os/cts/ |
FileAccessPermissionTest.java | 111 File newFile = new File(dir, System.currentTimeMillis() + "test.txt"); 113 assertTrue(newFile.createNewFile()); 114 writeFileCheck(newFile);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/build/ |
AaptQuickFixTest.java | 182 IFile newFile = project.getFile(path); 183 assertNotNull(path.toPortableString(), newFile); 187 assertEquals(newFile.getProjectRelativePath(), 197 String newFileContents = AdtPlugin.readFile(newFile);
|
/external/mockito/cglib-and-asm/src/org/mockito/cglib/transform/ |
AbstractTransformTask.java | 192 File newFile = new File(tempFile.getAbsolutePath()); 194 if(!newFile.renameTo(file)){
|
/packages/apps/Email/provider_src/com/android/email/provider/ |
AttachmentProvider.java | 161 File newFile = new File(saveIn, id); 163 newFile, ParcelFileDescriptor.MODE_READ_WRITE |
|
/external/icu/icu4j/tools/build/src/com/ibm/icu/dev/tool/docs/ |
ReportAPI.java | 88 String newFile = null; 97 newFile = args[++i]; 107 new ReportAPI(oldFile, newFile, internal).writeReport(outFile, html, internal); 128 ReportAPI(String oldFile, String newFile, boolean internal) { 129 this(APIData.read(oldFile, internal), APIData.read(newFile, internal));
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/ |
ExtractIncludeRefactoring.java | 331 String newFile = sb.toString(); 333 newFile = EclipseXmlPrettyPrinter.prettyPrint(newFile, 337 addFile.setEdit(new InsertEdit(0, newFile));
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactorings/core/ |
RenameResourceParticipant.java | 462 String newFile = mNewName + fileName.substring(mOldName.length()); 464 change.add(new RenameResourceChange(path, newFile));
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
UsageStatsDatabase.java | 321 final File newFile = new File(file.getBaseFile().getParentFile(), newName); 323 file.getBaseFile().renameTo(newFile);
|
/packages/apps/Nfc/src/com/android/nfc/beam/ |
BeamTransferManager.java | 528 File newFile = new File(newPath); 530 while (newFile.exists()) { 533 newFile = new File(newPath); 536 return newFile;
|
/frameworks/base/media/java/android/mtp/ |
MtpDatabase.java | 785 File newFile = new File(newPath); 786 boolean success = oldFile.renameTo(newFile); 806 newFile.renameTo(oldFile); 811 if (newFile.isDirectory()) { [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/templates/ |
TemplateHandler.java | [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.apache.ant_1.7.1.v20090120-1145/lib/ |
ant-jai.jar | |
/frameworks/base/packages/Shell/src/com/android/shell/ |
BugreportProgressService.java | [all...] |
/frameworks/base/tools/aapt/ |
ResourceTable.cpp | [all...] |
/prebuilts/tools/common/fest/ |
fest-util-1.1.3.jar | |
/prebuilts/eclipse/mavenplugins/tycho/tycho-dependencies-m2repo/org/eclipse/tycho/tycho-bundles-external/0.20.0/eclipse/plugins/ |
org.eclipse.equinox.p2.publisher.eclipse_1.1.200.v20130516-1953.jar | |
/prebuilts/tools/common/m2/repository/org/eclipse/tycho/tycho-bundles-external/0.18.1/eclipse/plugins/ |
org.eclipse.equinox.p2.publisher.eclipse_1.1.200.v20130516-1953.jar | |
/prebuilts/gradle-plugin/com/android/tools/repository/25.0.0/ |
repository-25.0.0.jar | |