Home
last modified time | relevance | path

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

/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
DAbstractPublicApiTest.java101 ParcelFileDescriptor downloadedFile = mManager.openDownloadedFile(mId); in getRawContents() local
102 assertTrue("Invalid file descriptor: " + downloadedFile, in getRawContents()
103 downloadedFile.getFileDescriptor().valid()); in getRawContents()
105 downloadedFile); in getRawContents()
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/
DProcessDownloadedMmsAction.java247 final File downloadedFile = MmsFileProvider.getFile(contentUri); in doBackgroundWork() local
250 downloadedData = Files.toByteArray(downloadedFile); in doBackgroundWork()
253 + downloadedFile.getAbsolutePath()); in doBackgroundWork()
256 + downloadedFile.getAbsolutePath(), e); in doBackgroundWork()
260 if (downloadedFile.exists()) { in doBackgroundWork()
261 downloadedFile.delete(); in doBackgroundWork()
264 + "downloaded MMS pdu: " + downloadedFile.getAbsolutePath()); in doBackgroundWork()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/
DDownloadPackageTask.java137 File downloadedFile = new File(path); in run() local
138 downloadedFile.getParentFile().mkdirs(); // If the folder doesn't exists it is created in run()
139 request.setDestinationUri(Uri.fromFile(downloadedFile)); in run()