Commit graph

14 commits

Author SHA1 Message Date
Jake Weinstein
4f7d9d0188 sdm660-common: biometrics: fingerprint: Revert "fpc: keep fpc in system-background"
While Google found that fingerprint HAL is insensitive to
increased CPU throughput, we have not found that to be the
case. Allowing more CPUs makes fingerprint unlock up to
2x faster in some tests.

SM8250 device with fingerprint on display:
- Before: 3128ms
- After: 944ms

SDM845 device with fingerprint on the power button:
- Before: 1146ms
- After: 688ms

This reverts commit d0fdb4431d26e4f257b8867f67ffd9b4a9818d9e.

Change-Id: Ia51ceb43ac940dfdae733919fbd685156d082568
Signed-off-by: pix106 <sbordenave@gmail.com>
2022-12-19 07:17:50 +01:00
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
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
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
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
Renamed from biometrics/android.hardware.biometrics.fingerprint@2.1-service.xiaomi_wayne.rc (Browse further)