Searched refs:newFile (Results 1 – 13 of 13) sorted by relevance
77 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()
90 ZipEntry newFile = newSchemasByFileName.get(baseFile.getName()); in roomDatabaseVersionBumpGuardrailTest() local91 if (newFile == null) { in roomDatabaseVersionBumpGuardrailTest()101 newSchemas.getInputStream(newFile).readAllBytes())) { in roomDatabaseVersionBumpGuardrailTest()
323 File newFile = new File(testDir, "file_" + System.nanoTime()); in doDirOperations() local324 assertThat(file.renameTo(newFile)).isTrue(); in doDirOperations()325 renamedFiles.add(newFile); in doDirOperations()
55 File file = tempFolder.newFile(filename); in createFileFromResource()
79 this(newFile(parentPath, filename), datastoreVersion, versionKey); in BooleanFileDatastore()461 private static File newFile(String parentPath, String filename) { in newFile() method in BooleanFileDatastore
211 File newFile = getFileForDocId(newDocumentId); in createDocument() local213 newFile.getName(), newFile.getName(), true, mimeType, in createDocument()214 newFile.getAbsolutePath(), 0L, in createDocument()
212 File tempFile = temporaryFolder.newFile(); in writeTempFile()
666 File tempFile = mTemporaryFolder.newFile(); in testWriteSearchResultsToFileStatsLogging()682 File tempFile = mTemporaryFolder.newFile(); in testPutDocumentsFromFileStatsLogging()1752 File tempFile = mTemporaryFolder.newFile(); in verifyWriteSearchResultsToFileResult()1766 File tempFile = mTemporaryFolder.newFile(); in verifyPutDocumentsFromFileResult()
109 mTestFile = mFolder.newFile(TEST_FILE); in setUp()
151 mComponentStateFile = temporaryFolder.newFile("COMPONENT_STATE_FILE"); in setUp()
206 final AtomicFile storageFile = new AtomicFile(tempFolder.newFile("thread_settings.xml")); in setUp()
273 mComponentStateFile = temporaryFolder.newFile("COMPONENT_STATE_FILE"); in setUp()2617 mFileHwStateMonitoring = temporaryFolder.newFile("HW_STATE_MONITORING"); in setService()2618 mFileKernelSilentMode = temporaryFolder.newFile("KERNEL_SILENT_MODE"); in setService()
162 File file = tempFolder.newFile(configFile.split("/")[1]); in createFileFromResource()