Home
last modified time | relevance | path

Searched refs:KEY_IS_IN_APPROVED_COUNTRY (Results 1 – 4 of 4) sorted by relevance

/packages/modules/DeviceLock/DeviceLockController/tests/robolectric/src/com/android/devicelockcontroller/provision/worker/
DIsDeviceInApprovedCountryWorkerTest.java19 …d.devicelockcontroller.provision.worker.IsDeviceInApprovedCountryWorker.KEY_IS_IN_APPROVED_COUNTRY;
96 new Data.Builder().putBoolean(KEY_IS_IN_APPROVED_COUNTRY, true).build()); in doWork_responseIsSuccessful_isInApprovedCountry_correctResultAndLog()
101 assertThat(actual.getOutputData().hasKeyWithValueOfType(KEY_IS_IN_APPROVED_COUNTRY, in doWork_responseIsSuccessful_isInApprovedCountry_correctResultAndLog()
111 new Data.Builder().putBoolean(KEY_IS_IN_APPROVED_COUNTRY, false).build()); in doWork_responseIsSuccessful_isNotInApprovedCountry_correctResultAndLog()
116 assertThat(actual.getOutputData().hasKeyWithValueOfType(KEY_IS_IN_APPROVED_COUNTRY, in doWork_responseIsSuccessful_isNotInApprovedCountry_correctResultAndLog()
130 assertThat(actual.getOutputData().hasKeyWithValueOfType(KEY_IS_IN_APPROVED_COUNTRY, in doWork_responseIsNotSuccessful_failureResultAndLog()
/packages/modules/DeviceLock/DeviceLockController/tests/robolectric/src/com/android/devicelockcontroller/policy/
DProvisionHelperImplTest.java25 …d.devicelockcontroller.provision.worker.IsDeviceInApprovedCountryWorker.KEY_IS_IN_APPROVED_COUNTRY;
169 new Data.Builder().putBoolean(KEY_IS_IN_APPROVED_COUNTRY, false).build())); in checkGeoEligibility_inUnapprovedCountry_thenProceedToFailure()
223 new Data.Builder().putBoolean(KEY_IS_IN_APPROVED_COUNTRY, true).build())); in checkGeoEligibility_inApprovedCountry_thenProceedToInstalling()
248 new Data.Builder().putBoolean(KEY_IS_IN_APPROVED_COUNTRY, true).build())); in installKiosk_onDebuggableBuild_thenUseInstalledApp()
287 new Data.Builder().putBoolean(KEY_IS_IN_APPROVED_COUNTRY, true).build())); in installKiosk_whenFlagIsDisabledOnDebuggableBuild_thenInstallFromPlay()
326 new Data.Builder().putBoolean(KEY_IS_IN_APPROVED_COUNTRY, true).build())); in installKiosk_whenFlagIsEnabledOnNonDebuggableBuild_thenInstallFromPlay()
365 new Data.Builder().putBoolean(KEY_IS_IN_APPROVED_COUNTRY, true).build())); in installKiosk_whenFlagIsDisabledOnNonDebuggableBuild_thenInstallFromPlay()
402 new Data.Builder().putBoolean(KEY_IS_IN_APPROVED_COUNTRY, true).build())); in installKiosk_whenAppIsNotPreinstalled_thenInstallFromPlay()
434 new Data.Builder().putBoolean(KEY_IS_IN_APPROVED_COUNTRY, true).build())); in installKiosk_whenInstallationFailsAndIsMandatory_thenReportFailure()
467 new Data.Builder().putBoolean(KEY_IS_IN_APPROVED_COUNTRY, true).build())); in installKiosk_whenInstallationFailsAndIsMandatory_thenSetResetTimer()
[all …]
/packages/modules/DeviceLock/DeviceLockController/src/com/android/devicelockcontroller/provision/worker/
DIsDeviceInApprovedCountryWorker.java47 public static final String KEY_IS_IN_APPROVED_COUNTRY = "is-in-approved-country"; field in IsDeviceInApprovedCountryWorker
78 return Result.success(builder.putBoolean(KEY_IS_IN_APPROVED_COUNTRY, in startWork()
/packages/modules/DeviceLock/DeviceLockController/src/com/android/devicelockcontroller/policy/
DProvisionHelperImpl.java31 …d.devicelockcontroller.provision.worker.IsDeviceInApprovedCountryWorker.KEY_IS_IN_APPROVED_COUNTRY;
221 if (workInfo.getOutputData().getBoolean(KEY_IS_IN_APPROVED_COUNTRY, in scheduleKioskAppInstallation()