Searched refs:requestPublic (Results 1 – 3 of 3) sorted by relevance
59 DownloadManager.Request requestPublic = new DownloadManager.Request(getGoodUrl()); in testSetDestinationUri_publicDir() local60 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() local86 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() local114 requestPublic.setDestinationInExternalPublicDir(Environment.DIRECTORY_DOCUMENTS, in testDestinationInExternalPublicDir()116 long id = mDownloadManager.enqueue(requestPublic); in testDestinationInExternalPublicDir()
60 DownloadManager.Request requestPublic = new DownloadManager.Request(getGoodUrl()); in testSetDestinationUri_otherAppObbDir() local61 requestPublic.setDestinationUri(Uri.fromFile(destFile)); in testSetDestinationUri_otherAppObbDir()62 long id = mDownloadManager.enqueue(requestPublic); in testSetDestinationUri_otherAppObbDir()
260 Request requestPublic = new Request(getGoodUrl()); in testDownloadManagerDestination() local261 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() local415 requestPublic.setDestinationInExternalPublicDir(destination, subPath); in testSetDestinationInExternalPublicDownloadDir()416 long id = mDownloadManager.enqueue(requestPublic); in testSetDestinationInExternalPublicDownloadDir()664 DownloadManager.Request requestPublic = new DownloadManager.Request( in testDownload_mediaScanned() local666 requestPublic.setDestinationInExternalPublicDir(destination, subPath); in testDownload_mediaScanned()667 long id = mDownloadManager.enqueue(requestPublic); in testDownload_mediaScanned()