/system/sepolicy/prebuilts/api/31.0/public/ |
D | update_engine.te | 1 # Domain for update_engine daemon. 2 type update_engine, domain, update_engine_common; 5 net_domain(update_engine); 7 # Following permissions are needed for update_engine. 8 allow update_engine self:process { setsched }; 9 allow update_engine self:global_capability_class_set { fowner sys_admin }; 14 dontaudit update_engine self:global_capability_class_set fsetid; 16 allow update_engine kmsg_device:chr_file { getattr w_file_perms }; 17 allow update_engine update_engine_exec:file rx_file_perms; 18 wakelock_use(update_engine); [all …]
|
/system/sepolicy/public/ |
D | update_engine.te | 1 # Domain for update_engine daemon. 2 type update_engine, domain, update_engine_common; 5 net_domain(update_engine); 7 # Following permissions are needed for update_engine. 8 allow update_engine self:process { setsched }; 9 allow update_engine self:global_capability_class_set { fowner sys_admin }; 14 dontaudit update_engine self:global_capability_class_set fsetid; 16 allow update_engine kmsg_device:chr_file { getattr w_file_perms }; 17 allow update_engine update_engine_exec:file rx_file_perms; 18 wakelock_use(update_engine); [all …]
|
/system/sepolicy/prebuilts/api/27.0/public/ |
D | update_engine.te | 1 # Domain for update_engine daemon. 2 type update_engine, domain, update_engine_common; 5 net_domain(update_engine); 9 allow update_engine qtaguid_proc:file rw_file_perms; 10 allow update_engine qtaguid_device:chr_file r_file_perms; 12 # Following permissions are needed for update_engine. 13 allow update_engine self:process { setsched }; 14 allow update_engine self:capability { fowner sys_admin }; 15 allow update_engine kmsg_device:chr_file w_file_perms; 16 allow update_engine update_engine_exec:file rx_file_perms; [all …]
|
D | update_engine_common.te | 1 # update_engine payload application permissions. These are shared between the 4 # Allow update_engine to reach block devices in /dev/block. 44 allow update_engine proc:file r_file_perms; # delete candidate 45 allow update_engine proc_misc:file r_file_perms; 48 allow update_engine system_file:dir r_dir_perms;
|
/system/sepolicy/prebuilts/api/26.0/public/ |
D | update_engine.te | 1 # Domain for update_engine daemon. 2 type update_engine, domain, update_engine_common; 5 net_domain(update_engine); 9 allow update_engine qtaguid_proc:file rw_file_perms; 10 allow update_engine qtaguid_device:chr_file r_file_perms; 12 # Following permissions are needed for update_engine. 13 allow update_engine self:process { setsched }; 14 allow update_engine self:capability { fowner sys_admin }; 15 allow update_engine kmsg_device:chr_file w_file_perms; 16 allow update_engine update_engine_exec:file rx_file_perms; [all …]
|
D | update_engine_common.te | 1 # update_engine payload application permissions. These are shared between the 4 # Allow update_engine to reach block devices in /dev/block. 38 allow update_engine proc:file r_file_perms; # delete candidate 39 allow update_engine proc_misc:file r_file_perms; 42 allow update_engine system_file:dir r_dir_perms;
|
/system/sepolicy/prebuilts/api/29.0/public/ |
D | update_engine.te | 1 # Domain for update_engine daemon. 2 type update_engine, domain, update_engine_common; 5 net_domain(update_engine); 7 # Following permissions are needed for update_engine. 8 allow update_engine self:process { setsched }; 9 allow update_engine self:global_capability_class_set { fowner sys_admin }; 14 dontaudit update_engine self:global_capability_class_set fsetid; 16 allow update_engine kmsg_device:chr_file { getattr w_file_perms }; 17 allow update_engine update_engine_exec:file rx_file_perms; 18 wakelock_use(update_engine); [all …]
|
/system/sepolicy/prebuilts/api/28.0/public/ |
D | update_engine.te | 1 # Domain for update_engine daemon. 2 type update_engine, domain, update_engine_common; 5 net_domain(update_engine); 9 allow update_engine qtaguid_proc:file rw_file_perms; 10 allow update_engine qtaguid_device:chr_file r_file_perms; 12 # Following permissions are needed for update_engine. 13 allow update_engine self:process { setsched }; 14 allow update_engine self:global_capability_class_set { fowner sys_admin }; 19 dontaudit update_engine self:global_capability_class_set fsetid; 21 allow update_engine kmsg_device:chr_file w_file_perms; [all …]
|
/system/sepolicy/prebuilts/api/30.0/public/ |
D | update_engine.te | 1 # Domain for update_engine daemon. 2 type update_engine, domain, update_engine_common; 5 net_domain(update_engine); 7 # Following permissions are needed for update_engine. 8 allow update_engine self:process { setsched }; 9 allow update_engine self:global_capability_class_set { fowner sys_admin }; 14 dontaudit update_engine self:global_capability_class_set fsetid; 16 allow update_engine kmsg_device:chr_file { getattr w_file_perms }; 17 allow update_engine update_engine_exec:file rx_file_perms; 18 wakelock_use(update_engine); [all …]
|
/system/sepolicy/private/ |
D | update_engine.te | 1 typeattribute update_engine coredomain; 3 init_daemon_domain(update_engine); 6 allow update_engine gsi_service:service_manager find; 7 binder_call(update_engine, gsid) 10 set_prop(update_engine, ctl_gsid_prop) 13 set_prop(update_engine, ctl_snapuserd_prop) 16 set_prop(update_engine, ota_prop) 19 get_prop(update_engine, gsid_prop) 21 # Allow update_engine to call the callback function provided by GKI update hook. 22 binder_call(update_engine, gki_apex_prepostinstall) [all …]
|
/system/sepolicy/prebuilts/api/31.0/private/ |
D | update_engine.te | 1 typeattribute update_engine coredomain; 3 init_daemon_domain(update_engine); 6 allow update_engine gsi_service:service_manager find; 7 binder_call(update_engine, gsid) 10 set_prop(update_engine, ctl_gsid_prop) 13 set_prop(update_engine, ctl_snapuserd_prop) 16 set_prop(update_engine, ota_prop) 19 get_prop(update_engine, gsid_prop) 21 # Allow update_engine to call the callback function provided by GKI update hook. 22 binder_call(update_engine, gki_apex_prepostinstall) [all …]
|
/system/update_engine/ |
D | update_status_utils.cc | 25 using update_engine::UpdateEngineStatus; 26 using update_engine::UpdateStatus; 48 return update_engine::kUpdateStatusIdle; in UpdateStatusToString() 50 return update_engine::kUpdateStatusCheckingForUpdate; in UpdateStatusToString() 52 return update_engine::kUpdateStatusUpdateAvailable; in UpdateStatusToString() 54 return update_engine::kUpdateStatusNeedPermissionToUpdate; in UpdateStatusToString() 56 return update_engine::kUpdateStatusDownloading; in UpdateStatusToString() 58 return update_engine::kUpdateStatusVerifying; in UpdateStatusToString() 60 return update_engine::kUpdateStatusFinalizing; in UpdateStatusToString() 62 return update_engine::kUpdateStatusUpdatedNeedReboot; in UpdateStatusToString() [all …]
|
D | update_engine.rc | 1 service update_engine /system/bin/update_engine --logtostderr --logtofile --foreground 9 enable update_engine
|
D | update_status_utils.h | 26 const char* UpdateStatusToString(const update_engine::UpdateStatus& status); 29 const update_engine::UpdateEngineStatus& status);
|
D | .gitignore | 7 /update_engine.dbusclient.h 8 /update_engine.dbusserver.h
|
D | BUILD.gn | 25 import("//update_engine/tar_bunzip2.gni") 34 ":update_engine", 35 ":update_engine-dbus-adaptor", 36 ":update_engine-dbus-kiosk-app-client", 45 ":update_engine-test_images", 46 ":update_engine-testkeys", 47 ":update_engine-testkeys-ec", 79 # "update_engine/...". 81 "${platform2_root}/update_engine/client_library/include", 104 proto_out_dir = "include/update_engine" [all …]
|
D | update_status_utils_unittest.cc | 30 update_engine::UpdateEngineStatus update_engine_status = { in TEST() 32 .status = update_engine::UpdateStatus::CHECKING_FOR_UPDATE, in TEST()
|
/system/sepolicy/prebuilts/api/30.0/private/ |
D | update_engine.te | 1 typeattribute update_engine coredomain; 3 init_daemon_domain(update_engine); 6 allow update_engine gsi_service:service_manager find; 7 binder_call(update_engine, gsid)
|
/system/sepolicy/prebuilts/api/27.0/private/ |
D | update_engine.te | 1 typeattribute update_engine coredomain; 2 typeattribute update_engine domain_deprecated; 4 init_daemon_domain(update_engine);
|
/system/sepolicy/prebuilts/api/26.0/private/ |
D | update_engine.te | 1 typeattribute update_engine coredomain; 2 typeattribute update_engine domain_deprecated; 4 init_daemon_domain(update_engine);
|
/system/update_engine/cros/ |
D | dbus_service.cc | 34 using update_engine::Operation; 35 using update_engine::StatusResult; 36 using update_engine::UpdateEngineStatus; 72 update_engine::AttemptUpdateFlags flags = in AttemptUpdateWithFlags() 73 static_cast<update_engine::AttemptUpdateFlags>(in_flags_as_int); in AttemptUpdateWithFlags() 74 bool interactive = !(flags & update_engine::kAttemptUpdateFlagNonInteractive); in AttemptUpdateWithFlags() 80 interactive ? 0 : update_engine::UpdateAttemptFlags::kFlagNonInteractive, in AttemptUpdateWithFlags() 201 dbus::ObjectPath(update_engine::kUpdateEngineServicePath)) {} in UpdateEngineAdaptor() 210 return bus_->RequestOwnershipAndBlock(update_engine::kUpdateEngineServiceName, in RequestOwnership()
|
/system/update_engine/client-headers/ |
D | BUILD.gn | 23 # update_engine client library generated headers. Used by other daemons and 24 # by the update_engine_client console program to interact with update_engine. 28 mock_output_file = "include/update_engine/dbus-proxy-mocks.h" 29 proxy_output_file = "include/update_engine/dbus-proxies.h" 30 proxy_path_in_mocks = "update_engine/dbus-proxies.h"
|
/system/sepolicy/prebuilts/api/29.0/private/ |
D | update_engine.te | 1 typeattribute update_engine coredomain; 3 init_daemon_domain(update_engine);
|
/system/sepolicy/prebuilts/api/28.0/private/ |
D | update_engine.te | 1 typeattribute update_engine coredomain; 3 init_daemon_domain(update_engine);
|
/system/update_engine/update_manager/ |
D | real_updater_provider.cc | 42 using update_engine::UpdateAttemptFlags; 43 using update_engine::UpdateEngineStatus; 153 {update_engine::kUpdateStatusIdle, Stage::kIdle}, 154 {update_engine::kUpdateStatusCheckingForUpdate, Stage::kCheckingForUpdate}, 155 {update_engine::kUpdateStatusUpdateAvailable, Stage::kUpdateAvailable}, 156 {update_engine::kUpdateStatusDownloading, Stage::kDownloading}, 157 {update_engine::kUpdateStatusVerifying, Stage::kVerifying}, 158 {update_engine::kUpdateStatusFinalizing, Stage::kFinalizing}, 159 {update_engine::kUpdateStatusUpdatedNeedReboot, Stage::kUpdatedNeedReboot}, 160 {update_engine::kUpdateStatusReportingErrorEvent, [all …]
|