Searched refs:newFile (Results 1 – 4 of 4) sorted by relevance
56 File newFile = new File(newFileDir, packageName + ".apk"); in getTemporaryFile() local57 return newFile; in getTemporaryFile()90 File newFile = getTemporaryFile(context, packageName); in getFileFromFd() local109 final FileOutputStream fo = new FileOutputStream(newFile); in getFileFromFd()115 Os.chmod(newFile.getAbsolutePath(), 0644); in getFileFromFd()116 return newFile; in getFileFromFd()
528 File newFile = new File(newPath); in generateMultiplePath() local530 while (newFile.exists()) { in generateMultiplePath()533 newFile = new File(newPath); in generateMultiplePath()536 return newFile; in generateMultiplePath()
161 File newFile = new File(saveIn, id); in openFile() local163 newFile, ParcelFileDescriptor.MODE_READ_WRITE | in openFile()
371 return ParcelFileDescriptor.open(mTemporaryFolder.newFile(), modeBits); in openFile()