/packages/modules/DeviceLock/DeviceLockController/src/com/android/devicelockcontroller/policy/ |
D | ProvisionStateController.java | 40 ListenableFuture<@ProvisionState Integer> getState(); in getState() 86 ProvisionState.UNPROVISIONED, 87 ProvisionState.PROVISION_IN_PROGRESS, 88 ProvisionState.PROVISION_SUCCEEDED, 89 ProvisionState.PROVISION_PAUSED, 90 ProvisionState.PROVISION_FAILED, 91 ProvisionState.KIOSK_PROVISIONED, 93 @interface ProvisionState { annotation
|
D | ProvisionStateControllerImpl.java | 26 import static com.android.devicelockcontroller.policy.ProvisionStateController.ProvisionState.KIOSK… 27 import static com.android.devicelockcontroller.policy.ProvisionStateController.ProvisionState.PROVI… 28 import static com.android.devicelockcontroller.policy.ProvisionStateController.ProvisionState.PROVI… 29 import static com.android.devicelockcontroller.policy.ProvisionStateController.ProvisionState.PROVI… 30 import static com.android.devicelockcontroller.policy.ProvisionStateController.ProvisionState.PROVI… 31 import static com.android.devicelockcontroller.policy.ProvisionStateController.ProvisionState.UNPRO… 77 private ListenableFuture<@ProvisionState Integer> mCurrentStateFuture; 103 public ListenableFuture<@ProvisionState Integer> getState() { in getState() 127 ListenableFuture<@ProvisionState Integer> currentStateFuture = getState(); in setNextStateForEvent() 128 ListenableFuture<@ProvisionState Integer> stateTransitionFuture = in setNextStateForEvent() [all …]
|
D | DevicePolicyControllerImpl.java | 26 import static com.android.devicelockcontroller.policy.ProvisionStateController.ProvisionState.KIOSK… 27 import static com.android.devicelockcontroller.policy.ProvisionStateController.ProvisionState.PROVI… 28 import static com.android.devicelockcontroller.policy.ProvisionStateController.ProvisionState.PROVI… 29 import static com.android.devicelockcontroller.policy.ProvisionStateController.ProvisionState.PROVI… 30 import static com.android.devicelockcontroller.policy.ProvisionStateController.ProvisionState.PROVI… 31 import static com.android.devicelockcontroller.policy.ProvisionStateController.ProvisionState.UNPRO… 58 import com.android.devicelockcontroller.policy.ProvisionStateController.ProvisionState; 227 final ListenableFuture<@ProvisionState Integer> provisionState = 258 @ProvisionState int provisionState, @DeviceState int deviceState) {
|
D | DeviceStateControllerImpl.java | 24 import static com.android.devicelockcontroller.policy.ProvisionStateController.ProvisionState.KIOSK… 25 import static com.android.devicelockcontroller.policy.ProvisionStateController.ProvisionState.PROVI… 26 import static com.android.devicelockcontroller.policy.ProvisionStateController.ProvisionState.UNPRO…
|
/packages/modules/DeviceLock/DeviceLockController/tests/robolectric/src/com/android/devicelockcontroller/policy/ |
D | DeviceStateControllerImplTest.java | 27 import com.android.devicelockcontroller.policy.ProvisionStateController.ProvisionState; 69 Futures.immediateFuture(ProvisionState.UNPROVISIONED)); in lockDevice_withUnprovisionedState_shouldPseudoLockDevice() 83 Futures.immediateFuture(ProvisionState.PROVISION_IN_PROGRESS)); in lockDevice_withProvisionInProgressState_shouldThrowException() 98 Futures.immediateFuture(ProvisionState.PROVISION_PAUSED)); in lockDevice_withProvisionPausedState_shouldThrowException() 113 Futures.immediateFuture(ProvisionState.PROVISION_FAILED)); in lockDevice_withProvisionFailedState_shouldThrowException() 128 Futures.immediateFuture(ProvisionState.KIOSK_PROVISIONED)); in lockDevice_withKioskProvisionedState_shouldLockDevice() 144 Futures.immediateFuture(ProvisionState.PROVISION_SUCCEEDED)); in lockDevice_withClearDeviceState_shouldThrowException() 158 Futures.immediateFuture(ProvisionState.PROVISION_SUCCEEDED)); in lockDevice_withProvisionSucceededState_shouldLockDevice() 172 Futures.immediateFuture(ProvisionState.KIOSK_PROVISIONED)); in unlockDevice_withKioskProvisionedState_shouldUnlockDevice() 188 Futures.immediateFuture(ProvisionState.UNPROVISIONED)); in unlockDevice_withUnprovisionedState_shouldPseudoUnlock() [all …]
|
D | DevicePolicyControllerImplTest.java | 67 import com.android.devicelockcontroller.policy.ProvisionStateController.ProvisionState; 180 ProvisionState.UNPROVISIONED)); in enforceCurrentPolicies_withUnprovisionedState_doesNotStartLockTaskMode() 197 ProvisionState.PROVISION_IN_PROGRESS)); in enforceCurrentPolicies_withProvisionInProgressState_startsLockTaskMode() 215 ProvisionState.KIOSK_PROVISIONED)); in enforceCurrentPolicies_withKioskProvisionedState_startsLockTaskMode() 230 ProvisionState.PROVISION_PAUSED)); in enforceCurrentPolicies_withProvisionPausedState_doesNotStartLockTaskMode() 245 ProvisionState.PROVISION_PAUSED)); in enforceCurrentPolicies_withProvisionPausedAndDeviceLocked_doesNotStartLockTaskMode() 261 ProvisionState.PROVISION_FAILED)); in enforceCurrentPolicies_withProvisionFailedState_doesNotStartLockTaskMode() 276 ProvisionState.PROVISION_SUCCEEDED)); in enforceCurrentPolicies_withProvisionSucceededState_doesNotStartLockTaskMode() 291 ProvisionState.PROVISION_SUCCEEDED)); in enforceCurrentPolicies_withLockedDeviceState_startsLockTaskMode() 307 ProvisionState.PROVISION_SUCCEEDED)); in enforceCurrentPolicies_withUnlockedDeviceState_doesNotStartLockTaskMode() [all …]
|
D | ProvisionStateControllerImplTest.java | 40 import com.android.devicelockcontroller.policy.ProvisionStateController.ProvisionState; 89 ProvisionState.UNPROVISIONED); in getState_shouldReturnDefaultProvisionState() 102 ProvisionState.PROVISION_IN_PROGRESS); in postSetNextStateForEventRequest_shouldReturnExpectedProvisionState() 121 ProvisionState.PROVISION_IN_PROGRESS); in setNextStateForEvent_shouldSetExpectedNextProvisionState() 133 ProvisionState.PROVISION_PAUSED); in setNextStateForEvent_shouldSetExpectedNextProvisionState() 157 UserParameters.setProvisionState(mTestApp, ProvisionState.KIOSK_PROVISIONED); in setNextStateForEvent_shouldLogSuccessfulProvisioning_whenProvisionSuccess() 171 ProvisionState.UNPROVISIONED); in setNextStateForEvent_withException_shouldRetainProvisionState() 182 ProvisionState.UNPROVISIONED); in setNextStateForEvent_withException_shouldRetainProvisionState() 196 ProvisionState.PROVISION_IN_PROGRESS); in setNextStateForEvent_withException_shouldHandlePolicyEnforcementFailure() 208 ProvisionState.PROVISION_IN_PROGRESS); in setNextStateForEvent_withException_shouldHandlePolicyEnforcementFailure() [all …]
|
D | ProvisionStateControllerStateTransitionTest.java | 26 import static com.android.devicelockcontroller.policy.ProvisionStateController.ProvisionState.KIOSK… 27 import static com.android.devicelockcontroller.policy.ProvisionStateController.ProvisionState.PROVI… 28 import static com.android.devicelockcontroller.policy.ProvisionStateController.ProvisionState.PROVI… 29 import static com.android.devicelockcontroller.policy.ProvisionStateController.ProvisionState.PROVI… 30 import static com.android.devicelockcontroller.policy.ProvisionStateController.ProvisionState.PROVI… 31 import static com.android.devicelockcontroller.policy.ProvisionStateController.ProvisionState.UNPRO… 46 @ProvisionStateController.ProvisionState 54 @ProvisionStateController.ProvisionState
|
D | ProvisionStateControllerThreadSafetyTest.java | 20 import static com.android.devicelockcontroller.policy.ProvisionStateController.ProvisionState.UNPRO…
|
/packages/modules/DeviceLock/DeviceLockController/src/com/android/devicelockcontroller/receivers/ |
D | LockedBootCompletedReceiver.java | 19 import static com.android.devicelockcontroller.policy.ProvisionStateController.ProvisionState.PROVI… 20 import static com.android.devicelockcontroller.policy.ProvisionStateController.ProvisionState.PROVI… 31 import com.android.devicelockcontroller.policy.ProvisionStateController.ProvisionState; 85 public void onSuccess(@ProvisionState Integer state) { in onReceive()
|
D | ResumeProvisionReceiver.java | 25 import com.android.devicelockcontroller.policy.ProvisionStateController.ProvisionState;
|
/packages/modules/DeviceLock/DeviceLockController/tests/robolectric/src/com/android/devicelockcontroller/ |
D | WorkManagerExceptionHandlerTest.java | 19 import static com.android.devicelockcontroller.policy.ProvisionStateController.ProvisionState.KIOSK… 20 import static com.android.devicelockcontroller.policy.ProvisionStateController.ProvisionState.PROVI… 21 import static com.android.devicelockcontroller.policy.ProvisionStateController.ProvisionState.PROVI… 22 import static com.android.devicelockcontroller.policy.ProvisionStateController.ProvisionState.PROVI… 23 import static com.android.devicelockcontroller.policy.ProvisionStateController.ProvisionState.PROVI… 24 import static com.android.devicelockcontroller.policy.ProvisionStateController.ProvisionState.UNPRO…
|
/packages/modules/DeviceLock/DeviceLockController/src/com/android/devicelockcontroller/storage/ |
D | UserParameters.java | 27 import com.android.devicelockcontroller.policy.ProvisionStateController.ProvisionState; 70 @ProvisionState 74 ProvisionState.UNPROVISIONED); in getProvisionState() 80 public static void setProvisionState(Context context, @ProvisionState int state) { in setProvisionState()
|
/packages/modules/DeviceLock/DeviceLockController/src/com/android/devicelockcontroller/ |
D | WorkManagerExceptionHandler.java | 19 import static com.android.devicelockcontroller.policy.ProvisionStateController.ProvisionState.UNPRO… 37 import com.android.devicelockcontroller.policy.ProvisionStateController.ProvisionState; 318 final ListenableFuture<@ProvisionState Integer> provisionStateFuture = in handleException() 323 final @ProvisionState Integer provisionState = Futures.getDone(provisionStateFuture); in handleException()
|
/packages/modules/DeviceLock/DeviceLockController/src/com/android/devicelockcontroller/schedule/ |
D | DeviceLockControllerSchedulerImpl.java | 27 import static com.android.devicelockcontroller.policy.ProvisionStateController.ProvisionState.PROVI… 28 import static com.android.devicelockcontroller.policy.ProvisionStateController.ProvisionState.PROVI… 29 import static com.android.devicelockcontroller.policy.ProvisionStateController.ProvisionState.UNPRO… 56 import com.android.devicelockcontroller.policy.ProvisionStateController.ProvisionState; 188 public void onSuccess(@ProvisionState Integer currentState) { in notifyTimeChanged() 207 void correctStoredTime(@ProvisionState Integer currentState) { in correctStoredTime()
|
/packages/modules/DeviceLock/DeviceLockController/tests/robolectric/src/com/android/devicelockcontroller/receivers/ |
D | LockedBootCompletedReceiverTest.java | 19 import static com.android.devicelockcontroller.policy.ProvisionStateController.ProvisionState.PROVI… 20 import static com.android.devicelockcontroller.policy.ProvisionStateController.ProvisionState.PROVI…
|
/packages/modules/DeviceLock/DeviceLockController/tests/robolectric/src/com/android/devicelockcontroller/provision/worker/ |
D | SetupWizardCompletionTimeoutWorkerTest.java | 20 import static com.android.devicelockcontroller.policy.ProvisionStateController.ProvisionState.PROVI… 21 import static com.android.devicelockcontroller.policy.ProvisionStateController.ProvisionState.UNPRO…
|
/packages/modules/DeviceLock/DeviceLockController/src/com/android/devicelockcontroller/provision/worker/ |
D | SetupWizardCompletionTimeoutWorker.java | 25 import static com.android.devicelockcontroller.policy.ProvisionStateController.ProvisionState.UNPRO…
|
/packages/modules/DeviceLock/DeviceLockController/tests/robolectric/src/com/android/devicelockcontroller/schedule/ |
D | DeviceLockControllerSchedulerImplTest.java | 24 import static com.android.devicelockcontroller.policy.ProvisionStateController.ProvisionState.PROVI… 25 import static com.android.devicelockcontroller.policy.ProvisionStateController.ProvisionState.UNPRO…
|
/packages/modules/DeviceLock/DeviceLockController/src/com/android/devicelockcontroller/activities/ |
D | ProgressFragment.java | 21 import static com.android.devicelockcontroller.policy.ProvisionStateController.ProvisionState.PROVI…
|
/packages/modules/DeviceLock/DeviceLockController/tests/robolectric/src/com/android/devicelockcontroller/activities/ |
D | ProgressFragmentTest.java | 144 ProvisionStateController.ProvisionState.PROVISION_IN_PROGRESS)); in onCreateView_viewsAndListenersShouldBeCorrectlySet()
|
/packages/modules/DeviceLock/DeviceLockController/src/com/android/devicelockcontroller/debug/ |
D | DeviceLockCommandReceiver.java | 26 import static com.android.devicelockcontroller.policy.ProvisionStateController.ProvisionState.PROVI…
|