Home
last modified time | relevance | path

Searched refs:mGlobalParametersClient (Results 1 – 4 of 4) sorted by relevance

/packages/modules/DeviceLock/DeviceLockController/tests/robolectric/src/com/android/devicelockcontroller/policy/
DFinalizationControllerImplTest.java66 private GlobalParametersClient mGlobalParametersClient; field in FinalizationControllerImplTest
73 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()
/packages/modules/DeviceLock/DeviceLockController/src/com/android/devicelockcontroller/policy/
DDeviceStateControllerImpl.java40 private final GlobalParametersClient mGlobalParametersClient; field in DeviceStateControllerImpl
51 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(),
/packages/modules/DeviceLock/DeviceLockController/tests/robolectric/src/com/android/devicelockcontroller/
DTestDeviceLockControllerApplication.java72 private GlobalParametersClient mGlobalParametersClient; field in TestDeviceLockControllerApplication
139 mGlobalParametersClient = GlobalParametersClient.getInstance( in beforeTest()
141 mGlobalParametersClient.setService( in beforeTest()
/packages/modules/DeviceLock/DeviceLockController/tests/robolectric/src/com/android/devicelockcontroller/provision/worker/
DDeviceCheckInHelperTest.java125 private GlobalParametersClient mGlobalParametersClient; field in DeviceCheckInHelperTest
152 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()