sm8350-common: Rename and build fingerprint service
Change-Id: I09992ec66ba4b65bb60a23faa74929d385f199fa
This commit is contained in:
parent
75d8b752ca
commit
19d012f5e5
@ -188,6 +188,9 @@ PRODUCT_PACKAGES += \
|
|||||||
fastbootd
|
fastbootd
|
||||||
|
|
||||||
# Fingerprint
|
# Fingerprint
|
||||||
|
PRODUCT_PACKAGES += \
|
||||||
|
android.hardware.biometrics.fingerprint@2.1-service.xiaomi_sm8350
|
||||||
|
|
||||||
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
|
||||||
|
|
||||||
|
@ -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_sm8350",
|
||||||
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_sm8350.rc"],
|
||||||
vintf_fragments: ["android.hardware.biometrics.fingerprint@2.1-service.xml"],
|
vintf_fragments: ["android.hardware.biometrics.fingerprint@2.1-service.xiaomi_sm8350.xml"],
|
||||||
vendor: true,
|
vendor: true,
|
||||||
relative_install_path: "hw",
|
relative_install_path: "hw",
|
||||||
srcs: [
|
srcs: [
|
||||||
|
@ -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_sm8350"
|
||||||
#define LOG_VERBOSE "android.hardware.biometrics.fingerprint@2.1-service"
|
#define LOG_VERBOSE "android.hardware.biometrics.fingerprint@2.1-service.xiaomi_sm8350"
|
||||||
|
|
||||||
#include <hardware/hw_auth_token.h>
|
#include <hardware/hw_auth_token.h>
|
||||||
|
|
||||||
|
@ -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_sm8350
|
||||||
# "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.
|
@ -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_sm8350"
|
||||||
|
|
||||||
#include <android/log.h>
|
#include <android/log.h>
|
||||||
#include <hidl/HidlSupport.h>
|
#include <hidl/HidlSupport.h>
|
||||||
|
1
sepolicy/vendor/file_contexts
vendored
1
sepolicy/vendor/file_contexts
vendored
@ -38,6 +38,7 @@
|
|||||||
/data/vendor/fpc(/.*)? u:object_r:vendor_fingerprint_data_file:s0
|
/data/vendor/fpc(/.*)? u:object_r:vendor_fingerprint_data_file:s0
|
||||||
/data/vendor/fpdump(/.*)? u:object_r:vendor_fingerprint_data_file:s0
|
/data/vendor/fpdump(/.*)? u:object_r:vendor_fingerprint_data_file:s0
|
||||||
/data/vendor/goodix(/.*)? u:object_r:vendor_fingerprint_data_file:s0
|
/data/vendor/goodix(/.*)? u:object_r:vendor_fingerprint_data_file:s0
|
||||||
|
/vendor/bin/hw/android\.hardware\.biometrics\.fingerprint@2\.1-service\.xiaomi_sm8350 u:object_r:hal_fingerprint_default_exec:s0
|
||||||
|
|
||||||
# FOD
|
# FOD
|
||||||
/vendor/bin/hw/vendor\.lineage\.biometrics\.fingerprint\.inscreen@1.0-service\.xiaomi_sm8350 u:object_r:hal_lineage_fod_default_exec:s0
|
/vendor/bin/hw/vendor\.lineage\.biometrics\.fingerprint\.inscreen@1.0-service\.xiaomi_sm8350 u:object_r:hal_lineage_fod_default_exec:s0
|
||||||
|
Loading…
Reference in New Issue
Block a user