Home
last modified time | relevance | path

Searched refs:charger (Results 1 – 25 of 99) sorted by relevance

1234

/system/sepolicy/prebuilts/api/30.0/public/
Dcharger.te1 type charger, domain;
5 allow charger kmsg_device:chr_file rw_file_perms;
8 r_dir_file(charger, rootfs)
9 r_dir_file(charger, cgroup)
12 allow charger sysfs_type:dir r_dir_perms;
14 allow charger self:global_capability_class_set { sys_tty_config };
15 allow charger self:global_capability_class_set sys_boot;
17 wakelock_use(charger)
19 allow charger self:netlink_kobject_uevent_socket create_socket_perms_no_ioctl;
22 allow charger sysfs_power:file rw_file_perms;
[all …]
Dhealthd.te1 # healthd - battery/charger monitoring service daemon
34 ### healthd: charger mode
52 # process when running in charger mode.
/system/sepolicy/prebuilts/api/29.0/public/
Dcharger.te1 type charger, domain;
5 allow charger kmsg_device:chr_file rw_file_perms;
8 r_dir_file(charger, rootfs)
9 r_dir_file(charger, cgroup)
12 allow charger sysfs_type:dir r_dir_perms;
14 allow charger self:global_capability_class_set { sys_tty_config };
15 allow charger self:global_capability_class_set sys_boot;
17 wakelock_use(charger)
19 allow charger self:netlink_kobject_uevent_socket create_socket_perms_no_ioctl;
22 allow charger sysfs_power:file rw_file_perms;
[all …]
/system/sepolicy/prebuilts/api/32.0/public/
Dcharger.te1 type charger, domain;
5 allow charger kmsg_device:chr_file rw_file_perms;
8 r_dir_file(charger, rootfs)
9 r_dir_file(charger, cgroup)
10 r_dir_file(charger, cgroup_v2)
13 allow charger sysfs_type:dir r_dir_perms;
15 allow charger self:global_capability_class_set { sys_tty_config };
16 allow charger self:global_capability_class_set sys_boot;
18 wakelock_use(charger)
20 allow charger self:netlink_kobject_uevent_socket create_socket_perms_no_ioctl;
[all …]
/system/sepolicy/prebuilts/api/31.0/public/
Dcharger.te1 type charger, domain;
5 allow charger kmsg_device:chr_file rw_file_perms;
8 r_dir_file(charger, rootfs)
9 r_dir_file(charger, cgroup)
10 r_dir_file(charger, cgroup_v2)
13 allow charger sysfs_type:dir r_dir_perms;
15 allow charger self:global_capability_class_set { sys_tty_config };
16 allow charger self:global_capability_class_set sys_boot;
18 wakelock_use(charger)
20 allow charger self:netlink_kobject_uevent_socket create_socket_perms_no_ioctl;
[all …]
/system/sepolicy/prebuilts/api/31.0/private/
Dcharger.te1 typeattribute charger coredomain;
3 # charger needs to tell init to continue the boot
4 # process when running in charger mode.
5 set_prop(charger, system_prop)
6 set_prop(charger, exported_system_prop)
7 set_prop(charger, exported3_system_prop)
8 set_prop(charger, charger_status_prop)
10 get_prop(charger, charger_prop)
11 get_prop(charger, charger_config_prop)
14 get_prop(charger, recovery_config_prop)
[all …]
/system/sepolicy/prebuilts/api/32.0/private/
Dcharger.te1 typeattribute charger coredomain;
3 # charger needs to tell init to continue the boot
4 # process when running in charger mode.
5 set_prop(charger, system_prop)
6 set_prop(charger, exported_system_prop)
7 set_prop(charger, exported3_system_prop)
8 set_prop(charger, charger_status_prop)
10 get_prop(charger, charger_prop)
11 get_prop(charger, charger_config_prop)
14 get_prop(charger, recovery_config_prop)
[all …]
/system/sepolicy/prebuilts/api/34.0/private/
Dcharger.te1 typeattribute charger coredomain;
3 # charger needs to tell init to continue the boot
4 # process when running in charger mode.
5 # The system charger needs to be allowed to set these properties on legacy devices.
6 set_prop(charger, system_prop)
7 set_prop(charger, exported_system_prop)
8 set_prop(charger, exported3_system_prop)
10 # The system charger can read ro.charger.*
11 get_prop(charger, charger_prop)
18 -charger
Dcharger_type.te1 # charger needs to tell init to continue the boot
2 # process when running in charger mode.
9 ### Neverallow rules for charger properties
18 # charger_status_prop: Only init, vendor_init, charger, and charger_vendor
24 -charger
29 # Only init, vendor_init, dumpstate, charger, and charger_vendor
36 -charger
/system/sepolicy/private/
Dcharger.te1 typeattribute charger coredomain;
3 # charger needs to tell init to continue the boot
4 # process when running in charger mode.
5 # The system charger needs to be allowed to set these properties on legacy devices.
6 set_prop(charger, system_prop)
7 set_prop(charger, exported_system_prop)
8 set_prop(charger, exported3_system_prop)
10 # The system charger can read ro.charger.*
11 get_prop(charger, charger_prop)
18 -charger
Dcharger_type.te1 # charger needs to tell init to continue the boot
2 # process when running in charger mode.
9 ### Neverallow rules for charger properties
18 # charger_status_prop: Only init, vendor_init, charger, and charger_vendor
24 -charger
29 # Only init, vendor_init, dumpstate, charger, and charger_vendor
36 -charger
/system/sepolicy/prebuilts/api/33.0/private/
Dcharger.te1 typeattribute charger coredomain;
3 # charger needs to tell init to continue the boot
4 # process when running in charger mode.
5 # The system charger needs to be allowed to set these properties on legacy devices.
6 set_prop(charger, system_prop)
7 set_prop(charger, exported_system_prop)
8 set_prop(charger, exported3_system_prop)
10 # The system charger can read ro.charger.*
11 get_prop(charger, charger_prop)
18 -charger
Dcharger_type.te1 # charger needs to tell init to continue the boot
2 # process when running in charger mode.
9 ### Neverallow rules for charger properties
18 # charger_status_prop: Only init, vendor_init, charger, and charger_vendor
24 -charger
29 # Only init, vendor_init, dumpstate, charger, and charger_vendor
36 -charger
/system/core/healthd/api/
Dcharger_sysprop-latest.txt6 prop_name: "ro.charger.disable_init_blank"
12 prop_name: "ro.charger.draw_split_offset"
17 prop_name: "ro.charger.draw_split_screen"
22 prop_name: "ro.charger.enable_suspend"
27 prop_name: "ro.charger.no_ui"
/system/core/healthd/
Dcharger.sysprop7 prop_name: "ro.charger.draw_split_screen"
14 prop_name: "ro.charger.draw_split_offset"
21 prop_name: "ro.charger.disable_init_blank"
28 prop_name: "ro.charger.enable_suspend"
35 prop_name: "ro.charger.no_ui"
DAndroid.bp172 srcs: ["charger.sysprop"],
276 // system charger only
290 // system charger only
300 name: "charger",
304 "charger.cpp",
314 // No UI and libsuspend for recovery charger.
366 // /system/etc/res/images/charger/battery_fail.png
370 relative_install_path: "res/images/charger",
374 // /system/etc/res/images/charger/battery_scale.png
378 relative_install_path: "res/images/charger",
[all …]
Dhealthd_mode_charger_nops.cpp27 HalHealthLoop charger("charger", GetHealthServiceOrDefault()); in healthd_charger_nops() local
28 return charger.StartLoop(); in healthd_charger_nops()
Dhealthd_mode_charger_test.cpp121 VerifiedTestCharger(TestCharger* charger) : charger_(charger) { in VerifiedTestCharger() argument
137 VerifiedTestCharger charger(new NiceMock<TestCharger>(health)); in ExpectChargerResAt() local
142 EXPECT_CALL(*charger, CreateDisplaySurface(StrEq(root + "charger/battery_fail.png"), _)) in ExpectChargerResAt()
147 EXPECT_CALL(*charger, in ExpectChargerResAt()
157 charger->Init(&healthd_config); in ExpectChargerResAt()
Dhealthd_mode_charger_hidl.cpp79 android::ChargerHidl charger(GetHealthServiceOrDefault()); in healthd_charger_main() local
80 return charger.StartLoop(); in healthd_charger_main()
/system/sepolicy/public/
Dcharger.te1 type charger, charger_type, domain;
4 # The system charger is a client of HIDL health HAL.
5 hal_client_domain(charger, hal_health)
/system/sepolicy/prebuilts/api/33.0/public/
Dcharger.te1 type charger, charger_type, domain;
4 # The system charger is a client of HIDL health HAL.
5 hal_client_domain(charger, hal_health)
/system/sepolicy/prebuilts/api/34.0/public/
Dcharger.te1 type charger, charger_type, domain;
4 # The system charger is a client of HIDL health HAL.
5 hal_client_domain(charger, hal_health)
/system/core/healthd/testdata/product/product/etc/res/values/charger/
Danimation.txt4 animation: 2 1 charger/battery_scale
6 fail: charger/battery_fail
/system/core/healthd/testdata/legacy/res/values/charger/
Danimation.txt4 animation: 2 1 charger/battery_scale
6 fail: charger/battery_fail
/system/core/healthd/testdata/legacy_text_system_images/res/values/charger/
Danimation.txt4 animation: 2 1 charger/battery_scale
6 fail: charger/battery_fail

1234