OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:dlRequest
(Results
1 - 4
of
4
) sorted by null
/frameworks/base/core/tests/coretests/src/android/app/
DownloadManagerStressTest.java
129
long
dlRequest
= doStandardEnqueue(largeFile);
132
waitForDownloadOrTimeout(
dlRequest
);
134
ParcelFileDescriptor pfd = mDownloadManager.openDownloadedFile(
dlRequest
);
198
long
dlRequest
= doBasicDownload(blobData);
199
verifyAndCleanupSingleFileDownload(
dlRequest
, blobData);
DownloadManagerFunctionalTest.java
80
long
dlRequest
= mDownloadManager.enqueue(request);
82
waitForDownloadOrTimeout(
dlRequest
);
87
Cursor cursor = getCursor(
dlRequest
);
103
long
dlRequest
= doBasicDownload(blobData);
104
verifyDownload(
dlRequest
, blobData);
105
mDownloadManager.remove(
dlRequest
);
116
long
dlRequest
= doBasicDownload(blobData);
117
verifyDownload(
dlRequest
, blobData);
118
mDownloadManager.remove(
dlRequest
);
165
long
dlRequest
= mDownloadManager.enqueue(request)
[
all
...]
DownloadManagerBaseTest.java
797
* @param
dlRequest
the download request id used by Download Manager to track the download.
800
protected void waitForDownloadToStart(long
dlRequest
) throws Exception {
801
Cursor cursor = getCursor(
dlRequest
);
[
all
...]
/frameworks/base/core/tests/hosttests/test-apps/DownloadManagerTestApp/src/com/android/frameworks/downloadmanagertests/
DownloadManagerTestApp.java
133
long
dlRequest
= -1;
141
dlRequest
= mDownloadManager.enqueue(request);
142
waitForDownloadToStart(
dlRequest
);
143
assertTrue("request id is -1 from download manager",
dlRequest
!= -1);
147
outputFile.writeLong(
dlRequest
);
164
long
dlRequest
= -1;
174
dlRequest
= dataInputFile.readLong();
186
assertTrue("request id is -1 from download manager",
dlRequest
!= -1);
187
Cursor cursor = getCursor(
dlRequest
);
196
assertTrue("download not finished", waitForDownload(
dlRequest
, 15 * 60 * 1000))
[
all
...]
Completed in 434 milliseconds