Searched refs:mProvisioner (Results 1 – 5 of 5) sorted by relevance
69 private PeriodicProvisioner mProvisioner; field in RkpdHostTestHelperTests107 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()
76 private PeriodicProvisioner mProvisioner; field in PeriodicProvisionerTests88 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()
76 private Provisioner mProvisioner; field in ProvisionerTest91 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()
70 private PeriodicProvisioner mProvisioner; field in AvfIntegrationTest92 mProvisioner = in setUp()124 assertThat(mProvisioner.doWork()).isEqualTo(ListenableWorker.Result.success()); in provisioningSucceeds()
67 private final Provisioner mProvisioner; field in RegistrationBinder81 mProvisioner = provisioner; in RegistrationBinder()151 mProvisioner.provisionKeys(metrics, mSystemInterface, response); in fetchGeekAndProvisionKeys()180 if (!mProvisioner.isProvisioningNeeded(metrics, mSystemInterface.getServiceName())) { in provisionKeysOnKeyConsumed()