Home
last modified time | relevance | path

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

/cts/tests/app/DownloadManagerApi28Test/src/android/app/cts/
DDownloadManagerApi28Test.java62 DownloadManager.Request requestPublic = new DownloadManager.Request(getGoodUrl()); in testSetDestinationUri_publicDir() local
63 requestPublic.setDestinationUri(Uri.fromFile(publicLocation)); in testSetDestinationUri_publicDir()
64 long id = mDownloadManager.enqueue(requestPublic); in testSetDestinationUri_publicDir()
88 DownloadManager.Request requestPublic = new DownloadManager.Request(getGoodUrl()); in testSetDestinationUri_sdcardPath() local
89 requestPublic.setDestinationUri(Uri.fromFile(path)); in testSetDestinationUri_sdcardPath()
90 long id = mDownloadManager.enqueue(requestPublic); in testSetDestinationUri_sdcardPath()
116 DownloadManager.Request requestPublic = new DownloadManager.Request(getGoodUrl()); in testSetDestinationUri_privateAppDir() local
117 requestPublic.setDestinationUri(Uri.fromFile(path)); in testSetDestinationUri_privateAppDir()
118 mDownloadManager.enqueue(requestPublic); in testSetDestinationUri_privateAppDir()
138 DownloadManager.Request requestPublic = new DownloadManager.Request(getGoodUrl()); in testDestinationInExternalPublicDir() local
[all …]
/cts/tests/app/DownloadManagerInstallerTest/src/android/app/cts/
DDownloadManagerInstallerTest.java61 DownloadManager.Request requestPublic = new DownloadManager.Request(getGoodUrl()); in testSetDestinationUri_otherAppObbDir() local
62 requestPublic.setDestinationUri(Uri.fromFile(destFile)); in testSetDestinationUri_otherAppObbDir()
63 long id = mDownloadManager.enqueue(requestPublic); in testSetDestinationUri_otherAppObbDir()
/cts/tests/app/src/android/app/cts/
DDownloadManagerTest.java264 Request requestPublic = new Request(getGoodUrl()); in testDownloadManagerDestination() local
265 requestPublic.setDestinationInExternalPublicDir(Environment.DIRECTORY_DOWNLOADS, in testDownloadManagerDestination()
267 long publicId = mDownloadManager.enqueue(requestPublic); in testDownloadManagerDestination()
339 DownloadManager.Request requestPublic = new DownloadManager.Request(getGoodUrl()); in testSetDestinationUri_privateAppDir() local
340 requestPublic.setDestinationUri(Uri.fromFile(path)); in testSetDestinationUri_privateAppDir()
341 mDownloadManager.enqueue(requestPublic); in testSetDestinationUri_privateAppDir()
440 DownloadManager.Request requestPublic = new DownloadManager.Request(getGoodUrl()); in testSetDestinationInExternalPublicDownloadDir() local
441 requestPublic.setDestinationInExternalPublicDir(destination, subPath); in testSetDestinationInExternalPublicDownloadDir()
442 long id = mDownloadManager.enqueue(requestPublic); in testSetDestinationInExternalPublicDownloadDir()
690 DownloadManager.Request requestPublic = new DownloadManager.Request( in testDownload_mediaScanned() local
[all …]