zenfone7: Import sm8250-common repo stuff
Several things about that:
*Rog3 no longer supported because i don't have this device anymore.
*I don't think someone will support it.
*Asus Have droppped the unlocked bootloader support so ....
Enjoy of device's stuff ^_^
Change-Id: I91df9c78557fb4bd229d60ec4b693161614a23c5
Signed-off-by: micky387 <mickaelsaibi@free.fr>
diff --git a/interfaces/Android.bp b/interfaces/Android.bp
new file mode 100644
index 0000000..d68879b
--- /dev/null
+++ b/interfaces/Android.bp
@@ -0,0 +1,4 @@
+hidl_package_root {
+ name: "vendor.goodix",
+ path: "device/asus/zenfone7/interfaces",
+}
diff --git a/interfaces/hardware/biometrics/fingerprint/2.1/Android.bp b/interfaces/hardware/biometrics/fingerprint/2.1/Android.bp
new file mode 100644
index 0000000..0108d7b
--- /dev/null
+++ b/interfaces/hardware/biometrics/fingerprint/2.1/Android.bp
@@ -0,0 +1,13 @@
+// This file is autogenerated by hidl-gen -Landroidbp.
+
+hidl_interface {
+ name: "vendor.goodix.hardware.biometrics.fingerprint@2.1",
+ root: "vendor.goodix",
+ srcs: [
+ "IGoodixFingerprintDaemon.hal",
+ "IGoodixFingerprintDaemonCallback.hal",
+ ],
+ interfaces: [
+ "android.hidl.base@1.0",
+ ],
+}
diff --git a/interfaces/hardware/biometrics/fingerprint/2.1/IGoodixFingerprintDaemon.hal b/interfaces/hardware/biometrics/fingerprint/2.1/IGoodixFingerprintDaemon.hal
new file mode 100644
index 0000000..e2ae437
--- /dev/null
+++ b/interfaces/hardware/biometrics/fingerprint/2.1/IGoodixFingerprintDaemon.hal
@@ -0,0 +1,24 @@
+/*
+ * Copyright (C) 2020 The LineageOS Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package vendor.goodix.hardware.biometrics.fingerprint@2.1;
+
+import vendor.goodix.hardware.biometrics.fingerprint@2.1::IGoodixFingerprintDaemonCallback;
+
+interface IGoodixFingerprintDaemon {
+ setNotify(IGoodixFingerprintDaemonCallback Callback);
+ sendCommand(int32_t cmd, vec<int8_t> data) generates (int32_t resultCode, vec<int8_t> data);
+};
diff --git a/interfaces/hardware/biometrics/fingerprint/2.1/IGoodixFingerprintDaemonCallback.hal b/interfaces/hardware/biometrics/fingerprint/2.1/IGoodixFingerprintDaemonCallback.hal
new file mode 100644
index 0000000..cc11f44
--- /dev/null
+++ b/interfaces/hardware/biometrics/fingerprint/2.1/IGoodixFingerprintDaemonCallback.hal
@@ -0,0 +1,21 @@
+/*
+ * Copyright (C) 2020 The LineageOS Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package vendor.goodix.hardware.biometrics.fingerprint@2.1;
+
+interface IGoodixFingerprintDaemonCallback {
+ oneway onDaemonMessage(int64_t devId, int32_t msgId, int32_t cmdId, vec<int8_t> msgData);
+};