Home
last modified time | relevance | path

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

/packages/modules/RemoteKeyProvisioning/app/tests/e2e/src/com/android/rkpdapp/e2etest/
DRkpdHostTestHelperTests.java69 private PeriodicProvisioner mProvisioner; field in RkpdHostTestHelperTests
107 mProvisioner = TestWorkerBuilder.from( in setUp()
138 assertThat(mProvisioner.doWork()).isEqualTo(ListenableWorker.Result.success()); in provisionThenUseKeyThenProvision()
150 assertThat(mProvisioner.doWork()).isEqualTo(ListenableWorker.Result.success()); in provisionThenUseKeyThenProvision()
155 assertThat(mProvisioner.doWork()).isEqualTo(ListenableWorker.Result.success()); in provisionThenExpireThenProvisionAgain()
169 assertThat(mProvisioner.doWork()).isEqualTo(ListenableWorker.Result.success()); in provisionThenExpireThenProvisionAgain()
177 assertThat(mProvisioner.doWork()).isEqualTo(ListenableWorker.Result.success()); in testPeriodicProvisionerNoop()
184 assertThat(mProvisioner.doWork()).isEqualTo(ListenableWorker.Result.success()); in testPeriodicProvisionerNoop()
/packages/modules/RemoteKeyProvisioning/app/tests/unit/src/com/android/rkpdapp/unittest/
DPeriodicProvisionerTests.java76 private PeriodicProvisioner mProvisioner; field in PeriodicProvisionerTests
88 mProvisioner = TestWorkerBuilder.from( in setUp()
185 assertThat(mProvisioner.doWork()).isEqualTo(ListenableWorker.Result.success()); in provisionSuccess()
198 assertThat(mProvisioner.doWork()).isEqualTo(ListenableWorker.Result.failure()); in fetchEekFails()
219 assertThat(mProvisioner.doWork()).isEqualTo(ListenableWorker.Result.success()); in fetchEekDisablesRkp()
251 assertThat(mProvisioner.doWork()).isEqualTo(ListenableWorker.Result.success()); in provisioningExpiresOldKeys()
275 assertThat(mProvisioner.doWork()).isEqualTo(ListenableWorker.Result.failure()); in provisionTwoHalsBothFail()
300 assertThat(mProvisioner.doWork()).isEqualTo(ListenableWorker.Result.failure()); in provisionTwoHalsFirstFails()
325 assertThat(mProvisioner.doWork()).isEqualTo(ListenableWorker.Result.failure()); in provisionTwoHalsSecondFails()
DProvisionerTest.java76 private Provisioner mProvisioner; field in ProvisionerTest
91 mProvisioner = new Provisioner(sContext, mKeyDao, false); in setUp()
113 mProvisioner.provisionKeys(atom, mockSystem, geekResponse); in testProvisionerUsesCorrectBatchSize()
136 mProvisioner.provisionKeys(atom, mockSystem, geekResponse)); in testProvisionerHandlesExceptionOnGetBatchSize()
198 mProvisioner.clearBadAttestationKeys(resp); in testProvisionerClearsAttestationKeysOnResponse()
217 mProvisioner.clearBadAttestationKeys(resp); in testProvisionerClearsAttestationKeysOnlyOnce()
/packages/modules/RemoteKeyProvisioning/app/tests/avf/src/com/android/avf/rkpdapp/e2etest/
DAvfIntegrationTest.java70 private PeriodicProvisioner mProvisioner; field in AvfIntegrationTest
92 mProvisioner = in setUp()
124 assertThat(mProvisioner.doWork()).isEqualTo(ListenableWorker.Result.success()); in provisioningSucceeds()
/packages/modules/RemoteKeyProvisioning/app/src/com/android/rkpdapp/service/
DRegistrationBinder.java67 private final Provisioner mProvisioner; field in RegistrationBinder
81 mProvisioner = provisioner; in RegistrationBinder()
151 mProvisioner.provisionKeys(metrics, mSystemInterface, response); in fetchGeekAndProvisionKeys()
180 if (!mProvisioner.isProvisioningNeeded(metrics, mSystemInterface.getServiceName())) { in provisionKeysOnKeyConsumed()