Home
last modified time | relevance | path

Searched refs:downloadFile (Results 1 – 2 of 2) sorted by relevance

/cts/tests/tests/provider/src/android/provider/cts/
DMediaStore_DownloadsTest.java112 final File downloadFile = new File(mDownloadsDir, "colors.txt"); in testScannedDownload() local
113 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() local
127 downloadFile.createNewFile(); in testScannedMediaDownload()
129 OutputStream out = new FileOutputStream(downloadFile)) { in testScannedMediaDownload()
132 verifyScannedDownload(downloadFile); in testScannedMediaDownload()
/cts/tests/tests/media/src/android/media/cts/
DMediaPlayerDrmTestBase.java1035 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