OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:downloadedFile
(Results
1 - 5
of
5
) sorted by null
/frameworks/base/core/tests/hosttests/test-apps/DownloadManagerTestApp/src/com/android/frameworks/downloadmanagertests/
DownloadManagerTestApp.java
268
File
downloadedFile
= new File(localDownloadDirectory, filename);
272
downloadedFile
.delete();
281
Uri localUri = Uri.fromFile(
downloadedFile
);
328
downloadedFile
.delete();
345
File
downloadedFile
= new File(localDownloadDirectory, filename);
348
downloadedFile
.delete();
357
Uri localUri = Uri.fromFile(
downloadedFile
);
396
downloadedFile
.delete();
415
File
downloadedFile
= new File(localDownloadDirectory, filename);
418
downloadedFile
.delete()
[
all
...]
/frameworks/base/core/tests/coretests/src/android/app/
DownloadManagerFunctionalTest.java
186
File
downloadedFile
= new File(localDownloadDirectory, DEFAULT_FILENAME);
188
downloadedFile
.delete();
199
Uri localUri = Uri.fromFile(
downloadedFile
);
211
downloadedFile
.delete();
220
File
downloadedFile
= new File(PROHIBITED_DIRECTORY, DEFAULT_FILENAME);
230
Uri localUri = Uri.fromFile(
downloadedFile
);
237
assertFalse(
downloadedFile
.exists());
241
downloadedFile
.delete();
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
AbstractPublicApiTest.java
100
ParcelFileDescriptor
downloadedFile
= mManager.openDownloadedFile(mId);
101
assertTrue("Invalid file descriptor: " +
downloadedFile
,
102
downloadedFile
.getFileDescriptor().valid());
104
downloadedFile
);
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/
ProcessDownloadedMmsAction.java
245
final File
downloadedFile
= MmsFileProvider.getFile(contentUri);
248
downloadedData = Files.toByteArray(
downloadedFile
);
251
+
downloadedFile
.getAbsolutePath());
254
+
downloadedFile
.getAbsolutePath(), e);
258
if (
downloadedFile
.exists()) {
259
downloadedFile
.delete();
262
+ "downloaded MMS pdu: " +
downloadedFile
.getAbsolutePath());
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/
DownloadPackageTask.java
122
File
downloadedFile
= new File(path);
123
downloadedFile
.getParentFile().mkdirs(); // If the folder doesn't exists it is created
124
request.setDestinationUri(Uri.fromFile(
downloadedFile
));
Completed in 404 milliseconds