Home
last modified time | relevance | path

Searched refs:getTotalExpiringKeysForIrpc (Results 1 – 5 of 5) sorted by relevance

/packages/modules/RemoteKeyProvisioning/app/tests/unit/src/com/android/rkpdapp/unittest/
DRkpdDatabaseTest.java200 assertThat(mKeyDao.getTotalExpiringKeysForIrpc(TEST_HAL_1, past)).isEqualTo(0); in testGetTotalExpiringKeysForIrpc()
201 assertThat(mKeyDao.getTotalExpiringKeysForIrpc(TEST_HAL_2, past)).isEqualTo(0); in testGetTotalExpiringKeysForIrpc()
203 assertThat(mKeyDao.getTotalExpiringKeysForIrpc(TEST_HAL_1, past.plusMillis(1))) in testGetTotalExpiringKeysForIrpc()
205 assertThat(mKeyDao.getTotalExpiringKeysForIrpc(TEST_HAL_2, past.plusMillis(1))) in testGetTotalExpiringKeysForIrpc()
208 assertThat(mKeyDao.getTotalExpiringKeysForIrpc(TEST_HAL_1, future)).isEqualTo(1); in testGetTotalExpiringKeysForIrpc()
209 assertThat(mKeyDao.getTotalExpiringKeysForIrpc(TEST_HAL_2, future)).isEqualTo(1); in testGetTotalExpiringKeysForIrpc()
211 assertThat(mKeyDao.getTotalExpiringKeysForIrpc(TEST_HAL_1, future.plusMillis(1))) in testGetTotalExpiringKeysForIrpc()
213 assertThat(mKeyDao.getTotalExpiringKeysForIrpc(TEST_HAL_2, future.plusMillis(1))) in testGetTotalExpiringKeysForIrpc()
DStatsProcessorTest.java252 when(mKeyDao.getTotalExpiringKeysForIrpc(anyString(), notNull())).thenReturn(expiringKeys); in prepareStats()
/packages/modules/RemoteKeyProvisioning/app/src/com/android/rkpdapp/utils/
DStatsProcessor.java58 int expiringKeys = keyDao.getTotalExpiringKeysForIrpc(irpcHal, expirationTime); in processPool()
/packages/modules/RemoteKeyProvisioning/app/src/com/android/rkpdapp/database/
DProvisionedKeyDao.java76 public abstract int getTotalExpiringKeysForIrpc(String irpcHal, Instant expiryTime); in getTotalExpiringKeysForIrpc() method in ProvisionedKeyDao
/packages/modules/RemoteKeyProvisioning/app/src/com/android/rkpdapp/provisioner/
DPeriodicProvisioner.java157 final int numExpiring = mKeyDao.getTotalExpiringKeysForIrpc(halName,