Searched refs:requestPublic (Results 1 – 3 of 3) sorted by relevance
62 DownloadManager.Request requestPublic = new DownloadManager.Request(getGoodUrl()); in testSetDestinationUri_publicDir() local63 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() local89 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() local117 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 …]
61 DownloadManager.Request requestPublic = new DownloadManager.Request(getGoodUrl()); in testSetDestinationUri_otherAppObbDir() local62 requestPublic.setDestinationUri(Uri.fromFile(destFile)); in testSetDestinationUri_otherAppObbDir()63 long id = mDownloadManager.enqueue(requestPublic); in testSetDestinationUri_otherAppObbDir()
264 Request requestPublic = new Request(getGoodUrl()); in testDownloadManagerDestination() local265 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() local340 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() local441 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 …]