Home
last modified time | relevance | path

Searched refs:update_engine (Results 1 – 25 of 177) sorted by relevance

12345678

/system/sepolicy/prebuilts/api/31.0/public/
Dupdate_engine.te1 # 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/
Dupdate_engine.te1 # 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/
Dupdate_engine.te1 # 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 …]
Dupdate_engine_common.te1 # 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/
Dupdate_engine.te1 # 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 …]
Dupdate_engine_common.te1 # 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/
Dupdate_engine.te1 # 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/
Dupdate_engine.te1 # 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/
Dupdate_engine.te1 # 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/
Dupdate_engine.te1 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/
Dupdate_engine.te1 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/
Dupdate_status_utils.cc25 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 …]
Dupdate_engine.rc1 service update_engine /system/bin/update_engine --logtostderr --logtofile --foreground
9 enable update_engine
Dupdate_status_utils.h26 const char* UpdateStatusToString(const update_engine::UpdateStatus& status);
29 const update_engine::UpdateEngineStatus& status);
D.gitignore7 /update_engine.dbusclient.h
8 /update_engine.dbusserver.h
DBUILD.gn25 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 …]
Dupdate_status_utils_unittest.cc30 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/
Dupdate_engine.te1 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/
Dupdate_engine.te1 typeattribute update_engine coredomain;
2 typeattribute update_engine domain_deprecated;
4 init_daemon_domain(update_engine);
/system/sepolicy/prebuilts/api/26.0/private/
Dupdate_engine.te1 typeattribute update_engine coredomain;
2 typeattribute update_engine domain_deprecated;
4 init_daemon_domain(update_engine);
/system/update_engine/cros/
Ddbus_service.cc34 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/
DBUILD.gn23 # 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/
Dupdate_engine.te1 typeattribute update_engine coredomain;
3 init_daemon_domain(update_engine);
/system/sepolicy/prebuilts/api/28.0/private/
Dupdate_engine.te1 typeattribute update_engine coredomain;
3 init_daemon_domain(update_engine);
/system/update_engine/update_manager/
Dreal_updater_provider.cc42 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 …]

12345678