Searched refs:newFile (Results 1 - 10 of 10) sorted by relevance
/frameworks/support/tests/java/android/support/v4/provider/ |
H A D | DocumentFileTest.java | 228 final DocumentFile newFile = meow.createFile("text/plain", "My New File"); 229 assertEquals("My New File.txt", newFile.getName()); 230 assertEquals("text/plain", newFile.getType()); 231 assertTrue("isFile", newFile.isFile()); 232 assertFalse("isDirectory", newFile.isDirectory()); 234 assertEquals("length", 0, newFile.length()); 235 writeInt(newFile.getUri(), 0); 236 assertEquals("length", 4, newFile.length());
|
/frameworks/base/core/tests/coretests/src/android/os/ |
H A D | 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);
|
/frameworks/base/tools/aapt2/link/ |
H A D | TableMerger.cpp | 68 FileReference* newFile, FileReference* oldFile) -> bool { 78 newFile->file = f; 113 FileReference* newFile, FileReference* oldFile) -> bool { 122 newFile->file = f;
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
H A D | WifiCertManagerTest.java | 58 File configFile = mTempFolder.newFile();
|
H A D | PasspointManagementObjectManagerTest.java | 68 File file = tempFolder.newFile(configFile.split("/")[1]); 172 File file = tempFolder.newFile("PerProviderSubscription.conf");
|
/frameworks/base/media/java/android/mtp/ |
H A D | MtpDatabase.java | 785 File newFile = new File(newPath); 786 boolean success = oldFile.renameTo(newFile); 806 newFile.renameTo(oldFile); 811 if (newFile.isDirectory()) {
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
H A D | UsageStatsDatabase.java | 321 final File newFile = new File(file.getBaseFile().getParentFile(), newName); 323 file.getBaseFile().renameTo(newFile);
|
/frameworks/base/packages/Shell/src/com/android/shell/ |
H A D | BugreportProgressService.java | 1695 final File newFile; 1699 newFile = oldFile.renameTo(renamedFile) ? renamedFile : oldFile; 1702 newFile = oldFile; 1704 renamedFiles.add(newFile);
|
/frameworks/base/tools/aapt/ |
H A D | ResourceTable.cpp | 4806 sp<AaptFile> newFile = new AaptFile(target->getSourceFile(), local 4809 newFile->getGroupEntry().toDirName(target->getResourceType()).string(), 4819 newFile->getResourceType().string(), 4836 item.file = newFile;
|
/frameworks/opt/setupwizard/tools/docs/ |
H A D | jsilver.jar | META-INF/ META-INF/MANIFEST.MF org/ org/clearsilver/ org/clearsilver/DelegatedHdf.class DelegatedHdf. ... |
Completed in 482 milliseconds