HomeSort by relevance Sort by last modified time
    Searched refs:dlRequest (Results 1 - 5 of 5) sorted by null

  /frameworks/base/core/tests/hosttests/test-apps/DownloadManagerTestApp/src/com/android/frameworks/downloadmanagertests/
DownloadManagerTestApp.java 136 long dlRequest = -1;
144 dlRequest = mDownloadManager.enqueue(request);
145 waitForDownloadToStart(dlRequest);
146 assertTrue(dlRequest != -1);
150 outputFile.writeLong(dlRequest);
167 long dlRequest = -1;
177 dlRequest = dataInputFile.readLong();
189 assertTrue(dlRequest != -1);
190 Cursor cursor = getCursor(dlRequest);
201 waitForDownloadOrTimeout_skipNotification(dlRequest);
    [all...]
DownloadManagerBaseTest.java 439 * @param dlRequest the download request id used by Download Manager to track the download.
442 protected void waitForDownloadToStart(long dlRequest) throws Exception {
443 Cursor cursor = getCursor(dlRequest);
  /frameworks/base/core/tests/coretests/src/android/app/
DownloadManagerFunctionalTest.java 79 long dlRequest = mDownloadManager.enqueue(request);
80 waitForDownloadOrTimeout(dlRequest);
82 Cursor cursor = getCursor(dlRequest);
98 long dlRequest = doBasicDownload(blobData, DOWNLOAD_TO_SYSTEM_CACHE);
99 verifyDownload(dlRequest, blobData);
100 mDownloadManager.remove(dlRequest);
111 long dlRequest = doBasicDownload(blobData, DOWNLOAD_TO_SYSTEM_CACHE);
112 verifyDownload(dlRequest, blobData);
113 mDownloadManager.remove(dlRequest);
163 long dlRequest = mDownloadManager.enqueue(request)
    [all...]
DownloadManagerStressTest.java 127 long dlRequest = doStandardEnqueue(largeFile);
130 waitForDownloadOrTimeout(dlRequest);
132 ParcelFileDescriptor pfd = mDownloadManager.openDownloadedFile(dlRequest);
196 long dlRequest = doBasicDownload(blobData, DOWNLOAD_TO_SYSTEM_CACHE);
197 verifyAndCleanupSingleFileDownload(dlRequest, blobData);
DownloadManagerBaseTest.java 795 * @param dlRequest the download request id used by Download Manager to track the download.
798 protected void waitForDownloadToStart(long dlRequest) throws Exception {
799 Cursor cursor = getCursor(dlRequest);
    [all...]

Completed in 43 milliseconds