--- /dev/null
+hidl_package_root {
+ name: "com.motorola",
+ path: "hardware/motorola/interfaces/motorola",
+}
--- /dev/null
+// This file is autogenerated by hidl-gen -Landroidbp.
+
+hidl_interface {
+ name: "com.motorola.hardware.biometric.fingerprint@1.0",
+ root: "com.motorola",
+ srcs: [
+ "IMotoFingerPrint.hal",
+ "IMotoFingerPrintSensorTest.hal",
+ "types.hal",
+ ],
+ interfaces: [
+ "android.hidl.base@1.0",
+ ],
+ gen_java: true,
+}
--- /dev/null
+/*
+ * Copyright (C) 2022 The Android Open Source 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 com.motorola.hardware.biometric.fingerprint@1.0;
+
+interface IMotoFingerPrint {
+
+sendFodEvent(IMotFodEventType eventType, vec<int8_t> eventId) generates (IMotFodEventResult result, vec<int8_t> eventId);
+
+};
--- /dev/null
+/*
+ * Copyright (C) 2022 The Android Open Source 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 com.motorola.hardware.biometric.fingerprint@1.0;
+
+interface IMotoFingerPrintSensorTest {
+
+getSensorInfo();
+checkerboardTest();
+finishSensorTest(int32_t id);
+imagequalityTest();
+otpvalidationTest();
+selfTest();
+
+};
--- /dev/null
+/*
+ * Copyright (C) 2022 The Android Open Source 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 com.motorola.hardware.biometric.fingerprint@1.0;
+
+enum IMotFodEventType : int32_t {
+ FINGER_DOWN = 0,
+ FINGER_UP = 1,
+ CANCEL = 2,
+ EXTEND_1 = 3,
+ EXTEND_2 = 4,
+ UNKNOWN = 5,
+};
+
+enum IMotFodEventResult : int32_t {
+ RESULT_OK = 0,
+ RESULT_ERR = 1,
+};