Home
last modified time | relevance | path

Searched refs:ProvisionState (Results 1 – 22 of 22) sorted by relevance

/packages/modules/DeviceLock/DeviceLockController/src/com/android/devicelockcontroller/policy/
DProvisionStateController.java40 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
DProvisionStateControllerImpl.java26 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 …]
DDevicePolicyControllerImpl.java26 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) {
DDeviceStateControllerImpl.java24 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/
DDeviceStateControllerImplTest.java27 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 …]
DDevicePolicyControllerImplTest.java67 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 …]
DProvisionStateControllerImplTest.java40 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 …]
DProvisionStateControllerStateTransitionTest.java26 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
DProvisionStateControllerThreadSafetyTest.java20 import static com.android.devicelockcontroller.policy.ProvisionStateController.ProvisionState.UNPRO…
/packages/modules/DeviceLock/DeviceLockController/src/com/android/devicelockcontroller/receivers/
DLockedBootCompletedReceiver.java19 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()
DResumeProvisionReceiver.java25 import com.android.devicelockcontroller.policy.ProvisionStateController.ProvisionState;
/packages/modules/DeviceLock/DeviceLockController/tests/robolectric/src/com/android/devicelockcontroller/
DWorkManagerExceptionHandlerTest.java19 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/
DUserParameters.java27 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/
DWorkManagerExceptionHandler.java19 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/
DDeviceLockControllerSchedulerImpl.java27 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/
DLockedBootCompletedReceiverTest.java19 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/
DSetupWizardCompletionTimeoutWorkerTest.java20 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/
DSetupWizardCompletionTimeoutWorker.java25 import static com.android.devicelockcontroller.policy.ProvisionStateController.ProvisionState.UNPRO…
/packages/modules/DeviceLock/DeviceLockController/tests/robolectric/src/com/android/devicelockcontroller/schedule/
DDeviceLockControllerSchedulerImplTest.java24 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/
DProgressFragment.java21 import static com.android.devicelockcontroller.policy.ProvisionStateController.ProvisionState.PROVI…
/packages/modules/DeviceLock/DeviceLockController/tests/robolectric/src/com/android/devicelockcontroller/activities/
DProgressFragmentTest.java144 ProvisionStateController.ProvisionState.PROVISION_IN_PROGRESS)); in onCreateView_viewsAndListenersShouldBeCorrectlySet()
/packages/modules/DeviceLock/DeviceLockController/src/com/android/devicelockcontroller/debug/
DDeviceLockCommandReceiver.java26 import static com.android.devicelockcontroller.policy.ProvisionStateController.ProvisionState.PROVI…