Home
last modified time | relevance | path

Searched refs:getOrAssignKey (Results 1 – 6 of 6) sorted by relevance

/packages/modules/RemoteKeyProvisioning/app/tests/unit/src/com/android/rkpdapp/unittest/
DRegistrationBinderTest.java170 .getOrAssignKey(eq(IRPC_HAL), notNull(), eq(CLIENT_UID), eq(KEY_ID));
185 .getOrAssignKey(eq(IRPC_HAL), notNull(), eq(CLIENT_UID), eq(KEY_ID));
195 .getOrAssignKey(notNull(), isInRange(minExpiry, maxExpiry), anyInt(), anyInt());
202 .getOrAssignKey(eq(IRPC_HAL), notNull(), eq(CLIENT_UID), eq(KEY_ID));
214 .getOrAssignKey(notNull(), isInRange(minExpiry, maxExpiry), anyInt(), anyInt());
216 .getOrAssignKey(notNull(), isInRange(minFallbackExpiry, maxFallbackExpiry),
226 .getOrAssignKey(eq(IRPC_HAL), notNull(), eq(CLIENT_UID), eq(KEY_ID));
371 .getOrAssignKey(eq(IRPC_HAL), notNull(), eq(CLIENT_UID), eq(KEY_ID));
394 .getOrAssignKey(eq(IRPC_HAL), notNull(), eq(CLIENT_UID), eq(KEY_ID));
431 .getOrAssignKey(eq(IRPC_HAL), notNull(), eq(CLIENT_UID), eq(KEY_ID));
DRkpdDatabaseTest.java125 assertThat(mKeyDao.getOrAssignKey(TEST_HAL_1, Instant.now(), FAKE_CLIENT_UID, FAKE_KEY_ID)) in testAssignedKeysAreAlsoExpired()
298 ProvisionedKey assignedKey = mKeyDao.getOrAssignKey(TEST_HAL_1, Instant.now(), in testAssignKey()
304 ProvisionedKey sameKey = mKeyDao.getOrAssignKey(TEST_HAL_1, Instant.now(), FAKE_CLIENT_UID, in testAssignKey()
315 ProvisionedKey assignedKey = mKeyDao.getOrAssignKey(TEST_HAL_1, Instant.now(), in testAssignKeyChoosesNonExpiredKey()
330 assertThat(mKeyDao.getOrAssignKey(TEST_HAL_1, Instant.now(), FAKE_CLIENT_UID, in testAssignKeyFailsIfAllKeysAreExpired()
336 assertThat(mKeyDao.getOrAssignKey(TEST_HAL_1, Instant.now(), FAKE_CLIENT_UID, in testNoUnassignedKeyRemaining()
/packages/modules/RemoteKeyProvisioning/app/tests/e2e/src/com/android/rkpdapp/e2etest/
DKeystoreIntegrationTest.java188 mKeyDao.getOrAssignKey(mServiceName, Instant.now(), Process.KEYSTORE_UID, Process.myUid()); in testKeyCreationUsesAlreadyAssignedKey()
207 mKeyDao.getOrAssignKey(mServiceName, Instant.now(), Process.CREDSTORE_UID, in testKeyCreationWorksWhenAllKeysAssigned()
226 mKeyDao.getOrAssignKey(mServiceName, Instant.now(), Process.KEYSTORE_UID, Process.myUid()); in testKeyCreationWithExpiringAttestationKey()
/packages/modules/RemoteKeyProvisioning/app/src/com/android/rkpdapp/database/
DProvisionedKeyDao.java131 public ProvisionedKey getOrAssignKey(String irpcHal, Instant minExpiry, int clientUid, in getOrAssignKey() method in ProvisionedKeyDao
/packages/modules/RemoteKeyProvisioning/app/tests/avf/src/com/android/avf/rkpdapp/e2etest/
DAvfIntegrationTest.java135 mKeyDao.getOrAssignKey( in provisioningSucceeds()
/packages/modules/RemoteKeyProvisioning/app/src/com/android/rkpdapp/service/
DRegistrationBinder.java166 ProvisionedKey key = mProvisionedKeyDao.getOrAssignKey( in tryToAssignKey()