Searched refs:generateData (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() 115 byte[] blobData = generateData(fileSize, DataType.TEXT); in testTextDownload() 155 byte[] blobData = generateData(DEFAULT_FILE_SIZE, DataType.TEXT); in testDownloadToExternal_fileExists() 193 byte[] blobData = generateData(DEFAULT_FILE_SIZE, DataType.TEXT); in testDownloadToExternal() 224 byte[] blobData = generateData(DEFAULT_FILE_SIZE, DataType.TEXT); in testDownloadToProhibitedDirectory() 252 byte[] blobData = generateData(3000, DataType.TEXT); // file size = 3000 bytes in testGetDownloadIdOnNotification() 302 byte[] blobData = generateData(DEFAULT_FILE_SIZE, DataType.TEXT); in testRelativeRedirect() 321 byte[] blobData = generateData(fileSize, DataType.BINARY); in testRemoveDownload() 341 byte[] blobData = generateData(fileSize, DataType.BINARY); in testSetTitle() 371 byte[] blobData = generateData(fileSize, DataType.TEXT); in testDownloadNoWifi() [all …]
|
D | DownloadManagerStressTest.java | 83 byte[] blobData = generateData(size, DataType.TEXT); in testMultipleDownloads() 198 byte[] blobData = generateData(DOWNLOAD_FILE_SIZE, DataType.TEXT); in testDownloadToCacheWithAlmostFullCache()
|
D | DownloadManagerBaseTest.java | 301 protected byte[] generateData(int size, DataType type) { in generateData() method in DownloadManagerBaseTest 302 return generateData(size, type, null); in generateData() 314 protected byte[] generateData(int size, DataType type, Random rng) { in generateData() method in DownloadManagerBaseTest 619 byte[] chunkSizeData = generateData(nextChunkSize, type, rng); in createFileOnSD() 626 randomData = generateData(nextChunkSize, type, rng); in createFileOnSD()
|