Home
last modified time | relevance | path

Searched refs:UpdateManager (Results 1 – 20 of 20) sorted by relevance

/aosp12/system/update_engine/update_manager/
H A Dupdate_manager.cc22 UpdateManager::UpdateManager(base::TimeDelta evaluation_timeout, in UpdateManager() function in chromeos_update_manager::UpdateManager
31 UpdateManager::~UpdateManager() { in ~UpdateManager()
39 void UpdateManager::AsyncPolicyRequestUpdateCheckAllowed( in AsyncPolicyRequestUpdateCheckAllowed()
46 void UpdateManager::UnregisterEvalContext(EvaluationContext* ec) { in UnregisterEvalContext()
H A Dfake_update_manager.h27 class FakeUpdateManager : public UpdateManager {
30 : UpdateManager(base::TimeDelta::FromSeconds(5), in FakeUpdateManager()
38 using UpdateManager::set_policy;
41 return reinterpret_cast<FakeState*>(UpdateManager::state()); in state()
H A Dupdate_manager-inl.h32 EvalStatus UpdateManager::EvaluatePolicy( in EvaluatePolicy()
77 void UpdateManager::OnPolicyReadyToEvaluate( in OnPolicyReadyToEvaluate()
95 base::Bind(&UpdateManager::OnPolicyReadyToEvaluate<R, Args...>, in OnPolicyReadyToEvaluate()
114 EvalStatus UpdateManager::PolicyRequest( in PolicyRequest()
135 void UpdateManager::AsyncPolicyRequest( in AsyncPolicyRequest()
145 base::Bind(&UpdateManager::UnregisterEvalContext, in AsyncPolicyRequest()
155 base::Bind(&UpdateManager::OnPolicyReadyToEvaluate<R, ExpectedArgs...>, in AsyncPolicyRequest()
H A Dupdate_manager.h55 class UpdateManager : public SpecializedPolicyRequestInterface {
59 UpdateManager(base::TimeDelta evaluation_timeout,
63 virtual ~UpdateManager();
177 base::WeakPtrFactory<UpdateManager> weak_ptr_factory_;
179 DISALLOW_COPY_AND_ASSIGN(UpdateManager);
H A Dmock_update_manager.h28 class MockUpdateManager : public UpdateManager {
31 : UpdateManager(base::TimeDelta(), base::TimeDelta(), nullptr) {} in MockUpdateManager()
H A Dupdate_manager_unittest.cc86 umut_.reset(new UpdateManager( in SetUp()
95 unique_ptr<UpdateManager> umut_;
/aosp12/bootable/recovery/updater_sample/tests/src/com/example/android/systemupdatersample/
H A DUpdateManagerTest.java69 private UpdateManager mSubject;
76 mSubject = new UpdateManager(mUpdateEngine, null); in setUp()
92 "USER_AGENT=" + UpdateManager.HTTP_USER_AGENT in applyUpdate_appliesPayloadToUpdateEngine()
123 "USER_AGENT=" + UpdateManager.HTTP_USER_AGENT in stateIsRunningAndEngineStatusIsIdle_reApplyLastUpdate()
/aosp12/bootable/recovery/updater_sample/src/com/example/android/systemupdatersample/
H A DUpdateManager.java47 public class UpdateManager { class
82 private final UpdateManager.UpdateEngineCallbackImpl
83 mUpdateEngineCallback = new UpdateManager.UpdateEngineCallbackImpl();
91 public UpdateManager(UpdateEngine updateEngine, Handler handler) { in UpdateManager() method in UpdateManager
530 UpdateManager.this.onStatusUpdate(status, percent); in onStatusUpdate()
535 UpdateManager.this.onPayloadApplicationComplete(errorCode); in onPayloadApplicationComplete()
/aosp12/system/update_engine/common/
H A Dsystem_state.h29 class UpdateManager; variable
110 virtual chromeos_update_manager::UpdateManager* update_manager() = 0;
/aosp12/system/update_engine/cros/
H A Dfake_system_state.h106 inline chromeos_update_manager::UpdateManager* update_manager() override { in update_manager()
173 chromeos_update_manager::UpdateManager* update_manager) { in set_update_manager()
295 chromeos_update_manager::UpdateManager* update_manager_;
H A Dreal_system_state.h101 chromeos_update_manager::UpdateManager* update_manager() override { in update_manager()
169 std::unique_ptr<chromeos_update_manager::UpdateManager> update_manager_;
H A Dp2p_manager.cc68 using chromeos_update_manager::UpdateManager;
119 UpdateManager* update_manager,
174 UpdateManager* update_manager_;
211 UpdateManager* update_manager, in P2PManagerImpl()
721 UpdateManager* update_manager, in Construct()
H A Domaha_response_handler_action.cc41 using chromeos_update_manager::UpdateManager;
249 UpdateManager* const update_manager = SystemState::Get()->update_manager(); in PerformAction()
H A Dp2p_manager.h176 chromeos_update_manager::UpdateManager* update_manager,
H A Dreal_system_state.cc150 update_manager_.reset(new chromeos_update_manager::UpdateManager( in Initialize()
H A Dupdate_attempter.cc171 chromeos_update_manager::UpdateManager* const update_manager = in ScheduleUpdates()
/aosp12/bootable/recovery/updater_sample/src/com/example/android/systemupdatersample/ui/
H A DMainActivity.java36 import com.example.android.systemupdatersample.UpdateManager;
69 private final UpdateManager mUpdateManager =
70 new UpdateManager(new UpdateEngine(), new Handler());
/aosp12/bootable/recovery/updater_sample/
H A Dproguard.flags16 -keep public class com.example.android.systemupdatersample.UpdateManager {
H A DREADME.md221 - [x] Add UpdateManager; extract update logic from MainActivity
/aosp12/system/update_engine/
H A DREADME.md150 business. Within the update engine daemon, [UpdateManager] has the
621 [UpdateManager]: /update_manager/update_manager.cc