/aosp_15_r20/cts/tests/BlobStore/src/com/android/cts/blob/ |
H A D | BlobStoreManagerTest.java | 159 final FakeBlobData blobData = new FakeBlobData.Builder(mContext).build(); in testGetCreateSession() local 160 blobData.prepare(); in testGetCreateSession() 162 final long sessionId = mBlobStoreManager.createSession(blobData.getBlobHandle()); in testGetCreateSession() 166 blobData.delete(); in testGetCreateSession() 172 final FakeBlobData blobData = new FakeBlobData.Builder(mContext).build(); in testCreateBlobHandle_invalidArguments() local 173 blobData.prepare(); in testCreateBlobHandle_invalidArguments() 174 final BlobHandle handle = blobData.getBlobHandle(); in testCreateBlobHandle_invalidArguments() 187 blobData.delete(); in testCreateBlobHandle_invalidArguments() 208 final FakeBlobData blobData = new FakeBlobData.Builder(mContext).build(); in testAbandonSession() local 209 blobData.prepare(); in testAbandonSession() [all …]
|
/aosp_15_r20/frameworks/base/core/tests/coretests/src/android/app/ |
H A 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 …]
|
H A 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()
|
H A D | DownloadManagerBaseTest.java | 1026 protected long doBasicDownload(byte[] blobData) throws Exception { in doBasicDownload() argument 1027 long dlRequest = enqueueDownloadRequest(blobData); in doBasicDownload()
|
/aosp_15_r20/frameworks/base/apct-tests/perftests/blobstore/src/com/android/perftests/blob/ |
H A D | BlobStorePerfTests.java | 109 final FakeBlobData blobData = prepareDataBlob(fileSizeInMb); in testComputeDigest() local 113 commitBlob(blobData); in testComputeDigest() 118 deleteBlob(blobData.getBlobHandle()); in testComputeDigest() 146 final FakeBlobData blobData = prepareDataBlob(fileSizeInMb); in testBlobStoreReads() local 147 commitBlob(blobData); in testBlobStoreReads() 148 acquireLease(mContext, blobData.getBlobHandle(), "Test Desc"); in testBlobStoreReads() 155 mBlobStoreManager.openBlob(blobData.getBlobHandle()))) { in testBlobStoreReads() 162 deleteBlob(blobData.getBlobHandle()); in testBlobStoreReads() 184 final FakeBlobData blobData = prepareDataBlob(fileSizeInMb); in testBlobStoreWrites() local 189 final long sessionId = mBlobStoreManager.createSession(blobData.getBlobHandle()); in testBlobStoreWrites() [all …]
|
/aosp_15_r20/cts/hostsidetests/blobstore/test-apps/BlobStoreHostTestHelper/src/com/android/cts/device/blob/ |
H A D | AtomTest.java | 49 final FakeBlobData blobData = new FakeBlobData.Builder(mContext) in testBlobStoreOps() local 54 blobData.prepare(); in testBlobStoreOps() 57 commitBlob(blobData); in testBlobStoreOps() 60 mBlobStoreManager.acquireLease(blobData.getBlobHandle(), "", leaseExpiryMs); in testBlobStoreOps() 63 mBlobStoreManager.openBlob(blobData.getBlobHandle()); in testBlobStoreOps() 65 blobData.delete(); in testBlobStoreOps() 69 private void commitBlob(FakeBlobData blobData) throws Exception { in commitBlob() argument 70 final long sessionId = createSession(blobData.getBlobHandle()); in commitBlob() 72 blobData.writeToSession(session); in commitBlob()
|
H A D | DataCleanupTest.java | 46 final FakeBlobData blobData = new FakeBlobData.Builder(mContext) in testCreateSession() local 50 blobData.prepare(); in testCreateSession() 52 final long sessionId = createSession(blobData.getBlobHandle()); in testCreateSession() 55 blobData.writeToSession(session, 0, PARTIAL_FILE_LENGTH_BYTES); in testCreateSession() 83 final FakeBlobData blobData = new FakeBlobData.Builder(mContext) in testCommitBlob() local 88 blobData.prepare(); in testCommitBlob() 90 final long sessionId = createSession(blobData.getBlobHandle()); in testCommitBlob() 93 blobData.writeToSession(session); in testCommitBlob() 106 addBlobHandleToResults(blobData.getBlobHandle()); in testCommitBlob()
|
H A D | DataPersistenceTest.java | 44 final FakeBlobData blobData = new FakeBlobData.Builder(mContext) in testCreateSession() local 48 blobData.prepare(); in testCreateSession() 50 final long sessionId = createSession(blobData.getBlobHandle()); in testCreateSession() 53 blobData.writeToSession(session, 0, PARTIAL_FILE_LENGTH_BYTES); in testCreateSession() 56 writeBlobHandleToDisk(blobData.getBlobHandle()); in testCreateSession() 66 final FakeBlobData blobData = new FakeBlobData.Builder(mContext) in testOpenSessionAndWrite() local 72 blobData.writeToSession(session, PARTIAL_FILE_LENGTH_BYTES, in testOpenSessionAndWrite() 73 blobData.getFileSize() - PARTIAL_FILE_LENGTH_BYTES); in testOpenSessionAndWrite()
|
/aosp_15_r20/hardware/google/graphics/common/libhwc2.1/libdevice/ |
D | HistogramDevice.h | 834 PropertyBlob(DrmDevice* const drmDevice, const void* const blobData, const size_t blobLength);
|
D | HistogramDevice.cpp | 1552 HistogramDevice::PropertyBlob::PropertyBlob(DrmDevice* const drmDevice, const void* const blobData, in PropertyBlob() argument 1561 if ((mError = mDrmDevice->CreatePropertyBlob(blobData, blobLength, &mBlobId))) { in PropertyBlob()
|