Home
last modified time | relevance | path

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

/bootable/recovery/updater_sample/src/com/example/android/systemupdatersample/
DUpdateManager.java100 getOnStateChangeCallback().ifPresent(callback -> callback.accept(mUpdaterState.get())); in bind()
232 getOnStateChangeCallback().ifPresent(callback -> callback.accept(newUpdaterState)); in setUpdaterState()
256 getOnStateChangeCallback().ifPresent(callback -> callback.accept(state)); in initializeUpdateState()
501 getOnProgressUpdateCallback().ifPresent(callback -> callback.accept(mProgress.get())); in onStatusUpdate()
504 getOnEngineStatusUpdateCallback().ifPresent(callback -> callback.accept(status)); in onStatusUpdate()
521 .ifPresent(callback -> callback.accept(errorCode)); in onPayloadApplicationComplete()
/bootable/recovery/install/
Dsnapshot_utils.cpp41 auto callback = [&]() -> void { in FinishPendingSnapshotMerges() local
46 if (!sm->HandleImminentDataWipe(callback)) { in FinishPendingSnapshotMerges()
/bootable/recovery/updater_sample/tests/src/com/example/android/systemupdatersample/
DUpdateManagerTest.java104 UpdateEngineCallback callback = answer.getArgument(0); in stateIsRunningAndEngineStatusIsIdle_reApplyLastUpdate()
105 callback.onStatusUpdate( in stateIsRunningAndEngineStatusIsIdle_reApplyLastUpdate()
/bootable/recovery/updater_sample/
DREADME.md78 callback. The second problem is solved by adding `PAUSED` updater state.
121 initialized, it's guaranteed to invoke callback onStatusUpdate.
/bootable/recovery/updater/
Dblockimg.cpp688 const std::function<void(const std::string&)>& callback) { in EnumerateStash() argument
703 callback(dirname + "/" + item->d_name); in EnumerateStash()