Home
last modified time | relevance | path

Searched refs:UpdateEngineService (Results 1 – 9 of 9) sorted by relevance

/system/update_engine/
Dcommon_service.cc55 UpdateEngineService::kErrorDomain, in LogAndSetError()
56 UpdateEngineService::kErrorFailed, in LogAndSetError()
63 const char* const UpdateEngineService::kErrorDomain = "update_engine";
64 const char* const UpdateEngineService::kErrorFailed =
67 UpdateEngineService::UpdateEngineService(SystemState* system_state) in UpdateEngineService() function in chromeos_update_engine::UpdateEngineService
73 bool UpdateEngineService::AttemptUpdate(ErrorPtr* /* error */, in AttemptUpdate()
89 bool UpdateEngineService::AttemptRollback(ErrorPtr* error, bool in_powerwash) { in AttemptRollback()
100 bool UpdateEngineService::CanRollback(ErrorPtr* /* error */, in CanRollback()
108 bool UpdateEngineService::ResetStatus(ErrorPtr* error) { in ResetStatus()
117 bool UpdateEngineService::GetStatus(ErrorPtr* error, in GetStatus()
[all …]
Dbinder_service_brillo.cc52 bool (UpdateEngineService::*Handler)(ErrorPtr*, Parameters...), in CallCommonHandler()
62 return CallCommonHandler(&UpdateEngineService::AttemptUpdate, in AttemptUpdate()
69 return CallCommonHandler(&UpdateEngineService::AttemptRollback, powerwash); in AttemptRollback()
73 return CallCommonHandler(&UpdateEngineService::CanRollback, out_can_rollback); in CanRollback()
77 return CallCommonHandler(&UpdateEngineService::ResetStatus); in ResetStatus()
85 auto ret = CallCommonHandler(&UpdateEngineService::GetStatus, in GetStatus()
101 return CallCommonHandler(&UpdateEngineService::RebootIfNeeded); in RebootIfNeeded()
106 return CallCommonHandler(&UpdateEngineService::SetChannel, in SetChannel()
115 &UpdateEngineService::GetChannel, get_current_channel, &channel_string); in GetChannel()
122 return CallCommonHandler(&UpdateEngineService::SetP2PUpdatePermission, in SetP2PUpdatePermission()
[all …]
Dcommon_service_unittest.cc53 UpdateEngineService common_service_;
62 UpdateEngineService::kAttemptUpdateFlagNonInteractive)); in TEST_F()
101 EXPECT_TRUE(error_->HasError(UpdateEngineService::kErrorDomain, in TEST_F()
102 UpdateEngineService::kErrorFailed)); in TEST_F()
130 EXPECT_TRUE(error_->HasError(UpdateEngineService::kErrorDomain, in TEST_F()
131 UpdateEngineService::kErrorFailed)); in TEST_F()
Dcommon_service.h31 class UpdateEngineService {
44 explicit UpdateEngineService(SystemState* system_state);
45 virtual ~UpdateEngineService() = default;
Dbinder_service_brillo.h40 : common_(new UpdateEngineService(system_state)) {} in BinderUpdateEngineBrilloService()
94 bool (UpdateEngineService::*Handler)(brillo::ErrorPtr*, Parameters...),
101 std::unique_ptr<UpdateEngineService> common_;
Ddbus_service.cc25 using chromeos_update_engine::UpdateEngineService;
29 : common_(new UpdateEngineService{system_state}) { in DBusUpdateEngineService()
53 interactive ? 0 : UpdateEngineService::kAttemptUpdateFlagNonInteractive); in AttemptUpdateWithFlags()
Ddbus_service.h137 std::unique_ptr<UpdateEngineService> common_;
/system/update_engine/client_library/
Dclient_binder.cc35 using chromeos_update_engine::UpdateEngineService;
54 UpdateEngineService::kAttemptUpdateFlagNonInteractive).isOk(); in AttemptUpdate()
/system/sepolicy/
Dservice_contexts5 android.os.UpdateEngineService u:object_r:update_engine_service:s0