Home
last modified time | relevance | path

Searched refs:newFile (Results 1 – 5 of 5) sorted by relevance

/packages/apps/StorageManager/tests/unit/src/com/android/storagemanager/deletionhelper/
DFetchDownloadsLoaderTest.java77 File first = temporaryFolder.newFile(); in testSumFileSizes()
85 File second = temporaryFolder.newFile(); in testSumFileSizes()
100 File imageFile = temporaryFolder.newFile("test.gif"); in testFetchesThumbnailsForImages()
116 File clearableFile = temporaryFolder.newFile(); in makeClearableFile()
/packages/apps/Nfc/src/com/android/nfc/beam/
DBeamTransferManager.java546 File newFile = new File(newPath); in generateMultiplePath() local
548 while (newFile.exists()) { in generateMultiplePath()
551 newFile = new File(newPath); in generateMultiplePath()
554 return newFile; in generateMultiplePath()
/packages/providers/MediaProvider/tests/client/src/com/android/providers/media/client/
DPerformanceTest.java324 File newFile = new File(testDir, "file_" + System.nanoTime()); in doDirOperations() local
325 assertThat(file.renameTo(newFile)).isTrue(); in doDirOperations()
326 renamedFiles.add(newFile); in doDirOperations()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadStorageProvider.java211 File newFile = getFileForDocId(newDocumentId); in createDocument() local
213 newFile.getName(), newFile.getName(), true, mimeType, in createDocument()
214 newFile.getAbsolutePath(), 0L, in createDocument()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/coex/
DCoexManagerTest.java160 File file = tempFolder.newFile(configFile.split("/")[1]); in createFileFromResource()