Commit graph

415 commits

Author SHA1 Message Date
Deokgyu Yang
0430aa856a gts3l-common: eas: selinux: Add policy for schedutil nodes
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I2094c16d89dfe4a2e36986111b6c323faf2cf85c
2021-12-04 15:04:47 +09:00
Deokgyu Yang
751fb38d31 gts3l-common: proprietary-files: Correct the cnss-daemon file location
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I4d96f7293e57ccfcbe818b9f5793c9036795ea26
2021-11-22 12:08:11 +09:00
Deokgyu Yang
6f7bed0a2e gts3l-common: wlan: Workaround broken softAP with dynamic interface creation
Got hint from
6fd923f2ec

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Ib3d8b8ff53a5723184bc0dd8df1a24bb94b85834
2021-11-20 03:32:39 +09:00
Deokgyu Yang
f364604f31 gts3l-common: wlan: Move supplicant service init to wpa_supplicant
Got hints from
c4159c26a2

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I03de16ccedbd80a015a7c7d80719c4bb10559232
2021-11-20 03:32:37 +09:00
Deokgyu Yang
0585eb2e34 gts3l-common: boardconfig: Remove obsolute TARGET_BOARD_PLATFORM_GPU
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I1edf0f484c9478a7a0af9ebfbbfba20ea60c6ba4
2021-11-14 14:43:09 +09:00
Deokgyu Yang
1807b6c6df gts3l-common: keylayout: Correct DPAD key mapping
Fixed the current wrong key maps for DPad. It had turned the orientation
of the arrow keys -90 degrees.

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I625f30180a2be16c6c0df4da3a551f570959bdd9
2021-11-14 14:41:54 +09:00
Deokgyu Yang
a1f94d75eb gts3l-common: init: Set /dev/cpuset/restricted/cpus when boot completed
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I2fee697192e101f6c0b89e0f6eadeacf29d5d8a1
2021-09-22 22:00:04 +09:00
Deokgyu Yang
589a7c2459 gts3l-common: sepolicy: Allow gmscore app access to memtrack
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Ic3b3fcd5fc2286ee081e28aa6fb81dc30f0f9323
2021-09-22 21:59:37 +09:00
Deokgyu Yang
d9a96bac62 gts3l-common: idc/keylayout: Clean up and add keylayouts for the Samsung products
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I36465cb11ac2a8acecbf7a226a19394c4ec049be
2021-09-22 21:59:37 +09:00
Deokgyu Yang
fc4ba13673 gts3l-common: usb: Switch to QTI USB HAL
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Idf59cb97cd8cbf1881f5b7f284f107bd77a28f9f
2021-09-22 21:59:37 +09:00
Deokgyu Yang
c484f16bcb gts3l-common: lpm: Enable the power-off mode charging using Samsung LPM
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I834d67453b2057e88d3e1cd1b1a4c6fac0c85f72
2021-09-22 21:59:35 +09:00
Deokgyu Yang
3459ee7928 gts3l-common: overlay: Rearrange the hotspot location for pointer arrow
Really hard to find the center... Hope it is right.

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Ibdb07eae65bd21ce58dbada695de0617948b98c0
2021-08-31 17:14:10 +09:00
Deokgyu Yang
507c78f3cd gts3l-common: overlay: Disable config_cleanupUnusedFingerprints
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I7c54cdba9829b6be029c397d9515aae246c0edf4
2021-08-31 15:24:43 +09:00
Deokgyu Yang
156d7463e8 gts3l-common: overlay: Change the pointer arrow hotspot location
This is from the CTD1 firmware

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I1ef4b924ddf98e9c5e3c2a00ea6e4774fef6ec98
2021-08-31 15:10:52 +09:00
Deokgyu Yang
670688090f gts3l-common: overlay: Import power_profile.xml from the CTD1 firmware
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I593ab843725f076ab52459cd17b6234cd2833a8d
2021-08-30 23:36:27 +09:00
Deokgyu Yang
6adf5e3320 gts3l-common: snap: Remove unnecessary RAM option
The default value is already that value

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I3290599e40849698ddad8972d320c90e275a4ed3
2021-08-30 23:00:01 +09:00
Deokgyu Yang
4de60f49cc gts3l-common: wfd: Enable WiFi display
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Iabff12fbe46d93a883ad5200c4c3956291960bc0
2021-08-30 23:00:01 +09:00
Deokgyu Yang
edfea17f66 gts3l-common: snap: Do not use legacy HAL in Snap app
The overrided options are;
- RAM optimization
- Make it not use HAL1
- Some optimizations of default perferences

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I46d98beb1fa0c51fd79b088572e45207c46a92e9
2021-08-30 22:59:53 +09:00
Deokgyu Yang
ec51243b9d gts3l-common: camera: Use Snap camera app
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I7257185d3f730d92ef783e93b36a566d7808bc53
2021-08-30 21:34:32 +09:00
Deokgyu Yang
ca0a024b97 gts3l-common: camera: Set to not use HAL1
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I69a9720d98612a2e625270e5b0759b40aea13411
2021-08-30 21:33:55 +09:00
Deokgyu Yang
fe55c2f42a gts3l-common: camera: Born in Nougat
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I2ef7e907b04a3e4edc3cb2d5c649c85531e2a4c2
2021-08-30 03:01:58 +09:00
Deokgyu Yang
f7b8e79f3c gts3l-common: thermal: Add thermal-engine configs to the device tree
The default thermal-engine.conf file from the firmware is empty.
These file is from https://android.googlesource.com/device/google/marlin/+/refs/tags/android-10.0.0_r47

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Ifcba085caadcc8a11f23861228b0ad446c077cad
2021-08-30 02:23:15 +09:00
Deokgyu Yang
9ca9eb9546 gts3l-common: power: Add powerhint.xml to the device tree
Adapted for the new format. The file contents is from
LineageOS/android_device_oneplus_oneplus3

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I4c71e07c62753c4578138b26a3174a3670b509f3
2021-08-30 02:11:14 +09:00
Deokgyu Yang
52ec08cfea gts3l-common: camera: Disable ZSL mode
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I570db8c3750335e6afdf8485c8397473e16bea70
2021-08-29 23:14:55 +09:00
Deokgyu Yang
1b5e36472f gts3l-common: camera: Optimize the camera flags
Maybe TARGET_PROCESS_SDK_VERSION_OVERRIDE is not required but decided to
keep it as for now because it is not harmful

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Ie3733945ff11c50e08d2d133e63da76309ace0c6
2021-08-29 17:30:14 +09:00
Deokgyu Yang
76ac2e7cd8 gts3l-common: prop: Optimize for video and camera
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Ic0eb581b45b9563f847345ab01cdb3d69ac14f18
2021-08-29 17:29:28 +09:00
Deokgyu Yang
0c080df8be gts3l-common: camera: Add camera configs to the device tree
For the modifying to debug, but it is still not bad to remain

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I87bad9d6c5cf84418aeb6111180b57125d4b9cef
2021-08-29 17:15:13 +09:00
Deokgyu Yang
132100011d gts3l-common: camera: Remove unused libraries
Even some of them cause bugs

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I18c6c25089a4bca686ca4f07a4bf8ec50e579984
2021-08-29 17:03:48 +09:00
Deokgyu Yang
bc0a040215 gts3l-common: camera: Build only the necessary blobs
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Idfbda3c5a8d851a80304ada67174524d7cdc277f
2021-08-29 17:02:31 +09:00
Deokgyu Yang
b9043c7f89 gts3l-common: sepolicy: Resolve almost warnings
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Ife457f032ac33b6c330b79d08bb841b3c1c0c19e
2021-08-24 00:41:09 +09:00
Deokgyu Yang
225025d013 gts3l-common: camera: Add camera.gyro.disable, camera.imglib.fddsp
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I27e5cdcd8ada761f0452b4fe1f47db9c5b980b12
2021-08-22 01:50:06 +09:00
Deokgyu Yang
820a0a3c0b gts3l-common: camera: Remove Snap camera since it doesn't work well
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Ide6f4eaf049c81a649a75cf0b8e2c1a238ea3591
2021-08-22 01:48:50 +09:00
Deokgyu Yang
4726e8cee6 gts3l-common: camera: Edit camera properties
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Iab550aa6ade1a06c9f5952547bde5124caf96ea2
2021-08-22 01:48:24 +09:00
Deokgyu Yang
83d2900ad1 gts3l-common: camera: Add more hal_camera_default and cameraserver policies
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I5c2bc9b33a1424d1de81251cd3df06b521a8c530
2021-08-22 01:11:21 +09:00
Deokgyu Yang
b92d84966f gts3l-common: camera: Clean up the camera files
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Ic83869b7b8d9c14d2173daa01c50530eef17a6fe
2021-08-22 01:00:43 +09:00
Deokgyu Yang
9a2bd1c8db gts3l-common: camera: Add camera HAL definition
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Idd15980f5933d47a778ee32b5949b29cfcd65bd9
2021-08-22 01:00:14 +09:00
Deokgyu Yang
0c8728fcab gts3l-common: camera: Add wifiloader to use it as a trigger for eeprom
I saw these message from LOS 16 by Valera1978.

```
E [0:     wifiloader:  857] msm_eeprom_parse_memory_map: :565 set num_data as total-size (num_map : 8, total : 4608, valid : 4060)
E [0:     wifiloader:  857] msm_eeprom_match_id: read 0x00 0x01 0x00 0x00
E [0:     wifiloader:  857] msm_eeprom_i2c_probe: Skip front read eeprom in probe func
E         : [0:     wifiloader:  857] msm_eeprom_i2c_probe qcom,sensor-position 0
E         : [0:     wifiloader:  857] msm_eeprom_i2c_probe success result=0 is_supported=0x1X
I [0:     wifiloader:  857] msm_eeprom_init_module: 2177 probe succeed
I         : [0:     wifiloader:  857] msm_eeprom_get_dt_data gpio count 3
I [0:     wifiloader:  857] msm_eeprom_get_dt_data: 1355
I [0:     wifiloader:  857] msm_eeprom_get_dt_data: 1363
I [0:     wifiloader:  857] msm_eeprom_get_dt_data: 1370
I [0:     wifiloader:  857] msm_eeprom_get_dt_data: 1374
E [0:     wifiloader:  857] msm_eeprom_parse_memory_map: otp qcom,num-blocks 3
E [0:     wifiloader:  857] msm_eeprom_parse_memory_map: :973 set num_data as total-size (num_map : 3, total : 64, valid : 64)
I [1:     wifiloader:  857] read_eeprom_memory: read OTP_Bank: 1
E [1:     wifiloader:  857] read_eeprom_memory: 820 addr = 0x0, size = 64
E [0:     wifiloader:  857] msm_eeprom_platform_probe: All CRC values are matched.
I         : [0:     wifiloader:  857] msm_eeprom_platform_probe qcom,sensor-position 1
E         : [0:     wifiloader:  857] msm_eeprom_platform_probe Front is_supported=0x03
I [0:     wifiloader:  857] msm_eeprom_init_module: 2090 otp probe succeed
```

And this actually do the thing I want.

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I6f0f095fde61b8d00ff189bb2b5a51dacbac2bfd
2021-08-21 02:36:34 +09:00
Deokgyu Yang
1b3e5c58fb gts3l-common: camera: Move camera configurations to under the vendor dir
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I822d85814437a749d4fd13d95ad5357cef38c2ba
2021-08-21 01:54:26 +09:00
Deokgyu Yang
c787689263 gts3l-common: camera: Clean up
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I7142abe011128b531b0ba1ce0162bb3e9afd5a4b
2021-08-21 01:54:03 +09:00
Deokgyu Yang
9f0f9e4510 gts3l-common: camera: Patch to use a firmware under the vendor directory
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I4b991e118654c11f00a41d8b3c20efb7da675b3c
2021-08-21 01:53:41 +09:00
Deokgyu Yang
e5a5e9fa5d gts3l-common: camera: Add cameraserver policies
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Ia4b3b391247b6f370537df1180f2be02be0e7c39
2021-08-21 01:52:43 +09:00
Deokgyu Yang
0c86c13057 Revert "gts3l-common: camera: Add camera HAL into device manifest"
This reverts commit 9bff80d33c.
2021-08-17 01:32:18 +09:00
Deokgyu Yang
fd87fa382a gts3l-common: camera: Add sec_camera_prop policies
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Ib0e609b71964a57d18222b5be94422f6f3ddeddb
2021-08-14 01:08:33 +09:00
Deokgyu Yang
36a7113fa8 gts3l-common: camera: Build camera provider service
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Ie05e3580b180af6b4e629497198473027727d10a
2021-08-14 01:08:04 +09:00
Deokgyu Yang
19d84a995c gts3l-common: livedisplay: Remove unsupported features
Remove these features
- AdaptiveBacklight
- DisplayColorCalibration
- SunlightEnhancement

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I892ce422e98b3f8b7c355e178ef42aadf26bb4c8
2021-08-13 23:00:49 +09:00
Deokgyu Yang
e564a02a7b gts3l-common: light: Build light HIDL for the gts3l family
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I4434e44f55cadef9533620a026ec9cf7a5bd27ef
2021-08-13 22:36:24 +09:00
Deokgyu Yang
90cfd24739 gts3l-common: light: Edit for the gts3l family
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I0ce13d375d924e887cb6ab62c616842ec5eb8de2
2021-08-13 22:36:24 +09:00
Deokgyu Yang
386d61ff4d gts3l-common: light: Add light HIDL implements
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I6731c872fb40ed342e5088ed729389d4e291885a
2021-08-13 22:36:24 +09:00
Deokgyu Yang
445b656d9a gts3l-common: light: Add hal_light_default sepolicy
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I332b57c1948c5c73f0dfb397f8aa753533047efc
2021-08-13 22:36:21 +09:00
Deokgyu Yang
9bff80d33c gts3l-common: camera: Add camera HAL into device manifest
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I5dcd10f2bb6553e495a8c2d69fe525e801af11c0
2021-08-13 11:20:59 +09:00