Searched refs:mGlobalParametersClient (Results 1 – 4 of 4) sorted by relevance
66 private GlobalParametersClient mGlobalParametersClient; field in FinalizationControllerImplTest73 mGlobalParametersClient = GlobalParametersClient.getInstance(); in setUp()92 assertThat(mGlobalParametersClient.getFinalizationState().get()) in notifyRestrictionsCleared_startsReportingWork()111 assertThat(mGlobalParametersClient.getFinalizationState().get()) in finalizeNotEnrolledDevice_doesNotStartReportingWork()133 assertThat(mGlobalParametersClient.getFinalizationState().get()).isEqualTo(FINALIZED); in reportingFinishedSuccessfully_fullyFinalizes()141 mGlobalParametersClient.setFinalizationState(FINALIZED_UNREPORTED), in unreportedStateInitializedFromDisk_reportsWork()160 mGlobalParametersClient.setFinalizationState(FINALIZED_UNREPORTED), in enforceDiskState_noForce_usesCurrentState()167 mGlobalParametersClient.setFinalizationState(FINALIZED), in enforceDiskState_noForce_usesCurrentState()182 mGlobalParametersClient.setFinalizationState(FINALIZED_UNREPORTED), in enforceDiskState_force_usesDiskState()189 mGlobalParametersClient.setFinalizationState(FINALIZED), in enforceDiskState_force_usesDiskState()
40 private final GlobalParametersClient mGlobalParametersClient; field in DeviceStateControllerImpl51 mGlobalParametersClient = GlobalParametersClient.getInstance(); in DeviceStateControllerImpl()107 mGlobalParametersClient.setDeviceState(deviceState), in setDeviceState()123 return Futures.transform(mGlobalParametersClient.getDeviceState(),138 return mGlobalParametersClient.getDeviceState();143 return Futures.transform(mGlobalParametersClient.getDeviceState(),
72 private GlobalParametersClient mGlobalParametersClient; field in TestDeviceLockControllerApplication139 mGlobalParametersClient = GlobalParametersClient.getInstance( in beforeTest()141 mGlobalParametersClient.setService( in beforeTest()
125 private GlobalParametersClient mGlobalParametersClient; field in DeviceCheckInHelperTest152 mGlobalParametersClient = GlobalParametersClient.getInstance(); in setUp()195 assertThat(Futures.getUnchecked(mGlobalParametersClient.isProvisionReady())).isTrue(); in handleProvisionReadyResponse_validConfiguration_shouldSendBroadcast()209 assertThat(Futures.getUnchecked(mGlobalParametersClient.isProvisionReady())).isFalse(); in handleProvisionReadyResponse_invalidConfiguration_shouldNotSendBroadcast()