Home
last modified time | relevance | path

Searched refs:DEFAULT_FILENAME (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/app/
DDownloadManagerFunctionalTest.java79 request.setTitle(DEFAULT_FILENAME); in doErrorTest()
142 assertTrue(new File(CACHE_DIR + "/" + DEFAULT_FILENAME).exists()); in verifyDownload()
161 Uri uri = getServerUri(DEFAULT_FILENAME); in testDownloadToExternal_fileExists()
188 File downloadedFile = new File(localDownloadDirectory, DEFAULT_FILENAME); in testDownloadToExternal()
198 Uri uri = getServerUri(DEFAULT_FILENAME); in testDownloadToExternal()
222 File downloadedFile = new File(PROHIBITED_DIRECTORY, DEFAULT_FILENAME); in testDownloadToProhibitedDirectory()
229 Uri uri = getServerUri(DEFAULT_FILENAME); in testDownloadToProhibitedDirectory()
270 Uri uri = getServerUri(DEFAULT_FILENAME); in testErrorTooManyRedirects()
286 Uri uri = getServerUri(DEFAULT_FILENAME); in testErrorUnhandledHttpCode()
297 Uri uri = getServerUri(DEFAULT_FILENAME); in testRelativeRedirect()
[all …]
DDownloadManagerStressTest.java85 Uri uri = getServerUri(DEFAULT_FILENAME + i); in testMultipleDownloads()
87 request.setTitle(String.format("%s--%d", DEFAULT_FILENAME + i, i)); in testMultipleDownloads()
DDownloadManagerBaseTest.java81 protected String DEFAULT_FILENAME = "somefile.txt"; field in DownloadManagerBaseTest
960 Uri uri = getServerUri(DEFAULT_FILENAME); in doEnqueue()
961 Request request = new Request(uri).setTitle(DEFAULT_FILENAME); in doEnqueue()