Home
last modified time | relevance | path

Searched refs:KEY_IS_PROVISION_SUCCESSFUL (Results 1 – 2 of 2) sorted by relevance

/packages/modules/DeviceLock/DeviceLockController/src/com/android/devicelockcontroller/provision/worker/
DReportDeviceProvisionStateWorker.java71 public static final String KEY_IS_PROVISION_SUCCESSFUL = "is-provision-successful"; field in ReportDeviceProvisionStateWorker
85 .putBoolean(KEY_IS_PROVISION_SUCCESSFUL, false) in reportSetupFailed()
96 .putBoolean(KEY_IS_PROVISION_SUCCESSFUL, true) in reportSetupCompleted()
106 .putBoolean(KEY_IS_PROVISION_SUCCESSFUL, false) in reportCurrentFailedStep()
178 KEY_IS_PROVISION_SUCCESSFUL, /* defaultValue= */ false); in startWork()
/packages/modules/DeviceLock/DeviceLockController/tests/robolectric/src/com/android/devicelockcontroller/policy/
DProvisionHelperImplTest.java27 …devicelockcontroller.provision.worker.ReportDeviceProvisionStateWorker.KEY_IS_PROVISION_SUCCESSFUL;
269 assertThat(data.getBoolean(KEY_IS_PROVISION_SUCCESSFUL, false)).isTrue(); in installKiosk_onDebuggableBuild_thenUseInstalledApp()
308 assertThat(data.getBoolean(KEY_IS_PROVISION_SUCCESSFUL, false)).isTrue(); in installKiosk_whenFlagIsDisabledOnDebuggableBuild_thenInstallFromPlay()
347 assertThat(data.getBoolean(KEY_IS_PROVISION_SUCCESSFUL, false)).isTrue(); in installKiosk_whenFlagIsEnabledOnNonDebuggableBuild_thenInstallFromPlay()
386 assertThat(data.getBoolean(KEY_IS_PROVISION_SUCCESSFUL, false)).isTrue(); in installKiosk_whenFlagIsDisabledOnNonDebuggableBuild_thenInstallFromPlay()
423 assertThat(data.getBoolean(KEY_IS_PROVISION_SUCCESSFUL, false)).isTrue(); in installKiosk_whenAppIsNotPreinstalled_thenInstallFromPlay()
454 assertThat(data.getBoolean(KEY_IS_PROVISION_SUCCESSFUL, true)).isFalse(); in installKiosk_whenInstallationFailsAndIsMandatory_thenReportFailure()