Home
last modified time | relevance | path

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

/aosp_15_r20/cts/tests/BlobStore/src/com/android/cts/blob/
H A DBlobStoreManagerTest.java159 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 DDownloadManagerFunctionalTest.java102 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 DDownloadManagerStressTest.java83 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 DDownloadManagerBaseTest.java1026 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 DBlobStorePerfTests.java109 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 DAtomTest.java49 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 DDataCleanupTest.java46 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 DDataPersistenceTest.java44 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/
DHistogramDevice.h834 PropertyBlob(DrmDevice* const drmDevice, const void* const blobData, const size_t blobLength);
DHistogramDevice.cpp1552 HistogramDevice::PropertyBlob::PropertyBlob(DrmDevice* const drmDevice, const void* const blobData, in PropertyBlob() argument
1561 if ((mError = mDrmDevice->CreatePropertyBlob(blobData, blobLength, &mBlobId))) { in PropertyBlob()