sm6250-common: fingerprint: update for xiaomi sm6250

This commit is contained in:
Volodymyr Zhdanov 2020-10-23 10:48:52 +03:00 committed by Demon000
parent 2f0646f292
commit f5a6695e08
5 changed files with 13 additions and 17 deletions

View File

@ -14,10 +14,10 @@
// limitations under the License.
cc_binary {
name: "android.hardware.biometrics.fingerprint@2.1-service.xiaomi_msm8998",
name: "android.hardware.biometrics.fingerprint@2.1-service.xiaomi_sm6250",
relative_install_path: "hw",
defaults: ["hidl_defaults"],
init_rc: ["android.hardware.biometrics.fingerprint@2.1-service.xiaomi_msm8998.rc"],
init_rc: ["android.hardware.biometrics.fingerprint@2.1-service.xiaomi_sm6250.rc"],
srcs: ["service.cpp", "BiometricsFingerprint.cpp"],
shared_libs: [
"libbase",

View File

@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#define LOG_TAG "android.hardware.biometrics.fingerprint@2.1-service.xiaomi_msm8998"
#define LOG_TAG "android.hardware.biometrics.fingerprint@2.1-service.xiaomi_sm6250"
#include <hardware/hw_auth_token.h>

View File

@ -1,13 +0,0 @@
service vendor.fps_hal /vendor/bin/hw/android.hardware.biometrics.fingerprint@2.1-service.xiaomi_msm8998
class late_start
user system
group system input uhid
writepid /dev/cpuset/system-background/tasks
on post-fs-data
mkdir /data/vendor/fpc 0770 system system
chown system system /data/vendor/fpc/calibration_image.pndat
chmod 0600 /data/vendor/fpc/calibration_image.pndat
mkdir /data/vendor/goodix 0770 system system
mkdir /mnt/vendor/persist/fpc 0770 system system
chown system system /data/vendor

View File

@ -0,0 +1,9 @@
service vendor.fps_hal /vendor/bin/hw/android.hardware.biometrics.fingerprint@2.1-service.xiaomi_sm6250
class late_start
user system
group system input uhid
writepid /dev/cpuset/system-background/tasks
on post-fs-data
mkdir /data/vendor/goodix 0777 system system
mkdir /data/vendor/fpc 0777 system system

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
#define LOG_TAG "android.hardware.biometrics.fingerprint@2.1-service.xiaomi_msm8998"
#define LOG_TAG "android.hardware.biometrics.fingerprint@2.1-service.xiaomi_sm6250"
#include <android/log.h>
#include <hidl/HidlTransportSupport.h>