Commit graph

26 commits

Author SHA1 Message Date
Sabar
c4f77da2c4 sdm660-common: add permissions for fpc1020
Signed-off-by: pix106 <sbordenave@gmail.com>
2022-02-21 06:52:18 +01:00
clarencelol
47483c3278 Revert "sdm660-common: Replace writepid with task_profiles command for cgroup migration"
* We are still using stune boys

This reverts commit 0c04a7b0bf330fc90da49e6a30deccaab4fdaf99.

Signed-off-by: pix106 <sbordenave@gmail.com>
2021-12-31 07:51:33 +01:00
Suren Baghdasaryan
96b67cba6d sdm660-common: Replace writepid with task_profiles command for cgroup migration
writepid command usage to join a cgroup has been deprecated in favor
of a more flexible approach using task_profiles. This way cgroup path
is not hardcoded and cgroup changes can be easily made. Replace
writepid with task_profiles command to migrate between cgroups.

Bug: 191283136
Test: build and boot
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
Change-Id: If0a64b9f335ad13f65522361b125cab951002a2c
Signed-off-by: pix106 <sbordenave@gmail.com>
2021-12-31 07:51:32 +01:00
Sebastiano Barezzi
ddc790ae22 sdm660-common: Use only full qualified name for manifest entries
* As recommended by Google for multiple different versions of the same HAL in VINTF manifests
* https://android.googlesource.com/platform/hardware/interfaces/+/master/drm/1.1/README.md#devices-launching-with-android-pie

Signed-off-by: OdSazib <odsazib@gmail.com>
Change-Id: Ie94e1440f7de66502ad2532565ae8d3dd831d1a4
2021-11-13 11:31:51 +01:00
Sebastiano Barezzi
93220327e6 sdm660-common: Regen manifest
* make vendor_manifest.xml

Change-Id: Ida66af588dc2d66c6cc6f62b573f05e7dd8ba600
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: OdSazib <odsazib@gmail.com>
2021-11-13 11:31:51 +01:00
Felix
b6b1280f80 sdm660-common: biometrics: Add interface info to .rc file
Signed-off-by: Felix <google@ix5.org>
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: OdSazib <odsazib@gmail.com>
Change-Id: Iff089dcf6c17a673441d85c70bb7472fbbe85f0c
2021-11-13 11:31:51 +01:00
Bruno Martins
e0bee0605f sdm660-common: biometrics: Include VINTF fragment
Change-Id: Id57a4aa9b6e8c3f44bdf0c7a2dd97cf81b252180
2021-11-13 11:31:51 +01:00
Sebastiano Barezzi
3605a9c720 sdm660-common: Move to SPDX license identifier
Change-Id: If335a7b83289edf4759d0195a8b065c8dac6631b
2021-11-13 11:31:51 +01:00
Tim Murray
cc63e83983
sdm660-common: biometrics: keep biometrics in system-background
The fingerprint HAL is insensitive to increased CPU throughput, but it also
has a tendency to spin while waiting for FP hardware. Limit FPC to the
system-background cpuset in order to avoid increased power consumption
when accidentally touching the fingerprint sensor.

bug 76115243
Test: fingerprint in system-background cpuset

Change-Id: Iaffe6f63bd76b7a1c4acaf0cae980840af515961
Signed-off-by: Manish4586 <manish.n.manish45@gmail.com>
2020-12-30 22:06:56 +06:00
Steven Moreland
ecfc20eadd
sdm660-common: Remove libhwbinder/libhidltransport deps
Since these were combined into libhidlbase.

Bug: 135686713
Test: build only (libhwbinder/libhidltransport are empty)
Change-Id: Iba2cd20b8b20fac3e7564de6b853b475fd4ebd2a
Signed-off-by: Subhajeet Muhuri <subhajeet.muhuri@gmail.com>
2020-12-13 18:27:09 +06:00
Max Weffers
6f854132da
sdm660-common: biometrics: Restore Fingerprint permissions from Platina
Miui 11

Change-Id: I3e78284cb39ad3bddc75286a638f2a889db551f2
2020-08-12 02:02:37 +06:00
Max Weffers
08f10b8e4d
sdm660: biometrics: Do not remove user database
* fixes platina fingerprint lose after reboot

Change-Id: I5d2a72c44350df59250b30bab0973377caa61796
2020-08-12 02:02:37 +06:00
Max Weffers
cc0d9573b1
sdm660-common: biometrics: Add fingerprint_fpc permission for platina 2019-12-15 08:54:05 +01:00
Erfan Abdi
af6aca3fc6
sdm660-common: fingeprint: Add uhid group for fingerprint service
Change-Id: I318d4650a6618c10674a34691bc1b8e43af462b8
Signed-off-by: Erfan Abdi <erfangplus@gmail.com>
[adapted for oss hal]
Signed-off-by: Volodymyr Zhdanov <wight554@gmail.com>
2019-09-16 10:39:53 +02:00
Max Weffers
4aa87b11f2
sdm660-common: fingerprint: remove unneed permission for fingerdown_wait 2019-09-05 12:16:58 +02:00
Max Weffers
15b623a8d0
sdm660-common: biometrics: run goodix init script only once 2019-08-15 15:31:33 +02:00
Max Weffers
53e8ac411a
sdm660-common: Update Fingerprint HIDL HAL 2019-08-14 10:04:10 +02:00
Max Weffers
cb1b743b8d
sdm660-common: Transform into common sdm660 tree 2019-08-14 10:04:10 +02:00
dianlujitao
81dc39d3e4
wayne-common: Update IFAA for pie blobs
Change-Id: I2801cc3633416a1552c07230b68cf1d83b484edc
2019-08-14 10:04:10 +02:00
dianlujitao
63ec762eee
wayne-common: Support Alipay fingerprint payment
* IFAA manager is based on OnePlusOSS, but adapted for Xiaomi's mlipay
   interface.Also hardcode model detection to pass Alipay check.
 * vendor.xiaomi.hardware.mtdservice@1.0.so is not actually used, thus
   patchelf to drop it rather than shipping a blob.
 * Modify libmlipay.so to allow load firmware from vendor

Change-Id: Idf3d3a8d40245984767f4ef5f60f9fe584e69f21
2019-08-14 10:04:10 +02:00
Jaekyun Seok
35e312e135 wayne-common: rootdir: Add 'vendor.' prefix to a vendor HAL service name
* To prevent property name collisions between properties of system and
  vendor, 'vendor.' prefix must be added to a vendor HAL service name.
  You can see the details in go/treble-sysprop-compatibility documents.

Test: succeeded building and tested on a sailfish device.
Bug: 36796459
Change-Id: I48e6ee0ae3fe401e39efb273256d991fac676357
2019-07-01 14:15:04 +02:00
Isaac Chen
2664a20ce7 wayne-common: biometric: Run goodix script in condition 2018-12-02 11:02:30 +08:00
Isaac Chen
f89bf07b99 wayne-common: biometric: Detect fingerprint from cmdline
* Cleanup fingerprint logic
2018-12-02 11:02:30 +08:00
TheScarastic
80a669c55a wayne: sepolicy: Add sepolicy for goodix script
Change-Id: Ic8b7dba6a5660c17f5db1c743e5d22f31ae1b1b3
2018-07-31 00:00:10 +00:00
TheScarastic
25b47ac236 wayne: Delete goodix data if other slot is taking up space 2018-07-13 00:03:44 +00:00
Isaac Chen
a07f5c59c3 wayne: Import HIDL fingerprint wrapper service
Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
2018-07-13 00:03:24 +00:00