sm6150-common: Rename fingerprint service

Change-Id: I09992ec66ba4b65bb60a23faa74929d385f199fa
This commit is contained in:
Arian 2021-01-25 12:42:07 +01:00
parent 902c0f7ddd
commit e76fb5010d
No known key found for this signature in database
GPG Key ID: 48029380598CE3B9
7 changed files with 11 additions and 7 deletions

View File

@ -1,8 +1,8 @@
cc_binary { cc_binary {
name: "android.hardware.biometrics.fingerprint@2.1-service", name: "android.hardware.biometrics.fingerprint@2.1-service.xiaomi_sm6150",
defaults: ["hidl_defaults"], defaults: ["hidl_defaults"],
init_rc: ["android.hardware.biometrics.fingerprint@2.1-service.rc"], init_rc: ["android.hardware.biometrics.fingerprint@2.1-service.xiaomi_sm6150.rc"],
vintf_fragments: ["android.hardware.biometrics.fingerprint@2.1-service.xml"], vintf_fragments: ["android.hardware.biometrics.fingerprint@2.1-service.xiaomi_sm6150.xml"],
vendor: true, vendor: true,
relative_install_path: "hw", relative_install_path: "hw",
srcs: [ srcs: [

View File

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

View File

@ -1,4 +1,4 @@
service vendor.fps_hal /vendor/bin/hw/android.hardware.biometrics.fingerprint@2.1-service service vendor.fps_hal /vendor/bin/hw/android.hardware.biometrics.fingerprint@2.1-service.xiaomi_sm6150
# "class hal" causes a race condition on some devices due to files created # "class hal" causes a race condition on some devices due to files created
# in /data. As a workaround, postpone startup until later in boot once # in /data. As a workaround, postpone startup until later in boot once
# /data is mounted. # /data is mounted.

View File

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

View File

@ -10,6 +10,7 @@
/data/vendor/goodix(/.*)? u:object_r:fingerprint_data_file:s0 /data/vendor/goodix(/.*)? u:object_r:fingerprint_data_file:s0
# HALs # HALs
/(vendor|system/vendor)/bin/hw/android\.hardware\.biometrics\.fingerprint@2\.1-service\.xiaomi_sm6150 u:object_r:hal_fingerprint_default_exec:s0
/vendor/bin/hw/android\.hardware\.light@2\.0-service\.xiaomi_sm6150 u:object_r:hal_light_default_exec:s0 /vendor/bin/hw/android\.hardware\.light@2\.0-service\.xiaomi_sm6150 u:object_r:hal_light_default_exec:s0
/vendor/bin/hw/vendor\.lineage\.livedisplay@2\.0-service\.xiaomi_sm6150 u:object_r:hal_lineage_livedisplay_qti_exec:s0 /vendor/bin/hw/vendor\.lineage\.livedisplay@2\.0-service\.xiaomi_sm6150 u:object_r:hal_lineage_livedisplay_qti_exec:s0

View File

@ -138,6 +138,9 @@ PRODUCT_PACKAGES += \
android.hardware.drm@1.3-service.clearkey android.hardware.drm@1.3-service.clearkey
# Fingerprint # Fingerprint
PRODUCT_PACKAGES += \
android.hardware.biometrics.fingerprint@2.1-service.xiaomi_sm6150
PRODUCT_COPY_FILES += \ PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.fingerprint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.fingerprint.xml frameworks/native/data/etc/android.hardware.fingerprint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.fingerprint.xml