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.java59 DownloadManager.Request requestPublic = new DownloadManager.Request(getGoodUrl()); in testSetDestinationUri_publicDir() local
60 requestPublic.setDestinationUri(Uri.fromFile(publicLocation)); in testSetDestinationUri_publicDir()
61 long id = mDownloadManager.enqueue(requestPublic); in testSetDestinationUri_publicDir()
85 DownloadManager.Request requestPublic = new DownloadManager.Request(getGoodUrl()); in testSetDestinationUri_sdcardPath() local
86 requestPublic.setDestinationUri(Uri.fromFile(path)); in testSetDestinationUri_sdcardPath()
87 long id = mDownloadManager.enqueue(requestPublic); in testSetDestinationUri_sdcardPath()
113 DownloadManager.Request requestPublic = new DownloadManager.Request(getGoodUrl()); in testDestinationInExternalPublicDir() local
114 requestPublic.setDestinationInExternalPublicDir(Environment.DIRECTORY_DOCUMENTS, in testDestinationInExternalPublicDir()
116 long id = mDownloadManager.enqueue(requestPublic); in testDestinationInExternalPublicDir()
/cts/tests/app/DownloadManagerInstallerTest/src/android/app/cts/
DDownloadManagerInstallerTest.java60 DownloadManager.Request requestPublic = new DownloadManager.Request(getGoodUrl()); in testSetDestinationUri_otherAppObbDir() local
61 requestPublic.setDestinationUri(Uri.fromFile(destFile)); in testSetDestinationUri_otherAppObbDir()
62 long id = mDownloadManager.enqueue(requestPublic); in testSetDestinationUri_otherAppObbDir()
/cts/tests/app/src/android/app/cts/
DDownloadManagerTest.java260 Request requestPublic = new Request(getGoodUrl()); in testDownloadManagerDestination() local
261 requestPublic.setDestinationInExternalPublicDir(Environment.DIRECTORY_DOWNLOADS, in testDownloadManagerDestination()
263 long publicId = mDownloadManager.enqueue(requestPublic); in testDownloadManagerDestination()
414 DownloadManager.Request requestPublic = new DownloadManager.Request(getGoodUrl()); in testSetDestinationInExternalPublicDownloadDir() local
415 requestPublic.setDestinationInExternalPublicDir(destination, subPath); in testSetDestinationInExternalPublicDownloadDir()
416 long id = mDownloadManager.enqueue(requestPublic); in testSetDestinationInExternalPublicDownloadDir()
664 DownloadManager.Request requestPublic = new DownloadManager.Request( in testDownload_mediaScanned() local
666 requestPublic.setDestinationInExternalPublicDir(destination, subPath); in testDownload_mediaScanned()
667 long id = mDownloadManager.enqueue(requestPublic); in testDownload_mediaScanned()