Home
last modified time | relevance | path

Searched refs:dlRequest (Results 1 – 5 of 5) sorted by relevance

/aosp14/frameworks/base/core/tests/hosttests/test-apps/DownloadManagerTestApp/src/com/android/frameworks/downloadmanagertests/
H A DDownloadManagerTestApp.java133 long dlRequest = -1; in initiateDownload() local
147 outputFile.writeLong(dlRequest); in initiateDownload()
164 long dlRequest = -1; in verifyFileDownloadSucceeded() local
223 long dlRequest = -1; in runLargeDownloadOverWiFi() local
270 long dlRequest = -1; in runDownloadMultipleSwitching() local
325 if (dlRequest != -1) { in runDownloadMultipleSwitching()
346 long dlRequest = -1; in runDownloadMultipleWiFiEnableDisable() local
393 if (dlRequest != -1) { in runDownloadMultipleWiFiEnableDisable()
416 long dlRequest = -1; in runDownloadMultipleAirplaneModeEnableDisable() local
464 if (dlRequest != -1) { in runDownloadMultipleAirplaneModeEnableDisable()
[all …]
H A DDownloadManagerBaseTest.java439 protected void waitForDownloadToStart(long dlRequest) throws Exception { in waitForDownloadToStart() argument
440 Cursor cursor = getCursor(dlRequest); in waitForDownloadToStart()
/aosp14/frameworks/base/core/tests/coretests/src/android/app/
H A DDownloadManagerFunctionalTest.java83 waitForDownloadOrTimeout(dlRequest); in doErrorTest()
88 Cursor cursor = getCursor(dlRequest); in doErrorTest()
105 verifyDownload(dlRequest, blobData); in testBinaryDownload()
106 mDownloadManager.remove(dlRequest); in testBinaryDownload()
118 verifyDownload(dlRequest, blobData); in testTextDownload()
119 mDownloadManager.remove(dlRequest); in testTextDownload()
256 waitForDownloadOrTimeout(dlRequest); in testGetDownloadIdOnNotification()
309 waitForDownloadOrTimeout(dlRequest); in testRelativeRedirect()
353 waitForDownloadOrTimeout(dlRequest); in testSetTitle()
355 Cursor cursor = getCursor(dlRequest); in testSetTitle()
[all …]
H A DDownloadManagerStressTest.java130 long dlRequest = doStandardEnqueue(largeFile); in testDownloadLargeFile() local
133 waitForDownloadOrTimeout(dlRequest); in testDownloadLargeFile()
135 ParcelFileDescriptor pfd = mDownloadManager.openDownloadedFile(dlRequest); in testDownloadLargeFile()
199 long dlRequest = doBasicDownload(blobData); in testDownloadToCacheWithAlmostFullCache() local
200 verifyAndCleanupSingleFileDownload(dlRequest, blobData); in testDownloadToCacheWithAlmostFullCache()
H A DDownloadManagerBaseTest.java803 protected void waitForDownloadToStart(long dlRequest) throws Exception { in waitForDownloadToStart() argument
804 Cursor cursor = getCursor(dlRequest); in waitForDownloadToStart()
1026 long dlRequest = enqueueDownloadRequest(blobData); in doBasicDownload() local
1029 waitForDownloadOrTimeout(dlRequest); in doBasicDownload()
1032 return dlRequest; in doBasicDownload()