Searched refs:downloadFile (Results 1 – 2 of 2) sorted by relevance
112 final File downloadFile = new File(mDownloadsDir, "colors.txt"); in testScannedDownload() local113 downloadFile.createNewFile(); in testScannedDownload()115 try (final PrintWriter pw = new PrintWriter(downloadFile)) { in testScannedDownload()118 verifyScannedDownload(downloadFile); in testScannedDownload()126 final File downloadFile = new File(mDownloadsDir, "scenery.png"); in testScannedMediaDownload() local127 downloadFile.createNewFile(); in testScannedMediaDownload()129 OutputStream out = new FileOutputStream(downloadFile)) { in testScannedMediaDownload()132 verifyScannedDownload(downloadFile); in testScannedMediaDownload()
1035 id = downloadFile(uri, file, timeout); in downloadFileWithRetries()1047 public long downloadFile(Uri uri, Uri file, long timeout) throws Exception { in downloadFile() method in MediaPlayerDrmTestBase.MediaDownloadManager