Searched refs:blobData (Results 1 – 5 of 5) sorted by relevance
161 final FakeBlobData blobData = new FakeBlobData.Builder(mContext).build(); in testGetCreateSession() local162 blobData.prepare(); in testGetCreateSession()164 final long sessionId = mBlobStoreManager.createSession(blobData.getBlobHandle()); in testGetCreateSession()168 blobData.delete(); in testGetCreateSession()174 final FakeBlobData blobData = new FakeBlobData.Builder(mContext).build(); in testCreateBlobHandle_invalidArguments() local175 blobData.prepare(); in testCreateBlobHandle_invalidArguments()176 final BlobHandle handle = blobData.getBlobHandle(); in testCreateBlobHandle_invalidArguments()189 blobData.delete(); in testCreateBlobHandle_invalidArguments()210 final FakeBlobData blobData = new FakeBlobData.Builder(mContext).build(); in testAbandonSession() local211 blobData.prepare(); in testAbandonSession()[all …]
61 final FakeBlobData blobData = new FakeBlobData.Builder(mContext).build(); in testPakageNameExceedsLimit() local62 blobData.prepare(); in testPakageNameExceedsLimit()64 final long sessionId = mBlobStoreManager.createSession(blobData.getBlobHandle()); in testPakageNameExceedsLimit()76 blobData.delete(); in testPakageNameExceedsLimit()82 final FakeBlobData blobData = new FakeBlobData.Builder(mContext).build(); in testCertificateExceedsLimit() local83 blobData.prepare(); in testCertificateExceedsLimit()85 final long sessionId = mBlobStoreManager.createSession(blobData.getBlobHandle()); in testCertificateExceedsLimit()98 blobData.delete(); in testCertificateExceedsLimit()
49 final FakeBlobData blobData = new FakeBlobData.Builder(mContext) in testBlobStoreOps() local54 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() argument70 final long sessionId = createSession(blobData.getBlobHandle()); in commitBlob()72 blobData.writeToSession(session); in commitBlob()
44 final FakeBlobData blobData = new FakeBlobData.Builder(mContext) in testCreateSession() local48 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() local72 blobData.writeToSession(session, PARTIAL_FILE_LENGTH_BYTES, in testOpenSessionAndWrite()73 blobData.getFileSize() - PARTIAL_FILE_LENGTH_BYTES); in testOpenSessionAndWrite()
46 final FakeBlobData blobData = new FakeBlobData.Builder(mContext) in testCreateSession() local50 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() local88 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()