Searched refs:blobData (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/core/tests/coretests/src/android/app/ |
D | DownloadManagerFunctionalTest.java | 102 byte[] blobData = generateData(fileSize, DataType.BINARY); in testBinaryDownload() 104 long dlRequest = doBasicDownload(blobData); in testBinaryDownload() 105 verifyDownload(dlRequest, blobData); in testBinaryDownload() 115 byte[] blobData = generateData(fileSize, DataType.TEXT); in testTextDownload() 117 long dlRequest = doBasicDownload(blobData); in testTextDownload() 118 verifyDownload(dlRequest, blobData); in testTextDownload() 155 byte[] blobData = generateData(DEFAULT_FILE_SIZE, DataType.TEXT); in testDownloadToExternal_fileExists() 158 enqueueResponse(buildResponse(HTTP_OK, blobData)); in testDownloadToExternal_fileExists() 193 byte[] blobData = generateData(DEFAULT_FILE_SIZE, DataType.TEXT); in testDownloadToExternal() 196 enqueueResponse(buildResponse(HTTP_OK, blobData)); in testDownloadToExternal() [all …]
|
D | DownloadManagerStressTest.java | 83 byte[] blobData = generateData(size, DataType.TEXT); in testMultipleDownloads() 90 enqueueResponse(buildResponse(HTTP_OK, blobData)); in testMultipleDownloads() 198 byte[] blobData = generateData(DOWNLOAD_FILE_SIZE, DataType.TEXT); in testDownloadToCacheWithAlmostFullCache() 199 long dlRequest = doBasicDownload(blobData); in testDownloadToCacheWithAlmostFullCache() 200 verifyAndCleanupSingleFileDownload(dlRequest, blobData); in testDownloadToCacheWithAlmostFullCache()
|
D | DownloadManagerBaseTest.java | 1025 protected long doBasicDownload(byte[] blobData) throws Exception { in doBasicDownload() argument 1026 long dlRequest = enqueueDownloadRequest(blobData); in doBasicDownload()
|