Home
last modified time | relevance | path

Searched refs:blobHandle (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/tests/BlobStoreTestUtils/src/com/android/utils/blob/
DUtils.java101 BlobHandle blobHandle, CharSequence description) throws IOException { in acquireLease() argument
104 blobStoreManager.acquireLease(blobHandle, description); in acquireLease()
106 final LeaseInfo leaseInfo = blobStoreManager.getLeaseInfo(blobHandle); in acquireLease()
112 BlobHandle blobHandle, int descriptionResId) throws IOException { in acquireLease() argument
115 blobStoreManager.acquireLease(blobHandle, descriptionResId); in acquireLease()
117 final LeaseInfo leaseInfo = blobStoreManager.getLeaseInfo(blobHandle); in acquireLease()
123 BlobHandle blobHandle, CharSequence description, in acquireLease() argument
127 blobStoreManager.acquireLease(blobHandle, description, expiryTimeMs); in acquireLease()
129 final LeaseInfo leaseInfo = blobStoreManager.getLeaseInfo(blobHandle); in acquireLease()
135 BlobHandle blobHandle, int descriptionResId, in acquireLease() argument
[all …]
/frameworks/base/apex/blobstore/framework/java/android/app/blob/
DBlobStoreManager.java190 public @IntRange(from = 1) long createSession(@NonNull BlobHandle blobHandle) in createSession() argument
193 return mService.createSession(blobHandle, mContext.getOpPackageName()); in createSession()
258 public @NonNull ParcelFileDescriptor openBlob(@NonNull BlobHandle blobHandle) in openBlob() argument
261 return mService.openBlob(blobHandle, mContext.getOpPackageName()); in openBlob()
314 public void acquireLease(@NonNull BlobHandle blobHandle, @IdRes int descriptionResId, in acquireLease() argument
317 mService.acquireLease(blobHandle, descriptionResId, null, leaseExpiryTimeMillis, in acquireLease()
377 public void acquireLease(@NonNull BlobHandle blobHandle, @NonNull CharSequence description, in acquireLease() argument
380 mService.acquireLease(blobHandle, INVALID_RES_ID, description, leaseExpiryTimeMillis, in acquireLease()
431 public void acquireLease(@NonNull BlobHandle blobHandle, @IdRes int descriptionResId) in acquireLease() argument
433 acquireLease(blobHandle, descriptionResId, 0); in acquireLease()
[all …]
DIBlobStoreManager.aidl43 LeaseInfo getLeaseInfo(in BlobHandle blobHandle, in String packageName); in getLeaseInfo() argument
/frameworks/base/apex/blobstore/service/java/com/android/server/blob/
DBlobStoreManagerService.java281 BlobMetadata getBlobForTest(BlobHandle blobHandle) { in getBlobForTest() argument
283 return mBlobsMap.get(blobHandle); in getBlobForTest()
348 private long createSessionInternal(BlobHandle blobHandle, in createSessionInternal() argument
359 sessionId, blobHandle, callingUid, callingPackage, in createSessionInternal()
363 Slog.v(TAG, "Created session for " + blobHandle in createSessionInternal()
401 private ParcelFileDescriptor openBlobInternal(BlobHandle blobHandle, int callingUid, in openBlobInternal() argument
404 final BlobMetadata blobMetadata = mBlobsMap.get(blobHandle); in openBlobInternal()
416 throw new SecurityException("Caller not allowed to access " + blobHandle in openBlobInternal()
452 private void acquireLeaseInternal(BlobHandle blobHandle, int descriptionResId, in acquireLeaseInternal() argument
464 if (leaseExpiryTimeMillis != 0 && blobHandle.expiryTimeMillis != 0 in acquireLeaseInternal()
[all …]
DBlobStoreSession.java126 private BlobStoreSession(Context context, long sessionId, BlobHandle blobHandle, in BlobStoreSession() argument
130 this.mBlobHandle = blobHandle; in BlobStoreSession()
138 BlobStoreSession(Context context, long sessionId, BlobHandle blobHandle, in BlobStoreSession() argument
140 this(context, sessionId, blobHandle, ownerUid, ownerPackageName, in BlobStoreSession()
606 BlobHandle blobHandle = null; in createFromXml() local
610 blobHandle = BlobHandle.createFromXml(in); in createFromXml()
616 if (blobHandle == null) { in createFromXml()
626 blobHandle, ownerUid, ownerPackageName, creationTimeMs, stateChangeListener); in createFromXml()
DBlobMetadata.java114 BlobMetadata(Context context, long blobId, BlobHandle blobHandle) { in BlobMetadata() argument
117 this.mBlobHandle = blobHandle; in BlobMetadata()
734 BlobHandle blobHandle = null; in createFromXml() local
740 blobHandle = BlobHandle.createFromXml(in); in createFromXml()
751 if (blobHandle == null) { in createFromXml()
756 final BlobMetadata blobMetadata = new BlobMetadata(context, blobId, blobHandle); in createFromXml()
/frameworks/base/apct-tests/perftests/blobstore/src/com/android/perftests/blob/
DBlobStorePerfTests.java256 private void deleteBlob(BlobHandle blobHandle) throws Exception { in deleteBlob() argument
259 blobHandle.algorithm, in deleteBlob()
260 Base64.getEncoder().encodeToString(blobHandle.digest), in deleteBlob()
261 blobHandle.label, in deleteBlob()
262 blobHandle.expiryTimeMillis, in deleteBlob()
263 blobHandle.tag)); in deleteBlob()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/blob/
DBlobStoreManagerServiceTest.java364 long sessionId, File sessionFile, BlobHandle blobHandle) { in createBlobStoreSessionMock() argument
370 doReturn(blobHandle).when(session).getBlobHandle(); in createBlobStoreSessionMock()
376 BlobHandle blobHandle, boolean hasValidLeases) { in createBlobMetadataMock() argument
381 doReturn(blobHandle).when(blobMetadata).getBlobHandle(); in createBlobMetadataMock()
387 private void addBlob(BlobHandle blobHandle, BlobMetadata blobMetadata) { in addBlob() argument
388 doReturn(blobHandle).when(blobMetadata).getBlobHandle(); in addBlob()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...