Home
last modified time | relevance | path

Searched refs:keyBlob (Results 1 – 13 of 13) sorted by relevance

/packages/modules/RemoteKeyProvisioning/app/src/com/android/rkpdapp/database/
DProvisionedKey.java41 public byte[] keyBlob; field in ProvisionedKey
69 public ProvisionedKey(@NonNull byte[] keyBlob, @NonNull String irpcHal, in ProvisionedKey() argument
72 this.keyBlob = keyBlob; in ProvisionedKey()
84 return Arrays.equals(keyBlob, that.keyBlob) in equals()
96 result = 31 * result + Arrays.hashCode(keyBlob); in hashCode()
109 + "keyBlob=" + Arrays.toString(keyBlob) in toString()
DRkpKey.java33 public RkpKey(byte[] keyBlob, byte[] macedPublicKey, DataItem coseKey, String irpcHal, in RkpKey() argument
35 this.mKeyBlob = keyBlob; in RkpKey()
DProvisionedKeyDao.java57 public abstract void deleteKey(byte[] keyBlob); in deleteKey() argument
/packages/modules/RemoteKeyProvisioning/app/tests/unit/src/com/android/rkpdapp/unittest/
DRkpdDatabaseTest.java93 mProvisionedKey2.keyBlob = TEST_KEY_BLOB_1; in testOverwriteConflict()
179 mKeyDao.deleteKey(mProvisionedKey1.keyBlob); in testDeleteSingleKey()
184 assertThat(key.keyBlob).isEqualTo(mProvisionedKey2.keyBlob); in testDeleteSingleKey()
245 assertThat(databaseKey.keyBlob).isEqualTo(TEST_KEY_BLOB_1); in testUpgradeKeyBlob()
252 assertThat(databaseKey.keyBlob).isEqualTo(TEST_KEY_BLOB_2); in testUpgradeKeyBlob()
262 assertThat(databaseKey.keyBlob).isEqualTo(TEST_KEY_BLOB_1); in testCorrectClientUpgradesKeyBlob()
267 assertThat(databaseKey.keyBlob).isEqualTo(TEST_KEY_BLOB_1); in testCorrectClientUpgradesKeyBlob()
319 assertThat(assignedKey.keyBlob).isNotEqualTo(mProvisionedKey1.publicKey); in testAssignKeyChoosesNonExpiredKey()
320 assertThat(assignedKey.keyBlob).isEqualTo(mProvisionedKey2.publicKey); in testAssignKeyChoosesNonExpiredKey()
DProvisionedKeyTest.java73 ProvisionedKey cloneKey = new ProvisionedKey(clone(origKey.keyBlob), in clone()
DRegistrationBinderTest.java107 Arrays.equals(key.keyBlob, expected.keyBlob) in matches()
/packages/modules/NeuralNetworks/driver/cache/BlobCache/
DBlobCache.cpp115 std::shared_ptr<Blob> keyBlob(new Blob(key, keySize, true)); in set() local
139 mCacheEntries.insert(index, CacheEntry(keyBlob, valueBlob, ++mAccessCount)); in set()
227 std::shared_ptr<Blob> const& keyBlob = e.getKey(); in getFlattenedSize() local
229 size += align_sizet(sizeof(EntryHeader) + keyBlob->getSize() + valueBlob->getSize()); in getFlattenedSize()
253 std::shared_ptr<Blob> const& keyBlob = e.getKey(); in flatten() local
255 size_t keySize = keyBlob->getSize(); in flatten()
269 memcpy(eheader->mData, keyBlob->getData(), keySize); in flatten()
/packages/modules/RemoteKeyProvisioning/app/aidl/com/android/rkpdapp/
DRemotelyProvisionedKey.aidl36 byte[] keyBlob;
/packages/modules/RemoteKeyProvisioning/system-server/src/android/security/rkp/service/
DRemotelyProvisionedKey.java38 this.mKeyBlob = key.keyBlob; in RemotelyProvisionedKey()
/packages/modules/RemoteKeyProvisioning/app/src/com/android/rkpdapp/service/
DRegistrationBinder.java136 key.keyBlob = assignedKey.keyBlob; in getKeyWorker()
/packages/modules/RemoteKeyProvisioning/app/src/com/android/rkpdapp/provisioner/
DProvisioner.java240 mKeyDao.deleteKey(key.keyBlob); in checkAndDeleteBadKeys()
/packages/modules/RemoteKeyProvisioning/system-server/tests/unit/src/android/security/rkp/service/test/
DRegistrationProxyTests.java328 fakeKey.keyBlob = new byte[]{1, 2, 3, 4, 5, 6}; in getKeyAsyncSuccess()
344 assertThat(key.getKeyBlob()).isEqualTo(fakeKey.keyBlob); in getKeyAsyncSuccess()
/packages/modules/Virtualization/virtualizationservice/src/
Daidl.rs380 (attestation_key.keyBlob, attestation_key.encodedCertChain) in requestAttestation()