Home
last modified time | relevance | path

Searched refs:IDLE (Results 1 – 5 of 5) sorted by relevance

/bootable/recovery/updater_sample/src/com/example/android/systemupdatersample/
DUpdaterState.java31 public static final int IDLE = 0; field in UpdaterState
55 .put(IDLE, ImmutableSet.of(IDLE, ERROR, RUNNING))
56 .put(ERROR, ImmutableSet.of(IDLE))
58 IDLE, ERROR, PAUSED, REBOOT_REQUIRED, SLOT_SWITCH_REQUIRED))
59 .put(PAUSED, ImmutableSet.of(ERROR, RUNNING, IDLE))
60 .put(SLOT_SWITCH_REQUIRED, ImmutableSet.of(ERROR, REBOOT_REQUIRED, IDLE))
61 .put(REBOOT_REQUIRED, ImmutableSet.of(IDLE))
DUpdateManager.java58 new AtomicInteger(UpdateEngine.UpdateStatusConstants.IDLE);
61 private UpdaterState mUpdaterState = new UpdaterState(UpdaterState.IDLE);
265 setUpdaterState(UpdaterState.IDLE); in cancelRunningUpdate()
274 setUpdaterState(UpdaterState.IDLE); in resetUpdate()
436 case UpdaterState.IDLE: in synchronizeUpdaterStateWithUpdateEngineStatus()
443 engineStatus == UpdateEngine.UpdateStatusConstants.IDLE, in synchronizeUpdaterStateWithUpdateEngineStatus()
451 || engineStatus == UpdateEngine.UpdateStatusConstants.IDLE) { in synchronizeUpdaterStateWithUpdateEngineStatus()
/bootable/recovery/updater_sample/tests/src/com/example/android/systemupdatersample/
DUpdateManagerTest.java106 UpdateEngine.UpdateStatusConstants.IDLE, in stateIsRunningAndEngineStatusIsIdle_reApplyLastUpdate()
/bootable/recovery/updater_sample/src/com/example/android/systemupdatersample/ui/
DMainActivity.java259 if (state == UpdaterState.IDLE) { in onUpdaterStateChange()
/bootable/recovery/updater_sample/
DREADME.md64 only onStatusUpdate is called, but status becomes IDLE in most cases.
69 When `cancel` is called, status is set to `IDLE`, which doesn't allow