Commit Graph

16 Commits

Author SHA1 Message Date
Jake Weinstein
19b73df61d sm7250-common: Set display calibration on color mode settings
* sRGB on Natural and Boosted
   Unmanaged on Saturated
   P3 on Automatic

Change-Id: Ida1a64ff2ea99973f2e2a0fa7ca062c75b7c4831
2022-04-01 16:51:29 +05:30
KakatkarAkshay
f8329112dc Revert "sm7250-common: Enable color mode & set display calibration on color mode settings"
This reverts commit 84e9206b3a.
2022-03-28 23:51:39 +05:30
alk3pInjection
5403ccfd73 sm7250-common: label power_status 2022-02-12 13:21:43 +05:30
Jake Weinstein
84e9206b3a sm7250-common: Enable color mode & set display calibration on color mode settings
* sRGB on Natural and Boosted
   Unmanaged on Saturated
   P3 on Automatic

 * Set color mode to Natural by default

 * Adjust display composition color spaces

Change-Id: If73eafa82395e80acf84445fcab2f1ce25a33e23
Signed-off-by: aswin7469 <aswinas@pixysos.com>
2021-10-10 15:55:40 +02:00
Bruno Martins
46020fe68b sm7250-common: sepolicy: Fix labelling of project_info
There seems to be a race condition somewhere that prevents
it to be properly labelled, so move to genfs.

Change-Id: Ie2d1deeb19a871eb0b9f5120a92432fda658d725
2021-09-26 09:22:28 +02:00
LuK1337
bde9286ca3 sm7250-common: sepolicy: Regenerate labels for wakeup dirs
The list of folders for genfscon was generated using following script:
  for f in `adb shell "find /sys/devices -name wakeup -type d"`; do
      adb shell "ls -Z '$f' | grep -qv u:object_r:sysfs:s0 || echo '$f'"
  done

While list for regular file_contexts was just a simple grep "wakeup[0-9]".

Change-Id: I66abd501ce53b84e7268948d01d7b6c6c42cfbd1
2021-09-26 09:22:28 +02:00
LuK1337
01388d7ea8 sm7250-common: sepolicy: Remove procfs_oem_wireless type
SM7250 devices don't have /proc/wireless or /proc/skin_temp_thrd.

Change-Id: Ib3a67f7c508ab3aea0bee28866b7293c8a785739
2021-09-26 09:22:28 +02:00
Bruno Martins
e3e752c978 sm7250-common: sepolicy: Re-label health sysfs nodes
Change-Id: I648046582f54a254d61c6c76ec5747357bdeca59
2021-09-26 09:22:28 +02:00
KakatkarAkshay
0386782fa7 sm7250-common: Fix haptics and health node path 2021-09-26 09:20:40 +02:00
Bruno Martins
03e16e41d5 sm8250-common: sepolicy: Move tri-state-key labels to genfs_contexts
Change-Id: I072c2aaf5c9aae231c68bc9e55806eb59fa7f665
2021-06-02 11:42:54 +02:00
Hikari-no-Tenshi
756ac6b751 sm8250-common: fod: Remove no longer needed chown/chmod and sepolicy
Signed-off-by: Omkar Chandorkar <gotenksIN@aosip.dev>
Change-Id: Id7d6c7e1196db020673ea92f691d93ca3511dcf4
2021-05-18 16:52:03 +02:00
LuK1337
1dc5f1546b sm8250-common: sepolicy: Label op_charger
Health HAL wants to access it.

Change-Id: I07a8c11324c0a8b9bae6e7c027aa69df7ee5b7d1
2021-05-04 19:40:51 +02:00
LuK1337
de5498efab sm8250-common: livedisplay: Rip out IDisplayModes
We are now using AOSP-ish display modes implementation.

Change-Id: Iba9d570dd7cef116e18f3e327c8ab5f5e63f2697
2021-04-27 09:35:23 +02:00
LuK1337
7432867822 sm8250-common: livedisplay: Implement IAntiFlicker interface
Change-Id: I1dbc6d8989a80fe7b06d4356aeb717417997a793
2021-04-09 12:09:28 +02:00
LuK1337
d1d109c825 sm8250-common: Bring in TOF sensor HAL
Change-Id: Ic5296a9ecf96f9a7fec5f523f9c59bfb68a0704f
2021-02-16 19:18:10 +01:00
LuK1337
f9c9767e3b sm8250-common: sepolicy: Initial vendor sepolicy
Change-Id: I28ae7907209b5aae9806466556dc49639dd7c9e4
2021-01-08 14:31:38 +01:00