Home
last modified time | relevance | path

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

/packages/modules/RemoteKeyProvisioning/app/src/com/android/rkpdapp/database/
DProvisionedKeyDao.java76 public abstract int getTotalExpiringKeysForIrpc(String irpcHal, Instant expiryTime); in getTotalExpiringKeysForIrpc() argument
88 abstract ProvisionedKey getUnassignedKeyForIrpc(String irpcHal, Instant minExpiry); in getUnassignedKeyForIrpc() argument
94 public abstract int getTotalUnassignedKeysForIrpc(String irpcHal); in getTotalUnassignedKeysForIrpc() argument
100 public abstract int getTotalKeysForIrpc(String irpcHal); in getTotalKeysForIrpc() argument
107 public abstract ProvisionedKey getKeyForClientAndIrpc(String irpcHal, int clientUid, int keyId); in getKeyForClientAndIrpc() argument
131 public ProvisionedKey getOrAssignKey(String irpcHal, Instant minExpiry, int clientUid, in getOrAssignKey() argument
133 ProvisionedKey existingKey = getKeyForClientAndIrpc(irpcHal, clientUid, keyId); in getOrAssignKey()
138 ProvisionedKey availableKey = getUnassignedKeyForIrpc(irpcHal, minExpiry); in getOrAssignKey()
DProvisionedKey.java45 public String irpcHal; field in ProvisionedKey
69 public ProvisionedKey(@NonNull byte[] keyBlob, @NonNull String irpcHal, in ProvisionedKey() argument
73 this.irpcHal = irpcHal; in ProvisionedKey()
85 && Objects.equals(irpcHal, that.irpcHal) in equals()
95 int result = Objects.hash(irpcHal, truncate(expirationTime), clientUid, keyId); in hashCode()
110 + ", irpcHal='" + irpcHal + '\'' in toString()
DRkpKey.java33 public RkpKey(byte[] keyBlob, byte[] macedPublicKey, DataItem coseKey, String irpcHal, in RkpKey() argument
38 this.mIrpcHal = irpcHal; in RkpKey()
/packages/modules/RemoteKeyProvisioning/app/src/com/android/rkpdapp/utils/
DStatsProcessor.java53 public static PoolStats processPool(ProvisionedKeyDao keyDao, String irpcHal, in processPool() argument
56 int totalKeys = keyDao.getTotalKeysForIrpc(irpcHal); in processPool()
57 int unassignedKeys = keyDao.getTotalUnassignedKeysForIrpc(irpcHal); in processPool()
58 int expiringKeys = keyDao.getTotalExpiringKeysForIrpc(irpcHal, expirationTime); in processPool()
/packages/modules/RemoteKeyProvisioning/app/tests/unit/src/com/android/rkpdapp/unittest/
DRkpdDatabaseTest.java221 mProvisionedKey2.irpcHal = TEST_HAL_1; in testGetKeyForClientAndIrpc()
289 mProvisionedKey2.irpcHal = TEST_HAL_1; in testAssignKey()
312 mProvisionedKey2.irpcHal = TEST_HAL_1; in testAssignKeyChoosesNonExpiredKey()
326 mProvisionedKey2.irpcHal = TEST_HAL_1; in testAssignKeyFailsIfAllKeysAreExpired()
DProvisionedKeyTest.java74 clone(origKey.irpcHal), clone(origKey.publicKey), in clone()
DSystemInterfaceTest.java159 assertThat(key.irpcHal).isEqualTo(SERVICE); in testGenerateKey()
/packages/modules/RemoteKeyProvisioning/app/tests/avf/src/com/android/avf/rkpdapp/e2etest/
DAvfIntegrationTest.java140 assertThat(attestationKey.irpcHal).isEqualTo(SERVICE_NAME); in provisioningSucceeds()
/packages/modules/RemoteKeyProvisioning/app/tests/e2e/src/com/android/rkpdapp/e2etest/
DKeystoreIntegrationTest.java411 assertThat(attestationKey.irpcHal).isEqualTo(mServiceName); in createKeystoreKeyAndVerifyAttestationKeyAssigned()