-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sm6250-common: Use common libqti-perfd-client and power-libperfmgr
Change-Id: I22d6b35c72629553817005deaefcae60abc72cfd
- Loading branch information
Showing
9 changed files
with
7 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,3 @@ | ||
allow hal_power_default { | ||
vendor_sysfs_devfreq | ||
sysfs_touchpanel | ||
}:dir search; | ||
|
||
allow hal_power_default { | ||
vendor_sysfs_devfreq | ||
sysfs_devices_system_cpu | ||
vendor_sysfs_graphics | ||
vendor_sysfs_kgsl | ||
sysfs_touchpanel | ||
vendor_sysfs_scsi_host | ||
}:file rw_file_perms; | ||
|
||
# To get/set powerhal state property | ||
set_prop(hal_power_default, vendor_power_prop) | ||
# Allow writing to files in /sys/touchpanel | ||
allow hal_power_default sysfs_touchpanel:dir search; | ||
allow hal_power_default sysfs_touchpanel:file rw_file_perms; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1 @@ | ||
set_prop(vendor_init, vendor_power_prop) | ||
|
||
allow vendor_init proc_dirty:file w_file_perms; |