Nauval Rizky
25b9474360
hidl: biometrics: fingerprint: Set thread to high CFS priority
...
Change-Id: I3159fb7e870261cd13af55a054e4c8240eaf05ce
[ghostrider-reborn: use SCHED_NORMAL]
Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
2024-10-14 18:31:36 -04:00
basamaryan
cdc6694adc
hidl: biometrics: fingerprint: Run clang-format
...
Change-Id: Ia1a05b3975fba530f5a8c2cc6304c4147c1df2d3
2024-10-10 11:55:16 -04:00
bengris32
66ebac4090
hidl: sensors: 1.0: Add additional pick-up sensor name
...
Change-Id: I83caf59c0e4857f108819238b006b377fda985be
Co-authored-by: LinkBoi00 <linkdevel@protonmail.com>
Signed-off-by: bengris32 <bengris32@protonmail.ch>
2024-09-28 11:49:18 +00:00
ralph950412
fff59ed344
Drop 2.1 sensors HIDL
...
Change-Id: I9df77e2634e2c7559094caf1c45fbff3b3774479
2024-09-28 11:10:33 +00:00
Sebastiano Barezzi
5a47da0c4f
Drop HIDL IR HAL
...
Change-Id: Ic0805a38470afae5506602ac6ccdafb58d1c7cb9
2024-08-31 12:12:08 +00:00
Chris Kuiper
edb5655662
hidl: sensors: 2.1: HalProxy: Forward 'lshal debug' options.
...
Bug: 262655635
Test: Temporarily added logs to verify option arguments are correctly
forwarded.
Change-Id: Idef9b3371c332b8578cbfa88ba7d4bf4c68155e3
2024-08-29 19:28:20 +00:00
Aditya Chitnis
2d14c1f3be
hidl: sensors: 2.1: Adding suport for multiple multihal config files
...
Bug: 259450346
Test: Presubmits
Change-Id: Ic7b113e6b8bf94e0c0ffe539f965232b24bdf66d
2024-08-29 19:28:20 +00:00
basamaryan
1bdeed2029
hidl: biometrics: Add support for the fortsense fingerprint hal
...
Change-Id: Ia311cf3f77290f33fc2dc0eb79de435d92d2c0f8
2024-05-16 16:30:25 +04:00
Sebastiano Barezzi
6386a23aa1
xiaomi: Keep a single clang-format in rootdir
...
Change-Id: Iffe5b37c311dc0ed0c9b5c91a2f94e9ff72f4a8a
2023-11-13 01:39:53 +01:00
Cosmin Tanislav
3d946592e6
hidl: sensors: 1.0: Standardize xiaomi pickup sensor
...
* use standard sensor type
* ignore non-wakeup sensor variant
* ignore events that do not properly match a pickup
Change-Id: I32bb097afb33603190dfd00a21202301a56bda08
2023-04-14 01:12:52 +02:00
Bruno Martins
004947ec9f
hidl: sensors: 1.0: Use pragma once
...
Change-Id: Icab086b90c016dc4cdaa2bf145145de27d6f5ef7
2023-04-13 17:15:30 +02:00
LuK1337
eed8c0648b
hidl: sensors: 1.0: Add (and run) clang-format file
...
Change-Id: I88beb777f386cdfadc1d39be3a36a1c3ebdee06a
2023-04-13 17:13:10 +02:00
Sebastiano Barezzi
61c7f9360d
hidl: sensors: 1.0: Rebrand to Xiaomi
...
Change-Id: I970b0c14a90dbe703c47148ce09654beb8de6774
2023-04-13 16:43:55 +02:00
Sebastiano Barezzi
2e85d44338
hidl: sensors: 1.0: Directly build convert.cpp with the impl
...
* Since we'll only use it here, we don't need to export it as a separate
module
Change-Id: Ia7056fe6462cbd624d89db62fd239b6709862198
2023-04-13 16:43:07 +02:00
Arian
287f8d49e4
hidl: sensors: 1.0: Change default applicable license to Android-Apache-2.0
...
hardware_interfaces_license is not available here.
Change-Id: I7431f8b8f126aae12f82a8ead01b77801c888d91
2023-04-13 16:42:06 +02:00
Sebastiano Barezzi
7ae480b63e
hidl: sensors: Import 1.0 sensors impl
...
Change-Id: I18b77c5fa0a14c466a2d672b47713201057087f7
2023-04-13 16:37:16 +02:00
Sebastiano Barezzi
be702650a2
hidl: sensors: Move to 2.1 subdir
...
Change-Id: Ic6c5de0015ed46bc15b6ee119c690d4728249914
2023-04-13 16:23:29 +02:00
Cosmin Tanislav
40dd2e4672
hidl: sensors: Standardize xiaomi pickup sensor
...
* use standard sensor type
* ignore non-wakeup sensor variant
* ignore events that do not properly match a pickup
Change-Id: I6acff9154d4c8d12adbf4ca22729ebf7f60afa5f
2022-11-17 00:14:37 +01:00
Cosmin Tanislav
1b15de13fd
hidl: sensors: Avoid target name conflicts
...
Change-Id: I7e9695d75fe92748ac889cd8daeebf34141b9fa9
2022-11-17 00:13:04 +01:00
Cosmin Tanislav
76aed62120
hidl: sensors: Import 2.X sensors hal proxy
...
Change-Id: I07e3c75992b68d299d9986ca0f9647f47ad8706e
2022-11-17 00:12:58 +01:00
Arian
54180f7643
hidl: sensors: Change default applicable license to Android-Apache-2.0
...
hardware_interfaces_license is not available here.
Change-Id: I67d3cf3651f772c3a6463b75ca9ba449c5cad9c9
2022-11-17 00:12:02 +01:00
Cosmin Tanislav
6bf5e5c37f
hidl: sensors: Import 2.1 sensors multihal
...
Change-Id: Icdcd8a4f131ffa0bfd1bb7f38b9258c8306b17ee
2022-11-17 00:11:54 +01:00
Arian
c08b665831
hidl: biometrics: Extend UdfpsHandler with onAcquired and cancel methods
...
These methods can be used to handle vendor acquired messages and disable
fod listening on cancelled and successful unlocks.
Change-Id: Ie6a8d24840b0b6c34527f863a6052f789200a79f
2022-09-09 14:01:31 +02:00
Arian
9976b3f15b
hidl: biometrics: fingerprint: Add support for device specific UDFPS libs
...
Change-Id: I8f29d58b178aa8ff420204f790c6952fdf4ade58
2022-05-13 18:02:35 +02:00
LuK1337
3f1a8dbfe8
hidl: biometrics: fingerprint: Make fingerprint HIDL fully treble compliant
...
This is more like a hack, also observed in the stock HAL, for pre-P shipped devices
because those have fpdata store path set to /data/system/users/ by the FingerprintService.
Force treble compliant path and thus avoid using data_between_core_and_vendor_violators
attribute:
> typeattribute hal_fingerprint_default data_between_core_and_vendor_violators;
> # access to /data/system/users/[0-9]+/fpdata
> allow hal_fingerprint_default fingerprintd_data_file:dir rw_dir_perms;
> allow hal_fingerprint_default fingerprintd_data_file:file create_file_perms;
Change-Id: I388f993de7f95fc68007d945f5a9cc975afde120
2022-05-13 18:02:35 +02:00
Sebastiano Barezzi
d6951615ae
hidl: biometrics: fingerprint: Set properties for IFAA
...
Change-Id: I0b1786721c951cd833d3c20f58cd0c8a70c08fae
2022-05-13 18:02:35 +02:00
LuK1337
873c871046
hidl: biometrics: fingerprint: Fix sde_drm.h include path on 5.4+ kernel
...
Change-Id: Idac59471ae329eabf8484cc1238c35dabaa64827
2022-05-13 18:02:35 +02:00
Abhishek Aggarwal
06a86b7809
hidl: biometrics: fingerprint: Add surfaceflinger extension lib
...
Change-Id: I51fb56c0a20e3cac83afb46ed6a6e2f967159d18
2022-05-13 18:02:35 +02:00
C457
cd3f74f3d0
hidl: biometrics: fingerprint: Add support for extCmd
...
* Xiaomi extends fingerprint_device_t by adding a new method called extCmd used to send vendor specific commands
Change-Id: Ic94f7b3fd28f7db81695e47f54ce6fa89248bde9
2022-05-13 18:02:35 +02:00
Sebastiano Barezzi
39bd52cad5
hidl: biometrics: fingerprint: Add multiple HAL loading support
...
* Support for sm8450, sm8350, sm6375, sm7325, sm7350, sm8250, sm7250, sm8150, sm6250, sm6150, sdm845, sdm710, msm8998, sdm660
Change-Id: I114640c8520c73213390ad35fa29d218e1852757
2022-05-13 18:02:35 +02:00
Sebastiano Barezzi
c3f110d5f8
hidl: biometrics: fingerprint: Move fingerprint HIDL to 2.3
...
Change-Id: I2e5ed64ac7ae2f1003503072666204c0788a003a
2022-05-13 18:02:35 +02:00
Sebastiano Barezzi
3c98e02fe1
hidl: biometrics: fingerprint: Drop LOG_VERBOSE
...
* It's useless since it's the same as LOG_TAG
Change-Id: I1a15ea85f840b7af6d41b59cf01b0ec3c2457705
2022-05-13 18:02:35 +02:00
Jake Weinstein
3b0420cf72
hidl: 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: I7a28d82caee2b8503b974a8226b29240eb072ceb
2022-05-13 18:02:35 +02:00
Bruno Martins
3067c23575
hidl: biometrics: fingerprint: Use pragma once
...
Change-Id: I335b0a1b73effa6f9c0b0866052d74dc524ad99b
2022-05-13 18:02:35 +02:00
LuK1337
f5895272f6
hidl: biometrics: fingerprint: Add (and run) clang-format file
...
Change-Id: Ibb4a56ef02a404717512d7a7f99bc31e2ce442a4
2022-05-13 18:02:35 +02:00
Sebastiano Barezzi
a1c2889d31
hidl: biometrics: fingerprint: Update licensing
...
Change-Id: I3c4b6f9cac9c560b592bda2d2b662f59024f5202
2022-05-13 18:02:35 +02:00
Sebastiano Barezzi
5ca97f754e
hidl: biometrics: fingerprint: Rebrand to Xiaomi
...
Change-Id: Icd5dfab05ca571ef36e8b2b1ce1bad9239877282
2022-05-13 18:02:35 +02:00
Sebastiano Barezzi
285a312393
hidl: biometrics: fingerprint: Import AOSP fingerprint hardware header
...
This will be customized with Xiaomi changes further down the line.
Based off 1ae7379baa
Change-Id: I9fff79d0052c09bc17fcd58489c828cb435c7498
2022-05-13 18:02:35 +02:00
Sebastiano Barezzi
104de29895
hidl: biometrics: fingerprint: Import AOSP 2.1 HIDL service
...
Change-Id: I585fa0469e5186a86f29a11aa35aed2c25e78b55
2022-05-13 18:02:35 +02:00
luk1337
8a55af6b3c
touch: Make HIGH_TOUCH_POLLING_PATH configurable via Soong flag
...
Change-Id: I7649e084b2604c46f47c07c355913720935e1298
2022-05-13 18:02:35 +02:00
Ramii Ahmed
b1f26c0899
hidl: Implement vendor.lineage.touch@1.0 HAL for Xiaomi
...
* This can be used by any Xiaomi device that has a touch display that supports multiple sample rates and Xiaomi touch.
* Most newer Xiaomi phones with high screen refresh rates fit this category:
* e.g. Mi 10/Pro/Ultra/T/T Pro, Xiaomi SM8350 platform phones & Xiaomi SM6375 phones
Change-Id: Iaf956420157bbc978690fac9053d507ccaea847a
2022-05-13 18:02:35 +02:00
LuK1337
9291711cb7
powershare: Change fallback enable value to 0
...
Some variants don't support wireless charging, thus this file is
missing. Ideally we wouldn't run powershare at all on them, but this is
still an improvement.
Change-Id: Ie58aaac2a73055d8d2cfe7a73b9b479493eb2bcf
2022-05-13 18:02:35 +02:00
Bruno Martins
7168cbff7f
hidl: powershare: Use pragma once
...
Change-Id: I9cfeed5e79c35139f7532c522dad0ca25ed35fe1
2022-05-13 18:02:35 +02:00
LuK1337
8a05be348b
powershare: Treat non-zero value as enabled
...
On SM8350, we use trx_online to determine whether PowerShare is enabled.
Change-Id: I62d7448e6337696867a264cfd521379b53fe61f9
2022-05-13 18:02:35 +02:00
LuK1337
04053365b2
powershare: Make WIRELESS_TX_ENABLE_PATH configurable via Soong flag
...
Change-Id: I73a42f167c9d332f05e23bd00db19c0a1f9fe672
2022-05-13 18:02:35 +02:00
LuK1337
ac68cfefd7
hidl: Implement vendor.lineage.powershare@1.0 HAL for Xiaomi
...
* This feature is present in Xiaomi Mi 10/Pro/Ultra and for the Xiaomi
family of SM8350, LAHAINA devices.
Change-Id: Icabcee87980611d97a837f86a52d94033de337ef
2022-05-13 18:02:35 +02:00
Bruno Martins
8790ded9b7
consumerir: Include VINTF fragment
...
Change-Id: I7a06e48b157d94862a6a3485c2dc41e6f17750dd
2020-12-18 09:52:40 +00:00
Mohammad Hasan Keramat J
ede4d68f03
consumerir: Remove libhwbinder and libhidltransport deps
...
These have been combined into libhidlbase.
Signed-off-by: Mohammad Hasan Keramat J <ikeramat80@gmail.com>
Change-Id: I17e94d1524747315d6ae64fc650e9e7d815628bb
2020-09-21 15:07:36 +02:00
Demon
7ef308ad4a
hidl: Convert IR HAL into a native binderized HAL
...
Change-Id: I8ddae1ba36d5a9cc16f0937189ff250eff3e7935
2020-04-08 13:44:55 +01:00