Commit graph android_device_samsung_a20/universal7885-common/interfaces/hardware
Author SHA1 Message Date
roynatech2544
5394c3b11f universal7885: Add extra compiler defaults 2022-05-21 00:37:58 +00:00
roynatech2544
be82ebd1fe
universal7885: bpfmt 2022-05-20 18:37:24 +09:00
roynatech2544
e53d5db120
universal7885: Remove LineageOS hardware samsung deps
And track it with vendorsetup.sh
2022-04-29 22:24:09 +09:00
roynatech2544
8cc7aca046
universal7885: Move folders to subfolders
Change-Id: I109b02201607d12209180c7cf3356b4e2e3d7ce6
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-31 21:58:33 +09:00
roynatech2544
ef017261e1
universal7885: interfaces: Rename service names
Change-Id: I32ab0e77a74a478f277d3ee5d30ce3acebb8eb3b
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:05:29 +09:00
roynatech2544
6235756b90
universal7885: FMRadio: jni: fix build errors
* Fix errors on FM HAL too

Change-Id: I95885939d55efa0b400fe55d0a444f64d1f65a51
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:05:28 +09:00
roynatech2544
e07865c670
universal7885: interfaces: Implement FMRadio HAL V1.2
* Also, track our fork of OneUI theme lib

* Implement read from sysfs interface which can fix channel searching on some cases

* Commit link: fead45ba0e

Change-Id: I81532b7f8169637fdcad0f678790a2b1f1888ecc
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:05:28 +09:00
roynatech2544
81a87b312f
universal7885: interfaces: Implement FMRadio HAL v1.1
Change-Id: Ifff4f14171e1774723a1ffa40f74eabd99a28e97
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:05:28 +09:00
roynatech2544
ebd1dbe38a
universal7885: interfaces: Add FM Radio HAL
Change-Id: Iae728e0cb37477c563c7d0b632bf894fb4219444
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:05:27 +09:00
roynatech2544
96e7b1bcd7
universal7885: interfaces: Rename to vendor.samsungparts-hal
* <11>[   15.082330]  [0:           init:    1] init: /vendor/etc/init/vendor.eureka.hardware.parts@1.0-service.rc: 1: ignored duplicate definition of service 'vendor.parts-hal'

Change-Id: If6d32761d0df419981d3023f11669e59e2c28724
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:05:27 +09:00
roynatech2544
8df46a635d
universal7885: interfaces: Instance of virtual class 2022-03-22 19:05:26 +09:00
roynatech2544
85c8b40155
universal7885: interfaces: fixup linking error 2022-03-22 19:05:26 +09:00
roynatech2544
0885f01f81
universal7885: interfaces: Forgot to rename package name
* Also, fix errors

Change-Id: Iafa0a6f6c34c9b13aff464765ef00cffbc6330dd
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:05:26 +09:00
roynatech2544
fd74bda6dc
universal7885: interfaces: unify to 1 HIDL 2022-03-22 19:04:54 +09:00
roynatech2544
098179eabb
universal7885: run clang-format based on system-clang-format
* On every *.cpp *.h files

Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:02:50 +09:00
roynatech2544
4549ce06a0
universal7885: interfaces: use seteuid() to set fastcharge sysfs value
* SELinux denials
type=1400 audit(0.0:731): avc: denied { dac_override } for capability=1 scontext=u:r:hal_battery_default:s0 tcontext=u:r:hal_battery_default:s0 tclass=capability permissive=0

Change-Id: I500682520503e14594eb8661a97ebc0d199c77ff
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 18:46:34 +09:00
roynatech2544
c1a9d9f071
universal7885: SamsungParts: add gpu, selinux and update related sepolicy 2022-03-22 18:29:22 +09:00
roynatech2544
1bcf57f719
universal7885: SamsungParts: Add new HIDL
* Related to flashlight
* Also, build it
2022-03-22 18:26:48 +09:00
roynatech2544
703c0edf61
universal7885: Fix another merge issue
* /vendor/firmware/
2022-03-22 18:26:13 +09:00
roynatech2544
00fb011c7c
universal7885: Add custom HAL for SamsungParts
* No need to chown system sysfs nodes, HIDL can run as root
2022-03-22 18:19:39 +09:00