Home
last modified time | relevance | path

Searched refs:getFinalizationState (Results 1 – 7 of 7) sorted by relevance

/packages/modules/DeviceLock/DeviceLockController/tests/robolectric/src/com/android/devicelockcontroller/storage/
DGlobalParametersTest.java73 assertThat(GlobalParameters.getFinalizationState(mContext)).isNotEqualTo(FINALIZED); in getFinalizationState_shouldReturnExpectedResult()
77 assertThat(GlobalParameters.getFinalizationState(mContext)).isEqualTo(FINALIZED); in getFinalizationState_shouldReturnExpectedResult()
/packages/modules/DeviceLock/DeviceLockController/src/com/android/devicelockcontroller/storage/
DGlobalParametersService.java90 public @FinalizationState int getFinalizationState() {
91 return GlobalParameters.getFinalizationState(mContext);
DGlobalParametersClient.java219 public ListenableFuture<@FinalizationState Integer> getFinalizationState() {
220 return call(() -> asInterface(getService()).getFinalizationState());
DIGlobalParametersService.aidl34 int getFinalizationState(); in getFinalizationState() method
DGlobalParameters.java123 static int getFinalizationState(Context context) { in getFinalizationState() method in GlobalParameters
/packages/modules/DeviceLock/DeviceLockController/tests/robolectric/src/com/android/devicelockcontroller/policy/
DFinalizationControllerImplTest.java92 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()
/packages/modules/DeviceLock/DeviceLockController/src/com/android/devicelockcontroller/policy/
DFinalizationControllerImpl.java159 GlobalParametersClient.getInstance().getFinalizationState();