Home
last modified time | relevance | path

Searched refs:blobData (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/app/
DDownloadManagerFunctionalTest.java100 byte[] blobData = generateData(fileSize, DataType.BINARY); in testBinaryDownloadToSystemCache()
102 long dlRequest = doBasicDownload(blobData, DOWNLOAD_TO_SYSTEM_CACHE); in testBinaryDownloadToSystemCache()
103 verifyDownload(dlRequest, blobData); in testBinaryDownloadToSystemCache()
113 byte[] blobData = generateData(fileSize, DataType.TEXT); in testTextDownloadToSystemCache()
115 long dlRequest = doBasicDownload(blobData, DOWNLOAD_TO_SYSTEM_CACHE); in testTextDownloadToSystemCache()
116 verifyDownload(dlRequest, blobData); in testTextDownloadToSystemCache()
153 byte[] blobData = generateData(DEFAULT_FILE_SIZE, DataType.TEXT); in testDownloadToExternal_fileExists()
156 enqueueResponse(buildResponse(HTTP_OK, blobData)); in testDownloadToExternal_fileExists()
191 byte[] blobData = generateData(DEFAULT_FILE_SIZE, DataType.TEXT); in testDownloadToExternal()
194 enqueueResponse(buildResponse(HTTP_OK, blobData)); in testDownloadToExternal()
[all …]
DDownloadManagerStressTest.java82 byte[] blobData = generateData(size, DataType.TEXT); in testMultipleDownloads()
89 enqueueResponse(buildResponse(HTTP_OK, blobData)); in testMultipleDownloads()
197 byte[] blobData = generateData(DOWNLOAD_FILE_SIZE, DataType.TEXT); in testDownloadToCacheWithAlmostFullCache()
198 long dlRequest = doBasicDownload(blobData, DOWNLOAD_TO_SYSTEM_CACHE); in testDownloadToCacheWithAlmostFullCache()
199 verifyAndCleanupSingleFileDownload(dlRequest, blobData); in testDownloadToCacheWithAlmostFullCache()
DDownloadManagerBaseTest.java1023 protected long doBasicDownload(byte[] blobData, int location) throws Exception { in doBasicDownload() argument
1024 long dlRequest = enqueueDownloadRequest(blobData, location); in doBasicDownload()