Searched refs:blobHandle (Results 1 – 6 of 6) sorted by relevance
| /cts/tests/BlobStore/helper-app/src/com/android/cts/blob/helper/ |
| D | BlobStoreTestService.java | 57 public int commit(BlobHandle blobHandle, ParcelFileDescriptor input, int accessTypeFlags, in commit() argument 62 final long sessionId = blobStoreManager.createSession(blobHandle); in commit() 69 Log.d(TAG, "Committing session: " + sessionId + "; blob: " + blobHandle); in commit() 80 public ParcelFileDescriptor openBlob(BlobHandle blobHandle) { in openBlob() argument 84 return blobStoreManager.openBlob(blobHandle); in openBlob() 104 public void acquireLease(BlobHandle blobHandle) { in acquireLease() argument 108 Utils.acquireLease(BlobStoreTestService.this, blobHandle, "Test description"); in acquireLease() 109 assertThat(blobStoreManager.getLeasedBlobs()).contains(blobHandle); in acquireLease() 116 public void releaseLease(BlobHandle blobHandle) { in releaseLease() argument 120 Utils.releaseLease(BlobStoreTestService.this, blobHandle); in releaseLease() [all …]
|
| /cts/tests/BlobStore/aidl/com/android/cts/blob/ |
| D | ICommandReceiver.aidl | 23 int commit(in BlobHandle blobHandle, in ParcelFileDescriptor input, int accessTypeFlags, in commit() argument 25 ParcelFileDescriptor openBlob(in BlobHandle blobHandle); in openBlob() argument 28 void acquireLease(in BlobHandle blobHandle); in acquireLease() argument 29 void releaseLease(in BlobHandle blobHandle); in releaseLease() argument
|
| /cts/hostsidetests/blobstore/test-apps/BlobStoreHostTestHelper/src/com/android/cts/device/blob/ |
| D | DataCleanupTest.java | 111 final BlobHandle blobHandle = getBlobHandleFromArgs(); in testOpenBlob() local 112 try (ParcelFileDescriptor pfd = mBlobStoreManager.openBlob(blobHandle)) { in testOpenBlob() 119 final BlobHandle blobHandle = getBlobHandleFromArgs(); in testOpenBlob_shouldThrow() local 121 () -> mBlobStoreManager.openBlob(blobHandle)); in testOpenBlob_shouldThrow() 126 final BlobHandle blobHandle = getBlobHandleFromArgs(); in testRecommitBlob() local 127 try (ParcelFileDescriptor pfd = mBlobStoreManager.openBlob(blobHandle)) { in testRecommitBlob() 130 final long sessionId = createSession(blobHandle); in testRecommitBlob() 160 private void addBlobHandleToResults(BlobHandle blobHandle) { in addBlobHandleToResults() argument 163 Base64.getEncoder().encodeToString(blobHandle.getSha256Digest())); in addBlobHandleToResults() 164 results.putLong(KEY_EXPIRY, blobHandle.getExpiryTimeMillis()); in addBlobHandleToResults() [all …]
|
| D | BaseBlobStoreDeviceTest.java | 56 protected long createSession(BlobHandle blobHandle) throws Exception { in createSession() argument 57 final long sessionId = mBlobStoreManager.createSession(blobHandle); in createSession()
|
| D | DataPersistenceTest.java | 86 final BlobHandle blobHandle = readBlobHandleFromDisk(); in testCommitSessionAndAcquireLease() local 87 mBlobStoreManager.acquireLease(blobHandle, "test desc"); in testCommitSessionAndAcquireLease() 92 final BlobHandle blobHandle = readBlobHandleFromDisk(); in testOpenBlob() local 93 try (ParcelFileDescriptor pfd = mBlobStoreManager.openBlob(blobHandle)) { in testOpenBlob()
|
| /cts/tests/BlobStore/src/com/android/cts/blob/ |
| D | BlobStoreManagerTest.java | 1772 BlobHandle blobHandle) throws Exception { in commitSession() argument 1773 commitSession(sessionId, session, blobHandle, true /* expectSuccess */); in commitSession() 1777 BlobHandle blobHandle, boolean expectSuccess) throws Exception { in commitSession() argument 1778 Log.d(TAG, "Committing session: " + sessionId + "; blob: " + blobHandle); in commitSession()
|