Searched refs:getTotalExpiringKeysForIrpc (Results 1 – 5 of 5) sorted by relevance
/packages/modules/RemoteKeyProvisioning/app/tests/unit/src/com/android/rkpdapp/unittest/ |
D | RkpdDatabaseTest.java | 200 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()
|
D | StatsProcessorTest.java | 252 when(mKeyDao.getTotalExpiringKeysForIrpc(anyString(), notNull())).thenReturn(expiringKeys); in prepareStats()
|
/packages/modules/RemoteKeyProvisioning/app/src/com/android/rkpdapp/utils/ |
D | StatsProcessor.java | 58 int expiringKeys = keyDao.getTotalExpiringKeysForIrpc(irpcHal, expirationTime); in processPool()
|
/packages/modules/RemoteKeyProvisioning/app/src/com/android/rkpdapp/database/ |
D | ProvisionedKeyDao.java | 76 public abstract int getTotalExpiringKeysForIrpc(String irpcHal, Instant expiryTime); in getTotalExpiringKeysForIrpc() method in ProvisionedKeyDao
|
/packages/modules/RemoteKeyProvisioning/app/src/com/android/rkpdapp/provisioner/ |
D | PeriodicProvisioner.java | 157 final int numExpiring = mKeyDao.getTotalExpiringKeysForIrpc(halName,
|