Home
last modified time | relevance | path

Searched refs:isProvisionForced (Results 1 – 13 of 13) sorted by relevance

/packages/modules/DeviceLock/DeviceLockController/tests/robolectric/src/com/android/devicelockcontroller/storage/
DGlobalParametersServiceTest.java57 assertThat(mIGlobalParametersService.isProvisionForced()).isNotEqualTo(FORCED_PROVISION); in isProvisionForced_shouldReturnExpectedResult()
61 assertThat(mIGlobalParametersService.isProvisionForced()).isEqualTo(FORCED_PROVISION); in isProvisionForced_shouldReturnExpectedResult()
DGlobalParametersTest.java53 assertThat(GlobalParameters.isProvisionForced(mContext)).isNotEqualTo(FORCED_PROVISION); in isProvisionForced_shouldReturnExpectedResult()
57 assertThat(GlobalParameters.isProvisionForced(mContext)).isEqualTo(FORCED_PROVISION); in isProvisionForced_shouldReturnExpectedResult()
/packages/modules/DeviceLock/DeviceLockController/tests/robolectric/src/com/android/devicelockcontroller/policy/
DProvisionHelperImplTest.java554 assertThat(GlobalParametersClient.getInstance().isProvisionForced().get()).isFalse(); in pauseProvision_thenMarkProvisionForced()
562 assertThat(GlobalParametersClient.getInstance().isProvisionForced().get()).isTrue(); in pauseProvision_thenMarkProvisionForced()
568 assertThat(GlobalParametersClient.getInstance().isProvisionForced().get()).isFalse(); in pauseProvision_thenReportPause()
582 assertThat(GlobalParametersClient.getInstance().isProvisionForced().get()).isFalse(); in pauseProvision_thenScheduleResume()
596 assertThat(GlobalParametersClient.getInstance().isProvisionForced().get()).isFalse(); in pauseProvision_withException_thenMarkProvisionForced()
604 assertThat(GlobalParametersClient.getInstance().isProvisionForced().get()).isTrue(); in pauseProvision_withException_thenMarkProvisionForced()
610 assertThat(GlobalParametersClient.getInstance().isProvisionForced().get()).isFalse(); in pauseProvision_withException_thenNotScheduleResume()
624 assertThat(GlobalParametersClient.getInstance().isProvisionForced().get()).isFalse(); in pauseProvision_withException_thenNotReportPause()
/packages/modules/DeviceLock/DeviceLockController/src/com/android/devicelockcontroller/storage/
DGlobalParametersService.java70 public boolean isProvisionForced() {
71 return GlobalParameters.isProvisionForced(mContext);
DGlobalParameters.java100 static boolean isProvisionForced(Context context) { in isProvisionForced() method in GlobalParameters
178 KEY_FORCED_PROVISION, isProvisionForced(context), in dump()
DGlobalParametersClient.java173 public ListenableFuture<Boolean> isProvisionForced() {
174 return call(() -> asInterface(getService()).isProvisionForced());
DIGlobalParametersService.aidl30 boolean isProvisionForced(); in isProvisionForced() method
/packages/modules/DeviceLock/DeviceLockController/src/com/android/devicelockcontroller/activities/
DProvisionInfoFragment.java162 isProvisionForced -> { in updatePreviousButton()
164 previous.setEnabled(!isProvisionForced); in updatePreviousButton()
165 if (!isProvisionForced) { in updatePreviousButton()
DProvisionInfoViewModel.java63 GlobalParametersClient.getInstance().isProvisionForced(); in retrieveData()
/packages/modules/DeviceLock/DeviceLockController/src/com/android/devicelockcontroller/provision/grpc/
DGetDeviceCheckInStatusGrpcResponse.java95 public abstract boolean isProvisionForced(); in isProvisionForced() method in GetDeviceCheckInStatusGrpcResponse
/packages/modules/DeviceLock/DeviceLockController/src/com/android/devicelockcontroller/provision/grpc/impl/
DGetDeviceCheckInStatusGrpcResponseWrapper.java149 public boolean isProvisionForced() { in isProvisionForced() method in GetDeviceCheckInStatusGrpcResponseWrapper
/packages/modules/DeviceLock/DeviceLockController/src/com/android/devicelockcontroller/debug/
DDeviceCheckInClientDebug.java180 public boolean isProvisionForced() { in getDeviceCheckInStatus() method in DeviceCheckInClientDebug
/packages/modules/DeviceLock/DeviceLockController/src/com/android/devicelockcontroller/provision/worker/
DDeviceCheckInHelper.java246 response.isProvisionForced())); in handleProvisionReadyResponse()