sm6250-common: biometrics: Rebrand to Xiaomi SM6250

Change-Id: Ia70786f28372e49cc3dc3d25fedbbe3a1562b5a7
This commit is contained in:
Volodymyr Zhdanov 2020-10-23 10:48:52 +03:00 committed by Alexander Winkowski
parent bde1db3cda
commit d93a5f853e
No known key found for this signature in database
GPG Key ID: 72762A66704CDE44
6 changed files with 34 additions and 5 deletions

View File

@ -14,10 +14,11 @@
// 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_atoll",
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_atoll.rc"],
vintf_fragments: ["android.hardware.biometrics.fingerprint@2.1-service.xiaomi_atoll.xml"],
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_atoll"
#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.xiaomi_msm8998
service vendor.fps_hal /vendor/bin/hw/android.hardware.biometrics.fingerprint@2.1-service.xiaomi_atoll
class late_start
user system
group system input uhid

View File

@ -0,0 +1,26 @@
<manifest version="1.0" type="device">
<hal format="hidl">
<name>android.hardware.biometrics.fingerprint</name>
<transport>hwbinder</transport>
<version>2.1</version>
<interface>
<name>IBiometricsFingerprint</name>
<instance>default</instance>
</interface>
</hal>
<hal format="hidl">
<name>vendor.goodix.hardware.biometrics.fingerprint</name>
<transport>hwbinder</transport>
<version>2.1</version>
<interface>
<name>IGoodixFingerprintDaemon</name>
<instance>default</instance>
</interface>
<interface>
<name>IGoodixFingerprintDaemonExt</name>
<instance>default</instance>
</interface>
<fqname>@2.1::IGoodixFingerprintDaemon/default</fqname>
<fqname>@2.1::IGoodixFingerprintDaemonExt/default</fqname>
</hal>
</manifest>

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_atoll"
#include <android/log.h>
#include <hidl/HidlTransportSupport.h>

2
sepolicy/vendor/file_contexts vendored Normal file
View File

@ -0,0 +1,2 @@
# Fingerprint
/vendor/bin/hw/android\.hardware\.biometrics\.fingerprint@2.1-service\.xiaomi_atoll u:object_r:hal_fingerprint_default_exec:s0