Home
last modified time | relevance | path

Searched refs:ProvisioningProgress (Results 1 – 8 of 8) sorted by relevance

/packages/modules/DeviceLock/DeviceLockController/src/com/android/devicelockcontroller/activities/
DProvisioningProgress.java29 public final class ProvisioningProgress { class
31 public static final ProvisioningProgress GETTING_DEVICE_READY = new ProvisioningProgress(
34 public static final ProvisioningProgress INSTALLING_KIOSK_APP = new ProvisioningProgress(
36 public static final ProvisioningProgress OPENING_KIOSK_APP = new ProvisioningProgress(
50 private ProvisioningProgress(int iconId, int headerId) { in ProvisioningProgress() method in ProvisioningProgress
54 ProvisioningProgress(int iconId, int headerId, int subheaderId) { in ProvisioningProgress() method in ProvisioningProgress
59 ProvisioningProgress(boolean bottomViewVisible, boolean countDownTimerVisible, in ProvisioningProgress() method in ProvisioningProgress
66 ProvisioningProgress(int iconId, int headerId, int subheaderId, boolean progressBarVisible, in ProvisioningProgress() method in ProvisioningProgress
83 public static ProvisioningProgress getMandatoryProvisioningFailedProgress( in getMandatoryProvisioningFailedProgress()
85 return new ProvisioningProgress( in getMandatoryProvisioningFailedProgress()
[all …]
DProvisioningProgressViewModel.java45 private final MutableLiveData<ProvisioningProgress> mProvisioningProgressLiveData;
46 private ProvisioningProgress mProvisioningProgress;
113 public LiveData<ProvisioningProgress> getProvisioningProgressLiveData() { in getProvisioningProgressLiveData()
123 public void setProvisioningProgress(ProvisioningProgress provisioningProgress) { in setProvisioningProgress()
DProvisioningActivity.java74 ProvisioningProgress.getMandatoryProvisioningFailedProgress( in onCreate()
82 ProvisioningProgress.getNonMandatoryProvisioningFailedProgress(UNKNOWN_REASON)); in onCreate()
DProvisioningProgressController.java28 void setProvisioningProgress(ProvisioningProgress provisioningProgress); in setProvisioningProgress()
/packages/modules/DeviceLock/DeviceLockController/tests/robolectric/src/com/android/devicelockcontroller/policy/
DProvisionHelperImplTest.java67 import com.android.devicelockcontroller.activities.ProvisioningProgress;
123 private ArgumentCaptor<ProvisioningProgress> mProvisioningProgressArgumentCaptor;
159 verifyProgressesSet(Arrays.asList(ProvisioningProgress.GETTING_DEVICE_READY, in checkGeoEligibility_countryUnknown_thenProceedToFailure()
160 ProvisioningProgress.getNonMandatoryProvisioningFailedProgress( in checkGeoEligibility_countryUnknown_thenProceedToFailure()
178 verifyProgressesSet(Arrays.asList(ProvisioningProgress.GETTING_DEVICE_READY, in checkGeoEligibility_inUnapprovedCountry_thenProceedToFailure()
179 ProvisioningProgress.getNonMandatoryProvisioningFailedProgress( in checkGeoEligibility_inUnapprovedCountry_thenProceedToFailure()
192 verifyProgressesSet(Arrays.asList(ProvisioningProgress.GETTING_DEVICE_READY, in checkGeoEligibility_cancelled_thenProceedToFailure()
193 ProvisioningProgress.getNonMandatoryProvisioningFailedProgress( in checkGeoEligibility_cancelled_thenProceedToFailure()
213 verifyProgressesSet(Arrays.asList(ProvisioningProgress.GETTING_DEVICE_READY, in checkGeoEligibility_workTimeout_thenProceedToFailure()
214 ProvisioningProgress.getNonMandatoryProvisioningFailedProgress( in checkGeoEligibility_workTimeout_thenProceedToFailure()
[all …]
/packages/modules/DeviceLock/DeviceLockController/tests/robolectric/src/com/android/devicelockcontroller/activities/
DProgressFragmentTest.java104 public ProvisioningProgress mProvisioningProgress;
112 {ProvisioningProgress.GETTING_DEVICE_READY}, in parameters()
113 {ProvisioningProgress.INSTALLING_KIOSK_APP}, in parameters()
114 {ProvisioningProgress.OPENING_KIOSK_APP}, in parameters()
115 {ProvisioningProgress.getMandatoryProvisioningFailedProgress( in parameters()
117 {ProvisioningProgress.getNonMandatoryProvisioningFailedProgress( in parameters()
119 {ProvisioningProgress.getNonMandatoryProvisioningFailedProgress( in parameters()
121 {ProvisioningProgress.getNonMandatoryProvisioningFailedProgress( in parameters()
123 {ProvisioningProgress.getNonMandatoryProvisioningFailedProgress( in parameters()
125 {ProvisioningProgress.getNonMandatoryProvisioningFailedProgress( in parameters()
[all …]
DProvisioningActivityTest.java64 ProvisioningProgress actual = new ViewModelProvider(activity).get( in withCriticalFailedUIExtra_setMandatoryFailedProvisionProgressAndShowProgressFragment()
66 assertThat(actual).isEqualTo(ProvisioningProgress.getMandatoryProvisioningFailedProgress( in withCriticalFailedUIExtra_setMandatoryFailedProvisionProgressAndShowProgressFragment()
82 ProvisioningProgress actual = new ViewModelProvider(activity).get( in withNonCriticalUIExtra_setNonMandatoryFailedProgressAndShowProgressFragment()
84 assertThat(actual).isEqualTo(ProvisioningProgress.getNonMandatoryProvisioningFailedProgress( in withNonCriticalUIExtra_setNonMandatoryFailedProgressAndShowProgressFragment()
/packages/modules/DeviceLock/DeviceLockController/src/com/android/devicelockcontroller/policy/
DProvisionHelperImpl.java63 import com.android.devicelockcontroller.activities.ProvisioningProgress;
158 progressController.setProvisioningProgress(ProvisioningProgress.GETTING_DEVICE_READY); in scheduleKioskAppInstallation()
187 ProvisioningProgress.INSTALLING_KIOSK_APP); in scheduleKioskAppInstallation()
194 ProvisioningProgress.OPENING_KIOSK_APP); in scheduleKioskAppInstallation()
312 ProvisioningProgress.OPENING_KIOSK_APP); in installFromPlay()
356 ProvisioningProgress.getMandatoryProvisioningFailedProgress(reason)); in handleFailure()
364 ProvisioningProgress.getNonMandatoryProvisioningFailedProgress(reason)); in handleFailure()