Searched refs:dlRequest (Results 1 - 4 of 4) sorted by relevance

/frameworks/base/core/tests/hosttests/test-apps/DownloadManagerTestApp/src/com/android/frameworks/
H A DDownloadManagerTestApp.java147 long dlRequest = -1;
155 dlRequest = mDownloadManager.enqueue(request);
156 waitForDownloadToStart(dlRequest);
157 assertTrue(dlRequest != -1);
161 outputFile.writeLong(dlRequest);
178 long dlRequest = -1;
188 dlRequest = dataInputFile.readLong();
200 assertTrue(dlRequest != -1);
201 Cursor cursor = getCursor(dlRequest);
212 waitForDownloadOrTimeout(dlRequest);
[all...]
/frameworks/base/core/tests/coretests/src/android/app/
H A DDownloadManagerIntegrationTest.java95 long dlRequest = doStandardEnqueue(blobData);
98 waitForDownloadOrTimeout(dlRequest);
101 return dlRequest;
116 long dlRequest = mDownloadManager.enqueue(request);
117 waitForDownloadOrTimeout(dlRequest);
119 Cursor cursor = getCursor(dlRequest);
135 long dlRequest = doBasicDownload(blobData);
136 verifyAndCleanupSingleFileDownload(dlRequest, blobData);
147 long dlRequest = doBasicDownload(blobData);
148 verifyAndCleanupSingleFileDownload(dlRequest, blobDat
[all...]
H A DDownloadManagerStressTest.java115 long dlRequest = doStandardEnqueue(largeFile);
118 waitForDownloadOrTimeout(dlRequest);
120 ParcelFileDescriptor pfd = mDownloadManager.openDownloadedFile(dlRequest);
143 long dlRequest = doStandardEnqueue(largeFile);
146 waitForDownloadOrTimeout(dlRequest);
148 cursor = getCursor(dlRequest);
H A DDownloadManagerBaseTest.java798 * @param dlRequest the download request id used by Download Manager to track the download.
801 protected void waitForDownloadToStart(long dlRequest) throws Exception { argument
802 Cursor cursor = getCursor(dlRequest);
937 long dlRequest = mDownloadManager.enqueue(request);
938 Log.i(LOG_TAG, "request ID: " + dlRequest);
939 return dlRequest;

Completed in 52 milliseconds